Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp928 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 …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp1207 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()
H A DAMDGPULibCalls.cpp587 auto PtrArg = CI->getArgOperand(PtrArgLoc); in fold_read_write_pipe() local
588 unsigned PtrArgAS = PtrArg->getType()->getPointerAddressSpace(); in fold_read_write_pipe()
604 auto *BCast = B.CreatePointerCast(PtrArg, PtrTy); in fold_read_write_pipe()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp525 Value *PtrArg = getVal(II->getArgOperand(1)); in EvaluateBlock() local
526 Value *Ptr = PtrArg->stripPointerCasts(); in EvaluateBlock()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DInlineCost.cpp2283 Value *PtrArg = *CAI; in analyze() local
2284 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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaChecking.cpp1763 const Expr *PtrArg = TheCall->getArg(0)->IgnoreParenImpCasts(); in CheckBuiltinFunctionCall() local
1764 const QualType PtrArgType = PtrArg->getType(); in CheckBuiltinFunctionCall()
1767 Diag(PtrArg->getBeginLoc(), diag::err_typecheck_convert_incompatible) in CheckBuiltinFunctionCall()