1 //===- CallSiteSplitting..h - Callsite Splitting ------------*- C++ -*-===// 2 // 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 6 // 7 //===----------------------------------------------------------------------===// 8 9 #ifndef LLVM_TRANSFORMS_SCALAR_CALLSITESPLITTING__H 10 #define LLVM_TRANSFORMS_SCALAR_CALLSITESPLITTING__H 11 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" 18 #include <vector> 19 20 namespace llvm { 21 22 struct CallSiteSplittingPass : PassInfoMixin<CallSiteSplittingPass> { 23 /// Run the pass over the function. 24 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM); 25 }; 26 } // end namespace llvm 27 28 #endif // LLVM_TRANSFORMS_SCALAR_CALLSITESPLITTING__H 29