Searched refs:PtrArg (Results 1 – 6 of 6) sorted by relevance
928 for (Argument *PtrArg : PointerArgs) { in promoteArguments()929 Type *AgTy = cast<PointerType>(PtrArg->getType())->getElementType(); in promoteArguments()933 if (PtrArg->hasStructRetAttr()) { in promoteArguments()934 unsigned ArgNo = PtrArg->getArgNo(); in promoteArguments()950 bool isSafeToPromote = PtrArg->hasByValAttr() && PtrArg->getParamAlign() && in promoteArguments()952 !canPaddingBeAccessed(PtrArg)); in promoteArguments()957 << PtrArg->getName() in promoteArguments()977 ByValArgsToTransform.insert(PtrArg); in promoteArguments()988 llvm::is_contained(STy->elements(), PtrArg->getType()); in promoteArguments()996 PtrArg->hasByValAttr() ? PtrArg->getParamByValType() : nullptr; in promoteArguments()[all …]
1207 for (Value *PtrArg : CB->args()) { in adjustInliningThreshold()1208 PointerType *Ty = dyn_cast<PointerType>(PtrArg->getType()); in adjustInliningThreshold()1213 PtrArg = getUnderlyingObject(PtrArg); in adjustInliningThreshold()1214 if (const AllocaInst *AI = dyn_cast<AllocaInst>(PtrArg)) { in adjustInliningThreshold()
587 auto PtrArg = CI->getArgOperand(PtrArgLoc); in fold_read_write_pipe() local588 unsigned PtrArgAS = PtrArg->getType()->getPointerAddressSpace(); in fold_read_write_pipe()604 auto *BCast = B.CreatePointerCast(PtrArg, PtrTy); in fold_read_write_pipe()
525 Value *PtrArg = getVal(II->getArgOperand(1)); in EvaluateBlock() local526 Value *Ptr = PtrArg->stripPointerCasts(); in EvaluateBlock()
2283 Value *PtrArg = *CAI; in analyze() local2284 if (ConstantInt *C = stripAndComputeInBoundsConstantOffsets(PtrArg)) { in analyze()2285 ConstantOffsetPtrs[&FAI] = std::make_pair(PtrArg, C->getValue()); in analyze()2288 if (auto *SROAArg = dyn_cast<AllocaInst>(PtrArg)) { in analyze()
1763 const Expr *PtrArg = TheCall->getArg(0)->IgnoreParenImpCasts(); in CheckBuiltinFunctionCall() local1764 const QualType PtrArgType = PtrArg->getType(); in CheckBuiltinFunctionCall()1767 Diag(PtrArg->getBeginLoc(), diag::err_typecheck_convert_incompatible) in CheckBuiltinFunctionCall()