• Home
  • Raw
  • Download

Lines Matching refs:AttributeSet

249     AttributeSet PAL = CS.getAttributes();  in DeleteDeadVarargs()
251 SmallVector<AttributeSet, 8> AttributesVec; in DeleteDeadVarargs()
254 if (PAL.hasAttributes(AttributeSet::FunctionIndex)) in DeleteDeadVarargs()
255 AttributesVec.push_back(AttributeSet::get(Fn.getContext(), in DeleteDeadVarargs()
257 PAL = AttributeSet::get(Fn.getContext(), AttributesVec); in DeleteDeadVarargs()
749 SmallVector<AttributeSet, 8> AttributesVec; in RemoveDeadStuffFromFunction()
750 const AttributeSet &PAL = F->getAttributes(); in RemoveDeadStuffFromFunction()
772 push_back(AttributeSet::get(F->getContext(), Params.size(), B)); in RemoveDeadStuffFromFunction()
846 AttributeSet RAttrs = PAL.getRetAttributes(); in RemoveDeadStuffFromFunction()
854 AttributeSet::ReturnIndex, in RemoveDeadStuffFromFunction()
857 assert(!AttrBuilder(RAttrs, AttributeSet::ReturnIndex). in RemoveDeadStuffFromFunction()
861 if (RAttrs.hasAttributes(AttributeSet::ReturnIndex)) in RemoveDeadStuffFromFunction()
862 AttributesVec.push_back(AttributeSet::get(NRetTy->getContext(), RAttrs)); in RemoveDeadStuffFromFunction()
864 if (PAL.hasAttributes(AttributeSet::FunctionIndex)) in RemoveDeadStuffFromFunction()
865 AttributesVec.push_back(AttributeSet::get(F->getContext(), in RemoveDeadStuffFromFunction()
869 AttributeSet NewPAL = AttributeSet::get(F->getContext(), AttributesVec); in RemoveDeadStuffFromFunction()
896 const AttributeSet &CallPAL = CS.getAttributes(); in RemoveDeadStuffFromFunction()
899 AttributeSet RAttrs = CallPAL.getRetAttributes(); in RemoveDeadStuffFromFunction()
903 AttributeSet::ReturnIndex, in RemoveDeadStuffFromFunction()
905 if (RAttrs.hasAttributes(AttributeSet::ReturnIndex)) in RemoveDeadStuffFromFunction()
906 AttributesVec.push_back(AttributeSet::get(NF->getContext(), RAttrs)); in RemoveDeadStuffFromFunction()
928 push_back(AttributeSet::get(F->getContext(), Args.size(), B)); in RemoveDeadStuffFromFunction()
938 push_back(AttributeSet::get(F->getContext(), Args.size(), B)); in RemoveDeadStuffFromFunction()
942 if (CallPAL.hasAttributes(AttributeSet::FunctionIndex)) in RemoveDeadStuffFromFunction()
943 AttributesVec.push_back(AttributeSet::get(Call->getContext(), in RemoveDeadStuffFromFunction()
947 AttributeSet NewCallPAL = AttributeSet::get(F->getContext(), AttributesVec); in RemoveDeadStuffFromFunction()