Home
last modified time | relevance | path

Searched refs:RAttrs (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp782 AttributeSet RAttrs = PAL.getRetAttributes(); in RemoveDeadStuffFromFunction() local
789 RAttrs = RAttrs.removeAttributes(NRetTy->getContext(), in RemoveDeadStuffFromFunction()
793 assert(!AttrBuilder(RAttrs, AttributeSet::ReturnIndex). in RemoveDeadStuffFromFunction()
797 if (RAttrs.hasAttributes(AttributeSet::ReturnIndex)) in RemoveDeadStuffFromFunction()
798 AttributesVec.push_back(AttributeSet::get(NRetTy->getContext(), RAttrs)); in RemoveDeadStuffFromFunction()
836 AttributeSet RAttrs = CallPAL.getRetAttributes(); in RemoveDeadStuffFromFunction() local
839 RAttrs = RAttrs.removeAttributes(NRetTy->getContext(), in RemoveDeadStuffFromFunction()
842 if (RAttrs.hasAttributes(AttributeSet::ReturnIndex)) in RemoveDeadStuffFromFunction()
843 AttributesVec.push_back(AttributeSet::get(NF->getContext(), RAttrs)); in RemoveDeadStuffFromFunction()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DDeadArgumentElimination.cpp657 Attributes RAttrs = PAL.getRetAttributes(); in RemoveDeadStuffFromFunction() local
720 RAttrs &= ~Attribute::typeIncompatible(NRetTy); in RemoveDeadStuffFromFunction()
722 assert((RAttrs & Attribute::typeIncompatible(NRetTy)) == 0 in RemoveDeadStuffFromFunction()
725 if (RAttrs) in RemoveDeadStuffFromFunction()
726 AttributesVec.push_back(AttributeWithIndex::get(0, RAttrs)); in RemoveDeadStuffFromFunction()
787 Attributes RAttrs = CallPAL.getRetAttributes(); in RemoveDeadStuffFromFunction() local
790 RAttrs &= ~Attribute::typeIncompatible(NF->getReturnType()); in RemoveDeadStuffFromFunction()
791 if (RAttrs) in RemoveDeadStuffFromFunction()
792 AttributesVec.push_back(AttributeWithIndex::get(0, RAttrs)); in RemoveDeadStuffFromFunction()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1034 Attributes RAttrs = CallerPAL.getRetAttributes(); in transformConstExprCastCall() local
1035 if (RAttrs & Attribute::typeIncompatible(NewRetTy)) in transformConstExprCastCall()
1126 Attributes RAttrs = CallerPAL.getRetAttributes(); in transformConstExprCastCall() local
1130 RAttrs &= ~Attribute::typeIncompatible(NewRetTy); in transformConstExprCastCall()
1133 if (RAttrs) in transformConstExprCastCall()
1134 attrVec.push_back(AttributeWithIndex::get(0, RAttrs)); in transformConstExprCastCall()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp2652 AttrBuilder RAttrs(CallerPAL, AttributeSet::ReturnIndex); in transformConstExprCastCall() local
2653 if (RAttrs.overlaps(AttributeFuncs::typeIncompatible(NewRetTy))) in transformConstExprCastCall()
2763 AttrBuilder RAttrs(CallerPAL, AttributeSet::ReturnIndex); in transformConstExprCastCall() local
2767 RAttrs.remove(AttributeFuncs::typeIncompatible(NewRetTy)); in transformConstExprCastCall()
2770 if (RAttrs.hasAttributes()) in transformConstExprCastCall()
2772 AttributeSet::ReturnIndex, RAttrs)); in transformConstExprCastCall()