Home
last modified time | relevance | path

Searched refs:ElseBB (Results 1 – 15 of 15) sorted by relevance

/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp585 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else"); in Codegen() local
588 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
602 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen()
603 Builder.SetInsertPoint(ElseBB); in Codegen()
611 ElseBB = Builder.GetInsertBlock(); in Codegen()
620 PN->addIncoming(ElseV, ElseBB); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp693 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else"); in Codegen() local
696 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
710 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen()
711 Builder.SetInsertPoint(ElseBB); in Codegen()
719 ElseBB = Builder.GetInsertBlock(); in Codegen()
728 PN->addIncoming(ElseV, ElseBB); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp752 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else"); in Codegen() local
755 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
768 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen()
769 Builder.SetInsertPoint(ElseBB); in Codegen()
776 ElseBB = Builder.GetInsertBlock(); in Codegen()
785 PN->addIncoming(ElseV, ElseBB); in Codegen()
Dtoy.cpp1116 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else"); in Codegen() local
1119 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
1132 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen()
1133 Builder.SetInsertPoint(ElseBB); in Codegen()
1140 ElseBB = Builder.GetInsertBlock(); in Codegen()
1149 PN->addIncoming(ElseV, ElseBB); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp798 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else"); in Codegen() local
801 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
815 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen()
816 Builder.SetInsertPoint(ElseBB); in Codegen()
824 ElseBB = Builder.GetInsertBlock(); in Codegen()
833 PN->addIncoming(ElseV, ElseBB); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp734 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else"); in Codegen() local
737 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
750 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen()
751 Builder.SetInsertPoint(ElseBB); in Codegen()
758 ElseBB = Builder.GetInsertBlock(); in Codegen()
767 PN->addIncoming(ElseV, ElseBB); in Codegen()
Dtoy.cpp1014 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else"); in Codegen() local
1017 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
1030 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen()
1031 Builder.SetInsertPoint(ElseBB); in Codegen()
1038 ElseBB = Builder.GetInsertBlock(); in Codegen()
1047 PN->addIncoming(ElseV, ElseBB); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp974 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else"); in Codegen() local
977 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
990 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen()
991 Builder.SetInsertPoint(ElseBB); in Codegen()
998 ElseBB = Builder.GetInsertBlock(); in Codegen()
1007 PN->addIncoming(ElseV, ElseBB); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp997 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else"); in Codegen() local
1000 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
1014 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen()
1015 Builder.SetInsertPoint(ElseBB); in Codegen()
1023 ElseBB = Builder.GetInsertBlock(); in Codegen()
1032 PN->addIncoming(ElseV, ElseBB); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp1194 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else"); in Codegen() local
1197 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
1210 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen()
1211 Builder.SetInsertPoint(ElseBB); in Codegen()
1218 ElseBB = Builder.GetInsertBlock(); in Codegen()
1227 PN->addIncoming(ElseV, ElseBB); in Codegen()
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/
Dtoy.cpp859 BasicBlock *ElseBB = BasicBlock::Create(C.getLLVMContext(), "else"); in IRGen() local
862 C.getBuilder().CreateCondBr(CondV, ThenBB, ElseBB); in IRGen()
875 TheFunction->getBasicBlockList().push_back(ElseBB); in IRGen()
876 C.getBuilder().SetInsertPoint(ElseBB); in IRGen()
883 ElseBB = C.getBuilder().GetInsertBlock(); in IRGen()
892 PN->addIncoming(ElseV, ElseBB); in IRGen()
/external/llvm/examples/Kaleidoscope/Orc/initial/
Dtoy.cpp859 BasicBlock *ElseBB = BasicBlock::Create(C.getLLVMContext(), "else"); in IRGen() local
862 C.getBuilder().CreateCondBr(CondV, ThenBB, ElseBB); in IRGen()
875 TheFunction->getBasicBlockList().push_back(ElseBB); in IRGen()
876 C.getBuilder().SetInsertPoint(ElseBB); in IRGen()
883 ElseBB = C.getBuilder().GetInsertBlock(); in IRGen()
892 PN->addIncoming(ElseV, ElseBB); in IRGen()
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/
Dtoy.cpp859 BasicBlock *ElseBB = BasicBlock::Create(C.getLLVMContext(), "else"); in IRGen() local
862 C.getBuilder().CreateCondBr(CondV, ThenBB, ElseBB); in IRGen()
875 TheFunction->getBasicBlockList().push_back(ElseBB); in IRGen()
876 C.getBuilder().SetInsertPoint(ElseBB); in IRGen()
883 ElseBB = C.getBuilder().GetInsertBlock(); in IRGen()
892 PN->addIncoming(ElseV, ElseBB); in IRGen()
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/
Dtoy.cpp860 BasicBlock *ElseBB = BasicBlock::Create(C.getLLVMContext(), "else"); in IRGen() local
863 C.getBuilder().CreateCondBr(CondV, ThenBB, ElseBB); in IRGen()
876 TheFunction->getBasicBlockList().push_back(ElseBB); in IRGen()
877 C.getBuilder().SetInsertPoint(ElseBB); in IRGen()
884 ElseBB = C.getBuilder().GetInsertBlock(); in IRGen()
893 PN->addIncoming(ElseV, ElseBB); in IRGen()
/external/llvm/docs/tutorial/
DLangImpl5.rst290 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else");
293 Builder.CreateCondBr(CondV, ThenBB, ElseBB);
359 TheFunction->getBasicBlockList().push_back(ElseBB);
360 Builder.SetInsertPoint(ElseBB);
366 // Codegen of 'Else' can change the current block, update ElseBB for the PHI.
367 ElseBB = Builder.GetInsertBlock();
385 PN->addIncoming(ElseV, ElseBB);