Home
last modified time | relevance | path

Searched refs:CallerPAL (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp489 const AttributeList &CallerPAL = CB.getAttributes(); in promoteCall() local
503 AttrBuilder ArgAttrs(Ctx, CallerPAL.getParamAttrs(ArgNo)); in promoteCall()
515 NewArgAttrs.push_back(CallerPAL.getParamAttrs(ArgNo)); in promoteCall()
521 AttrBuilder RAttrs(Ctx, CallerPAL.getRetAttrs()); in promoteCall()
530 CB.setAttributes(AttributeList::get(Ctx, CallerPAL.getFnAttrs(), in promoteCall()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp3207 const AttributeList &CallerPAL = Call.getAttributes(); in transformConstExprCastCall() local
3232 if (!CallerPAL.isEmpty() && !Caller->use_empty()) { in transformConstExprCastCall()
3280 if (AttrBuilder(FT->getContext(), CallerPAL.getParamAttrs(i)) in transformConstExprCastCall()
3286 CallerPAL.hasParamAttr(i, Attribute::Preallocated)) in transformConstExprCastCall()
3289 if (CallerPAL.hasParamAttr(i, Attribute::SwiftError)) in transformConstExprCastCall()
3292 if (CallerPAL.hasParamAttr(i, Attribute::ByVal) != in transformConstExprCastCall()
3335 !CallerPAL.isEmpty()) { in transformConstExprCastCall()
3353 AttrBuilder RAttrs(FT->getContext(), CallerPAL.getRetAttrs()); in transformConstExprCastCall()
3373 if (CallerPAL.hasParamAttr(i, Attribute::ByVal) && in transformConstExprCastCall()
3409 ArgAttrs.push_back(CallerPAL.getParamAttrs(i)); in transformConstExprCastCall()
[all …]