Home | History | Annotate | Download | only in Chapter7

Lines Matching refs:TheFunction

617 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
619 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
620 TheFunction->getEntryBlock().begin());
721 Function *TheFunction = Builder.GetInsertBlock()->getParent();
725 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction);
742 TheFunction->getBasicBlockList().push_back(ElseBB);
753 TheFunction->getBasicBlockList().push_back(MergeBB);
784 Function *TheFunction = Builder.GetInsertBlock()->getParent();
787 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
798 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction);
843 BasicBlock *AfterBB = BasicBlock::Create(getGlobalContext(), "afterloop", TheFunction);
865 Function *TheFunction = Builder.GetInsertBlock()->getParent();
885 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
965 Function *TheFunction = Proto->Codegen();
966 if (TheFunction == 0)
974 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction);
978 Proto->CreateArgumentAllocas(TheFunction);
985 verifyFunction(*TheFunction);
988 TheFPM->run(*TheFunction);
990 return TheFunction;
994 TheFunction->eraseFromParent();