Home
last modified time | relevance | path

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

/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp621 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in codegen() local
624 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
638 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
639 Builder.SetInsertPoint(ElseBB); in codegen()
647 ElseBB = Builder.GetInsertBlock(); in codegen()
655 PN->addIncoming(ElseV, ElseBB); in codegen()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp732 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in codegen() local
735 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
749 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
750 Builder.SetInsertPoint(ElseBB); in codegen()
758 ElseBB = Builder.GetInsertBlock(); in codegen()
766 PN->addIncoming(ElseV, ElseBB); in codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp732 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in Codegen() local
735 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
748 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen()
749 Builder.SetInsertPoint(ElseBB); in Codegen()
756 ElseBB = Builder.GetInsertBlock(); in Codegen()
764 PN->addIncoming(ElseV, ElseBB); in Codegen()
Dtoy.cpp1012 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in Codegen() local
1015 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
1028 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen()
1029 Builder.SetInsertPoint(ElseBB); in Codegen()
1036 ElseBB = Builder.GetInsertBlock(); in Codegen()
1044 PN->addIncoming(ElseV, ElseBB); in Codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp750 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in Codegen() local
753 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
766 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen()
767 Builder.SetInsertPoint(ElseBB); in Codegen()
774 ElseBB = Builder.GetInsertBlock(); in Codegen()
782 PN->addIncoming(ElseV, ElseBB); in Codegen()
Dtoy.cpp1114 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in Codegen() local
1117 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
1130 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen()
1131 Builder.SetInsertPoint(ElseBB); in Codegen()
1138 ElseBB = Builder.GetInsertBlock(); in Codegen()
1146 PN->addIncoming(ElseV, ElseBB); in Codegen()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
Dtoy.cpp836 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in codegen() local
839 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
853 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
854 Builder.SetInsertPoint(ElseBB); in codegen()
862 ElseBB = Builder.GetInsertBlock(); in codegen()
870 PN->addIncoming(ElseV, ElseBB); in codegen()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
Dtoy.cpp836 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in codegen() local
839 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
853 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
854 Builder.SetInsertPoint(ElseBB); in codegen()
862 ElseBB = Builder.GetInsertBlock(); in codegen()
870 PN->addIncoming(ElseV, ElseBB); in codegen()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
Dtoy.cpp825 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in codegen() local
828 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
842 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
843 Builder.SetInsertPoint(ElseBB); in codegen()
851 ElseBB = Builder.GetInsertBlock(); in codegen()
859 PN->addIncoming(ElseV, ElseBB); in codegen()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
Dtoy.cpp836 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in codegen() local
839 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
853 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
854 Builder.SetInsertPoint(ElseBB); in codegen()
862 ElseBB = Builder.GetInsertBlock(); in codegen()
870 PN->addIncoming(ElseV, ElseBB); in codegen()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp832 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in codegen() local
835 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
849 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
850 Builder.SetInsertPoint(ElseBB); in codegen()
858 ElseBB = Builder.GetInsertBlock(); in codegen()
866 PN->addIncoming(ElseV, ElseBB); in codegen()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp837 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in codegen() local
840 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
854 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
855 Builder.SetInsertPoint(ElseBB); in codegen()
863 ElseBB = Builder.GetInsertBlock(); in codegen()
871 PN->addIncoming(ElseV, ElseBB); in codegen()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
Dtoy.cpp847 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in codegen() local
850 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
864 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
865 Builder.SetInsertPoint(ElseBB); in codegen()
873 ElseBB = Builder.GetInsertBlock(); in codegen()
881 PN->addIncoming(ElseV, ElseBB); in codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp972 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in Codegen() local
975 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
988 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen()
989 Builder.SetInsertPoint(ElseBB); in Codegen()
996 ElseBB = Builder.GetInsertBlock(); in Codegen()
1004 PN->addIncoming(ElseV, ElseBB); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter9/
Dtoy.cpp1016 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in codegen() local
1019 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in codegen()
1033 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
1034 Builder.SetInsertPoint(ElseBB); in codegen()
1042 ElseBB = Builder.GetInsertBlock(); in codegen()
1050 PN->addIncoming(ElseV, ElseBB); in codegen()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp1192 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in Codegen() local
1195 Builder.CreateCondBr(CondV, ThenBB, ElseBB); in Codegen()
1208 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen()
1209 Builder.SetInsertPoint(ElseBB); in Codegen()
1216 ElseBB = Builder.GetInsertBlock(); in Codegen()
1224 PN->addIncoming(ElseV, ElseBB); in Codegen()
/external/llvm/docs/tutorial/
DLangImpl05.rst309 BasicBlock *ElseBB = BasicBlock::Create(LLVMContext, "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);
/external/llvm/tools/llvm-c-test/
Decho.cpp437 LLVMBasicBlockRef ElseBB = DeclareBB(LLVMValueAsBasicBlock(Else)); in CloneInstruction() local
440 Dst = LLVMBuildCondBr(Builder, Cond, ThenBB, ElseBB); in CloneInstruction()