Home
last modified time | relevance | path

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

/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp583 BasicBlock *ThenBB = in Codegen() local
588 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
591 Builder.SetInsertPoint(ThenBB); in Codegen()
599 ThenBB = Builder.GetInsertBlock(); in Codegen()
619 PN->addIncoming(ThenV, ThenBB); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp691 BasicBlock *ThenBB = in Codegen() local
696 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
699 Builder.SetInsertPoint(ThenBB); in Codegen()
707 ThenBB = Builder.GetInsertBlock(); in Codegen()
727 PN->addIncoming(ThenV, ThenBB); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp733 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() local
737 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
740 Builder.SetInsertPoint(ThenBB); in Codegen()
747 ThenBB = Builder.GetInsertBlock(); in Codegen()
766 PN->addIncoming(ThenV, ThenBB); in Codegen()
Dtoy.cpp1013 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() local
1017 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
1020 Builder.SetInsertPoint(ThenBB); in Codegen()
1027 ThenBB = Builder.GetInsertBlock(); in Codegen()
1046 PN->addIncoming(ThenV, ThenBB); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp796 BasicBlock *ThenBB = in Codegen() local
801 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
804 Builder.SetInsertPoint(ThenBB); in Codegen()
812 ThenBB = Builder.GetInsertBlock(); in Codegen()
832 PN->addIncoming(ThenV, ThenBB); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp751 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() local
755 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
758 Builder.SetInsertPoint(ThenBB); in Codegen()
765 ThenBB = Builder.GetInsertBlock(); in Codegen()
784 PN->addIncoming(ThenV, ThenBB); in Codegen()
Dtoy.cpp1115 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() local
1119 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
1122 Builder.SetInsertPoint(ThenBB); in Codegen()
1129 ThenBB = Builder.GetInsertBlock(); in Codegen()
1148 PN->addIncoming(ThenV, ThenBB); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp973 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() local
977 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
980 Builder.SetInsertPoint(ThenBB); in Codegen()
987 ThenBB = Builder.GetInsertBlock(); in Codegen()
1006 PN->addIncoming(ThenV, ThenBB); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp995 BasicBlock *ThenBB = in Codegen() local
1000 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
1003 Builder.SetInsertPoint(ThenBB); in Codegen()
1011 ThenBB = Builder.GetInsertBlock(); in Codegen()
1031 PN->addIncoming(ThenV, ThenBB); in Codegen()
/external/llvm/examples/Kaleidoscope/Orc/initial/
Dtoy.cpp858 BasicBlock *ThenBB = BasicBlock::Create(C.getLLVMContext(), "then", TheFunction); in IRGen() local
862 C.getBuilder().CreateCondBr(CondV, ThenBB, ElseBB); in IRGen()
865 C.getBuilder().SetInsertPoint(ThenBB); in IRGen()
872 ThenBB = C.getBuilder().GetInsertBlock(); in IRGen()
891 PN->addIncoming(ThenV, ThenBB); in IRGen()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp1193 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen() local
1197 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
1200 Builder.SetInsertPoint(ThenBB); in Codegen()
1207 ThenBB = Builder.GetInsertBlock(); in Codegen()
1226 PN->addIncoming(ThenV, ThenBB); in Codegen()
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/
Dtoy.cpp858 BasicBlock *ThenBB = BasicBlock::Create(C.getLLVMContext(), "then", TheFunction); in IRGen() local
862 C.getBuilder().CreateCondBr(CondV, ThenBB, ElseBB); in IRGen()
865 C.getBuilder().SetInsertPoint(ThenBB); in IRGen()
872 ThenBB = C.getBuilder().GetInsertBlock(); in IRGen()
891 PN->addIncoming(ThenV, ThenBB); in IRGen()
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/
Dtoy.cpp858 BasicBlock *ThenBB = BasicBlock::Create(C.getLLVMContext(), "then", TheFunction); in IRGen() local
862 C.getBuilder().CreateCondBr(CondV, ThenBB, ElseBB); in IRGen()
865 C.getBuilder().SetInsertPoint(ThenBB); in IRGen()
872 ThenBB = C.getBuilder().GetInsertBlock(); in IRGen()
891 PN->addIncoming(ThenV, ThenBB); in IRGen()
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/
Dtoy.cpp859 BasicBlock *ThenBB = BasicBlock::Create(C.getLLVMContext(), "then", TheFunction); in IRGen() local
863 C.getBuilder().CreateCondBr(CondV, ThenBB, ElseBB); in IRGen()
866 C.getBuilder().SetInsertPoint(ThenBB); in IRGen()
873 ThenBB = C.getBuilder().GetInsertBlock(); in IRGen()
892 PN->addIncoming(ThenV, ThenBB); in IRGen()
/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.cpp1468 static bool SpeculativelyExecuteBB(BranchInst *BI, BasicBlock *ThenBB, in SpeculativelyExecuteBB() argument
1476 BasicBlock *EndBB = ThenBB->getTerminator()->getSuccessor(0); in SpeculativelyExecuteBB()
1481 if (ThenBB != BI->getSuccessor(0)) { in SpeculativelyExecuteBB()
1482 assert(ThenBB == BI->getSuccessor(1) && "No edge from 'if' block?"); in SpeculativelyExecuteBB()
1497 for (BasicBlock::iterator BBI = ThenBB->begin(), in SpeculativelyExecuteBB()
1498 BBE = std::prev(ThenBB->end()); in SpeculativelyExecuteBB()
1514 I, BB, ThenBB, EndBB)))) in SpeculativelyExecuteBB()
1556 Value *ThenV = PN->getIncomingValueForBlock(ThenBB); in SpeculativelyExecuteBB()
1599 DEBUG(dbgs() << "SPECULATIVELY EXECUTING BB" << *ThenBB << "\n";); in SpeculativelyExecuteBB()
1614 BB->getInstList().splice(BI, ThenBB->getInstList(), ThenBB->begin(), in SpeculativelyExecuteBB()
[all …]
/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp378 auto *ThenBB = createBasicBlock(".omp.lastprivate.then"); in EmitOMPLastprivateClauseFinal() local
380 Builder.CreateCondBr(IsLastIterCond, ThenBB, DoneBB); in EmitOMPLastprivateClauseFinal()
381 EmitBlock(ThenBB); in EmitOMPLastprivateClauseFinal()