Lines Matching refs:TheFunction

712 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,  in CreateEntryBlockAlloca()  argument
714 IRBuilder<> TmpB(&TheFunction->getEntryBlock(), in CreateEntryBlockAlloca()
715 TheFunction->getEntryBlock().begin()); in CreateEntryBlockAlloca()
827 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen() local
831 BasicBlock *ThenBB = BasicBlock::Create(*TheContext, "then", TheFunction); in codegen()
849 TheFunction->getBasicBlockList().push_back(ElseBB); in codegen()
861 TheFunction->getBasicBlockList().push_back(MergeBB); in codegen()
890 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen() local
893 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in codegen()
905 BasicBlock *LoopBB = BasicBlock::Create(*TheContext, "loop", TheFunction); in codegen()
953 BasicBlock::Create(*TheContext, "afterloop", TheFunction); in codegen()
974 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen() local
995 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in codegen()
1049 Function *TheFunction = getFunction(P.getName()); in codegen() local
1050 if (!TheFunction) in codegen()
1058 BasicBlock *BB = BasicBlock::Create(*TheContext, "entry", TheFunction); in codegen()
1063 for (auto &Arg : TheFunction->args()) { in codegen()
1065 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, Arg.getName()); in codegen()
1079 verifyFunction(*TheFunction); in codegen()
1081 return TheFunction; in codegen()
1085 TheFunction->eraseFromParent(); in codegen()