Displaying 5 results from an estimated 5 matches for "sdnodeproperty".
2013 Apr 15
3
[LLVMdev] Flag and Glue
...hat in DAG terminology, Flag is now called Glue.
It would be nice for someone to go through and clean up the code as far
as comments and variable names.
That was driving me close to the brink of insanity till I found out
about this.
Even in Selection Dag Node Properties
def SDNPOutGlue : SDNodeProperty; // Write a flag result
def SDNPInGlue : SDNodeProperty; // Read a flag operand
def SDNPOptInGlue : SDNodeProperty; // Optionally read a flag operand
2010 Jan 19
1
[LLVMdev] ComplexPattern
...explain precisely what the
ComplexPattern tablegen class does?
Here's the first line of the definition (from TargetSelectionDAG.td) for
reference:
class ComplexPattern<ValueType ty, int numops, string fn,
list<SDNode> roots = [],
list<SDNodeProperty> props = [],
list<CPAttribute> attrs = []>
As far as I can tell it gives the name of a selection function (fn) that
will be called to match that particular ComplexPattern. Should that
function return true that pattern has matched. The match function can
also...
2019 Jan 23
2
Windows/Clang build instrumented/PGO
Hello LLVM developers,
Following some hints on this mailing list earlier this year on how to make
clang faster than stock llvm.org builds I have implemented a script that
builds a PGO optimized version of clang by following the guide here:
http://llvm.org/docs/HowToBuildWithPGO.html
This works great on macOS and Linux - we gained almost 15% in our project
with this technique. I am now looking at
2014 Jan 05
4
[LLVMdev] A question about everyone's favorite constructs: NSW and NUW
...here it does regress things.
These are likely to be easy to find by looking for patterns that match
sext.
Doing #2 requires a plumbing these flags through the DAG. I don't yet know
how hard that would be, but it doesn't sound too bad. The current approach
I would probably take is to add an SDNodeProperty for NSW and NUW, and
nodes for operations with those flags. But that means generalizing
everything that currently only looks at ADD. There is probably a better way
to express this in the DAG, so if this is the direction folks thing LLVM
should go, point me at any ideas you have about how to best im...
2014 Jan 07
2
[LLVMdev] A question about everyone's favorite constructs: NSW and NUW
...s things. These are likely to be easy to find by looking for patterns that match sext.
>>
>> Doing #2 requires a plumbing these flags through the DAG. I don't yet know how hard that would be, but it doesn't sound too bad. The current approach I would probably take is to add an SDNodeProperty for NSW and NUW, and nodes for operations with those flags. But that means generalizing everything that currently only looks at ADD. There is probably a better way to express this in the DAG, so if this is the direction folks thing LLVM should go, point me at any ideas you have about how to best im...