summaryrefslogtreecommitdiff
path: root/lib/Target/Alpha/AlphaISelPattern.cpp
Commit message (Collapse)AuthorAge
* bye bye Pattern ISELAndrew Lenharth2006-01-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25553 91177308-0d34-0410-b5e6-96231b3b80d8
* Add explicit #includes of <iostream>Chris Lattner2006-01-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25515 91177308-0d34-0410-b5e6-96231b3b80d8
* add br pattern, unify JSR and BSR ISel instrs, and add BSR support for DAGAndrew Lenharth2005-12-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25011 91177308-0d34-0410-b5e6-96231b3b80d8
* All that just to lower div and remAndrew Lenharth2005-12-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25008 91177308-0d34-0410-b5e6-96231b3b80d8
* All addressing modes are now exposed. The only remaining relocated formsAndrew Lenharth2005-12-24
| | | | | | | | | | | 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25003 91177308-0d34-0410-b5e6-96231b3b80d8
* Let's see if we can break things.Andrew Lenharth2005-12-24
| | | | | | | | | Lower GOT relative addresses to Lo and HI. Update both ISels to select them when they can. Saves instructions here and there. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25001 91177308-0d34-0410-b5e6-96231b3b80d8
* remove dead codeChris Lattner2005-12-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24965 91177308-0d34-0410-b5e6-96231b3b80d8
* major think-oAndrew Lenharth2005-12-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24564 91177308-0d34-0410-b5e6-96231b3b80d8
* remove redundant codeAndrew Lenharth2005-11-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24538 91177308-0d34-0410-b5e6-96231b3b80d8
* Make typesafe that which isn't: FCMOVxxAndrew Lenharth2005-11-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24536 91177308-0d34-0410-b5e6-96231b3b80d8
* FPSelect and more custom loweringAndrew Lenharth2005-11-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24535 91177308-0d34-0410-b5e6-96231b3b80d8
* All sorts of stuff.Andrew Lenharth2005-11-30
| | | | | | | | | | | | | | Getting in on the custom lowering thing, yay evilness with fp setcc, yuck trivial int select, hmmm in memory args for functions, yay DIV and REM, always handy. They should be custom lowered though. Lots more stuff compiles now (go go single source!). Of course, none of it probably works, but that is what the nightly tester can find out :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24533 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix warning, the better way. Really, this is what this instruction is for, ↵Andrew Lenharth2005-11-22
| | | | | | so use it git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24486 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix warningAndrew Lenharth2005-11-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24485 91177308-0d34-0410-b5e6-96231b3b80d8
* massive DAGISel patch. lots and lots more stuff compiles nowAndrew Lenharth2005-11-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24483 91177308-0d34-0410-b5e6-96231b3b80d8
* fix more regressionsAndrew Lenharth2005-11-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24335 91177308-0d34-0410-b5e6-96231b3b80d8
* fix READCYCLECOUNTERAndrew Lenharth2005-11-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24334 91177308-0d34-0410-b5e6-96231b3b80d8
* fix yet more regressionsAndrew Lenharth2005-11-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24308 91177308-0d34-0410-b5e6-96231b3b80d8
* generate chain resultAndrew Lenharth2005-11-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24307 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bunch more alpha regressionsAndrew Lenharth2005-11-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24304 91177308-0d34-0410-b5e6-96231b3b80d8
* continued readcyclecounter supportAndrew Lenharth2005-11-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24300 91177308-0d34-0410-b5e6-96231b3b80d8
* fix a bunch of regressionsAndrew Lenharth2005-11-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24269 91177308-0d34-0410-b5e6-96231b3b80d8
* whatever. Intermediate patch to see what breaks. Seems ok.Andrew Lenharth2005-11-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24260 91177308-0d34-0410-b5e6-96231b3b80d8
* Make -time-passes output prettierChris Lattner2005-10-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24096 91177308-0d34-0410-b5e6-96231b3b80d8
* silence a release mode warningChris Lattner2005-10-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23868 91177308-0d34-0410-b5e6-96231b3b80d8
* Kill some now-dead code.Nate Begeman2005-10-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23857 91177308-0d34-0410-b5e6-96231b3b80d8
* added a few 1 operand form stuff. Seems to break regalloc on alpha. sighAndrew Lenharth2005-10-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23849 91177308-0d34-0410-b5e6-96231b3b80d8
* This is suppose to work nowAndrew Lenharth2005-10-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23644 91177308-0d34-0410-b5e6-96231b3b80d8
* begining alpha subtarget supportAndrew Lenharth2005-09-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23531 91177308-0d34-0410-b5e6-96231b3b80d8
* Add FP versions of the binary operators, keeping the int and fp worlds seperate.Chris Lattner2005-09-28
| | | | | | | | | Though I have done extensive testing, it is possible that this will break things in configs I can't test. Please let me know if this causes a problem and I'll fix it ASAP. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23505 91177308-0d34-0410-b5e6-96231b3b80d8
* This code is no longer needed, it is moved to the target-indep codeChris Lattner2005-09-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23332 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix up the AssertXext problem, as well as adding it at callsAndrew Lenharth2005-09-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23246 91177308-0d34-0410-b5e6-96231b3b80d8
* revert part of the last change, should fix regressionsAndrew Lenharth2005-09-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23241 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull out Lowering in preperation for multiple ISels. Oh, and get rid of ↵Andrew Lenharth2005-09-02
| | | | | | some stuff git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23220 91177308-0d34-0410-b5e6-96231b3b80d8
* Change ConstantPoolSDNode to actually hold the Constant itself instead ofChris Lattner2005-08-26
| | | | | | | | | putting it into the constant pool. This allows the isel machinery to create constants that it will end up deciding are not needed, without them ending up in the resultant function constant pool. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23081 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix some bugs in the alpha backend, some of which I introduced yesterday,Chris Lattner2005-08-17
| | | | | | | and some that were preexisting. All alpha regtests pass now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22829 91177308-0d34-0410-b5e6-96231b3b80d8
* thinko. Should fix s4addl.ll regressionAndrew Lenharth2005-08-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22817 91177308-0d34-0410-b5e6-96231b3b80d8
* update the backends to work with the new CopyFromReg/CopyToReg/ImplicitDef nodesChris Lattner2005-08-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22807 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement BR_CC and BRTWOWAY_CC. This allows the removal of a rather nastyNate Begeman2005-08-16
| | | | | | | | fixme from the PowerPC backend. Emit slightly better code for legalizing select_cc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22805 91177308-0d34-0410-b5e6-96231b3b80d8
* isIntImmediate is a good Idea. Add a flavor that checks bounds while it is ↵Andrew Lenharth2005-08-15
| | | | | | at it git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22790 91177308-0d34-0410-b5e6-96231b3b80d8
* Update the targets to the new SETCC/CondCodeSDNode interfaces.Chris Lattner2005-08-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22729 91177308-0d34-0410-b5e6-96231b3b80d8
* one more hunk that got droppedChris Lattner2005-08-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22596 91177308-0d34-0410-b5e6-96231b3b80d8
* Update to use the new MathExtras.h support for log2 computation.Chris Lattner2005-08-02
| | | | | | | Patch contributed by Jim Laskey! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22594 91177308-0d34-0410-b5e6-96231b3b80d8
* use llabs not absAndrew Lenharth2005-08-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22569 91177308-0d34-0410-b5e6-96231b3b80d8
* support bsr, and more .td simplificationAndrew Lenharth2005-07-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22543 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate all remaining tabs and trailing spaces.Jeff Cohen2005-07-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22523 91177308-0d34-0410-b5e6-96231b3b80d8
* fix compile errorAndrew Lenharth2005-07-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22508 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle more imm forms, and load small negative i32 constants without hitting ↵Andrew Lenharth2005-07-22
| | | | | | memory (should do the same for arbitrary zero extended small negative constants) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22505 91177308-0d34-0410-b5e6-96231b3b80d8
* simpilfy instruction encoding (and make the lines way shorter, aka Misha ↵Andrew Lenharth2005-07-22
| | | | | | happification) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22499 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix povray and minor cleanupsAndrew Lenharth2005-07-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22397 91177308-0d34-0410-b5e6-96231b3b80d8