Searched refs:ThenBB (Results 1 - 16 of 16) sorted by relevance

/external/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp608 BasicBlock *ThenBB = local
613 Builder.CreateCondBr(CondV, ThenBB, ElseBB);
616 Builder.SetInsertPoint(ThenBB);
623 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.
624 ThenBB = Builder.GetInsertBlock();
644 PN->addIncoming(ThenV, ThenBB);
/external/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp719 BasicBlock *ThenBB = local
724 Builder.CreateCondBr(CondV, ThenBB, ElseBB);
727 Builder.SetInsertPoint(ThenBB);
734 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.
735 ThenBB = Builder.GetInsertBlock();
755 PN->addIncoming(ThenV, ThenBB);
/external/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp824 BasicBlock *ThenBB = local
829 Builder.CreateCondBr(CondV, ThenBB, ElseBB);
832 Builder.SetInsertPoint(ThenBB);
839 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.
840 ThenBB = Builder.GetInsertBlock();
860 PN->addIncoming(ThenV, ThenBB);
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp751 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); local
755 Builder.CreateCondBr(CondV, ThenBB, ElseBB);
758 Builder.SetInsertPoint(ThenBB);
764 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.
765 ThenBB = Builder.GetInsertBlock();
784 PN->addIncoming(ThenV, ThenBB);
H A Dtoy.cpp1115 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); local
1119 Builder.CreateCondBr(CondV, ThenBB, ElseBB);
1122 Builder.SetInsertPoint(ThenBB);
1128 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.
1129 ThenBB = Builder.GetInsertBlock();
1148 PN->addIncoming(ThenV, ThenBB);
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
H A Dtoy.cpp973 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); local
977 Builder.CreateCondBr(CondV, ThenBB, ElseBB);
980 Builder.SetInsertPoint(ThenBB);
986 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.
987 ThenBB = Builder.GetInsertBlock();
1006 PN->addIncoming(ThenV, ThenBB);
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp733 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); local
737 Builder.CreateCondBr(CondV, ThenBB, ElseBB);
740 Builder.SetInsertPoint(ThenBB);
746 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.
747 ThenBB = Builder.GetInsertBlock();
766 PN->addIncoming(ThenV, ThenBB);
H A Dtoy.cpp1013 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); local
1017 Builder.CreateCondBr(CondV, ThenBB, ElseBB);
1020 Builder.SetInsertPoint(ThenBB);
1026 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.
1027 ThenBB = Builder.GetInsertBlock();
1046 PN->addIncoming(ThenV, ThenBB);
/external/llvm/examples/Kaleidoscope/Chapter8/
H A Dtoy.cpp1015 BasicBlock *ThenBB = local
1020 Builder.CreateCondBr(CondV, ThenBB, ElseBB);
1023 Builder.SetInsertPoint(ThenBB);
1030 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.
1031 ThenBB = Builder.GetInsertBlock();
1051 PN->addIncoming(ThenV, ThenBB);
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp1193 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); local
1197 Builder.CreateCondBr(CondV, ThenBB, ElseBB);
1200 Builder.SetInsertPoint(ThenBB);
1206 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.
1207 ThenBB = Builder.GetInsertBlock();
1226 PN->addIncoming(ThenV, ThenBB);
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/
H A Dtoy.cpp858 BasicBlock *ThenBB = BasicBlock::Create(C.getLLVMContext(), "then", TheFunction); local
862 C.getBuilder().CreateCondBr(CondV, ThenBB, ElseBB);
865 C.getBuilder().SetInsertPoint(ThenBB);
871 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.
872 ThenBB = C.getBuilder().GetInsertBlock();
891 PN->addIncoming(ThenV, ThenBB);
/external/llvm/examples/Kaleidoscope/Orc/initial/
H A Dtoy.cpp857 BasicBlock *ThenBB = BasicBlock::Create(C.getLLVMContext(), "then", TheFunction); local
861 C.getBuilder().CreateCondBr(CondV, ThenBB, ElseBB);
864 C.getBuilder().SetInsertPoint(ThenBB);
870 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.
871 ThenBB = C.getBuilder().GetInsertBlock();
890 PN->addIncoming(ThenV, ThenBB);
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/
H A Dtoy.cpp857 BasicBlock *ThenBB = BasicBlock::Create(C.getLLVMContext(), "then", TheFunction); local
861 C.getBuilder().CreateCondBr(CondV, ThenBB, ElseBB);
864 C.getBuilder().SetInsertPoint(ThenBB);
870 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.
871 ThenBB = C.getBuilder().GetInsertBlock();
890 PN->addIncoming(ThenV, ThenBB);
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/
H A Dtoy.cpp857 BasicBlock *ThenBB = BasicBlock::Create(C.getLLVMContext(), "then", TheFunction); local
861 C.getBuilder().CreateCondBr(CondV, ThenBB, ElseBB);
864 C.getBuilder().SetInsertPoint(ThenBB);
870 // Codegen of 'Then' can change the current block, update ThenBB for the PHI.
871 ThenBB = C.getBuilder().GetInsertBlock();
890 PN->addIncoming(ThenV, ThenBB);
/external/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp1402 /// br i1 %cmp, label %EndBB, label %ThenBB
1403 /// ThenBB:
1471 /// br i1 %cmp, label %EndBB, label %ThenBB
1472 /// ThenBB:
1476 /// %phi = phi [ %sub, %ThenBB ], [ 0, %EndBB ]
1490 static bool SpeculativelyExecuteBB(BranchInst *BI, BasicBlock *ThenBB, argument
1498 BasicBlock *EndBB = ThenBB->getTerminator()->getSuccessor(0);
1500 // If ThenBB is actually on the false edge of the conditional branch, remember
1503 if (ThenBB != BI->getSuccessor(0)) {
1504 assert(ThenBB
[all...]
/external/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp579 llvm::BasicBlock *ThenBB = nullptr;
582 ThenBB = createBasicBlock(".omp.lastprivate.then");
584 Builder.CreateCondBr(IsLastIterCond, ThenBB, DoneBB);
585 EmitBlock(ThenBB);

Completed in 171 milliseconds