• Home
  • Raw
  • Download

Lines Matching refs:AttributeSet

169     AttributeSet PAL = CS.getAttributes();  in DeleteDeadVarargs()
171 SmallVector<AttributeSet, 8> AttributesVec; in DeleteDeadVarargs()
174 if (PAL.hasAttributes(AttributeSet::FunctionIndex)) in DeleteDeadVarargs()
175 AttributesVec.push_back(AttributeSet::get(Fn.getContext(), in DeleteDeadVarargs()
177 PAL = AttributeSet::get(Fn.getContext(), AttributesVec); in DeleteDeadVarargs()
684 SmallVector<AttributeSet, 8> AttributesVec; in RemoveDeadStuffFromFunction()
685 const AttributeSet &PAL = F->getAttributes(); in RemoveDeadStuffFromFunction()
707 push_back(AttributeSet::get(F->getContext(), Params.size(), B)); in RemoveDeadStuffFromFunction()
782 AttributeSet RAttrs = PAL.getRetAttributes(); in RemoveDeadStuffFromFunction()
790 AttributeSet::ReturnIndex, 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()
800 if (PAL.hasAttributes(AttributeSet::FunctionIndex)) in RemoveDeadStuffFromFunction()
801 AttributesVec.push_back(AttributeSet::get(F->getContext(), in RemoveDeadStuffFromFunction()
805 AttributeSet NewPAL = AttributeSet::get(F->getContext(), AttributesVec); in RemoveDeadStuffFromFunction()
833 const AttributeSet &CallPAL = CS.getAttributes(); in RemoveDeadStuffFromFunction()
836 AttributeSet RAttrs = CallPAL.getRetAttributes(); in RemoveDeadStuffFromFunction()
840 AttributeSet::ReturnIndex, in RemoveDeadStuffFromFunction()
842 if (RAttrs.hasAttributes(AttributeSet::ReturnIndex)) in RemoveDeadStuffFromFunction()
843 AttributesVec.push_back(AttributeSet::get(NF->getContext(), RAttrs)); in RemoveDeadStuffFromFunction()
865 push_back(AttributeSet::get(F->getContext(), Args.size(), B)); in RemoveDeadStuffFromFunction()
875 push_back(AttributeSet::get(F->getContext(), Args.size(), B)); in RemoveDeadStuffFromFunction()
879 if (CallPAL.hasAttributes(AttributeSet::FunctionIndex)) in RemoveDeadStuffFromFunction()
880 AttributesVec.push_back(AttributeSet::get(Call->getContext(), in RemoveDeadStuffFromFunction()
884 AttributeSet NewCallPAL = AttributeSet::get(F->getContext(), AttributesVec); in RemoveDeadStuffFromFunction()