Lines Matching refs:TheFunction
633 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
635 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
636 TheFunction->getEntryBlock().begin());
747 Function *TheFunction = Builder.GetInsertBlock()->getParent();
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();
813 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
824 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction);
869 BasicBlock *AfterBB = BasicBlock::Create(getGlobalContext(), "afterloop", TheFunction);
891 Function *TheFunction = Builder.GetInsertBlock()->getParent();
911 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
988 Function *TheFunction = Proto->Codegen();
989 if (TheFunction == 0)
997 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction);
1001 Proto->CreateArgumentAllocas(TheFunction);
1008 verifyFunction(*TheFunction);
1011 TheFPM->run(*TheFunction);
1013 return TheFunction;
1017 TheFunction->eraseFromParent();