search for: attribute_group_ref

Displaying 8 results from an estimated 8 matches for "attribute_group_ref".

2013 Feb 04
0
[LLVMdev] [RFC] Attributes Rewrite (Final)
> To use an attribute group, an object references the attribute group's ID: > > attribute_group_ref := attrgroup(<attrgroup_id>) Is this unused now? I don't see it anywhere else in the proposal. -- Sean Silva
2013 Jan 29
4
[LLVMdev] [RFC] Attributes Rewrite (Final)
...e>* attribute := <name> ('=' <list_of_values>)? list_of_values := <value> | '(' <value> <value>* ')' id := <number> | <name> To use an attribute group, an object references the attribute group's ID: attribute_group_ref := attrgroup(<attrgroup_id>) This is an example of an attribute group for a function that should always be inlined, has stack alignment of 4, and doesn't unwind: #1 = attributes { alwaysinline nounwind alignstack=4 } void @foo() #1 { ret void } An object may refer to more than one a...
2012 Nov 21
1
[LLVMdev] [RFC] Passing Options to Different Parts of the Compiler Using Attributes
...e_list> } >> attrgroup_id := #<number> >> attribute_list := <attribute> (, <attribute>)* >> attribute := <name> (= <value>)? >> >> To use an attribute group, an object references the attribute group's ID: >> >> attribute_group_ref := attrgroup(<attrgroup_id>) >> >> This is an example of an attribute group for a function that should always be >> inlined, has stack alignment of 4, and doesn't unwind: >> >> attrgroup #1 = { alwaysinline, nounwind, alignstack=4 } >> >> void @fo...
2012 Nov 20
0
[LLVMdev] [RFC] Passing Options to Different Parts of the Compiler Using Attributes
...up_id> = { <attribute_list> } > attrgroup_id := #<number> > attribute_list := <attribute> (, <attribute>)* > attribute := <name> (= <value>)? > > To use an attribute group, an object references the attribute group's ID: > > attribute_group_ref := attrgroup(<attrgroup_id>) > > This is an example of an attribute group for a function that should always be > inlined, has stack alignment of 4, and doesn't unwind: > > attrgroup #1 = { alwaysinline, nounwind, alignstack=4 } > > void @foo() attrgroup(#1) { ret v...
2013 Feb 04
1
[LLVMdev] [RFC] Attributes Rewrite (Final)
This was replaced by having a #<num> referenced by the object. Kind of like how metadata is referenced. -bw On Feb 3, 2013, at 4:50 PM, Sean Silva <silvas at purdue.edu> wrote: >> To use an attribute group, an object references the attribute group's ID: >> >> attribute_group_ref := attrgroup(<attrgroup_id>) > > Is this unused now? I don't see it anywhere else in the proposal. > > -- Sean Silva
2012 Nov 13
9
[LLVMdev] [RFC] Passing Options to Different Parts of the Compiler Using Attributes
..._group := attrgroup <attrgroup_id> = { <attribute_list> } attrgroup_id := #<number> attribute_list := <attribute> (, <attribute>)* attribute := <name> (= <value>)? To use an attribute group, an object references the attribute group's ID: attribute_group_ref := attrgroup(<attrgroup_id>) This is an example of an attribute group for a function that should always be inlined, has stack alignment of 4, and doesn't unwind: attrgroup #1 = { alwaysinline, nounwind, alignstack=4 } void @foo() attrgroup(#1) { ret void } An object may refer to mor...
2012 Nov 13
0
[LLVMdev] [RFC] Passing Options to Different Parts of the Compiler Using Attributes
..._id> = { <attribute_list> } > attrgroup_id := #<number> > attribute_list := <attribute> (, <attribute>)* > attribute := <name> (= <value>)? > > To use an attribute group, an object references the attribute group's ID: > > attribute_group_ref := attrgroup(<attrgroup_id>) > > This is an example of an attribute group for a function that should always > be > inlined, has stack alignment of 4, and doesn't unwind: > > attrgroup #1 = { alwaysinline, nounwind, alignstack=4 } > > void @foo() attrgroup(#1) { r...
2012 Nov 26
3
[LLVMdev] [RFC] Passing Options to Different Parts of the Compiler Using Attributes
...list> } >> attrgroup_id := #<number> >> attribute_list := <attribute> (, <attribute>)* >> attribute := <name> (= <value>)? >> >> To use an attribute group, an object references the attribute group's ID: >> >> attribute_group_ref := attrgroup(<attrgroup_id>) >> >> This is an example of an attribute group for a function that should always be >> inlined, has stack alignment of 4, and doesn't unwind: >> >> attrgroup #1 = { alwaysinline, nounwind, alignstack=4 } >> >> void...