Home
last modified time | relevance | path

Searched refs:PtrArg (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp157 Argument *PtrArg = PointerArgs[i].first; in PromoteArguments() local
158 Type *AgTy = cast<PointerType>(PtrArg->getType())->getElementType(); in PromoteArguments()
166 << PtrArg->getName() << "' because it would require adding more" in PromoteArguments()
184 ByValArgsToTransform.insert(PtrArg); in PromoteArguments()
196 if (STy->getElementType(i) == PtrArg->getType()) { in PromoteArguments()
207 if (isSafeToPromoteArgument(PtrArg, isByVal)) in PromoteArguments()
208 ArgsToPromote.insert(PtrArg); in PromoteArguments()
DGlobalOpt.cpp2713 Value *PtrArg = getVal(II->getArgOperand(1)); in EvaluateBlock() local
2714 Value *Ptr = PtrArg->stripPointerCasts(); in EvaluateBlock()
/external/llvm/lib/Analysis/
DInlineCost.cpp868 Value *PtrArg = *CAI; in analyzeCall() local
869 if (ConstantInt *C = stripAndComputeInBoundsConstantOffsets(PtrArg)) { in analyzeCall()
870 ConstantOffsetPtrs[FAI] = std::make_pair(PtrArg, C->getValue()); in analyzeCall()
873 if (isa<AllocaInst>(PtrArg)) { in analyzeCall()
874 SROAArgValues[FAI] = PtrArg; in analyzeCall()
875 SROAArgCosts[PtrArg] = 0; in analyzeCall()