Home
last modified time | relevance | path

Searched refs:TheFPM (Results 1 – 7 of 7) sorted by relevance

/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp392 static std::unique_ptr<legacy::FunctionPassManager> TheFPM; variable
515 TheFPM->run(*TheFunction); in codegen()
535 TheFPM = llvm::make_unique<legacy::FunctionPassManager>(TheModule.get()); in InitializeModuleAndPassManager()
538 TheFPM->add(createInstructionCombiningPass()); in InitializeModuleAndPassManager()
540 TheFPM->add(createReassociatePass()); in InitializeModuleAndPassManager()
542 TheFPM->add(createGVNPass()); in InitializeModuleAndPassManager()
544 TheFPM->add(createCFGSimplificationPass()); in InitializeModuleAndPassManager()
546 TheFPM->doInitialization(); in InitializeModuleAndPassManager()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp516 static std::unique_ptr<legacy::FunctionPassManager> TheFPM; variable
789 TheFPM->run(*TheFunction); in codegen()
809 TheFPM = llvm::make_unique<legacy::FunctionPassManager>(TheModule.get()); in InitializeModuleAndPassManager()
812 TheFPM->add(createInstructionCombiningPass()); in InitializeModuleAndPassManager()
814 TheFPM->add(createReassociatePass()); in InitializeModuleAndPassManager()
816 TheFPM->add(createGVNPass()); in InitializeModuleAndPassManager()
818 TheFPM->add(createCFGSimplificationPass()); in InitializeModuleAndPassManager()
820 TheFPM->doInitialization(); in InitializeModuleAndPassManager()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp607 static std::unique_ptr<legacy::FunctionPassManager> TheFPM; variable
904 TheFPM->run(*TheFunction); in codegen()
927 TheFPM = llvm::make_unique<legacy::FunctionPassManager>(TheModule.get()); in InitializeModuleAndPassManager()
930 TheFPM->add(createInstructionCombiningPass()); in InitializeModuleAndPassManager()
932 TheFPM->add(createReassociatePass()); in InitializeModuleAndPassManager()
934 TheFPM->add(createGVNPass()); in InitializeModuleAndPassManager()
936 TheFPM->add(createCFGSimplificationPass()); in InitializeModuleAndPassManager()
938 TheFPM->doInitialization(); in InitializeModuleAndPassManager()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp677 static std::unique_ptr<legacy::FunctionPassManager> TheFPM; variable
1070 TheFPM->run(*TheFunction); in codegen()
1093 TheFPM = llvm::make_unique<legacy::FunctionPassManager>(TheModule.get()); in InitializeModuleAndPassManager()
1096 TheFPM->add(createInstructionCombiningPass()); in InitializeModuleAndPassManager()
1098 TheFPM->add(createReassociatePass()); in InitializeModuleAndPassManager()
1100 TheFPM->add(createGVNPass()); in InitializeModuleAndPassManager()
1102 TheFPM->add(createCFGSimplificationPass()); in InitializeModuleAndPassManager()
1104 TheFPM->doInitialization(); in InitializeModuleAndPassManager()
/external/llvm/docs/tutorial/
DLangImpl4.rst138 TheFPM = llvm::make_unique<FunctionPassManager>(TheModule.get());
141 TheFPM.add(createBasicAliasAnalysisPass());
143 TheFPM.add(createInstructionCombiningPass());
145 TheFPM.add(createReassociatePass());
147 TheFPM.add(createGVNPass());
149 TheFPM.add(createCFGSimplificationPass());
151 TheFPM.doInitialization();
155 manager ``TheFPM``, which is attached to ``TheModule``. Once the pass manager is
177 TheFPM->run(*TheFunction);
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp610 static FunctionPassManager *TheFPM; variable
993 TheFPM->run(*TheFunction); in Codegen()
1150 TheFPM = &OurFPM; in main()
1162 TheFPM = 0; in main()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp625 static FunctionPassManager *TheFPM; variable
1011 TheFPM->run(*TheFunction); in Codegen()
1190 TheFPM = &OurFPM; in main()
1202 TheFPM = 0; in main()