Lines Matching refs:TheFunction

735 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,  in CreateEntryBlockAlloca()  argument
737 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), in CreateEntryBlockAlloca()
738 TheFunction->getEntryBlock().begin()); in CreateEntryBlockAlloca()
850 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen() local
854 BasicBlock *ThenBB = BasicBlock::Create(*TheContext, "then", TheFunction); in codegen()
872 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
884 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
913 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen() local
916 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in codegen()
928 BasicBlock *LoopBB = BasicBlock::Create(*TheContext, "loop", TheFunction); in codegen()
976 BasicBlock::Create(*TheContext, "afterloop", TheFunction); in codegen()
997 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen() local
1018 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in codegen()
1064 Function *TheFunction = getFunction(P.getName()); in codegen() local
1065 if (!TheFunction) in codegen()
1073 BasicBlock *BB = BasicBlock::Create(*TheContext, "entry", TheFunction); in codegen()
1078 for (auto &Arg : TheFunction->args()) { in codegen()
1080 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, Arg.getName()); in codegen()
1094 verifyFunction(*TheFunction); in codegen()
1097 TheFPM->run(*TheFunction); in codegen()
1099 return TheFunction; in codegen()
1103 TheFunction->eraseFromParent(); in codegen()