Home
last modified time | relevance | path

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

/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp610 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else"); in codegen() local
613 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
627 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
628 Builder.SetInsertPoint(ElseBB); in codegen()
636 ElseBB = Builder.GetInsertBlock(); in codegen()
645 PN->addIncoming(ElseV, ElseBB); in codegen()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp721 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else"); in codegen() local
724 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
738 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
739 Builder.SetInsertPoint(ElseBB); in codegen()
747 ElseBB = Builder.GetInsertBlock(); in codegen()
756 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/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.cpp826 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else"); in codegen() local
829 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
843 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
844 Builder.SetInsertPoint(ElseBB); in codegen()
852 ElseBB = Builder.GetInsertBlock(); in codegen()
861 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/Orc/lazy_codegen/
Dtoy.cpp858 BasicBlock *ElseBB = BasicBlock::Create(C.getLLVMContext(), "else"); in IRGen() local
861 C.getBuilder().CreateCondBr(CondV, ThenBB, ElseBB); in IRGen()
874 TheFunction->getBasicBlockList().push_back(ElseBB); in IRGen()
875 C.getBuilder().SetInsertPoint(ElseBB); in IRGen()
882 ElseBB = C.getBuilder().GetInsertBlock(); in IRGen()
891 PN->addIncoming(ElseV, ElseBB); in IRGen()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp1017 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else"); in codegen() local
1020 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
1034 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
1035 Builder.SetInsertPoint(ElseBB); in codegen()
1043 ElseBB = Builder.GetInsertBlock(); in codegen()
1052 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.cpp858 BasicBlock *ElseBB = BasicBlock::Create(C.getLLVMContext(), "else"); in IRGen() local
861 C.getBuilder().CreateCondBr(CondV, ThenBB, ElseBB); in IRGen()
874 TheFunction->getBasicBlockList().push_back(ElseBB); in IRGen()
875 C.getBuilder().SetInsertPoint(ElseBB); in IRGen()
882 ElseBB = C.getBuilder().GetInsertBlock(); in IRGen()
891 PN->addIncoming(ElseV, ElseBB); in IRGen()
/external/llvm/examples/Kaleidoscope/Orc/initial/
Dtoy.cpp858 BasicBlock *ElseBB = BasicBlock::Create(C.getLLVMContext(), "else"); in IRGen() local
861 C.getBuilder().CreateCondBr(CondV, ThenBB, ElseBB); in IRGen()
874 TheFunction->getBasicBlockList().push_back(ElseBB); in IRGen()
875 C.getBuilder().SetInsertPoint(ElseBB); in IRGen()
882 ElseBB = C.getBuilder().GetInsertBlock(); in IRGen()
891 PN->addIncoming(ElseV, ElseBB); in IRGen()
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/
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/docs/tutorial/
DLangImpl5.rst309 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else");
312 Builder.CreateCondBr(CondV, ThenBB, ElseBB);
379 TheFunction->getBasicBlockList().push_back(ElseBB);
380 Builder.SetInsertPoint(ElseBB);
387 // codegen of 'Else' can change the current block, update ElseBB for the PHI.
388 ElseBB = Builder.GetInsertBlock();
406 PN->addIncoming(ElseV, ElseBB);