Home
last modified time | relevance | path

Searched refs:FPM (Results 1 – 11 of 11) sorted by relevance

/external/llvm/lib/Transforms/IPO/
DPassManagerBuilder.cpp92 void PassManagerBuilder::populateFunctionPassManager(FunctionPassManager &FPM) { in populateFunctionPassManager() argument
93 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() local
349 Builder->populateFunctionPassManager(*FPM); in LLVMPassManagerBuilderPopulateFunctionPassManager()
/external/llvm/include/llvm/
DPassManager.h97 FunctionPassManagerImpl *FPM;
/external/llvm/lib/VMCore/
DPassManager.cpp1329 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()
DCore.cpp2347 LLVMBool LLVMInitializeFunctionPassManager(LLVMPassManagerRef FPM) { in LLVMInitializeFunctionPassManager() argument
2348 return unwrap<FunctionPassManager>(FPM)->doInitialization(); in LLVMInitializeFunctionPassManager()
2351 LLVMBool LLVMRunFunctionPassManager(LLVMPassManagerRef FPM, LLVMValueRef F) { in LLVMRunFunctionPassManager() argument
2352 return unwrap<FunctionPassManager>(FPM)->run(*unwrap<Function>(F)); in LLVMRunFunctionPassManager()
2355 LLVMBool LLVMFinalizeFunctionPassManager(LLVMPassManagerRef FPM) { in LLVMFinalizeFunctionPassManager() argument
2356 return unwrap<FunctionPassManager>(FPM)->doFinalization(); in LLVMFinalizeFunctionPassManager()
DVerifier.cpp2046 FunctionPassManager FPM(F.getParent()); in verifyFunction() local
2048 FPM.add(V); in verifyFunction()
2049 FPM.run(F); in verifyFunction()
/external/llvm/include/llvm/Transforms/IPO/
DPassManagerBuilder.h129 void populateFunctionPassManager(FunctionPassManager &FPM);
/external/clang/lib/CodeGen/
DBackendUtil.cpp209 FunctionPassManager *FPM = getPerFunctionPasses(); in CreatePasses() local
211 FPM->add(createVerifierPass()); in CreatePasses()
212 PMBuilder.populateFunctionPassManager(*FPM); in CreatePasses()
/external/llvm/tools/opt/
Dopt.cpp411 static void AddOptimizationPasses(PassManagerBase &MPM,FunctionPassManager &FPM, in AddOptimizationPasses() argument
413 FPM.add(createVerifierPass()); // Verify that input is correct in AddOptimizationPasses()
432 Builder.populateFunctionPassManager(FPM); in AddOptimizationPasses()
/external/llvm/lib/Analysis/
DLint.cpp645 FunctionPassManager FPM(F.getParent()); in lintFunction() local
647 FPM.add(V); in lintFunction()
648 FPM.run(F); in lintFunction()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c2009 CAMLprim value llvm_passmanager_initialize(LLVMPassManagerRef FPM) { in llvm_passmanager_initialize() argument
2010 return Val_bool(LLVMInitializeFunctionPassManager(FPM)); in llvm_passmanager_initialize()
2015 LLVMPassManagerRef FPM) { in llvm_passmanager_run_function() argument
2016 return Val_bool(LLVMRunFunctionPassManager(FPM, F)); in llvm_passmanager_run_function()
2020 CAMLprim value llvm_passmanager_finalize(LLVMPassManagerRef FPM) { in llvm_passmanager_finalize() argument
2021 return Val_bool(LLVMFinalizeFunctionPassManager(FPM)); in llvm_passmanager_finalize()
/external/llvm/include/llvm-c/
DCore.h2569 LLVMBool LLVMInitializeFunctionPassManager(LLVMPassManagerRef FPM);
2575 LLVMBool LLVMRunFunctionPassManager(LLVMPassManagerRef FPM, LLVMValueRef F);
2580 LLVMBool LLVMFinalizeFunctionPassManager(LLVMPassManagerRef FPM);