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