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