Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp416 static std::unique_ptr<legacy::FunctionPassManager> TheFPM; variable
538 TheFPM->run(*TheFunction); in codegen()
562 TheFPM = std::make_unique<legacy::FunctionPassManager>(TheModule.get()); in InitializeModuleAndPassManager()
565 TheFPM->add(createInstructionCombiningPass()); in InitializeModuleAndPassManager()
567 TheFPM->add(createReassociatePass()); in InitializeModuleAndPassManager()
569 TheFPM->add(createGVNPass()); in InitializeModuleAndPassManager()
571 TheFPM->add(createCFGSimplificationPass()); in InitializeModuleAndPassManager()
573 TheFPM->doInitialization(); in InitializeModuleAndPassManager()
/openbsd/gnu/llvm/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp543 static std::unique_ptr<legacy::FunctionPassManager> TheFPM; variable
812 TheFPM->run(*TheFunction); in codegen()
836 TheFPM = std::make_unique<legacy::FunctionPassManager>(TheModule.get()); in InitializeModuleAndPassManager()
839 TheFPM->add(createInstructionCombiningPass()); in InitializeModuleAndPassManager()
841 TheFPM->add(createReassociatePass()); in InitializeModuleAndPassManager()
843 TheFPM->add(createGVNPass()); in InitializeModuleAndPassManager()
845 TheFPM->add(createCFGSimplificationPass()); in InitializeModuleAndPassManager()
847 TheFPM->doInitialization(); in InitializeModuleAndPassManager()
/openbsd/gnu/llvm/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp635 static std::unique_ptr<legacy::FunctionPassManager> TheFPM; variable
928 TheFPM->run(*TheFunction); in codegen()
955 TheFPM = std::make_unique<legacy::FunctionPassManager>(TheModule.get()); in InitializeModuleAndPassManager()
958 TheFPM->add(createInstructionCombiningPass()); in InitializeModuleAndPassManager()
960 TheFPM->add(createReassociatePass()); in InitializeModuleAndPassManager()
962 TheFPM->add(createGVNPass()); in InitializeModuleAndPassManager()
964 TheFPM->add(createCFGSimplificationPass()); in InitializeModuleAndPassManager()
966 TheFPM->doInitialization(); in InitializeModuleAndPassManager()
/openbsd/gnu/llvm/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp708 static std::unique_ptr<legacy::FunctionPassManager> TheFPM; variable
1097 TheFPM->run(*TheFunction); in codegen()
1124 TheFPM = std::make_unique<legacy::FunctionPassManager>(TheModule.get()); in InitializeModuleAndPassManager()
1127 TheFPM->add(createPromoteMemoryToRegisterPass()); in InitializeModuleAndPassManager()
1129 TheFPM->add(createInstructionCombiningPass()); in InitializeModuleAndPassManager()
1131 TheFPM->add(createReassociatePass()); in InitializeModuleAndPassManager()
1133 TheFPM->add(createGVNPass()); in InitializeModuleAndPassManager()
1135 TheFPM->add(createCFGSimplificationPass()); in InitializeModuleAndPassManager()
1137 TheFPM->doInitialization(); in InitializeModuleAndPassManager()
/openbsd/gnu/llvm/llvm/docs/tutorial/MyFirstLanguageFrontend/
H A DLangImpl04.rst145 TheFPM = std::make_unique<legacy::FunctionPassManager>(TheModule.get());
148 TheFPM->add(createInstructionCombiningPass());
150 TheFPM->add(createReassociatePass());
152 TheFPM->add(createGVNPass());
154 TheFPM->add(createCFGSimplificationPass());
156 TheFPM->doInitialization();
160 manager ``TheFPM``, which is attached to ``TheModule``. Once the pass manager is
182 TheFPM->run(*TheFunction);
278 TheFPM = std::make_unique<legacy::FunctionPassManager>(TheModule.get());
H A DLangImpl07.rst442 TheFPM->add(createPromoteMemoryToRegisterPass());
444 TheFPM->add(createInstructionCombiningPass());
446 TheFPM->add(createReassociatePass());
/openbsd/gnu/llvm/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp625 static FunctionPassManager *TheFPM; variable
1007 TheFPM->run(*TheFunction); in Codegen()
1186 TheFPM = &OurFPM; in main()
1198 TheFPM = 0; in main()
/openbsd/gnu/llvm/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp610 static FunctionPassManager *TheFPM; variable
989 TheFPM->run(*TheFunction); in Codegen()
1148 TheFPM = &OurFPM; in main()
1160 TheFPM = 0; in main()