summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed more <iostream> includesBill Wendling2006-12-071-2/+1
| | | | llvm-svn: 32321
* Removing even more <iostream> includes.Bill Wendling2006-12-071-43/+43
| | | | llvm-svn: 32320
* Unbreak VC++ build.Jeff Cohen2006-12-021-0/+1
| | | | llvm-svn: 32113
* Fix an incorrectly inverted condition.Evan Cheng2006-11-161-1/+0
| | | | llvm-svn: 31773
* Make an assert comment match the tested assertion.Reid Spencer2006-11-111-1/+1
| | | | llvm-svn: 31686
* Rename ISD::MemOpAddrMode to ISD::MemIndexedModeEvan Cheng2006-11-091-7/+9
| | | | llvm-svn: 31595
* Remove redundant <cmath>.Jim Laskey2006-11-081-1/+0
| | | | llvm-svn: 31561
* Unbreak VC++ build.Jeff Cohen2006-11-051-8/+8
| | | | llvm-svn: 31464
* Added getIndexedStore.Evan Cheng2006-11-051-0/+30
| | | | llvm-svn: 31458
* Fix comments.Evan Cheng2006-11-031-3/+8
| | | | llvm-svn: 31414
* Added isPredecessor.Evan Cheng2006-11-031-0/+23
| | | | llvm-svn: 31409
* silence warningChris Lattner2006-11-031-15/+0
| | | | llvm-svn: 31397
* For PR786:Reid Spencer2006-11-021-1/+0
| | | | | | | | | | Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. llvm-svn: 31380
* Print jumptable index.Evan Cheng2006-11-011-0/+2
| | | | llvm-svn: 31340
* Added a new SDNode type: BR_JT for jumptable branch.Evan Cheng2006-10-301-0/+1
| | | | llvm-svn: 31292
* VLOAD is not the LoadSDNode opcode.Evan Cheng2006-10-291-1/+0
| | | | llvm-svn: 31276
* Remove spurious case. EXTLOAD is not one of the node opcodes.Nick Lewycky2006-10-291-1/+0
| | | | llvm-svn: 31275
* Load and stores have not been uniqued properly.Jim Laskey2006-10-281-13/+42
| | | | llvm-svn: 31261
* Fix a serious bug that caused any x86 vector stuff to infinite loopChris Lattner2006-10-281-1/+1
| | | | llvm-svn: 31254
* Clean up.Jim Laskey2006-10-271-2/+12
| | | | llvm-svn: 31243
* Switch over from SelectionNodeCSEMap to FoldingSet.Jim Laskey2006-10-271-49/+211
| | | | llvm-svn: 31240
* getPreIndexedLoad -> getIndexedLoad.Evan Cheng2006-10-261-21/+7
| | | | llvm-svn: 31209
* Trivial patch to speed up legalizing common i64 constants.Chris Lattner2006-10-171-0/+7
| | | | llvm-svn: 31020
* Reflect MemOpAddrMode change; added a helper to create pre-indexed load.Evan Cheng2006-10-171-4/+68
| | | | llvm-svn: 31016
* Make it simplier to dump DAGs while in DAGCombiner. Remove a nasty ↵Jim Laskey2006-10-171-1/+1
| | | | | | optimization. llvm-svn: 31009
* When SimplifySetCC was moved to the DAGCombiner, it was never removed fromChris Lattner2006-10-141-154/+17
| | | | | | | | | | SelectionDAG and it has since bitrotted. Remove the copy from SelectionDAG. Next, remove the constant folding piece of DAGCombiner::SimplifySetCC into a new FoldSetCC method which can be used by getNode() and SimplifySetCC. This fixes obscure bugs. llvm-svn: 30952
* Fix a bug where we incorrectly turned '(X & 0) == 0' into '(X & 0) >> -1',Chris Lattner2006-10-131-2/+2
| | | | | | which is undefined. "0" isn't a power of 2. llvm-svn: 30947
* Merge ISD::TRUNCSTORE to ISD::STORE. Switch to using StoreSDNode.Evan Cheng2006-10-131-30/+67
| | | | llvm-svn: 30945
* Add RemoveDeadNode to remove a dead node and its (potentially) dead operands.Evan Cheng2006-10-121-0/+33
| | | | llvm-svn: 30916
* Naming consistency.Evan Cheng2006-10-111-2/+2
| | | | llvm-svn: 30878
* Jimptables working again on alpha.Andrew Lenharth2006-10-111-1/+1
| | | | | | As a bonus, use the GOT node instead of the AlphaISD::GOT for internal stuff. llvm-svn: 30873
* FindModifiedNodeSlot needs to add LoadSDNode ivars to create proper ↵Evan Cheng2006-10-111-0/+9
| | | | | | SelectionDAGCSEMap ID. llvm-svn: 30866
* SDNode::dump should also print out extension type and VT.Evan Cheng2006-10-101-0/+21
| | | | llvm-svn: 30860
* Reflects ISD::LOAD / ISD::LOADX / LoadSDNode changes.Evan Cheng2006-10-091-35/+56
| | | | llvm-svn: 30844
* Add getStore() helper function to create ISD::STORE nodes.Evan Cheng2006-10-051-1/+16
| | | | llvm-svn: 30758
* Combine ISD::EXTLOAD, ISD::SEXTLOAD, ISD::ZEXTLOAD into ISD::LOADX. Add anEvan Cheng2006-10-041-11/+14
| | | | | | extra operand to LOADX to specify the exact value extension type. llvm-svn: 30714
* Comments on JumpTablenessAndrew Lenharth2006-09-261-0/+1
| | | | llvm-svn: 30615
* Fold extract_element(cst) to cstChris Lattner2006-09-191-2/+8
| | | | llvm-svn: 30478
* Minor speedup for legalize by avoiding some malloc trafficChris Lattner2006-09-191-0/+9
| | | | llvm-svn: 30477
* Added support for machine specific constantpool values. These are useful forEvan Cheng2006-09-121-1/+29
| | | | | | representing expressions that can only be resolved at link time, etc. llvm-svn: 30278
* Implement the fpowi now by lowering to a libcallChris Lattner2006-09-091-0/+1
| | | | llvm-svn: 30225
* Move isCommutativeBinOp from SelectionDAG.cpp and DAGCombiner.cpp out. Make ↵Evan Cheng2006-08-291-15/+0
| | | | | | it a static method of SelectionDAG. llvm-svn: 29951
* Eliminate SelectNodeTo() and getTargetNode() variants which take more thanEvan Cheng2006-08-271-254/+12
| | | | | | | 3 SDOperand operands. They are replaced by versions which take an array of SDOperand and the number of operands. llvm-svn: 29905
* SelectNodeTo now returns a SDNode*.Evan Cheng2006-08-261-74/+74
| | | | llvm-svn: 29901
* minor changes.Chris Lattner2006-08-161-18/+19
| | | | llvm-svn: 29740
* Use the appropriate typedefChris Lattner2006-08-161-2/+1
| | | | llvm-svn: 29730
* Start using SDVTList more consistentlyChris Lattner2006-08-151-66/+66
| | | | llvm-svn: 29711
* add a new SDVTList type and new SelectionDAG::getVTList methods to streamlineChris Lattner2006-08-151-68/+79
| | | | | | the creation of canonical VTLists. llvm-svn: 29709
* Add a new getNode() method that takes a pointer to an already-intern'd listChris Lattner2006-08-141-78/+70
| | | | | | | of value-type nodes. This avoids having to do mallocs for std::vectors of valuetypes when a node returns more than one type. llvm-svn: 29685
* remove SelectionDAG::InsertISelMapEntry, it is deadChris Lattner2006-08-141-9/+0
| | | | llvm-svn: 29677
OpenPOWER on IntegriCloud