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/IR/Function.h" 13 #include "llvm/IR/PassManager.h" 14 15 namespace llvm { 16 17 struct CallSiteSplittingPass : PassInfoMixin<CallSiteSplittingPass> { 18 /// Run the pass over the function. 19 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM); 20 }; 21 } // end namespace llvm 22 23 #endif // LLVM_TRANSFORMS_SCALAR_CALLSITESPLITTING__H 24