Displaying 3 results from an estimated 3 matches for "tapdanc".
Did you mean:
tapdance
2007 Oct 01
0
[LLVMdev] Q about instruction pattern matching
...sic block of all functions? I've seen "Live ins: D0" appear for an
int (int)-type signature, so that seems right.
I'd like to arrange for e.g. a void foo(char*p) signature so see a
"live in A0", but can I custom lower to that immediately given that
I'm going to do a tapdance with the instruction selections later on?
If not, how do I distinguish these arguments from the data argument
later on?
Thanks,
Andreas
2007 Oct 01
1
[LLVMdev] Q about instruction pattern matching
...I've seen "Live ins: D0" appear for an
> int (int)-type signature, so that seems right.
Right.
> I'd like to arrange for e.g. a void foo(char*p) signature so see a
> "live in A0", but can I custom lower to that immediately given that
> I'm going to do a tapdance with the instruction selections later on?
> If not, how do I distinguish these arguments from the data argument
> later on?
Hrm. I suspect you'll have to add parameter attribute (see
ParameterAttributes.h) that indicates it's used as an address. In
SelectionDAGIsel.cpp:TargetLow...
2007 Sep 30
2
[LLVMdev] Q about instruction pattern matching
On Sep 29, 2007, at 2:57 PM, Andreas Fredriksson
<deplinenoise at gmail.com> wrote:
> On 9/25/07, Evan Cheng <evan.cheng at apple.com> wrote:
>>> Hi Evan,
>>> wouldn't this generate fairly terrible code if each address register
>>> use has to be preceded by instructions to make an address register
>>> hold the right value?
>>
>>