Displaying 3 results from an estimated 3 matches for "propx".
Did you mean:
prop
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 i3 : myInst&l...
2009 Jun 08
0
[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;
> }
>
> def i1 : myInst<..., [propX]>;
> def i2 :...
2009 Jun 08
2
[LLVMdev] Tablegen question
...estion
>>
>> 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 : m...