/external/llvm/examples/Kaleidoscope/Chapter5/ |
H A D | toy.cpp | 525 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); local 529 Builder.CreateCondBr(CondV, ThenBB, ElseBB); 532 Builder.SetInsertPoint(ThenBB); 538 // Codegen of 'Then' can change the current block, update ThenBB for the PHI. 539 ThenBB = Builder.GetInsertBlock(); 558 PN->addIncoming(ThenV, ThenBB);
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
H A D | toy.cpp | 629 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); local 633 Builder.CreateCondBr(CondV, ThenBB, ElseBB); 636 Builder.SetInsertPoint(ThenBB); 642 // Codegen of 'Then' can change the current block, update ThenBB for the PHI. 643 ThenBB = Builder.GetInsertBlock(); 662 PN->addIncoming(ThenV, ThenBB);
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
H A D | toy.cpp | 725 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); local 729 Builder.CreateCondBr(CondV, ThenBB, ElseBB); 732 Builder.SetInsertPoint(ThenBB); 738 // Codegen of 'Then' can change the current block, update ThenBB for the PHI. 739 ThenBB = Builder.GetInsertBlock(); 758 PN->addIncoming(ThenV, ThenBB);
|
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
H A D | toy-jit.cpp | 752 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); local 756 Builder.CreateCondBr(CondV, ThenBB, ElseBB); 759 Builder.SetInsertPoint(ThenBB); 765 // Codegen of 'Then' can change the current block, update ThenBB for the PHI. 766 ThenBB = Builder.GetInsertBlock(); 785 PN->addIncoming(ThenV, ThenBB);
|
H A D | toy.cpp | 1116 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); local 1120 Builder.CreateCondBr(CondV, ThenBB, ElseBB); 1123 Builder.SetInsertPoint(ThenBB); 1129 // Codegen of 'Then' can change the current block, update ThenBB for the PHI. 1130 ThenBB = Builder.GetInsertBlock(); 1149 PN->addIncoming(ThenV, ThenBB);
|
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
H A D | toy.cpp | 1294 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); local 1298 Builder.CreateCondBr(CondV, ThenBB, ElseBB); 1301 Builder.SetInsertPoint(ThenBB); 1307 // Codegen of 'Then' can change the current block, update ThenBB for the PHI. 1308 ThenBB = Builder.GetInsertBlock(); 1327 PN->addIncoming(ThenV, ThenBB);
|
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
H A D | toy.cpp | 974 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); local 978 Builder.CreateCondBr(CondV, ThenBB, ElseBB); 981 Builder.SetInsertPoint(ThenBB); 987 // Codegen of 'Then' can change the current block, update ThenBB for the PHI. 988 ThenBB = Builder.GetInsertBlock(); 1007 PN->addIncoming(ThenV, ThenBB);
|
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
H A D | toy-jit.cpp | 734 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); local 738 Builder.CreateCondBr(CondV, ThenBB, ElseBB); 741 Builder.SetInsertPoint(ThenBB); 747 // Codegen of 'Then' can change the current block, update ThenBB for the PHI. 748 ThenBB = Builder.GetInsertBlock(); 767 PN->addIncoming(ThenV, ThenBB);
|
H A D | toy.cpp | 1014 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); local 1018 Builder.CreateCondBr(CondV, ThenBB, ElseBB); 1021 Builder.SetInsertPoint(ThenBB); 1027 // Codegen of 'Then' can change the current block, update ThenBB for the PHI. 1028 ThenBB = Builder.GetInsertBlock(); 1047 PN->addIncoming(ThenV, ThenBB);
|
/external/llvm/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 1306 /// br i1 %cmp, label %EndBB, label %ThenBB 1307 /// ThenBB: 1375 /// br i1 %cmp, label %EndBB, label %ThenBB 1376 /// ThenBB: 1380 /// %phi = phi [ %sub, %ThenBB ], [ 0, %EndBB ] 1394 static bool SpeculativelyExecuteBB(BranchInst *BI, BasicBlock *ThenBB, argument 1402 BasicBlock *EndBB = ThenBB->getTerminator()->getSuccessor(0); 1404 // If ThenBB is actually on the false edge of the conditional branch, remember 1407 if (ThenBB != BI->getSuccessor(0)) { 1408 assert(ThenBB [all...] |