Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp244 Argument *PtrArg = PointerArgs[i]; in PromoteArguments() local
245 Type *AgTy = cast<PointerType>(PtrArg->getType())->getElementType(); in PromoteArguments()
252 PtrArg->hasByValAttr() && in PromoteArguments()
253 (isDenselyPacked(AgTy, DL) || !canPaddingBeAccessed(PtrArg)); in PromoteArguments()
258 << PtrArg->getName() << "' because it would require adding more" in PromoteArguments()
276 ByValArgsToTransform.insert(PtrArg); in PromoteArguments()
288 if (STy->getElementType(i) == PtrArg->getType()) { in PromoteArguments()
299 if (isSafeToPromoteArgument(PtrArg, PtrArg->hasByValOrInAllocaAttr())) in PromoteArguments()
300 ArgsToPromote.insert(PtrArg); in PromoteArguments()
DGlobalOpt.cpp2493 Value *PtrArg = getVal(II->getArgOperand(1)); in EvaluateBlock() local
2494 Value *Ptr = PtrArg->stripPointerCasts(); in EvaluateBlock()
/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp1122 Value *PtrArg = *CAI; in analyzeCall() local
1123 if (ConstantInt *C = stripAndComputeInBoundsConstantOffsets(PtrArg)) { in analyzeCall()
1124 ConstantOffsetPtrs[FAI] = std::make_pair(PtrArg, C->getValue()); in analyzeCall()
1127 if (isa<AllocaInst>(PtrArg)) { in analyzeCall()
1128 SROAArgValues[FAI] = PtrArg; in analyzeCall()
1129 SROAArgCosts[PtrArg] = 0; in analyzeCall()