Home | History | Annotate | Download | only in lazy_codegen

Lines Matching refs:TheFunction

746 static AllocaInst *CreateEntryBlockAlloca(Function *TheFunction,
748 IRBuilder<> TmpB(&TheFunction->getEntryBlock(),
749 TheFunction->getEntryBlock().begin());
854 Function *TheFunction = C.getBuilder().GetInsertBlock()->getParent();
858 BasicBlock *ThenBB = BasicBlock::Create(C.getLLVMContext(), "then", TheFunction);
875 TheFunction->getBasicBlockList().push_back(ElseBB);
886 TheFunction->getBasicBlockList().push_back(MergeBB);
917 Function *TheFunction = C.getBuilder().GetInsertBlock()->getParent();
920 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
931 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction);
976 BasicBlock *AfterBB = BasicBlock::Create(getGlobalContext(), "afterloop", TheFunction);
998 Function *TheFunction = C.getBuilder().GetInsertBlock()->getParent();
1017 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
1099 Function *TheFunction = Proto->IRGen(C);
1100 if (!TheFunction)
1108 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction);
1112 Proto->CreateArgumentAllocas(TheFunction, C);
1119 verifyFunction(*TheFunction);
1121 return TheFunction;
1125 TheFunction->eraseFromParent();