Searched refs:PtrArg (Results 1 – 6 of 6) sorted by relevance
927 for (Argument *PtrArg : PointerArgs) { in promoteArguments()932 if (PtrArg->hasStructRetAttr()) { in promoteArguments()933 unsigned ArgNo = PtrArg->getArgNo(); in promoteArguments()949 bool isSafeToPromote = PtrArg->hasByValAttr() && PtrArg->getParamAlign() && in promoteArguments()951 !canPaddingBeAccessed(PtrArg)); in promoteArguments()956 << PtrArg->getName() in promoteArguments()976 ByValArgsToTransform.insert(PtrArg); in promoteArguments()987 llvm::is_contained(STy->elements(), PtrArg->getType()); in promoteArguments()995 PtrArg->hasByValAttr() ? PtrArg->getParamByValType() : nullptr; in promoteArguments()996 if (isSafeToPromoteArgument(PtrArg, ByValTy, AAR, MaxElements)) in promoteArguments()[all …]
1202 for (Value *PtrArg : CB->args()) { in adjustInliningThreshold()1203 PointerType *Ty = dyn_cast<PointerType>(PtrArg->getType()); in adjustInliningThreshold()1208 PtrArg = getUnderlyingObject(PtrArg); in adjustInliningThreshold()1209 if (const AllocaInst *AI = dyn_cast<AllocaInst>(PtrArg)) { in adjustInliningThreshold()
588 auto PtrArg = CI->getArgOperand(PtrArgLoc); in fold_read_write_pipe() local589 unsigned PtrArgAS = PtrArg->getType()->getPointerAddressSpace(); in fold_read_write_pipe()605 auto *BCast = B.CreatePointerCast(PtrArg, PtrTy); in fold_read_write_pipe()
535 Value *PtrArg = getVal(II->getArgOperand(1)); in EvaluateBlock() local536 Value *Ptr = PtrArg->stripPointerCasts(); in EvaluateBlock()
2501 Value *PtrArg = *CAI; in analyze() local2502 if (ConstantInt *C = stripAndComputeInBoundsConstantOffsets(PtrArg)) { in analyze()2503 ConstantOffsetPtrs[&FAI] = std::make_pair(PtrArg, C->getValue()); in analyze()2506 if (auto *SROAArg = dyn_cast<AllocaInst>(PtrArg)) { in analyze()
1767 const Expr *PtrArg = TheCall->getArg(0)->IgnoreParenImpCasts(); in CheckBuiltinFunctionCall() local1768 const QualType PtrArgType = PtrArg->getType(); in CheckBuiltinFunctionCall()1771 Diag(PtrArg->getBeginLoc(), diag::err_typecheck_convert_incompatible) in CheckBuiltinFunctionCall()