Displaying 3 results from an estimated 3 matches for "mem_addr".
Did you mean:
dev_addr
2009 Apr 20
2
[LLVMdev] A few questions from a newbie
...e a few simple
questions.
1) What are the differences between 'constant' and 'targetconstant',
'globaladdress' and 'targetglobaladdress'? It is not clear from the document
when and which should be used.
2) On the processor I am working on, there is a 'move reg, mem_addr'
instruction.
When I try to match it using the pattern [(set Int32Regs::reg,
tglobaladdr::mem_addr)]. the code generated by tblgen cannot be compiled
because there will be a switch statement that contains two cases for the
'tglobaladdr', one is hard-coded in by tblgen and the other is...
2009 Apr 20
0
[LLVMdev] A few questions from a newbie
...ocument when and which should be used.
The target* variants are 'done' and will not be changed further by the
instruction selection. After instruction selection, everything should
be converted to the target* variants.
> 2) On the processor I am working on, there is a 'move reg, mem_addr'
> instruction.
>
> When I try to match it using the pattern [(set Int32Regs::reg,
> tglobaladdr::mem_addr)]. the code generated by tblgen cannot be
> compiled because there will be a switch statement that contains two
> cases for the 'tglobaladdr', one is har...
2009 Apr 20
2
[LLVMdev] A few questions from a newbie
...hould be used.
>
> The target* variants are 'done' and will not be changed further by the
> instruction selection. After instruction selection, everything should
> be converted to the target* variants.
>
> > 2) On the processor I am working on, there is a 'move reg, mem_addr'
> > instruction.
> >
> > When I try to match it using the pattern [(set Int32Regs::reg,
> > tglobaladdr::mem_addr)]. the code generated by tblgen cannot be
> > compiled because there will be a switch statement that contains two
> > cases for the 'tgloba...