/external/llvm/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 525 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() local 529 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen() 532 Builder.SetInsertPoint(ThenBB); in Codegen() 539 ThenBB = Builder.GetInsertBlock(); in Codegen() 558 PN->addIncoming(ThenV, ThenBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
D | toy.cpp | 629 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() local 633 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen() 636 Builder.SetInsertPoint(ThenBB); in Codegen() 643 ThenBB = Builder.GetInsertBlock(); in Codegen() 662 PN->addIncoming(ThenV, ThenBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
D | toy-jit.cpp | 734 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() local 738 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen() 741 Builder.SetInsertPoint(ThenBB); in Codegen() 748 ThenBB = Builder.GetInsertBlock(); in Codegen() 767 PN->addIncoming(ThenV, ThenBB); in Codegen()
|
D | toy.cpp | 1014 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() local 1018 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen() 1021 Builder.SetInsertPoint(ThenBB); in Codegen() 1028 ThenBB = Builder.GetInsertBlock(); in Codegen() 1047 PN->addIncoming(ThenV, ThenBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
D | toy.cpp | 725 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() local 729 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen() 732 Builder.SetInsertPoint(ThenBB); in Codegen() 739 ThenBB = Builder.GetInsertBlock(); in Codegen() 758 PN->addIncoming(ThenV, ThenBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
D | toy-jit.cpp | 752 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() local 756 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen() 759 Builder.SetInsertPoint(ThenBB); in Codegen() 766 ThenBB = Builder.GetInsertBlock(); in Codegen() 785 PN->addIncoming(ThenV, ThenBB); in Codegen()
|
D | toy.cpp | 1116 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() local 1120 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen() 1123 Builder.SetInsertPoint(ThenBB); in Codegen() 1130 ThenBB = Builder.GetInsertBlock(); in Codegen() 1149 PN->addIncoming(ThenV, ThenBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
D | toy.cpp | 974 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() local 978 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen() 981 Builder.SetInsertPoint(ThenBB); in Codegen() 988 ThenBB = Builder.GetInsertBlock(); in Codegen() 1007 PN->addIncoming(ThenV, ThenBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
D | toy.cpp | 1294 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() local 1298 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen() 1301 Builder.SetInsertPoint(ThenBB); in Codegen() 1308 ThenBB = Builder.GetInsertBlock(); in Codegen() 1327 PN->addIncoming(ThenV, ThenBB); in Codegen()
|
/external/llvm/docs/tutorial/ |
D | LangImpl5.rst | 289 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); 293 Builder.CreateCondBr(CondV, ThenBB, ElseBB); 319 Builder.SetInsertPoint(ThenBB); 325 // Codegen of 'Then' can change the current block, update ThenBB for the PHI. 326 ThenBB = Builder.GetInsertBlock(); 349 we just set it to ThenBB 5 lines above? The problem is that the "Then" 384 PN->addIncoming(ThenV, ThenBB);
|
D | OCamlLangImpl5.rst | 309 we just set it to ThenBB 5 lines above? The problem is that the "Then"
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 1394 static bool SpeculativelyExecuteBB(BranchInst *BI, BasicBlock *ThenBB, in SpeculativelyExecuteBB() argument 1402 BasicBlock *EndBB = ThenBB->getTerminator()->getSuccessor(0); in SpeculativelyExecuteBB() 1407 if (ThenBB != BI->getSuccessor(0)) { in SpeculativelyExecuteBB() 1408 assert(ThenBB == BI->getSuccessor(1) && "No edge from 'if' block?"); in SpeculativelyExecuteBB() 1423 for (BasicBlock::iterator BBI = ThenBB->begin(), in SpeculativelyExecuteBB() 1424 BBE = std::prev(ThenBB->end()); in SpeculativelyExecuteBB() 1440 (SpeculatedStoreValue = isSafeToSpeculateStore(I, BB, ThenBB, in SpeculativelyExecuteBB() 1482 Value *ThenV = PN->getIncomingValueForBlock(ThenBB); in SpeculativelyExecuteBB() 1518 DEBUG(dbgs() << "SPECULATIVELY EXECUTING BB" << *ThenBB << "\n";); in SpeculativelyExecuteBB() 1533 BB->getInstList().splice(BI, ThenBB->getInstList(), ThenBB->begin(), in SpeculativelyExecuteBB() [all …]
|