summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/DAGISelMatcherGen.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* simplify this code. In the new world order there is noChris Lattner2010-02-161-27/+24
| | | | | | need to scan the entire subtree of the pattern anymore. llvm-svn: 96369
* convert the new matcher to check intermediate nodes for a singleChris Lattner2010-02-161-4/+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
* remove now dead code and fixme.Chris Lattner2010-02-161-2/+0
| | | | llvm-svn: 96333
* add support for the new isel matcher to generate Chris Lattner2010-02-161-10/+53
| | | | | | (isprofitable|islegal)tofold checks. llvm-svn: 96331
* Check in the first big step of rewriting DAGISelEmitter to Chris Lattner2010-02-151-0/+287
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