Home
last modified time | relevance | path

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

12

/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-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUMachineCFGStructurizer.cpp1153 MachineBasicBlock *MergeBB, unsigned DestRegister,
1157 MachineBasicBlock *createIfBlock(MachineBasicBlock *MergeBB,
1171 MachineBasicBlock *createIfRegion(MachineBasicBlock *MergeBB,
1184 MachineBasicBlock *MergeBB,
1189 MachineBasicBlock *MergeBB,
1195 MachineBasicBlock *MergeBB,
1752 MachineBasicBlock *MergeBB, in insertMergePHI() argument
1758 if (MergeBB->succ_begin() == MergeBB->succ_end()) { in insertMergePHI()
1761 LLVM_DEBUG(dbgs() << "Merge PHI (" << printMBBReference(*MergeBB) in insertMergePHI()
1767 const DebugLoc &DL = MergeBB->findDebugLoc(MergeBB->begin()); in insertMergePHI()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DSSAUpdaterBulk.cpp51 BasicBlock *MergeBB = BasicBlock::Create(C, "merge", F); in TEST() local
59 B.CreateBr(MergeBB); in TEST()
64 B.CreateBr(MergeBB); in TEST()
66 B.SetInsertPoint(MergeBB, MergeBB->begin()); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DPGOMemOPSizeOpt.cpp347 BasicBlock *MergeBB = SplitBlock(DefaultBB, &(*It), DT); in perform() local
348 MergeBB->setName("MemOP.Merge"); in perform()
349 BFI.setBlockFreq(MergeBB, OrigBBFreq.getFrequency()); in perform()
385 IRBCase.CreateBr(MergeBB); in perform()
388 Updates.push_back({DominatorTree::Insert, CaseBB, MergeBB}); in perform()
400 LLVM_DEBUG(dbgs() << *MergeBB << "\n"); in perform()
/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-7.0/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp636 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen() local
647 Builder.CreateBr(MergeBB); in codegen()
659 Builder.CreateBr(MergeBB); in codegen()
664 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
665 Builder.SetInsertPoint(MergeBB); in codegen()
/external/swiftshader/third_party/llvm-7.0/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()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp748 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen() local
759 Builder.CreateBr(MergeBB); in codegen()
771 Builder.CreateBr(MergeBB); in codegen()
776 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
777 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/swiftshader/third_party/llvm-7.0/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()
/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()
/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/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
Dtoy.cpp835 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen() local
846 Builder.CreateBr(MergeBB); in codegen()
858 Builder.CreateBr(MergeBB); in codegen()
863 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
864 Builder.SetInsertPoint(MergeBB); in codegen()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
Dtoy.cpp849 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen() local
860 Builder.CreateBr(MergeBB); in codegen()
872 Builder.CreateBr(MergeBB); in codegen()
877 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
878 Builder.SetInsertPoint(MergeBB); in codegen()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
Dtoy.cpp849 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen() local
860 Builder.CreateBr(MergeBB); in codegen()
872 Builder.CreateBr(MergeBB); in codegen()
877 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
878 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/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/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/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
Dtoy.cpp849 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen() local
860 Builder.CreateBr(MergeBB); in codegen()
872 Builder.CreateBr(MergeBB); in codegen()
877 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
878 Builder.SetInsertPoint(MergeBB); in codegen()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp855 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen() local
866 Builder.CreateBr(MergeBB); in codegen()
878 Builder.CreateBr(MergeBB); in codegen()
883 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
884 Builder.SetInsertPoint(MergeBB); in codegen()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp854 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen() local
865 Builder.CreateBr(MergeBB); in codegen()
877 Builder.CreateBr(MergeBB); in codegen()
882 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
883 Builder.SetInsertPoint(MergeBB); in codegen()

12