Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1004 const AttrListPtr &CallerPAL = CS.getAttributes(); in transformConstExprCastCall() local
1033 if (!CallerPAL.isEmpty() && !Caller->use_empty()) { in transformConstExprCastCall()
1034 Attributes RAttrs = CallerPAL.getRetAttributes(); in transformConstExprCastCall()
1064 unsigned Attrs = CallerPAL.getParamAttributes(i + 1); in transformConstExprCastCall()
1105 !CallerPAL.isEmpty()) in transformConstExprCastCall()
1109 for (unsigned i = CallerPAL.getNumSlots(); i; --i) { in transformConstExprCastCall()
1110 if (CallerPAL.getSlot(i - 1).Index <= FT->getNumParams()) in transformConstExprCastCall()
1112 Attributes PAttrs = CallerPAL.getSlot(i - 1).Attrs; in transformConstExprCastCall()
1126 Attributes RAttrs = CallerPAL.getRetAttributes(); in transformConstExprCastCall()
1148 if (Attributes PAttrs = CallerPAL.getParamAttributes(i + 1)) in transformConstExprCastCall()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp2625 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-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp4134 const AttributeList &CallerPAL = CS.getAttributes(); in transformConstExprCastCall() local
4159 if (!CallerPAL.isEmpty() && !Caller->use_empty()) { in transformConstExprCastCall()
4160 AttrBuilder RAttrs(CallerPAL, AttributeList::ReturnIndex); in transformConstExprCastCall()
4201 if (AttrBuilder(CallerPAL.getParamAttributes(i)) in transformConstExprCastCall()
4210 if (ParamTy != ActTy && CallerPAL.hasParamAttribute(i, Attribute::ByVal)) { in transformConstExprCastCall()
4245 !CallerPAL.isEmpty()) { in transformConstExprCastCall()
4250 if (CallerPAL.hasAttrSomewhere(Attribute::StructRet, &SRetIdx) && in transformConstExprCastCall()
4263 AttrBuilder RAttrs(CallerPAL, AttributeList::ReturnIndex); in transformConstExprCastCall()
4279 ArgAttrs.push_back(CallerPAL.getParamAttributes(i)); in transformConstExprCastCall()
4306 ArgAttrs.push_back(CallerPAL.getParamAttributes(i)); in transformConstExprCastCall()
[all …]