Displaying 3 results from an estimated 3 matches for "emit_125".
2009 Jul 13
0
[LLVMdev] [PATCH] Support asm comment output
On Jul 13, 2009, at 10:02 AM, David Greene wrote:
>>> - Tag instructons with source line information (customers really
>>> want this).
>>
>> Right, that would be nice. This should be synthesizable from the
>> DebugLoc on the instruction in the asm printer, no need to
>> redundantly
>> encode it into the comment field.
>
> Except the DebugLoc
2009 Jul 13
2
[LLVMdev] [PATCH] Support asm comment output
On Monday 13 July 2009 11:40, Chris Lattner wrote:
> > I was attempting to reduce the number of files affected, but if you
> > want this change I'll go ahead and do it.
>
> Makes sense, thanks. Please do it as a separate patch from the other
> changes though since it will be large and mechanical.
Ok, no problem.
> > - Tag instructons with source line information
2009 Jul 13
5
[LLVMdev] [PATCH] Support asm comment output
...nID = 1367;
// Pattern complexity = 19 cost = 1 size = 3
SDValue CPTmp01;
SDValue CPTmp11;
SDValue CPTmp21;
SDValue CPTmp31;
if (SelectAddr(N, N1, CPTmp01, CPTmp11, CPTmp21, CPTmp31)) {
CurDAG->setSubgraphColor(N.getNode(), "red");
SDNode *Result = Emit_125(N, X86::MOV32rm, MVT::i32, CPTmp01, CPTmp11,
CPTmp21, CPTmp31, PatternID);
if(Result) {
CurDAG->setSubgraphColor(Result, "yellow");
CurDAG->setSubgraphColor(Result, "black");
}
return Result;
}
}
So it's really easy to set a br...