/external/llvm/lib/CodeGen/ |
D | AtomicExpandLoadLinkedPass.cpp | 156 BasicBlock *LoopBB = BasicBlock::Create(Ctx, "atomicrmw.start", F, ExitBB); in expandAtomicRMW() local 167 Builder.CreateBr(LoopBB); in expandAtomicRMW() 170 Builder.SetInsertPoint(LoopBB); in expandAtomicRMW() 222 Builder.CreateCondBr(TryAgain, LoopBB, ExitBB); in expandAtomicRMW() 270 auto LoopBB = BasicBlock::Create(Ctx, "cmpxchg.start", F, TryStoreBB); in expandAtomicCmpXchg() local 281 Builder.CreateBr(LoopBB); in expandAtomicCmpXchg() 284 Builder.SetInsertPoint(LoopBB); in expandAtomicCmpXchg() 300 CI->isWeak() ? FailureBB : LoopBB); in expandAtomicCmpXchg()
|
/external/llvm/lib/Target/X86/ |
D | X86AtomicExpandPass.cpp | 233 BasicBlock *LoopBB = BasicBlock::Create(Ctx, "atomicrmw.start", F, ExitBB); in expandAtomicRMW() local 245 Builder.CreateBr(LoopBB); in expandAtomicRMW() 248 Builder.SetInsertPoint(LoopBB); in expandAtomicRMW() 259 Loaded->addIncoming(NewLoaded, LoopBB); in expandAtomicRMW() 262 Builder.CreateCondBr(Success, ExitBB, LoopBB); in expandAtomicRMW()
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430ISelLowering.cpp | 1239 MachineBasicBlock *LoopBB = F->CreateMachineBasicBlock(LLVM_BB); in EmitShiftInstr() local 1242 F->insert(I, LoopBB); in EmitShiftInstr() 1252 BB->addSuccessor(LoopBB); in EmitShiftInstr() 1254 LoopBB->addSuccessor(RemBB); in EmitShiftInstr() 1255 LoopBB->addSuccessor(LoopBB); in EmitShiftInstr() 1279 BuildMI(LoopBB, dl, TII.get(MSP430::PHI), ShiftReg) in EmitShiftInstr() 1281 .addReg(ShiftReg2).addMBB(LoopBB); in EmitShiftInstr() 1282 BuildMI(LoopBB, dl, TII.get(MSP430::PHI), ShiftAmtReg) in EmitShiftInstr() 1284 .addReg(ShiftAmtReg2).addMBB(LoopBB); in EmitShiftInstr() 1285 BuildMI(LoopBB, dl, TII.get(Opc), ShiftReg2) in EmitShiftInstr() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 588 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() local 591 Builder.CreateBr(LoopBB); in Codegen() 594 Builder.SetInsertPoint(LoopBB); in Codegen() 637 Builder.CreateCondBr(EndCond, LoopBB, AfterBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
D | toy.cpp | 692 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() local 695 Builder.CreateBr(LoopBB); in Codegen() 698 Builder.SetInsertPoint(LoopBB); in Codegen() 741 Builder.CreateCondBr(EndCond, LoopBB, AfterBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
D | toy-jit.cpp | 807 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() local 810 Builder.CreateBr(LoopBB); in Codegen() 813 Builder.SetInsertPoint(LoopBB); in Codegen() 855 Builder.CreateCondBr(EndCond, LoopBB, AfterBB); in Codegen()
|
D | toy.cpp | 1087 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() local 1090 Builder.CreateBr(LoopBB); in Codegen() 1093 Builder.SetInsertPoint(LoopBB); in Codegen() 1135 Builder.CreateCondBr(EndCond, LoopBB, AfterBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
D | toy.cpp | 798 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() local 801 Builder.CreateBr(LoopBB); in Codegen() 804 Builder.SetInsertPoint(LoopBB); in Codegen() 846 Builder.CreateCondBr(EndCond, LoopBB, AfterBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
D | toy-jit.cpp | 825 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() local 828 Builder.CreateBr(LoopBB); in Codegen() 831 Builder.SetInsertPoint(LoopBB); in Codegen() 873 Builder.CreateCondBr(EndCond, LoopBB, AfterBB); in Codegen()
|
D | toy.cpp | 1189 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() local 1192 Builder.CreateBr(LoopBB); in Codegen() 1195 Builder.SetInsertPoint(LoopBB); in Codegen() 1237 Builder.CreateCondBr(EndCond, LoopBB, AfterBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
D | toy.cpp | 1047 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() local 1050 Builder.CreateBr(LoopBB); in Codegen() 1053 Builder.SetInsertPoint(LoopBB); in Codegen() 1095 Builder.CreateCondBr(EndCond, LoopBB, AfterBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
D | toy.cpp | 1367 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen() local 1370 Builder.CreateBr(LoopBB); in Codegen() 1373 Builder.SetInsertPoint(LoopBB); in Codegen() 1415 Builder.CreateCondBr(EndCond, LoopBB, AfterBB); in Codegen()
|
/external/llvm/docs/tutorial/ |
D | LangImpl5.rst | 590 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); 592 // Insert an explicit fall through from the current block to the LoopBB. 593 Builder.CreateBr(LoopBB); 603 // Start insertion in LoopBB. 604 Builder.SetInsertPoint(LoopBB); 688 Builder.CreateCondBr(EndCond, LoopBB, AfterBB);
|
/external/clang/lib/CodeGen/ |
D | CGExprCXX.cpp | 928 llvm::BasicBlock *LoopBB = createBasicBlock("new.loop"); in EmitNewArrayInitializer() local 940 Builder.CreateCondBr(IsEmpty, ContBB, LoopBB); in EmitNewArrayInitializer() 944 EmitBlock(LoopBB); in EmitNewArrayInitializer() 979 Builder.CreateCondBr(IsEnd, ContBB, LoopBB); in EmitNewArrayInitializer()
|