summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* start sketching out the structure of code for result emission generation.Chris Lattner2010-02-181-0/+3
| | | | | | Nothing real here yet. llvm-svn: 96575
* rename the child field to 'next'. This is not a parent/child Chris Lattner2010-02-181-12/+12
| | | | | | relationship, this is a linear list relationship. llvm-svn: 96561
* eliminate the MatcherNodeWithChild class, give the 'child'Chris Lattner2010-02-181-5/+3
| | | | | | field to MatcherNode. llvm-svn: 96560
* improve comments, the matcher is now feature complete, on to codegen.Chris Lattner2010-02-171-1/+5
| | | | llvm-svn: 96464
* Emulate the current isel's "IsChainCompatible" logic for now.Chris Lattner2010-02-171-0/+4
| | | | | | | I'd like to eventually rip it out, but for now producing the same selections as the old matcher is more important. llvm-svn: 96458
* improve comments on OPC_Record to say what we're recording a node.Chris Lattner2010-02-171-1/+3
| | | | llvm-svn: 96433
* improve comments in generated matcher a bit.Chris Lattner2010-02-171-12/+12
| | | | llvm-svn: 96422
* make the new isel generator plop out a CheckComplexPattern functionChris Lattner2010-02-171-2/+40
| | | | | | | for evaluating complex patterns. Some cleanup has to happen before this can be used though. llvm-svn: 96419
* convert the new matcher to check intermediate nodes for a singleChris Lattner2010-02-161-5/+2
| | | | | | | | | use and only call IsProfitableToFold/IsLegalToFold on the load being folded, like the old dagiselemitter does. This substantially simplifies the code and improves opportunities for sharing. llvm-svn: 96368
* generate code for node and pattern predicates. Note that this won'tChris Lattner2010-02-161-11/+58
| | | | | | | build if enabled, it will fail with constness issues. I'll resolve these next. llvm-svn: 96336
* refactor some code into a local class.Chris Lattner2010-02-161-14/+22
| | | | llvm-svn: 96334
* add support for the new isel matcher to generate Chris Lattner2010-02-161-0/+6
| | | | | | (isprofitable|islegal)tofold checks. llvm-svn: 96331
* Check in the first big step of rewriting DAGISelEmitter to Chris Lattner2010-02-151-0/+217
produce a table based matcher instead of gobs of C++ Code. Though it's not done yet, the shrinkage seems promising, the table for the X86 ISel is 75K and still has a lot of optimization to come (compare to the ~1.5M of .o generated the old way, much of which will go away). The code is currently disabled by default (the #if 0 in DAGISelEmitter.cpp). When enabled it generates a dead SelectCode2 function in the DAGISel Header which will eventually replace SelectCode. There is still a lot of stuff left to do, which are documented with a trail of FIXMEs. llvm-svn: 96215
OpenPOWER on IntegriCloud