Lines Matching refs:AttributeSet

85       AttributeSet AS = Fn->getAttributes();  in ValidateEndOfModule()
86 AttrBuilder FnAttrs(AS.getFnAttributes(), AttributeSet::FunctionIndex); in ValidateEndOfModule()
87 AS = AS.removeAttributes(Context, AttributeSet::FunctionIndex, in ValidateEndOfModule()
99 AS = AS.addAttributes(Context, AttributeSet::FunctionIndex, in ValidateEndOfModule()
100 AttributeSet::get(Context, in ValidateEndOfModule()
101 AttributeSet::FunctionIndex, in ValidateEndOfModule()
105 AttributeSet AS = CI->getAttributes(); in ValidateEndOfModule()
106 AttrBuilder FnAttrs(AS.getFnAttributes(), AttributeSet::FunctionIndex); in ValidateEndOfModule()
107 AS = AS.removeAttributes(Context, AttributeSet::FunctionIndex, in ValidateEndOfModule()
110 AS = AS.addAttributes(Context, AttributeSet::FunctionIndex, in ValidateEndOfModule()
111 AttributeSet::get(Context, in ValidateEndOfModule()
112 AttributeSet::FunctionIndex, in ValidateEndOfModule()
116 AttributeSet AS = II->getAttributes(); in ValidateEndOfModule()
117 AttrBuilder FnAttrs(AS.getFnAttributes(), AttributeSet::FunctionIndex); in ValidateEndOfModule()
118 AS = AS.removeAttributes(Context, AttributeSet::FunctionIndex, in ValidateEndOfModule()
121 AS = AS.addAttributes(Context, AttributeSet::FunctionIndex, in ValidateEndOfModule()
122 AttributeSet::get(Context, in ValidateEndOfModule()
123 AttributeSet::FunctionIndex, in ValidateEndOfModule()
1697 ArgList.push_back(ParamInfo(ArgLoc, V, AttributeSet::get(V->getContext(), in ParseParameterList()
1750 AttributeSet::get(ArgTy->getContext(), in ParseArgumentList()
1778 AttributeSet::get(ArgTy->getContext(), in ParseArgumentList()
3033 SmallVector<AttributeSet, 8> Attrs; in ParseFunctionHeader()
3036 Attrs.push_back(AttributeSet::get(RetType->getContext(), in ParseFunctionHeader()
3037 AttributeSet::ReturnIndex, in ParseFunctionHeader()
3044 Attrs.push_back(AttributeSet::get(RetType->getContext(), i + 1, B)); in ParseFunctionHeader()
3049 Attrs.push_back(AttributeSet::get(RetType->getContext(), in ParseFunctionHeader()
3050 AttributeSet::FunctionIndex, in ParseFunctionHeader()
3053 AttributeSet PAL = AttributeSet::get(Context, Attrs); in ParseFunctionHeader()
3583 SmallVector<AttributeSet, 8> Attrs; in ParseInvoke()
3585 Attrs.push_back(AttributeSet::get(RetType->getContext(), in ParseInvoke()
3586 AttributeSet::ReturnIndex, in ParseInvoke()
3609 Attrs.push_back(AttributeSet::get(RetType->getContext(), i + 1, B)); in ParseInvoke()
3617 Attrs.push_back(AttributeSet::get(RetType->getContext(), in ParseInvoke()
3618 AttributeSet::FunctionIndex, in ParseInvoke()
3622 AttributeSet PAL = AttributeSet::get(Context, Attrs); in ParseInvoke()
3989 SmallVector<AttributeSet, 8> Attrs; in ParseCall()
3991 Attrs.push_back(AttributeSet::get(RetType->getContext(), in ParseCall()
3992 AttributeSet::ReturnIndex, in ParseCall()
4015 Attrs.push_back(AttributeSet::get(RetType->getContext(), i + 1, B)); in ParseCall()
4023 Attrs.push_back(AttributeSet::get(RetType->getContext(), in ParseCall()
4024 AttributeSet::FunctionIndex, in ParseCall()
4028 AttributeSet PAL = AttributeSet::get(Context, Attrs); in ParseCall()