Home | History | Annotate | Download | only in Chapter7

Lines Matching defs:TheFunction

717 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
719 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
720 TheFunction->getEntryBlock().begin());
832 Function *TheFunction = Builder.GetInsertBlock()->getParent();
836 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
854 TheFunction->getBasicBlockList().push_back(ElseBB);
866 TheFunction->getBasicBlockList().push_back(MergeBB);
895 Function *TheFunction = Builder.GetInsertBlock()->getParent();
898 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
910 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction);
957 BasicBlock::Create(TheContext, "afterloop", TheFunction);
978 Function *TheFunction = Builder.GetInsertBlock()->getParent();
999 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1045 Function *TheFunction = getFunction(P.getName());
1046 if (!TheFunction)
1054 BasicBlock *BB = BasicBlock::Create(TheContext, "entry", TheFunction);
1059 for (auto &Arg : TheFunction->args()) {
1061 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, Arg.getName());
1075 verifyFunction(*TheFunction);
1078 TheFPM->run(*TheFunction);
1080 return TheFunction;
1084 TheFunction->eraseFromParent();