Lines Matching refs:TheFunction
634 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
636 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
637 TheFunction->getEntryBlock().begin());
745 Function *TheFunction = Builder.GetInsertBlock()->getParent();
749 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
766 TheFunction->getBasicBlockList().push_back(ElseBB);
777 TheFunction->getBasicBlockList().push_back(MergeBB);
807 Function *TheFunction = Builder.GetInsertBlock()->getParent();
810 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
821 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction);
866 BasicBlock::Create(TheContext, "afterloop", TheFunction);
888 Function *TheFunction = Builder.GetInsertBlock()->getParent();
908 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
984 Function *TheFunction = Proto->Codegen();
985 if (TheFunction == 0)
993 BasicBlock *BB = BasicBlock::Create(TheContext, "entry", TheFunction);
997 Proto->CreateArgumentAllocas(TheFunction);
1004 verifyFunction(*TheFunction);
1007 TheFPM->run(*TheFunction);
1009 return TheFunction;
1013 TheFunction->eraseFromParent();