Searched refs:CallerPAL (Results 1 – 5 of 5) sorted by relevance
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | CallPromotionUtils.cpp | 398 const AttributeList &CallerPAL = CS.getAttributes(); in promoteCall() local 413 AttrBuilder ArgAttrs(CallerPAL.getParamAttributes(ArgNo)); in promoteCall() 427 NewArgAttrs.push_back(CallerPAL.getParamAttributes(ArgNo)); in promoteCall() 433 AttrBuilder RAttrs(CallerPAL, AttributeList::ReturnIndex); in promoteCall() 442 CS.setAttributes(AttributeList::get(Ctx, CallerPAL.getFnAttributes(), in promoteCall()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | CallPromotionUtils.cpp | 478 const AttributeList &CallerPAL = CB.getAttributes(); in promoteCall() local 492 AttrBuilder ArgAttrs(CallerPAL.getParamAttributes(ArgNo)); in promoteCall() 506 NewArgAttrs.push_back(CallerPAL.getParamAttributes(ArgNo)); in promoteCall() 512 AttrBuilder RAttrs(CallerPAL, AttributeList::ReturnIndex); in promoteCall() 521 CB.setAttributes(AttributeList::get(Ctx, CallerPAL.getFnAttributes(), in promoteCall()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 2146 const AttributeList &CallerPAL = Call.getAttributes(); in transformConstExprCastCall() local 2171 if (!CallerPAL.isEmpty() && !Caller->use_empty()) { in transformConstExprCastCall() 2172 AttrBuilder RAttrs(CallerPAL, AttributeList::ReturnIndex); in transformConstExprCastCall() 2218 if (AttrBuilder(CallerPAL.getParamAttributes(i)) in transformConstExprCastCall() 2225 if (CallerPAL.hasParamAttribute(i, Attribute::SwiftError)) in transformConstExprCastCall() 2230 if (ParamTy != ActTy && CallerPAL.hasParamAttribute(i, Attribute::ByVal)) { in transformConstExprCastCall() 2265 !CallerPAL.isEmpty()) { in transformConstExprCastCall() 2270 if (CallerPAL.hasAttrSomewhere(Attribute::StructRet, &SRetIdx) && in transformConstExprCastCall() 2283 AttrBuilder RAttrs(CallerPAL, AttributeList::ReturnIndex); in transformConstExprCastCall() 2300 if (CallerPAL.hasParamAttribute(i, Attribute::ByVal)) { in transformConstExprCastCall() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 2625 const AttributeSet &CallerPAL = CS.getAttributes(); in transformConstExprCastCall() local 2651 if (!CallerPAL.isEmpty() && !Caller->use_empty()) { in transformConstExprCastCall() 2652 AttrBuilder RAttrs(CallerPAL, AttributeSet::ReturnIndex); in transformConstExprCastCall() 2693 if (AttrBuilder(CallerPAL.getParamAttributes(i + 1), i + 1). in transformConstExprCastCall() 2703 CallerPAL.getParamAttributes(i + 1).hasAttribute(i + 1, in transformConstExprCastCall() 2739 !CallerPAL.isEmpty()) in transformConstExprCastCall() 2743 for (unsigned i = CallerPAL.getNumSlots(); i; --i) { in transformConstExprCastCall() 2744 unsigned Index = CallerPAL.getSlotIndex(i - 1); in transformConstExprCastCall() 2749 AttributeSet PAttrs = CallerPAL.getSlotAttributes(i - 1); in transformConstExprCastCall() 2763 AttrBuilder RAttrs(CallerPAL, AttributeSet::ReturnIndex); in transformConstExprCastCall() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 4561 const AttributeList &CallerPAL = Call.getAttributes(); in transformConstExprCastCall() local 4586 if (!CallerPAL.isEmpty() && !Caller->use_empty()) { in transformConstExprCastCall() 4587 AttrBuilder RAttrs(CallerPAL, AttributeList::ReturnIndex); in transformConstExprCastCall() 4632 if (AttrBuilder(CallerPAL.getParamAttributes(i)) in transformConstExprCastCall() 4641 if (ParamTy != ActTy && CallerPAL.hasParamAttribute(i, Attribute::ByVal)) { in transformConstExprCastCall() 4676 !CallerPAL.isEmpty()) { in transformConstExprCastCall() 4681 if (CallerPAL.hasAttrSomewhere(Attribute::StructRet, &SRetIdx) && in transformConstExprCastCall() 4694 AttrBuilder RAttrs(CallerPAL, AttributeList::ReturnIndex); in transformConstExprCastCall() 4711 if (CallerPAL.hasParamAttribute(i, Attribute::ByVal)) { in transformConstExprCastCall() 4712 AttrBuilder AB(CallerPAL.getParamAttributes(i)); in transformConstExprCastCall() [all …]
|