summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Pass a SelectionDAG into SDNode::dump everywhere it's used, in preprationDan Gohman2007-06-191-1/+1
| | | | | | | for needing the DAG node to print pre-legalize extended value types, and to get better debug messages with target-specific nodes. llvm-svn: 37656
* Removed tabs everywhere except autogenerated & external files. Add makeAnton Korobeynikov2007-04-161-54/+54
| | | | | | target for tabs checking. llvm-svn: 36146
* FTOIT and ITOFT are bit converts, and if we drop 21264s, are always availableAndrew Lenharth2007-01-241-31/+4
| | | | llvm-svn: 33492
* Fix unordered fp on alphaAndrew Lenharth2007-01-241-15/+35
| | | | llvm-svn: 33487
* For PR1043:Reid Spencer2007-01-191-0/+1
| | | | | | | | | | | | | | This is the final patch for this PR. It implements some minor cleanup in the use of IntegerType, to wit: 1. Type::getIntegerTypeMask -> IntegerType::getBitMask 2. Type::Int*Ty changed to IntegerType* from Type* 3. ConstantInt::getType() returns IntegerType* now, not Type* This also fixes PR1120. Patch by Sheng Zhou. llvm-svn: 33370
* For PR950:Reid Spencer2006-12-311-1/+1
| | | | | | | | | | | | | | | | | | Three changes: 1. Convert signed integer types to signless versions. 2. Implement the @sext and @zext parameter attributes. Previously the type of an function parameter was used to determine whether it should be sign extended or zero extended before the call. This information is now communicated via the function type's parameter attributes. 3. The interface to LowerCallTo had to be changed in order to accommodate the parameter attribute information. Although it would have been convenient to pass in the FunctionType itself, there isn't always one present in the caller. Consequently, a signedness indication for the result type and for each parameter was provided for in the interface to this method. All implementations were changed to make the adjustment necessary. llvm-svn: 32788
* eliminate static ctors for Statistic objects.Chris Lattner2006-12-191-1/+0
| | | | llvm-svn: 32703
* What should be the last unnecessary <iostream>s in the library.Bill Wendling2006-12-071-2/+1
| | | | llvm-svn: 32333
* 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
* more shotenningAndrew Lenharth2006-10-311-2/+2
| | | | llvm-svn: 31331
* Let us play simplify the td file (and fix a few missed sub and mul patterns).Andrew Lenharth2006-10-311-0/+8
| | | | llvm-svn: 31322
* For PR950:Reid Spencer2006-10-201-2/+1
| | | | | | | | This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. llvm-svn: 31063
* Reduce the amount of state in the lowering code and drop old pattern ISel ↵Andrew Lenharth2006-10-111-4/+20
| | | | | | functions llvm-svn: 30881
* Use cute tblgen tricks to make zap handling more powerful. Specifically,Chris Lattner2006-10-111-13/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | when the dag combiner simplifies an and mask, notice this and allow those bits to be missing from the zap mask. This compiles Alpha/zapnot4.ll into: sll $16,3,$0 zapnot $0,3,$0 ret $31,($26),1 instead of: ldah $0,1($31) lda $0,-8($0) sll $16,3,$1 and $1,$0,$0 ret $31,($26),1 It would be *really* nice to replace the hunk of code in the AlphaISelDAGToDAG.cpp file that matches (and (srl (x, C), c2) into (SRL (ZAPNOTi)) with a similar pattern, but I've spent enough time poking at alpha. Make andrew will do this. llvm-svn: 30875
* Jimptables working again on alpha.Andrew Lenharth2006-10-111-2/+3
| | | | | | As a bonus, use the GOT node instead of the AlphaISD::GOT for internal stuff. llvm-svn: 30873
* Do not use getTargetNode() and SelectNodeTo() which takes more than 3Evan Cheng2006-08-271-4/+5
| | | | | | SDOperand arguments. Use the variants which take an array and number instead. llvm-svn: 29907
* SelectNodeTo now returns a SDNode*.Evan Cheng2006-08-261-5/+5
| | | | llvm-svn: 29901
* Select() no longer require Result operand by reference.Evan Cheng2006-08-261-27/+23
| | | | llvm-svn: 29898
* Match tblgen changes.Evan Cheng2006-08-261-23/+29
| | | | llvm-svn: 29895
* SelectNodeTo() may return a SDOperand that is different from the input.Evan Cheng2006-08-161-17/+12
| | | | llvm-svn: 29726
* Match tablegen changes.Evan Cheng2006-08-111-22/+17
| | | | llvm-svn: 29604
* Match tablegen isel changes.Evan Cheng2006-08-071-26/+26
| | | | llvm-svn: 29549
* Remove InFlightSet hack. No longer needed.Evan Cheng2006-07-281-1/+0
| | | | llvm-svn: 29373
* Ensure that dump calls that are associated with asserts are removed fromJim Laskey2006-07-111-1/+1
| | | | | | non-debug build. llvm-svn: 29105
* Add memory operand and int regsAndrew Lenharth2006-06-211-0/+18
| | | | llvm-svn: 28896
* I am sure I had commited this workaround before. Perhaps soon I should sort ↵Andrew Lenharth2006-06-131-6/+6
| | | | | | it all out llvm-svn: 28772
* It really helps to be returning to the correct placeAndrew Lenharth2006-06-131-27/+5
| | | | llvm-svn: 28769
* Change RET node to include signness information of the return values. i.e.Evan Cheng2006-05-261-1/+1
| | | | | | RET chain, value1, sign1, value2, sign2, ... llvm-svn: 28510
* Assert if InflightSet is not cleared after instruction selecting a BB.Evan Cheng2006-05-251-0/+1
| | | | llvm-svn: 28459
* Clear HandleMap and ReplaceMap after instruction selection. Or it may causeEvan Cheng2006-05-241-0/+2
| | | | | | non-deterministic behavior. llvm-svn: 28454
* Fix a bogus gcc warningAndrew Lenharth2006-05-181-2/+2
| | | | llvm-svn: 28382
* Initialize SDOperand values because the gcc 4.0.2 compiler complains aboutReid Spencer2006-04-081-2/+2
| | | | | | them. llvm-svn: 27534
* support x * (c1 + c2) where c1 and c2 are pow2s. special case for c2 == 4Andrew Lenharth2006-04-031-1/+1
| | | | llvm-svn: 27370
* mul by const conversion sequences. more coming soonAndrew Lenharth2006-04-031-0/+12
| | | | llvm-svn: 27368
* #include Intrinsics.h into all dag iselsChris Lattner2006-03-251-0/+1
| | | | llvm-svn: 27109
* improved zap discoveryAndrew Lenharth2006-02-131-0/+33
| | | | llvm-svn: 26148
* Match getTargetNode() changes (now return SDNode* instead of SDOperand).Evan Cheng2006-02-091-36/+39
| | | | llvm-svn: 26085
* Change Select() fromEvan Cheng2006-02-091-42/+74
| | | | | | | | SDOperand Select(SDOperand N); to void Select(SDOperand &Result, SDOperand N); llvm-svn: 26067
* Use SelectRoot() as entry of any tblgen based isel.Evan Cheng2006-02-051-1/+2
| | | | llvm-svn: 25997
* Update alpha to reflect recent constantfp legalize changes. It's not clearChris Lattner2006-01-291-16/+16
| | | | | | why all this code isn't autogenerated. :( llvm-svn: 25770
* Switch to AlphaISD::CALL instead of ISD::CALLChris Lattner2006-01-271-2/+1
| | | | llvm-svn: 25718
* Add explicit #includes of <iostream>Chris Lattner2006-01-221-0/+1
| | | | llvm-svn: 25515
* stack and rpccAndrew Lenharth2006-01-161-31/+5
| | | | llvm-svn: 25369
* make 0 codegen much betterAndrew Lenharth2006-01-061-0/+4
| | | | llvm-svn: 25131
* typeoAndrew Lenharth2006-01-021-1/+1
| | | | llvm-svn: 25060
* Move brcond over and fix some imm patterns. This may be the last change ↵Andrew Lenharth2006-01-011-43/+42
| | | | | | before changing the default alpha isel. llvm-svn: 25057
* improve constant loading. Still sucks, but oh wellAndrew Lenharth2005-12-301-15/+23
| | | | llvm-svn: 25047
* add br pattern, unify JSR and BSR ISel instrs, and add BSR support for DAGAndrew Lenharth2005-12-251-9/+14
| | | | llvm-svn: 25011
* All that just to lower div and remAndrew Lenharth2005-12-251-36/+13
| | | | llvm-svn: 25008
* All addressing modes are now exposed. The only remaining relocated formsAndrew Lenharth2005-12-241-6/+0
| | | | | | | | | are for function prologue. TODO: move external symbols over to using RelLit. : have a pattern that matches constpool|globaladdr : have a pattern that matches (add x imm) -> x, imm or (...) -> ..., 0 llvm-svn: 25003
OpenPOWER on IntegriCloud