Home | History | Annotate | Download | only in cached

Lines Matching defs:TheFunction

1005 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
1007 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
1008 TheFunction->getEntryBlock().begin());
1109 Function *TheFunction = Builder.GetInsertBlock()->getParent();
1113 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction);
1130 TheFunction->getBasicBlockList().push_back(ElseBB);
1141 TheFunction->getBasicBlockList().push_back(MergeBB);
1171 Function *TheFunction = Builder.GetInsertBlock()->getParent();
1174 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1185 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction);
1230 BasicBlock::Create(TheContext, "afterloop", TheFunction);
1252 Function *TheFunction = Builder.GetInsertBlock()->getParent();
1272 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1355 Function *TheFunction = Proto->Codegen();
1356 if (TheFunction == 0)
1364 BasicBlock *BB = BasicBlock::Create(TheContext, "entry", TheFunction);
1368 Proto->CreateArgumentAllocas(TheFunction);
1375 verifyFunction(*TheFunction);
1377 return TheFunction;
1381 TheFunction->eraseFromParent();