Home
last modified time | relevance | path

Searched refs:ThenBB (Results 1 – 12 of 12) sorted by relevance

/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp525 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/
Dtoy.cpp629 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/
Dtoy-jit.cpp734 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()
Dtoy.cpp1014 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/
Dtoy.cpp725 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/
Dtoy-jit.cpp752 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()
Dtoy.cpp1116 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/
Dtoy.cpp974 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/
Dtoy.cpp1294 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/
DLangImpl5.rst289 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);
DOCamlLangImpl5.rst309 we just set it to ThenBB 5 lines above? The problem is that the "Then"
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp1394 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 …]