/external/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerAggrCopies.cpp | 69 BasicBlock *LoopBB = BasicBlock::Create(Context, "loadstoreloop", &F, NewBB); in convertMemCpyToLoop() local 71 OrigBB->getTerminator()->setSuccessor(0, LoopBB); in convertMemCpyToLoop() 83 IRBuilder<> LoopBuilder(LoopBB); in convertMemCpyToLoop() 103 LoopIndex->addIncoming(NewIndex, LoopBB); in convertMemCpyToLoop() 105 LoopBuilder.CreateCondBr(LoopBuilder.CreateICmpULT(NewIndex, CopyLen), LoopBB, in convertMemCpyToLoop() 169 BasicBlock *LoopBB = in convertMemMoveToLoop() local 171 IRBuilder<> LoopBuilder(LoopBB); in convertMemMoveToLoop() 181 ExitBB, LoopBB); in convertMemMoveToLoop() 182 LoopPhi->addIncoming(IndexPtr, LoopBB); in convertMemMoveToLoop() 184 BranchInst::Create(ExitBB, LoopBB, CompareN, ThenTerm); in convertMemMoveToLoop() [all …]
|
/external/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 419 BasicBlock *LoopBB = BasicBlock::Create(Ctx, "atomicrmw.start", F, ExitBB); in expandAtomicOpToLLSC() local 429 Builder.CreateBr(LoopBB); in expandAtomicOpToLLSC() 432 Builder.SetInsertPoint(LoopBB); in expandAtomicOpToLLSC() 441 Builder.CreateCondBr(TryAgain, LoopBB, ExitBB); in expandAtomicOpToLLSC() 498 auto LoopBB = BasicBlock::Create(Ctx, "cmpxchg.start", F, TryStoreBB); in expandAtomicCmpXchg() local 510 Builder.CreateBr(LoopBB); in expandAtomicCmpXchg() 513 Builder.SetInsertPoint(LoopBB); in expandAtomicCmpXchg() 528 CI->isWeak() ? FailureBB : LoopBB); in expandAtomicCmpXchg() 650 BasicBlock *LoopBB = BasicBlock::Create(Ctx, "atomicrmw.start", F, ExitBB); in expandAtomicRMWToCmpXchg() local 663 Builder.CreateBr(LoopBB); in expandAtomicRMWToCmpXchg() [all …]
|
D | MachineBlockPlacement.cpp | 1011 for (MachineBasicBlock *LoopBB : L.getBlocks()) { in collectLoopBlockSet() 1012 auto Freq = MBFI->getBlockFreq(LoopBB).getFrequency(); in collectLoopBlockSet() 1015 LoopBlockSet.insert(LoopBB); in collectLoopBlockSet() 1069 for (MachineBasicBlock *LoopBB : LoopBlockSet) { in buildLoopChains() 1070 BlockChain &Chain = *BlockToChain[LoopBB]; in buildLoopChains() 1119 for (MachineBasicBlock *LoopBB : LoopBlockSet) in buildLoopChains() 1123 << " Bad block: " << getBlockName(LoopBB) << "\n"; in buildLoopChains()
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430ISelLowering.cpp | 1234 MachineBasicBlock *LoopBB = F->CreateMachineBasicBlock(LLVM_BB); in EmitShiftInstr() local 1237 F->insert(I, LoopBB); in EmitShiftInstr() 1247 BB->addSuccessor(LoopBB); in EmitShiftInstr() 1249 LoopBB->addSuccessor(RemBB); in EmitShiftInstr() 1250 LoopBB->addSuccessor(LoopBB); in EmitShiftInstr() 1274 BuildMI(LoopBB, dl, TII.get(MSP430::PHI), ShiftReg) in EmitShiftInstr() 1276 .addReg(ShiftReg2).addMBB(LoopBB); in EmitShiftInstr() 1277 BuildMI(LoopBB, dl, TII.get(MSP430::PHI), ShiftAmtReg) in EmitShiftInstr() 1279 .addReg(ShiftAmtReg2).addMBB(LoopBB); in EmitShiftInstr() 1280 BuildMI(LoopBB, dl, TII.get(Opc), ShiftReg2) in EmitShiftInstr() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 674 BasicBlock *LoopBB = in codegen() local 678 Builder.CreateBr(LoopBB); in codegen() 681 Builder.SetInsertPoint(LoopBB); in codegen() 727 Builder.CreateCondBr(EndCond, LoopBB, AfterBB); in codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
D | toy-jit.cpp | 806 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() local 809 Builder.CreateBr(LoopBB); in Codegen() 812 Builder.SetInsertPoint(LoopBB); in Codegen() 854 Builder.CreateCondBr(EndCond, LoopBB, AfterBB); in Codegen()
|
D | toy.cpp | 1086 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() local 1089 Builder.CreateBr(LoopBB); in Codegen() 1092 Builder.SetInsertPoint(LoopBB); in Codegen() 1134 Builder.CreateCondBr(EndCond, LoopBB, AfterBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
D | toy-jit.cpp | 824 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() local 827 Builder.CreateBr(LoopBB); in Codegen() 830 Builder.SetInsertPoint(LoopBB); in Codegen() 872 Builder.CreateCondBr(EndCond, LoopBB, AfterBB); in Codegen()
|
D | toy.cpp | 1188 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() local 1191 Builder.CreateBr(LoopBB); in Codegen() 1194 Builder.SetInsertPoint(LoopBB); in Codegen() 1236 Builder.CreateCondBr(EndCond, LoopBB, AfterBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
D | toy.cpp | 785 BasicBlock *LoopBB = in codegen() local 789 Builder.CreateBr(LoopBB); in codegen() 792 Builder.SetInsertPoint(LoopBB); in codegen() 838 Builder.CreateCondBr(EndCond, LoopBB, AfterBB); in codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
D | toy.cpp | 900 BasicBlock *LoopBB = in codegen() local 904 Builder.CreateBr(LoopBB); in codegen() 907 Builder.SetInsertPoint(LoopBB); in codegen() 951 Builder.CreateCondBr(EndCond, LoopBB, AfterBB); in codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
D | toy.cpp | 1046 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() local 1049 Builder.CreateBr(LoopBB); in Codegen() 1052 Builder.SetInsertPoint(LoopBB); in Codegen() 1094 Builder.CreateCondBr(EndCond, LoopBB, AfterBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
D | toy.cpp | 1266 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() local 1269 Builder.CreateBr(LoopBB); in Codegen() 1272 Builder.SetInsertPoint(LoopBB); in Codegen() 1314 Builder.CreateCondBr(EndCond, LoopBB, AfterBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/Orc/initial/ |
D | toy.cpp | 930 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in IRGen() local 933 C.getBuilder().CreateBr(LoopBB); in IRGen() 936 C.getBuilder().SetInsertPoint(LoopBB); in IRGen() 978 C.getBuilder().CreateCondBr(EndCond, LoopBB, AfterBB); in IRGen()
|
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/ |
D | toy.cpp | 930 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in IRGen() local 933 C.getBuilder().CreateBr(LoopBB); in IRGen() 936 C.getBuilder().SetInsertPoint(LoopBB); in IRGen() 978 C.getBuilder().CreateCondBr(EndCond, LoopBB, AfterBB); in IRGen()
|
/external/llvm/examples/Kaleidoscope/Chapter8/ |
D | toy.cpp | 1093 BasicBlock *LoopBB = in codegen() local 1097 Builder.CreateBr(LoopBB); in codegen() 1100 Builder.SetInsertPoint(LoopBB); in codegen() 1144 Builder.CreateCondBr(EndCond, LoopBB, AfterBB); in codegen()
|
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/ |
D | toy.cpp | 930 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in IRGen() local 933 C.getBuilder().CreateBr(LoopBB); in IRGen() 936 C.getBuilder().SetInsertPoint(LoopBB); in IRGen() 978 C.getBuilder().CreateCondBr(EndCond, LoopBB, AfterBB); in IRGen()
|
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/ |
D | toy.cpp | 931 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in IRGen() local 934 C.getBuilder().CreateBr(LoopBB); in IRGen() 937 C.getBuilder().SetInsertPoint(LoopBB); in IRGen() 979 C.getBuilder().CreateCondBr(EndCond, LoopBB, AfterBB); in IRGen()
|
/external/llvm/docs/tutorial/ |
D | LangImpl5.rst | 627 BasicBlock *LoopBB = 630 // Insert an explicit fall through from the current block to the LoopBB. 631 Builder.CreateBr(LoopBB); 641 // Start insertion in LoopBB. 642 Builder.SetInsertPoint(LoopBB); 729 Builder.CreateCondBr(EndCond, LoopBB, AfterBB);
|
/external/llvm/lib/Transforms/Scalar/ |
D | StructurizeCFG.cpp | 324 BasicBlock *LoopBB = (*LoopI)->getEntry(); in orderNodes() local 325 if (LI->getLoopFor(LoopBB) == CurrentLoop) { in orderNodes()
|
/external/clang/lib/CodeGen/ |
D | CGExprCXX.cpp | 1029 llvm::BasicBlock *LoopBB = createBasicBlock("new.loop"); in EmitNewArrayInitializer() local 1041 Builder.CreateCondBr(IsEmpty, ContBB, LoopBB); in EmitNewArrayInitializer() 1045 EmitBlock(LoopBB); in EmitNewArrayInitializer() 1084 Builder.CreateCondBr(IsEnd, ContBB, LoopBB); in EmitNewArrayInitializer()
|