Searched refs:ThenBB (Results 1 – 8 of 8) sorted by relevance
/external/llvm/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 523 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() local 527 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen() 530 Builder.SetInsertPoint(ThenBB); in Codegen() 537 ThenBB = Builder.GetInsertBlock(); in Codegen() 556 PN->addIncoming(ThenV, ThenBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
D | toy.cpp | 627 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() local 631 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen() 634 Builder.SetInsertPoint(ThenBB); in Codegen() 641 ThenBB = Builder.GetInsertBlock(); in Codegen() 660 PN->addIncoming(ThenV, ThenBB); in Codegen()
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
D | toy.cpp | 723 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() local 727 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen() 730 Builder.SetInsertPoint(ThenBB); in Codegen() 737 ThenBB = Builder.GetInsertBlock(); in Codegen() 756 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); 1269 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); 1273 Builder.CreateCondBr(CondV, ThenBB, ElseBB); 1276 Builder.SetInsertPoint(ThenBB); [all …]
|
D | LangImpl6.rst | 1373 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); 1377 Builder.CreateCondBr(CondV, ThenBB, ElseBB); 1380 Builder.SetInsertPoint(ThenBB); 1386 // Codegen of 'Then' can change the current block, update ThenBB for the PHI. 1387 ThenBB = Builder.GetInsertBlock(); 1406 PN->addIncoming(ThenV, ThenBB);
|
D | LangImpl7.rst | 1581 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); 1585 Builder.CreateCondBr(CondV, ThenBB, ElseBB); 1588 Builder.SetInsertPoint(ThenBB); 1594 // Codegen of 'Then' can change the current block, update ThenBB for the PHI. 1595 ThenBB = Builder.GetInsertBlock(); 1614 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 | 1372 static bool SpeculativelyExecuteBB(BranchInst *BI, BasicBlock *ThenBB) { in SpeculativelyExecuteBB() argument 1379 BasicBlock *EndBB = ThenBB->getTerminator()->getSuccessor(0); in SpeculativelyExecuteBB() 1384 if (ThenBB != BI->getSuccessor(0)) { in SpeculativelyExecuteBB() 1385 assert(ThenBB == BI->getSuccessor(1) && "No edge from 'if' block?"); in SpeculativelyExecuteBB() 1398 for (BasicBlock::iterator BBI = ThenBB->begin(), in SpeculativelyExecuteBB() 1399 BBE = llvm::prior(ThenBB->end()); in SpeculativelyExecuteBB() 1449 Value *ThenV = PN->getIncomingValueForBlock(ThenBB); in SpeculativelyExecuteBB() 1480 DEBUG(dbgs() << "SPECULATIVELY EXECUTING BB" << *ThenBB << "\n";); in SpeculativelyExecuteBB() 1483 BB->getInstList().splice(BI, ThenBB->getInstList(), ThenBB->begin(), in SpeculativelyExecuteBB() 1484 llvm::prior(ThenBB->end())); in SpeculativelyExecuteBB() [all …]
|