Lines Matching refs:TheFunction

894 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,  in CreateEntryBlockAlloca()  argument
896 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), in CreateEntryBlockAlloca()
897 TheFunction->getEntryBlock().begin()); in CreateEntryBlockAlloca()
1018 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen() local
1022 BasicBlock *ThenBB = BasicBlock::Create(*TheContext, "then", TheFunction); in codegen()
1040 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
1052 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
1081 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen() local
1084 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in codegen()
1098 BasicBlock *LoopBB = BasicBlock::Create(*TheContext, "loop", TheFunction); in codegen()
1146 BasicBlock::Create(*TheContext, "afterloop", TheFunction); in codegen()
1167 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen() local
1188 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in codegen()
1236 Function *TheFunction = getFunction(P.getName()); in codegen() local
1237 if (!TheFunction) in codegen()
1245 BasicBlock *BB = BasicBlock::Create(*TheContext, "entry", TheFunction); in codegen()
1256 CreateFunctionType(TheFunction->arg_size()), ScopeLine, in codegen()
1258 TheFunction->setSubprogram(SP); in codegen()
1271 for (auto &Arg : TheFunction->args()) { in codegen()
1273 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, Arg.getName()); in codegen()
1301 verifyFunction(*TheFunction); in codegen()
1303 return TheFunction; in codegen()
1307 TheFunction->eraseFromParent(); in codegen()