1 //===- CallSiteSplitting..h - Callsite Splitting ------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_TRANSFORMS_SCALAR_CALLSITESPLITTING__H
10 #define LLVM_TRANSFORMS_SCALAR_CALLSITESPLITTING__H
12 #include "llvm/ADT/SetVector.h"
13 #include "llvm/Analysis/AssumptionCache.h"
14 #include "llvm/IR/Dominators.h"
15 #include "llvm/IR/Function.h"
16 #include "llvm/IR/PassManager.h"
17 #include "llvm/Support/Compiler.h"
22 struct CallSiteSplittingPass
: PassInfoMixin
<CallSiteSplittingPass
> {
23 /// Run the pass over the function.
24 PreservedAnalyses
run(Function
&F
, FunctionAnalysisManager
&AM
);
26 } // end namespace llvm
28 #endif // LLVM_TRANSFORMS_SCALAR_CALLSITESPLITTING__H