Home
last modified time | relevance | path

Searched refs:LoopBB (Results 1 – 14 of 14) sorted by relevance

/external/llvm/lib/CodeGen/
DAtomicExpandLoadLinkedPass.cpp156 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/
DX86AtomicExpandPass.cpp233 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/
DMSP430ISelLowering.cpp1239 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/
Dtoy.cpp588 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/
Dtoy.cpp692 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/
Dtoy-jit.cpp807 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()
Dtoy.cpp1087 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/
Dtoy.cpp798 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/
Dtoy-jit.cpp825 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()
Dtoy.cpp1189 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/
Dtoy.cpp1047 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/
Dtoy.cpp1367 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/
DLangImpl5.rst590 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/
DCGExprCXX.cpp928 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()