Home | History | Annotate | Download | only in Chapter9

Lines Matching refs:TheFunction

886 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
888 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
889 TheFunction->getEntryBlock().begin());
1011 Function *TheFunction = Builder.GetInsertBlock()->getParent();
1015 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
1033 TheFunction->getBasicBlockList().push_back(ElseBB);
1045 TheFunction->getBasicBlockList().push_back(MergeBB);
1074 Function *TheFunction = Builder.GetInsertBlock()->getParent();
1077 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1091 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction);
1138 BasicBlock::Create(TheContext, "afterloop", TheFunction);
1159 Function *TheFunction = Builder.GetInsertBlock()->getParent();
1180 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1228 Function *TheFunction = getFunction(P.getName());
1229 if (!TheFunction)
1237 BasicBlock *BB = BasicBlock::Create(TheContext, "entry", TheFunction);
1248 CreateFunctionType(TheFunction->arg_size(), Unit),
1251 TheFunction->setSubprogram(SP);
1264 for (auto &Arg : TheFunction->args()) {
1266 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, Arg.getName());
1294 verifyFunction(*TheFunction);
1296 return TheFunction;
1300 TheFunction->eraseFromParent();