Searched refs:TheFunction (Results 1 - 6 of 6) sorted by relevance
/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/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/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/VMCore/ |
H A D | AsmWriter.cpp | 316 /// TheFunction - The function for which we are holding slot numbers. 317 const Function* TheFunction; member in class:__anon9170::SlotTracker 346 TheFunction = F; 429 : TheModule(M), TheFunction(0), FunctionProcessed(false), 436 : TheModule(F ? F->getParent() : 0), TheFunction(F), FunctionProcessed(false), 446 if (TheFunction && !FunctionProcessed) 486 for(Function::const_arg_iterator AI = TheFunction->arg_begin(), 487 AE = TheFunction->arg_end(); AI != AE; ++AI) 496 for (Function::const_iterator BB = TheFunction->begin(), 497 E = TheFunction [all...] |
Completed in 1970 milliseconds