Home | History | Annotate | Download | only in cached

Lines Matching refs:TheFunction

634 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
636 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
637 TheFunction->getEntryBlock().begin());
748 Function *TheFunction = Builder.GetInsertBlock()->getParent();
752 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction);
769 TheFunction->getBasicBlockList().push_back(ElseBB);
780 TheFunction->getBasicBlockList().push_back(MergeBB);
811 Function *TheFunction = Builder.GetInsertBlock()->getParent();
814 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
825 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction);
870 BasicBlock *AfterBB = BasicBlock::Create(getGlobalContext(), "afterloop", TheFunction);
892 Function *TheFunction = Builder.GetInsertBlock()->getParent();
912 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
989 Function *TheFunction = Proto->Codegen();
990 if (TheFunction == 0)
998 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction);
1002 Proto->CreateArgumentAllocas(TheFunction);
1009 verifyFunction(*TheFunction);
1012 TheFPM->run(*TheFunction);
1014 return TheFunction;
1018 TheFunction->eraseFromParent();