Home | History | Annotate | Download | only in Chapter1

Lines Matching defs:TheFunction

716 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
718 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
719 TheFunction->getEntryBlock().begin());
831 Function *TheFunction = Builder.GetInsertBlock()->getParent();
835 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
853 TheFunction->getBasicBlockList().push_back(ElseBB);
865 TheFunction->getBasicBlockList().push_back(MergeBB);
894 Function *TheFunction = Builder.GetInsertBlock()->getParent();
897 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
909 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction);
956 BasicBlock::Create(TheContext, "afterloop", TheFunction);
977 Function *TheFunction = Builder.GetInsertBlock()->getParent();
998 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1044 Function *TheFunction = getFunction(P.getName());
1045 if (!TheFunction)
1053 BasicBlock *BB = BasicBlock::Create(TheContext, "entry", TheFunction);
1058 for (auto &Arg : TheFunction->args()) {
1060 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, Arg.getName());
1074 verifyFunction(*TheFunction);
1076 return TheFunction;
1080 TheFunction->eraseFromParent();