Home
last modified time | relevance | path

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

/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp583 FunctionPassManager OurFPM(TheModule); in main() local
587 OurFPM.add(new DataLayout(*TheExecutionEngine->getDataLayout())); in main()
589 OurFPM.add(createBasicAliasAnalysisPass()); in main()
591 OurFPM.add(createInstructionCombiningPass()); in main()
593 OurFPM.add(createReassociatePass()); in main()
595 OurFPM.add(createGVNPass()); in main()
597 OurFPM.add(createCFGSimplificationPass()); in main()
599 OurFPM.doInitialization(); in main()
602 TheFPM = &OurFPM; in main()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp828 FunctionPassManager OurFPM(TheModule); in main() local
832 OurFPM.add(new DataLayout(*TheExecutionEngine->getDataLayout())); in main()
834 OurFPM.add(createBasicAliasAnalysisPass()); in main()
836 OurFPM.add(createInstructionCombiningPass()); in main()
838 OurFPM.add(createReassociatePass()); in main()
840 OurFPM.add(createGVNPass()); in main()
842 OurFPM.add(createCFGSimplificationPass()); in main()
844 OurFPM.doInitialization(); in main()
847 TheFPM = &OurFPM; in main()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp946 FunctionPassManager OurFPM(TheModule); in main() local
950 OurFPM.add(new DataLayout(*TheExecutionEngine->getDataLayout())); in main()
952 OurFPM.add(createBasicAliasAnalysisPass()); in main()
954 OurFPM.add(createInstructionCombiningPass()); in main()
956 OurFPM.add(createReassociatePass()); in main()
958 OurFPM.add(createGVNPass()); in main()
960 OurFPM.add(createCFGSimplificationPass()); in main()
962 OurFPM.doInitialization(); in main()
965 TheFPM = &OurFPM; in main()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp1110 FunctionPassManager OurFPM(TheModule); in main() local
1114 OurFPM.add(new DataLayout(*TheExecutionEngine->getDataLayout())); in main()
1116 OurFPM.add(createBasicAliasAnalysisPass()); in main()
1118 OurFPM.add(createPromoteMemoryToRegisterPass()); in main()
1120 OurFPM.add(createInstructionCombiningPass()); in main()
1122 OurFPM.add(createReassociatePass()); in main()
1124 OurFPM.add(createGVNPass()); in main()
1126 OurFPM.add(createCFGSimplificationPass()); in main()
1128 OurFPM.doInitialization(); in main()
1131 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
[all …]
DLangImpl7.rst436 OurFPM.add(new DataLayout(*TheExecutionEngine->getDataLayout()));
438 OurFPM.add(createPromoteMemoryToRegisterPass());
440 OurFPM.add(createInstructionCombiningPass());
442 OurFPM.add(createReassociatePass());
1968 FunctionPassManager OurFPM(TheModule);
1972 OurFPM.add(new DataLayout(*TheExecutionEngine->getDataLayout()));
1974 OurFPM.add(createBasicAliasAnalysisPass());
1976 OurFPM.add(createPromoteMemoryToRegisterPass());
1978 OurFPM.add(createInstructionCombiningPass());
1980 OurFPM.add(createReassociatePass());
[all …]
DLangImpl6.rst1692 FunctionPassManager OurFPM(TheModule);
1696 OurFPM.add(new DataLayout(*TheExecutionEngine->getDataLayout()));
1698 OurFPM.add(createBasicAliasAnalysisPass());
1700 OurFPM.add(createInstructionCombiningPass());
1702 OurFPM.add(createReassociatePass());
1704 OurFPM.add(createGVNPass());
1706 OurFPM.add(createCFGSimplificationPass());
1708 OurFPM.doInitialization();
1711 TheFPM = &OurFPM;
DLangImpl5.rst1574 FunctionPassManager OurFPM(TheModule);
1578 OurFPM.add(new DataLayout(*TheExecutionEngine->getDataLayout()));
1580 OurFPM.add(createBasicAliasAnalysisPass());
1582 OurFPM.add(createInstructionCombiningPass());
1584 OurFPM.add(createReassociatePass());
1586 OurFPM.add(createGVNPass());
1588 OurFPM.add(createCFGSimplificationPass());
1590 OurFPM.doInitialization();
1593 TheFPM = &OurFPM;