Lines Matching refs:TheFunction

729 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,  in CreateEntryBlockAlloca()  argument
731 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), in CreateEntryBlockAlloca()
732 TheFunction->getEntryBlock().begin()); in CreateEntryBlockAlloca()
844 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen() local
848 BasicBlock *ThenBB = BasicBlock::Create(*TheContext, "then", TheFunction); in codegen()
866 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
878 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
907 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen() local
910 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in codegen()
922 BasicBlock *LoopBB = BasicBlock::Create(*TheContext, "loop", TheFunction); in codegen()
970 BasicBlock::Create(*TheContext, "afterloop", TheFunction); in codegen()
991 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen() local
1012 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in codegen()
1058 Function *TheFunction = getFunction(P.getName()); in codegen() local
1059 if (!TheFunction) in codegen()
1067 BasicBlock *BB = BasicBlock::Create(*TheContext, "entry", TheFunction); in codegen()
1072 for (auto &Arg : TheFunction->args()) { in codegen()
1074 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, Arg.getName()); in codegen()
1088 verifyFunction(*TheFunction); in codegen()
1090 return TheFunction; in codegen()
1094 TheFunction->eraseFromParent(); in codegen()