Lines Matching refs:TheFunction
903 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction, in CreateEntryBlockAlloca() argument
905 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), in CreateEntryBlockAlloca()
906 TheFunction->getEntryBlock().begin()); in CreateEntryBlockAlloca()
1010 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen() local
1014 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen()
1031 TheFunction->getBasicBlockList().push_back(ElseBB); in Codegen()
1042 TheFunction->getBasicBlockList().push_back(MergeBB); in Codegen()
1073 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen() local
1076 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in Codegen()
1087 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen()
1132 BasicBlock *AfterBB = BasicBlock::Create(getGlobalContext(), "afterloop", TheFunction); in Codegen()
1154 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen() local
1174 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in Codegen()
1258 Function *TheFunction = Proto->Codegen(); in Codegen() local
1259 if (TheFunction == 0) in Codegen()
1267 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction); in Codegen()
1271 Proto->CreateArgumentAllocas(TheFunction); in Codegen()
1278 verifyFunction(*TheFunction); in Codegen()
1280 return TheFunction; in Codegen()
1284 TheFunction->eraseFromParent(); in Codegen()