Home
last modified time | relevance | path

Searched refs:OurFPM (Results 1 – 9 of 9) sorted by relevance

/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp912 legacy::FunctionPassManager OurFPM(TheModule); in main() local
918 OurFPM.add(createBasicAliasAnalysisPass()); in main()
920 OurFPM.add(createInstructionCombiningPass()); in main()
922 OurFPM.add(createReassociatePass()); in main()
924 OurFPM.add(createGVNPass()); in main()
926 OurFPM.add(createCFGSimplificationPass()); in main()
928 OurFPM.doInitialization(); in main()
931 TheFPM = &OurFPM; in main()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp1169 FunctionPassManager OurFPM(TheModule); in main() local
1173 OurFPM.add(new DataLayout(*TheExecutionEngine->getDataLayout())); in main()
1175 OurFPM.add(createBasicAliasAnalysisPass()); in main()
1177 OurFPM.add(createPromoteMemoryToRegisterPass()); in main()
1179 OurFPM.add(createInstructionCombiningPass()); in main()
1181 OurFPM.add(createReassociatePass()); in main()
1183 OurFPM.add(createGVNPass()); in main()
1185 OurFPM.add(createCFGSimplificationPass()); in main()
1187 OurFPM.doInitialization(); in main()
1190 TheFPM = &OurFPM; in main()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp1129 FunctionPassManager OurFPM(TheModule); in main() local
1133 OurFPM.add(new DataLayout(*TheExecutionEngine->getDataLayout())); in main()
1135 OurFPM.add(createBasicAliasAnalysisPass()); in main()
1137 OurFPM.add(createPromoteMemoryToRegisterPass()); in main()
1139 OurFPM.add(createInstructionCombiningPass()); in main()
1141 OurFPM.add(createReassociatePass()); in main()
1143 OurFPM.add(createGVNPass()); in main()
1145 OurFPM.add(createCFGSimplificationPass()); in main()
1147 OurFPM.doInitialization(); in main()
1150 TheFPM = &OurFPM; in main()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp1033 legacy::FunctionPassManager OurFPM(TheModule); in main() local
1039 OurFPM.add(createBasicAliasAnalysisPass()); in main()
1041 OurFPM.add(createInstructionCombiningPass()); in main()
1043 OurFPM.add(createReassociatePass()); in main()
1045 OurFPM.add(createGVNPass()); in main()
1047 OurFPM.add(createCFGSimplificationPass()); in main()
1049 OurFPM.doInitialization(); in main()
1052 TheFPM = &OurFPM; in main()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp1207 legacy::FunctionPassManager OurFPM(TheModule); in main() local
1213 OurFPM.add(createBasicAliasAnalysisPass()); in main()
1215 OurFPM.add(createPromoteMemoryToRegisterPass()); in main()
1217 OurFPM.add(createInstructionCombiningPass()); in main()
1219 OurFPM.add(createReassociatePass()); in main()
1221 OurFPM.add(createGVNPass()); in main()
1223 OurFPM.add(createCFGSimplificationPass()); in main()
1225 OurFPM.doInitialization(); in main()
1228 TheFPM = &OurFPM; in main()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp1458 legacy::FunctionPassManager OurFPM(TheModule); in main() local
1465 OurFPM.add(createBasicAliasAnalysisPass()); in main()
1467 OurFPM.add(createPromoteMemoryToRegisterPass()); in main()
1469 OurFPM.add(createInstructionCombiningPass()); in main()
1471 OurFPM.add(createReassociatePass()); in main()
1473 OurFPM.add(createGVNPass()); in main()
1475 OurFPM.add(createCFGSimplificationPass()); in main()
1477 OurFPM.doInitialization(); in main()
1480 TheFPM = &OurFPM; in main()
/external/llvm/docs/tutorial/
DLangImpl4.rst130 FunctionPassManager OurFPM(TheModule);
134 OurFPM.add(new DataLayout(*TheExecutionEngine->getDataLayout()));
136 OurFPM.add(createBasicAliasAnalysisPass());
138 OurFPM.add(createInstructionCombiningPass());
140 OurFPM.add(createReassociatePass());
142 OurFPM.add(createGVNPass());
144 OurFPM.add(createCFGSimplificationPass());
146 OurFPM.doInitialization();
149 TheFPM = &OurFPM;
154 This code defines a ``FunctionPassManager``, "``OurFPM``". It requires a
DLangImpl8.rst131 OurFPM.add(new DataLayoutPass());
133 OurFPM.add(createBasicAliasAnalysisPass());
135 OurFPM.add(createPromoteMemoryToRegisterPass());
137 OurFPM.add(createGVNPass());
139 OurFPM.add(createCFGSimplificationPass());
142 OurFPM.doInitialization();
DLangImpl7.rst436 OurFPM.add(new DataLayout(*TheExecutionEngine->getDataLayout()));
438 OurFPM.add(createPromoteMemoryToRegisterPass());
440 OurFPM.add(createInstructionCombiningPass());
442 OurFPM.add(createReassociatePass());