Searched refs:FPM (Results 1 – 11 of 11) sorted by relevance
92 void PassManagerBuilder::populateFunctionPassManager(FunctionPassManager &FPM) { in populateFunctionPassManager() argument93 addExtensionsToPM(EP_EarlyAsPossible, FPM); in populateFunctionPassManager()96 if (LibraryInfo) FPM.add(new TargetLibraryInfo(*LibraryInfo)); in populateFunctionPassManager()100 addInitialAliasAnalysisPasses(FPM); in populateFunctionPassManager()102 FPM.add(createCFGSimplificationPass()); in populateFunctionPassManager()103 FPM.add(createScalarReplAggregatesPass()); in populateFunctionPassManager()104 FPM.add(createEarlyCSEPass()); in populateFunctionPassManager()105 FPM.add(createLowerExpectIntrinsicPass()); in populateFunctionPassManager()348 FunctionPassManager *FPM = unwrap<FunctionPassManager>(PM); in LLVMPassManagerBuilderPopulateFunctionPassManager() local349 Builder->populateFunctionPassManager(*FPM); in LLVMPassManagerBuilderPopulateFunctionPassManager()
97 FunctionPassManagerImpl *FPM;
1329 FPM = new FunctionPassManagerImpl(); in FunctionPassManager()1331 FPM->setTopLevelManager(FPM); in FunctionPassManager()1333 AnalysisResolver *AR = new AnalysisResolver(*FPM); in FunctionPassManager()1334 FPM->setResolver(AR); in FunctionPassManager()1338 delete FPM; in ~FunctionPassManager()1347 FPM->add(P); in add()1360 return FPM->run(F); in run()1367 return FPM->doInitialization(*M); in doInitialization()1373 return FPM->doFinalization(*M); in doFinalization()
2347 LLVMBool LLVMInitializeFunctionPassManager(LLVMPassManagerRef FPM) { in LLVMInitializeFunctionPassManager() argument2348 return unwrap<FunctionPassManager>(FPM)->doInitialization(); in LLVMInitializeFunctionPassManager()2351 LLVMBool LLVMRunFunctionPassManager(LLVMPassManagerRef FPM, LLVMValueRef F) { in LLVMRunFunctionPassManager() argument2352 return unwrap<FunctionPassManager>(FPM)->run(*unwrap<Function>(F)); in LLVMRunFunctionPassManager()2355 LLVMBool LLVMFinalizeFunctionPassManager(LLVMPassManagerRef FPM) { in LLVMFinalizeFunctionPassManager() argument2356 return unwrap<FunctionPassManager>(FPM)->doFinalization(); in LLVMFinalizeFunctionPassManager()
2046 FunctionPassManager FPM(F.getParent()); in verifyFunction() local2048 FPM.add(V); in verifyFunction()2049 FPM.run(F); in verifyFunction()
129 void populateFunctionPassManager(FunctionPassManager &FPM);
209 FunctionPassManager *FPM = getPerFunctionPasses(); in CreatePasses() local211 FPM->add(createVerifierPass()); in CreatePasses()212 PMBuilder.populateFunctionPassManager(*FPM); in CreatePasses()
411 static void AddOptimizationPasses(PassManagerBase &MPM,FunctionPassManager &FPM, in AddOptimizationPasses() argument413 FPM.add(createVerifierPass()); // Verify that input is correct in AddOptimizationPasses()432 Builder.populateFunctionPassManager(FPM); in AddOptimizationPasses()
645 FunctionPassManager FPM(F.getParent()); in lintFunction() local647 FPM.add(V); in lintFunction()648 FPM.run(F); in lintFunction()
2009 CAMLprim value llvm_passmanager_initialize(LLVMPassManagerRef FPM) { in llvm_passmanager_initialize() argument2010 return Val_bool(LLVMInitializeFunctionPassManager(FPM)); in llvm_passmanager_initialize()2015 LLVMPassManagerRef FPM) { in llvm_passmanager_run_function() argument2016 return Val_bool(LLVMRunFunctionPassManager(FPM, F)); in llvm_passmanager_run_function()2020 CAMLprim value llvm_passmanager_finalize(LLVMPassManagerRef FPM) { in llvm_passmanager_finalize() argument2021 return Val_bool(LLVMFinalizeFunctionPassManager(FPM)); in llvm_passmanager_finalize()
2569 LLVMBool LLVMInitializeFunctionPassManager(LLVMPassManagerRef FPM);2575 LLVMBool LLVMRunFunctionPassManager(LLVMPassManagerRef FPM, LLVMValueRef F);2580 LLVMBool LLVMFinalizeFunctionPassManager(LLVMPassManagerRef FPM);