Searched refs:PtrArg (Results 1 – 3 of 3) sorted by relevance
244 Argument *PtrArg = PointerArgs[i]; in PromoteArguments() local245 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()
2493 Value *PtrArg = getVal(II->getArgOperand(1)); in EvaluateBlock() local2494 Value *Ptr = PtrArg->stripPointerCasts(); in EvaluateBlock()
1122 Value *PtrArg = *CAI; in analyzeCall() local1123 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()