Home
last modified time | relevance | path

Searched refs:MergeBB (Results 1 – 21 of 21) sorted by relevance

/external/llvm/lib/Transforms/Instrumentation/
DIndirectCallPromotion.cpp315 BasicBlock **MergeBB) { in createIfThenElse() argument
340 *MergeBB = Inst->getParent(); in createIfThenElse()
341 (*MergeBB)->setName("if.end.icp"); in createIfThenElse()
354 BranchInst::Create(II->getNormalDest(), *MergeBB); in createIfThenElse()
456 BasicBlock *MergeBB) { in createDirectCallInst() argument
470 II->setNormalDest(MergeBB); in createDirectCallInst()
536 BasicBlock *DirectCallBB, *IndirectCallBB, *MergeBB; in promote() local
538 &IndirectCallBB, &MergeBB); in promote()
541 createDirectCallInst(Inst, DirectCallee, DirectCallBB, MergeBB); in promote()
557 fixupPHINodeForUnwind(Inst, II->getUnwindDest(), MergeBB, IndirectCallBB, in promote()
[all …]
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter5/
Dtoy.cpp525 BasicBlock *MergeBB = BasicBlock::Create(getGlobalContext(), "ifcont"); in Codegen() local
535 Builder.CreateBr(MergeBB); in Codegen()
546 Builder.CreateBr(MergeBB); in Codegen()
551 TheFunction->getBasicBlockList().push_back(MergeBB); in Codegen()
552 Builder.SetInsertPoint(MergeBB); in Codegen()
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter6/
Dtoy.cpp629 BasicBlock *MergeBB = BasicBlock::Create(getGlobalContext(), "ifcont"); in Codegen() local
639 Builder.CreateBr(MergeBB); in Codegen()
650 Builder.CreateBr(MergeBB); in Codegen()
655 TheFunction->getBasicBlockList().push_back(MergeBB); in Codegen()
656 Builder.SetInsertPoint(MergeBB); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp622 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen() local
633 Builder.CreateBr(MergeBB); in codegen()
645 Builder.CreateBr(MergeBB); in codegen()
650 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
651 Builder.SetInsertPoint(MergeBB); in codegen()
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter7/
Dtoy.cpp725 BasicBlock *MergeBB = BasicBlock::Create(getGlobalContext(), "ifcont"); in Codegen() local
735 Builder.CreateBr(MergeBB); in Codegen()
746 Builder.CreateBr(MergeBB); in Codegen()
751 TheFunction->getBasicBlockList().push_back(MergeBB); in Codegen()
752 Builder.SetInsertPoint(MergeBB); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp751 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in Codegen() local
761 Builder.CreateBr(MergeBB); in Codegen()
772 Builder.CreateBr(MergeBB); in Codegen()
777 TheFunction->getBasicBlockList().push_back(MergeBB); in Codegen()
778 Builder.SetInsertPoint(MergeBB); in Codegen()
Dtoy.cpp1115 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in Codegen() local
1125 Builder.CreateBr(MergeBB); in Codegen()
1136 Builder.CreateBr(MergeBB); in Codegen()
1141 TheFunction->getBasicBlockList().push_back(MergeBB); in Codegen()
1142 Builder.SetInsertPoint(MergeBB); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp733 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in Codegen() local
743 Builder.CreateBr(MergeBB); in Codegen()
754 Builder.CreateBr(MergeBB); in Codegen()
759 TheFunction->getBasicBlockList().push_back(MergeBB); in Codegen()
760 Builder.SetInsertPoint(MergeBB); in Codegen()
Dtoy.cpp1013 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in Codegen() local
1023 Builder.CreateBr(MergeBB); in Codegen()
1034 Builder.CreateBr(MergeBB); in Codegen()
1039 TheFunction->getBasicBlockList().push_back(MergeBB); in Codegen()
1040 Builder.SetInsertPoint(MergeBB); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp733 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen() local
744 Builder.CreateBr(MergeBB); in codegen()
756 Builder.CreateBr(MergeBB); in codegen()
761 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
762 Builder.SetInsertPoint(MergeBB); in codegen()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
Dtoy.cpp837 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen() local
848 Builder.CreateBr(MergeBB); in codegen()
860 Builder.CreateBr(MergeBB); in codegen()
865 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
866 Builder.SetInsertPoint(MergeBB); in codegen()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
Dtoy.cpp837 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen() local
848 Builder.CreateBr(MergeBB); in codegen()
860 Builder.CreateBr(MergeBB); in codegen()
865 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
866 Builder.SetInsertPoint(MergeBB); in codegen()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
Dtoy.cpp837 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen() local
848 Builder.CreateBr(MergeBB); in codegen()
860 Builder.CreateBr(MergeBB); in codegen()
865 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
866 Builder.SetInsertPoint(MergeBB); in codegen()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
Dtoy.cpp826 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen() local
837 Builder.CreateBr(MergeBB); in codegen()
849 Builder.CreateBr(MergeBB); in codegen()
854 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
855 Builder.SetInsertPoint(MergeBB); in codegen()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
Dtoy.cpp848 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen() local
859 Builder.CreateBr(MergeBB); in codegen()
871 Builder.CreateBr(MergeBB); in codegen()
876 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
877 Builder.SetInsertPoint(MergeBB); in codegen()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp833 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen() local
844 Builder.CreateBr(MergeBB); in codegen()
856 Builder.CreateBr(MergeBB); in codegen()
861 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
862 Builder.SetInsertPoint(MergeBB); in codegen()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp838 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen() local
849 Builder.CreateBr(MergeBB); in codegen()
861 Builder.CreateBr(MergeBB); in codegen()
866 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
867 Builder.SetInsertPoint(MergeBB); in codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp973 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in Codegen() local
983 Builder.CreateBr(MergeBB); in Codegen()
994 Builder.CreateBr(MergeBB); in Codegen()
999 TheFunction->getBasicBlockList().push_back(MergeBB); in Codegen()
1000 Builder.SetInsertPoint(MergeBB); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp1193 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in Codegen() local
1203 Builder.CreateBr(MergeBB); in Codegen()
1214 Builder.CreateBr(MergeBB); in Codegen()
1219 TheFunction->getBasicBlockList().push_back(MergeBB); in Codegen()
1220 Builder.SetInsertPoint(MergeBB); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter9/
Dtoy.cpp1017 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen() local
1028 Builder.CreateBr(MergeBB); in codegen()
1040 Builder.CreateBr(MergeBB); in codegen()
1045 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
1046 Builder.SetInsertPoint(MergeBB); in codegen()
/external/llvm/docs/tutorial/
DLangImpl05.rst310 BasicBlock *MergeBB = BasicBlock::Create(LLVMContext, "ifcont");
344 Builder.CreateBr(MergeBB);
386 Builder.CreateBr(MergeBB);
400 TheFunction->getBasicBlockList().push_back(MergeBB);
401 Builder.SetInsertPoint(MergeBB);