search for: instproperty

Displaying 3 results from an estimated 3 matches for "instproperty".

2009 Jun 06
2
[LLVMdev] Tablegen question
I want to add a set of "properties" to each instruction in my instruction set, and want to be able to query that in my machine-specific optimizations. My Insts.td file looks as follows : class InstProperty; def propX : InstProperty; def propY : InstProperty; def propZ : InstProperty; class myInst<..., list<InstProperty> props> : Instruction { ... ... list<InstProperty> Properties=props; } def i1 : myInst<..., [propX]>; def i2 : myInst<..., [propX, propZ]>; def i...
2009 Jun 08
0
[LLVMdev] Tablegen question
...Developers Mailing List > Subject: [LLVMdev] Tablegen question > > I want to add a set of "properties" to each instruction in my > instruction set, and want to be able to query that in my > machine-specific optimizations. My Insts.td file looks as follows : > > class InstProperty; > > def propX : InstProperty; > def propY : InstProperty; > def propZ : InstProperty; > > class myInst<..., list<InstProperty> props> : Instruction { > ... > ... > list<InstProperty> Properties=props; > } > > def i1 : myInst<..., [prop...
2009 Jun 08
2
[LLVMdev] Tablegen question
...;> Subject: [LLVMdev] Tablegen question >> >> I want to add a set of "properties" to each instruction in my >> instruction set, and want to be able to query that in my >> machine-specific optimizations. My Insts.td file looks as follows : >> >> class InstProperty; >> >> def propX : InstProperty; >> def propY : InstProperty; >> def propZ : InstProperty; >> >> class myInst<..., list<InstProperty> props> : Instruction { >>   ... >>   ... >>   list<InstProperty> Properties=props; >> }...