Home
last modified time | relevance | path

Searched refs:NewG (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp1688 Function *NewG = Function::Create(G->getFunctionType(), G->getLinkage(), "", in writeThunk() local
1690 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()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp3410 const SCEV *NewG = SE.getAddExpr(SE.getConstant(G->getType(), Offset), G); in GenerateConstantOffsetsImpl() local
3412 if (NewG->isZero()) { in GenerateConstantOffsetsImpl()
3420 F.ScaledReg = NewG; in GenerateConstantOffsetsImpl()
3422 F.BaseRegs[Idx] = NewG; in GenerateConstantOffsetsImpl()