summaryrefslogtreecommitdiff
path: root/lib/Target/Alpha/AlphaISelPattern.cpp
Commit message (Collapse)AuthorAge
...
* Change *EXTLOAD to use an VTSDNode operand instead of being an MVTSDNode.Chris Lattner2005-07-10
| | | | | | | | | | | | | This is the last MVTSDNode. This allows us to eliminate a bunch of special case code for handling MVTSDNodes. Also, remove some uses of dyn_cast that should really be cast (which is cheaper in a release build). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22368 91177308-0d34-0410-b5e6-96231b3b80d8
* Change TRUNCSTORE to use a VTSDNode operand instead of being an MVTSTDNodeChris Lattner2005-07-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22366 91177308-0d34-0410-b5e6-96231b3b80d8
* clean up prolouge and epilougeAndrew Lenharth2005-07-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22346 91177308-0d34-0410-b5e6-96231b3b80d8
* Make several cleanups to Andrews varargs change:Chris Lattner2005-07-05
| | | | | | | | | | | | | 1. Pass Value*'s into lowering methods so that the proper pointers can be added to load/stores from the valist 2. Intrinsics that return void should only return a token chain, not a token chain/retval pair. 3. Rename LowerVAArgNext -> LowerVAArg, because VANext is long gone. 4. Now that we have Value*'s available in the lowering methods, pass them into any load/stores from the valist that are emitted git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22339 91177308-0d34-0410-b5e6-96231b3b80d8
* check the correct VTAndrew Lenharth2005-07-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22332 91177308-0d34-0410-b5e6-96231b3b80d8
* fix loading address of fp symbolsAndrew Lenharth2005-07-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22331 91177308-0d34-0410-b5e6-96231b3b80d8
* simplify call code, remove pseudo ops for div and rem, track more loads and ↵Andrew Lenharth2005-07-01
| | | | | | stores git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22322 91177308-0d34-0410-b5e6-96231b3b80d8
* restore old srcValueNode behavior and try to to work around itAndrew Lenharth2005-06-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22315 91177308-0d34-0410-b5e6-96231b3b80d8
* tracking the instructions causing loads and stores provides more information ↵Andrew Lenharth2005-06-29
| | | | | | than just the pointer being loaded or stored git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22311 91177308-0d34-0410-b5e6-96231b3b80d8
* thinkoAndrew Lenharth2005-06-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22309 91177308-0d34-0410-b5e6-96231b3b80d8
* unify SelectExpr and SelectFPAndrew Lenharth2005-06-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22308 91177308-0d34-0410-b5e6-96231b3b80d8
* fix most regressionsAndrew Lenharth2005-06-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22307 91177308-0d34-0410-b5e6-96231b3b80d8
* support more relocations for stores alsoAndrew Lenharth2005-06-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22306 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of all symbolic loads. I now do gernate all relocations sequencesAndrew Lenharth2005-06-29
| | | | | | | | rather than relying on the assembler. Only a few more pseudo instructions left. Also merge load code paths. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22305 91177308-0d34-0410-b5e6-96231b3b80d8
* So, it turns out I forgot that one valid way of restoring GP after a callAndrew Lenharth2005-06-27
| | | | | | | | is to use RA, which assumes the called function uses RA for the register holding the return address when it issues a ret. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22301 91177308-0d34-0410-b5e6-96231b3b80d8
* get rid of another pseudo opAndrew Lenharth2005-06-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22299 91177308-0d34-0410-b5e6-96231b3b80d8
* generate address of constant pool entriesAndrew Lenharth2005-06-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22298 91177308-0d34-0410-b5e6-96231b3b80d8
* Misha happification patchAndrew Lenharth2005-06-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22297 91177308-0d34-0410-b5e6-96231b3b80d8
* Reduce use of pseudo opsAndrew Lenharth2005-06-27
| | | | | | | | Namely, output the rellocation flags explicitly when loading constants. Added benifit: save a load when loading from the constant pool. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22296 91177308-0d34-0410-b5e6-96231b3b80d8
* missed a loadAndrew Lenharth2005-06-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22295 91177308-0d34-0410-b5e6-96231b3b80d8
* who said we had to use the return address in the return address register. ↵Andrew Lenharth2005-06-27
| | | | | | Might save a move in many cases git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22293 91177308-0d34-0410-b5e6-96231b3b80d8
* depend more on legalize putting constants on the RHSAndrew Lenharth2005-06-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22289 91177308-0d34-0410-b5e6-96231b3b80d8
* With setOperationAction(ISD::UINT_TO_FP, MVT::i64, Expand), LegalizeAndrew Lenharth2005-06-26
| | | | | | | | should be able to handle this case. The code is there, so let's see if it works. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22288 91177308-0d34-0410-b5e6-96231b3b80d8
* remove a pseudo instruction, make ret always right, and fix vararg chainsAndrew Lenharth2005-06-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22276 91177308-0d34-0410-b5e6-96231b3b80d8
* finally, Working varargsAndrew Lenharth2005-06-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22275 91177308-0d34-0410-b5e6-96231b3b80d8
* more complete Lowering for vacopy and vaargAndrew Lenharth2005-06-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22274 91177308-0d34-0410-b5e6-96231b3b80d8
* Make it easier to find alpha stuff in doxygen, and fixup labelingAndrew Lenharth2005-06-22
| | | | | | | | of memory instructions in the assembly, to allow later linking of traces with LLVM Value*s. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22271 91177308-0d34-0410-b5e6-96231b3b80d8
* core changes for varargsAndrew Lenharth2005-06-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22254 91177308-0d34-0410-b5e6-96231b3b80d8
* fix BranchCC with a setCC with an arg of 0Andrew Lenharth2005-06-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22203 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix spelling of `correlate'Misha Brukman2005-06-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22196 91177308-0d34-0410-b5e6-96231b3b80d8
* allow marking of loads and stores in the instruction stream with enough ↵Andrew Lenharth2005-06-06
| | | | | | information to reconstruct the Value* if it existed git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22195 91177308-0d34-0410-b5e6-96231b3b80d8
* * Replace block of commented-out lines with #if 0Misha Brukman2005-06-06
| | | | | | | * Remove warning "control reaches end of non-void function" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22193 91177308-0d34-0410-b5e6-96231b3b80d8
* try custom expanders, doesn't seem to expand yet, so disabledAndrew Lenharth2005-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22188 91177308-0d34-0410-b5e6-96231b3b80d8
* switch to the new live in thing. Really, this time it worksAndrew Lenharth2005-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22187 91177308-0d34-0410-b5e6-96231b3b80d8
* switch to the new live in thingAndrew Lenharth2005-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22186 91177308-0d34-0410-b5e6-96231b3b80d8
* switch to the new live in thingAndrew Lenharth2005-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22185 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix 2005-05-12-Int64ToFPAndrew Lenharth2005-05-26
| | | | | | | | | | The issue is there is no unsigned -> double conversion, only signed. So I need to test the sign and do a different thing depending on it. Ideally this should be in a different BB, but in the mean time, I use a branch free method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22177 91177308-0d34-0410-b5e6-96231b3b80d8
* treat TAILCALL nodes identically to CALL nodesChris Lattner2005-05-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21977 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an isTailCall flag to LowerCallToChris Lattner2005-05-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21958 91177308-0d34-0410-b5e6-96231b3b80d8
* rename the ADJCALLSTACKDOWN/ADJCALLSTACKUP nodes to be CALLSEQ_START/BEGIN.Chris Lattner2005-05-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21915 91177308-0d34-0410-b5e6-96231b3b80d8
* Pass in Calling Convention to use into LowerCallToChris Lattner2005-05-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21899 91177308-0d34-0410-b5e6-96231b3b80d8
* fix typoAndrew Lenharth2005-05-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21693 91177308-0d34-0410-b5e6-96231b3b80d8
* Well, add support for ct* for 21264 only.Andrew Lenharth2005-05-04
| | | | | | | 21164 is broken until expand works. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21692 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement count leading zeros (ctlz), count trailing zeros (cttz), and countAndrew Lenharth2005-05-03
| | | | | | | | | | population (ctpop). Generic lowering is implemented, however only promotion is implemented for SelectionDAG at the moment. More coming soon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21676 91177308-0d34-0410-b5e6-96231b3b80d8
* I was sure I had thought about this and there was a reason it should work.Andrew Lenharth2005-04-30
| | | | | | | But it is entirely possible I am just crazy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21640 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate some random whitespaceChris Lattner2005-04-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21637 91177308-0d34-0410-b5e6-96231b3b80d8
* This target doesn't support the FSIN/FCOS/FSQRT nodes yetChris Lattner2005-04-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21633 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement Value* tracking for loads and stores in the selection DAG. This ↵Andrew Lenharth2005-04-27
| | | | | | | | | enables one to use alias analysis in the backends. (TRUNK)Stores and (EXT|ZEXT|SEXT)Loads have an extra SDOperand which is a SrcValueSDNode which contains the Value*. Note that if the operation is introduced by the backend, it will still have the operand, but the value* will be null. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21599 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert tabs to spacesMisha Brukman2005-04-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21452 91177308-0d34-0410-b5e6-96231b3b80d8
* keep track of max depth statsAndrew Lenharth2005-04-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21446 91177308-0d34-0410-b5e6-96231b3b80d8