Searched refs:PtrArg (Results 1 – 3 of 3) sorted by relevance
258 Argument *PtrArg = PointerArgs[i]; in PromoteArguments() local259 Type *AgTy = cast<PointerType>(PtrArg->getType())->getElementType(); in PromoteArguments()263 if (PtrArg->hasStructRetAttr()) { in PromoteArguments()264 unsigned ArgNo = PtrArg->getArgNo(); in PromoteArguments()284 PtrArg->hasByValAttr() && in PromoteArguments()285 (isDenselyPacked(AgTy, DL) || !canPaddingBeAccessed(PtrArg)); in PromoteArguments()290 << PtrArg->getName() << "' because it would require adding more" in PromoteArguments()308 ByValArgsToTransform.insert(PtrArg); in PromoteArguments()320 if (EltTy == PtrArg->getType()) { in PromoteArguments()331 if (isSafeToPromoteArgument(PtrArg, PtrArg->hasByValOrInAllocaAttr(), AAR)) in PromoteArguments()[all …]
2625 Value *PtrArg = getVal(II->getArgOperand(1)); in EvaluateBlock() local2626 Value *Ptr = PtrArg->stripPointerCasts(); in EvaluateBlock()
1177 Value *PtrArg = *CAI; in analyzeCall() local1178 if (ConstantInt *C = stripAndComputeInBoundsConstantOffsets(PtrArg)) { in analyzeCall()1179 ConstantOffsetPtrs[&*FAI] = std::make_pair(PtrArg, C->getValue()); in analyzeCall()1182 if (isa<AllocaInst>(PtrArg)) { in analyzeCall()1183 SROAArgValues[&*FAI] = PtrArg; in analyzeCall()1184 SROAArgCosts[PtrArg] = 0; in analyzeCall()