/external/llvm/examples/Kaleidoscope/Chapter5/ |
H A D | toy.cpp | 519 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local 523 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); 540 TheFunction->getBasicBlockList().push_back(ElseBB); 551 TheFunction->getBasicBlockList().push_back(MergeBB); 584 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 586 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); 632 BasicBlock *AfterBB = BasicBlock::Create(getGlobalContext(), "afterloop", TheFunction); 699 Function *TheFunction = Proto->Codegen(); local 700 if (TheFunction == 0) 704 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction); [all...] |
/external/llvm/examples/Kaleidoscope/Chapter6/ |
H A D | toy.cpp | 623 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local 627 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); 644 TheFunction->getBasicBlockList().push_back(ElseBB); 655 TheFunction->getBasicBlockList().push_back(MergeBB); 688 Function *TheFunction = Builder.GetInsertBlock()->getParent(); 690 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); 736 BasicBlock *AfterBB = BasicBlock::Create(getGlobalContext(), "afterloop", TheFunction); 803 Function *TheFunction = Proto->Codegen(); local 804 if (TheFunction == 0) 812 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction); [all...] |
/external/llvm/examples/Kaleidoscope/Chapter7/ |
H A D | toy.cpp | 615 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, argument 617 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), 618 TheFunction->getEntryBlock().begin()); 719 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local 723 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); 740 TheFunction->getBasicBlockList().push_back(ElseBB); 751 TheFunction->getBasicBlockList().push_back(MergeBB); 782 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local 785 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); 796 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); 863 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local 963 Function *TheFunction = Proto->Codegen(); local [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
H A D | toy-jit.cpp | 633 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, argument 635 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), 636 TheFunction->getEntryBlock().begin()); 747 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local 751 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); 768 TheFunction->getBasicBlockList().push_back(ElseBB); 779 TheFunction->getBasicBlockList().push_back(MergeBB); 810 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local 813 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); 824 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); 891 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local 988 Function *TheFunction = Proto->Codegen(); local [all...] |
H A D | toy.cpp | 1004 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, argument 1006 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), 1007 TheFunction->getEntryBlock().begin()); 1111 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local 1115 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); 1132 TheFunction->getBasicBlockList().push_back(ElseBB); 1143 TheFunction->getBasicBlockList().push_back(MergeBB); 1174 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local 1177 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); 1188 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); 1255 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local 1359 Function *TheFunction = Proto->Codegen(); local [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
H A D | toy-jit.cpp | 618 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, argument 620 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), 621 TheFunction->getEntryBlock().begin()); 729 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local 733 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); 750 TheFunction->getBasicBlockList().push_back(ElseBB); 761 TheFunction->getBasicBlockList().push_back(MergeBB); 792 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local 795 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); 806 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); 873 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local 970 Function *TheFunction = Proto->Codegen(); local [all...] |
H A D | toy.cpp | 902 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, argument 904 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), 905 TheFunction->getEntryBlock().begin()); 1009 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local 1013 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); 1030 TheFunction->getBasicBlockList().push_back(ElseBB); 1041 TheFunction->getBasicBlockList().push_back(MergeBB); 1072 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local 1075 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); 1086 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); 1153 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local 1257 Function *TheFunction = Proto->Codegen(); local [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
H A D | toy.cpp | 862 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, argument 864 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), 865 TheFunction->getEntryBlock().begin()); 969 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local 973 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); 990 TheFunction->getBasicBlockList().push_back(ElseBB); 1001 TheFunction->getBasicBlockList().push_back(MergeBB); 1032 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local 1035 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); 1046 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); 1113 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local 1217 Function *TheFunction = Proto->Codegen(); local [all...] |
/external/llvm/examples/Kaleidoscope/Chapter3/ |
H A D | toy.cpp | 446 Function *TheFunction = Proto->Codegen(); local 447 if (TheFunction == 0) 451 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction); 459 verifyFunction(*TheFunction); 461 return TheFunction; 465 TheFunction->eraseFromParent();
|
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
H A D | toy.cpp | 1171 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, argument 1173 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), 1174 TheFunction->getEntryBlock().begin()); 1289 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local 1293 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); 1310 TheFunction->getBasicBlockList().push_back(ElseBB); 1321 TheFunction->getBasicBlockList().push_back(MergeBB); 1352 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local 1355 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); 1366 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); 1433 Function *TheFunction = Builder.GetInsertBlock()->getParent(); local 1540 Function *TheFunction = Proto->Codegen(); local [all...] |
/external/llvm/examples/Kaleidoscope/Chapter4/ |
H A D | toy.cpp | 454 Function *TheFunction = Proto->Codegen(); local 455 if (TheFunction == 0) 459 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction); 467 verifyFunction(*TheFunction); 470 TheFPM->run(*TheFunction); 472 return TheFunction; 476 TheFunction->eraseFromParent();
|
/external/llvm/lib/IR/ |
H A D | AsmWriter.cpp | 308 /// TheFunction - The function for which we are holding slot numbers. 309 const Function* TheFunction; member in class:llvm::SlotTracker 343 TheFunction = F; 437 : TheModule(M), TheFunction(0), FunctionProcessed(false), 444 : TheModule(F ? F->getParent() : 0), TheFunction(F), FunctionProcessed(false), 454 if (TheFunction && !FunctionProcessed) 501 for(Function::const_arg_iterator AI = TheFunction->arg_begin(), 502 AE = TheFunction->arg_end(); AI != AE; ++AI) 511 for (Function::const_iterator BB = TheFunction->begin(), 512 E = TheFunction [all...] |