Home
last modified time | relevance | path

Searched refs:CallPAL (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp784 const AttributeSet &CallPAL = CS.getAttributes(); in DoPromotion() local
787 if (CallPAL.hasAttributes(AttributeSet::ReturnIndex)) in DoPromotion()
789 CallPAL.getRetAttributes())); in DoPromotion()
800 if (CallPAL.hasAttributes(ArgIndex)) { in DoPromotion()
801 AttrBuilder B(CallPAL, ArgIndex); in DoPromotion()
862 if (CallPAL.hasAttributes(ArgIndex)) { in DoPromotion()
863 AttrBuilder B(CallPAL, ArgIndex); in DoPromotion()
870 if (CallPAL.hasAttributes(AttributeSet::FunctionIndex)) in DoPromotion()
872 CallPAL.getFnAttributes())); in DoPromotion()
DDeadArgumentElimination.cpp833 const AttributeSet &CallPAL = CS.getAttributes(); in RemoveDeadStuffFromFunction() local
836 AttributeSet RAttrs = CallPAL.getRetAttributes(); in RemoveDeadStuffFromFunction()
855 if (CallPAL.hasAttributes(i + 1)) { in RemoveDeadStuffFromFunction()
856 AttrBuilder B(CallPAL, i + 1); in RemoveDeadStuffFromFunction()
872 if (CallPAL.hasAttributes(i + 1)) { in RemoveDeadStuffFromFunction()
873 AttrBuilder B(CallPAL, i + 1); in RemoveDeadStuffFromFunction()
879 if (CallPAL.hasAttributes(AttributeSet::FunctionIndex)) in RemoveDeadStuffFromFunction()
881 CallPAL.getFnAttributes())); in RemoveDeadStuffFromFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp879 const AttributeList &CallPAL = CS.getAttributes(); in RemoveDeadStuffFromFunction() local
883 AttrBuilder RAttrs(CallPAL.getRetAttributes()); in RemoveDeadStuffFromFunction()
897 AttributeSet Attrs = CallPAL.getParamAttributes(i); in RemoveDeadStuffFromFunction()
916 ArgAttrVec.push_back(CallPAL.getParamAttributes(i)); in RemoveDeadStuffFromFunction()
924 AttributeSet FnAttrs = CallPAL.getFnAttributes().removeAttribute( in RemoveDeadStuffFromFunction()
DArgumentPromotion.cpp243 const AttributeList &CallPAL = CS.getAttributes(); in doPromotion() local
253 ArgAttrVec.push_back(CallPAL.getParamAttributes(ArgNo)); in doPromotion()
316 ArgAttrVec.push_back(CallPAL.getParamAttributes(ArgNo)); in doPromotion()
333 AttributeList::get(F->getContext(), CallPAL.getFnAttributes(), in doPromotion()
334 CallPAL.getRetAttributes(), ArgAttrVec)); in doPromotion()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DArgumentPromotion.cpp645 const AttrListPtr &CallPAL = CS.getAttributes(); in DoPromotion() local
648 if (Attributes attrs = CallPAL.getRetAttributes()) in DoPromotion()
660 if (Attributes Attrs = CallPAL.getParamAttributes(ArgIndex)) in DoPromotion()
724 if (Attributes Attrs = CallPAL.getParamAttributes(ArgIndex)) in DoPromotion()
729 if (Attributes attrs = CallPAL.getFnAttributes()) in DoPromotion()
DDeadArgumentElimination.cpp784 const AttrListPtr &CallPAL = CS.getAttributes(); in RemoveDeadStuffFromFunction() local
787 Attributes RAttrs = CallPAL.getRetAttributes(); in RemoveDeadStuffFromFunction()
788 Attributes FnAttrs = CallPAL.getFnAttributes(); in RemoveDeadStuffFromFunction()
804 if (Attributes Attrs = CallPAL.getParamAttributes(i + 1)) in RemoveDeadStuffFromFunction()
811 if (Attributes Attrs = CallPAL.getParamAttributes(i + 1)) in RemoveDeadStuffFromFunction()