Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp1325 Function *NewG = Function::Create(G->getFunctionType(), G->getLinkage(), "", in writeThunk() local
1327 BasicBlock *BB = BasicBlock::Create(F->getContext(), "", NewG); in writeThunk()
1333 for (Function::arg_iterator AI = NewG->arg_begin(), AE = NewG->arg_end(); in writeThunk()
1342 if (NewG->getReturnType()->isVoidTy()) { in writeThunk()
1345 Builder.CreateRet(createCast(Builder, CI, NewG->getReturnType())); in writeThunk()
1348 NewG->copyAttributesFrom(G); in writeThunk()
1349 NewG->takeName(G); in writeThunk()
1351 G->replaceAllUsesWith(NewG); in writeThunk()
1354 DEBUG(dbgs() << "writeThunk: " << NewG->getName() << '\n'); in writeThunk()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp3440 const SCEV *NewG = SE.getAddExpr(SE.getConstant(G->getType(), *I), G); in GenerateConstantOffsetsImpl() local
3442 if (NewG->isZero()) { in GenerateConstantOffsetsImpl()
3450 F.ScaledReg = NewG; in GenerateConstantOffsetsImpl()
3452 F.BaseRegs[Idx] = NewG; in GenerateConstantOffsetsImpl()