Lines Matching refs:TheFunction
734 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, in CreateEntryBlockAlloca() argument
736 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), in CreateEntryBlockAlloca()
737 TheFunction->getEntryBlock().begin()); in CreateEntryBlockAlloca()
849 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen() local
853 BasicBlock *ThenBB = BasicBlock::Create(*TheContext, "then", TheFunction); in codegen()
871 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
883 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
912 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen() local
915 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in codegen()
927 BasicBlock *LoopBB = BasicBlock::Create(*TheContext, "loop", TheFunction); in codegen()
975 BasicBlock::Create(*TheContext, "afterloop", TheFunction); in codegen()
996 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen() local
1017 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in codegen()
1063 Function *TheFunction = getFunction(P.getName()); in codegen() local
1064 if (!TheFunction) in codegen()
1072 BasicBlock *BB = BasicBlock::Create(*TheContext, "entry", TheFunction); in codegen()
1077 for (auto &Arg : TheFunction->args()) { in codegen()
1079 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, Arg.getName()); in codegen()
1093 verifyFunction(*TheFunction); in codegen()
1095 return TheFunction; in codegen()
1099 TheFunction->eraseFromParent(); in codegen()