Searched refs:NewG (Results 1 – 2 of 2) sorted by relevance
1688 Function *NewG = Function::Create(G->getFunctionType(), G->getLinkage(), "", in writeThunk() local1690 BasicBlock *BB = BasicBlock::Create(F->getContext(), "", NewG); in writeThunk()1696 for (Argument & AI : NewG->args()) { in writeThunk()1705 if (NewG->getReturnType()->isVoidTy()) { in writeThunk()1708 Builder.CreateRet(createCast(Builder, CI, NewG->getReturnType())); in writeThunk()1711 NewG->copyAttributesFrom(G); in writeThunk()1712 NewG->takeName(G); in writeThunk()1714 G->replaceAllUsesWith(NewG); in writeThunk()1717 DEBUG(dbgs() << "writeThunk: " << NewG->getName() << '\n'); in writeThunk()
3410 const SCEV *NewG = SE.getAddExpr(SE.getConstant(G->getType(), Offset), G); in GenerateConstantOffsetsImpl() local3412 if (NewG->isZero()) { in GenerateConstantOffsetsImpl()3420 F.ScaledReg = NewG; in GenerateConstantOffsetsImpl()3422 F.BaseRegs[Idx] = NewG; in GenerateConstantOffsetsImpl()