Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp516 const AttributeList &CallerPAL = CB.getAttributes(); in promoteCall() local
531 AttrBuilder ArgAttrs(Ctx, CallerPAL.getParamAttrs(ArgNo)); in promoteCall()
533 FormalTy, CallerPAL.getParamAttrs(ArgNo))); in promoteCall()
544 NewArgAttrs.push_back(CallerPAL.getParamAttrs(ArgNo)); in promoteCall()
550 AttrBuilder RAttrs(Ctx, CallerPAL.getRetAttrs()); in promoteCall()
554 AttributeFuncs::typeIncompatible(CalleeRetTy, CallerPAL.getRetAttrs())); in promoteCall()
560 CB.setAttributes(AttributeList::get(Ctx, CallerPAL.getFnAttrs(), in promoteCall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp4409 const AttributeList &CallerPAL = Call.getAttributes(); in transformConstExprCastCall() local
4429 if (!CallerPAL.isEmpty() && !Caller->use_empty()) { in transformConstExprCastCall()
4430 AttrBuilder RAttrs(FT->getContext(), CallerPAL.getRetAttrs()); in transformConstExprCastCall()
4432 NewRetTy, CallerPAL.getRetAttrs()))) in transformConstExprCastCall()
4476 if (AttrBuilder(FT->getContext(), CallerPAL.getParamAttrs(i)) in transformConstExprCastCall()
4478 ParamTy, CallerPAL.getParamAttrs(i), in transformConstExprCastCall()
4483 CallerPAL.hasParamAttr(i, Attribute::Preallocated)) in transformConstExprCastCall()
4486 if (CallerPAL.hasParamAttr(i, Attribute::SwiftError)) in transformConstExprCastCall()
4489 if (CallerPAL.hasParamAttr(i, Attribute::ByVal) != in transformConstExprCastCall()
4495 !CallerPAL.isEmpty()) { in transformConstExprCastCall()
[all …]