Home | History | Annotate | Download | only in AsmParser

Lines Matching defs:AS

81       AttributeSet AS = Fn->getAttributes();
82 AttrBuilder FnAttrs(AS.getFnAttributes(), AttributeSet::FunctionIndex);
83 AS = AS.removeAttributes(Context, AttributeSet::FunctionIndex,
84 AS.getFnAttributes());
88 // If the alignment was parsed as an attribute, move to the alignment
95 AS = AS.addAttributes(Context, AttributeSet::FunctionIndex,
99 Fn->setAttributes(AS);
101 AttributeSet AS = CI->getAttributes();
102 AttrBuilder FnAttrs(AS.getFnAttributes(), AttributeSet::FunctionIndex);
103 AS = AS.removeAttributes(Context, AttributeSet::FunctionIndex,
104 AS.getFnAttributes());
106 AS = AS.addAttributes(Context, AttributeSet::FunctionIndex,
110 CI->setAttributes(AS);
112 AttributeSet AS = II->getAttributes();
113 AttrBuilder FnAttrs(AS.getFnAttributes(), AttributeSet::FunctionIndex);
114 AS = AS.removeAttributes(Context, AttributeSet::FunctionIndex,
115 AS.getFnAttributes());
117 AS = AS.addAttributes(Context, AttributeSet::FunctionIndex,
121 II->setAttributes(AS);
179 UpgradeCallsToIntrinsic(FI++); // must be post-increment, as we remove
881 // As a hack, we allow function alignment to be initially parsed as an
1533 return TokError("expected ',' as start of index list");
1831 // struct. This counts as a definition as far as the .ll file goes.
2400 // Make a global variable as a placeholder for this reference.
2776 return Error(ID.Loc, "functions are not values, refer to them as pointers");
2825 // constants as double. Fix this here. Long double does not need this.
3017 // If the alignment was parsed as an attribute, move to the alignment field.
3065 "function as global value!");