Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp501 const AttributeList &CallerPAL = CB.getAttributes(); in promoteCall() local
515 AttrBuilder ArgAttrs(Ctx, CallerPAL.getParamAttrs(ArgNo)); in promoteCall()
527 NewArgAttrs.push_back(CallerPAL.getParamAttrs(ArgNo)); in promoteCall()
533 AttrBuilder RAttrs(Ctx, CallerPAL.getRetAttrs()); in promoteCall()
542 CB.setAttributes(AttributeList::get(Ctx, CallerPAL.getFnAttrs(), in promoteCall()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp3405 const AttributeList &CallerPAL = Call.getAttributes(); in transformConstExprCastCall() local
3430 if (!CallerPAL.isEmpty() && !Caller->use_empty()) { in transformConstExprCastCall()
3431 AttrBuilder RAttrs(FT->getContext(), CallerPAL.getRetAttrs()); in transformConstExprCastCall()
3478 if (AttrBuilder(FT->getContext(), CallerPAL.getParamAttrs(i)) in transformConstExprCastCall()
3484 CallerPAL.hasParamAttr(i, Attribute::Preallocated)) in transformConstExprCastCall()
3487 if (CallerPAL.hasParamAttr(i, Attribute::SwiftError)) in transformConstExprCastCall()
3490 if (CallerPAL.hasParamAttr(i, Attribute::ByVal) != in transformConstExprCastCall()
3496 if (ParamTy != ActTy && CallerPAL.hasParamAttr(i, Attribute::ByVal)) { in transformConstExprCastCall()
3533 !CallerPAL.isEmpty()) { in transformConstExprCastCall()
3538 if (CallerPAL.hasAttrSomewhere(Attribute::StructRet, &SRetIdx) && in transformConstExprCastCall()
[all …]