aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Patch #9 from Saem:Chris Lattner2006-01-111-124/+147
| | | | | | | | | | | | | "Cut up the runPasses method into smaller pieces. The small private helpers should be easier to deal with when code shuffling arising from creating the new specialised batchers, not to mention, they're much easier to understand. I inlined them, in case function call overhead would be noticeable -- doubtful." git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25213 91177308-0d34-0410-b5e6-96231b3b80d8
* Use Evan's outflag stuff to implement V8cmpicc. This allows us to write aChris Lattner2006-01-114-32/+54
| | | | | | | | pattern for SUBCCrr, and makes it trivial to add support for SUBCCri, eliminating an instruction in the common "setcc X, imm" case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25212 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug in i32->f64 conversion loweringChris Lattner2006-01-112-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25211 91177308-0d34-0410-b5e6-96231b3b80d8
* Unbreak ret void :-/Chris Lattner2006-01-112-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25210 91177308-0d34-0410-b5e6-96231b3b80d8
* Write this pattern in canonical form, allowing more patterns to match.Chris Lattner2006-01-112-2/+2
| | | | | | | This implements Regression/CodeGen/SparcV8/xnor.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25209 91177308-0d34-0410-b5e6-96231b3b80d8
* catch all forms of xnorChris Lattner2006-01-111-0/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25208 91177308-0d34-0410-b5e6-96231b3b80d8
* * Add special entry code main() (to set x87 to 64-bit precision).Evan Cheng2006-01-114-21/+53
| | | | | | | | | | * Allow a register node as SelectAddr() base. * ExternalSymbol -> TargetExternalSymbol as direct function callee. * Use X86::ESP register rather than CopyFromReg(X86::ESP) as stack ptr for call parmater passing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25207 91177308-0d34-0410-b5e6-96231b3b80d8
* Simple is good. CVS is for revision control, not file headersChris Lattner2006-01-111-3/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25206 91177308-0d34-0410-b5e6-96231b3b80d8
* Simple is goodChris Lattner2006-01-111-3/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25205 91177308-0d34-0410-b5e6-96231b3b80d8
* Simple is good, CVS log is for history, not the silly credits blockChris Lattner2006-01-111-4/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25204 91177308-0d34-0410-b5e6-96231b3b80d8
* Preserve and update ETForest. Patch by Daniel BerlinChris Lattner2006-01-111-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25203 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch these to using ETForest instead of DominatorSet to compute itself.Chris Lattner2006-01-112-10/+11
| | | | | | | Patch written by Daniel Berlin! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25202 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch this to using ETForest instead of DominatorSet to compute itself.Chris Lattner2006-01-111-16/+16
| | | | | | | Patch written by Daniel Berlin! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25201 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch loopinfo to using ETForest instead of DominatorSet to compute ↵Chris Lattner2006-01-111-5/+3
| | | | | | itself.Patch by Daniel Berlin! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25200 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch loopinfo to using ETForest instead of DominatorSet to compute itself.Chris Lattner2006-01-111-9/+9
| | | | | | | Patch by Daniel Berlin! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25199 91177308-0d34-0410-b5e6-96231b3b80d8
* cleanup GETFDDuraid Madina2006-01-111-4/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25198 91177308-0d34-0410-b5e6-96231b3b80d8
* this pattern was bogusAndrew Lenharth2006-01-111-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25197 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerate these files. FreeBSD apparently has issues with the version ofChris Lattner2006-01-112-281/+281
| | | | | | | lex/bison Rob used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25196 91177308-0d34-0410-b5e6-96231b3b80d8
* this just might workDuraid Madina2006-01-111-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25195 91177308-0d34-0410-b5e6-96231b3b80d8
* Emit an error instead of an assertion if trying to do bogus things in result ↵Chris Lattner2006-01-111-2/+2
| | | | | | patterns. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25194 91177308-0d34-0410-b5e6-96231b3b80d8
* add support for selecting boolsDuraid Madina2006-01-111-1/+5
| | | | | | | FIXME: this is commented out because it makes tblgen go a bit fruity git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25193 91177308-0d34-0410-b5e6-96231b3b80d8
* implement FP_REG_KILL insertion for the dag-dag instruction selectorChris Lattner2006-01-112-1/+59
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25192 91177308-0d34-0410-b5e6-96231b3b80d8
* Fit into 80 colsChris Lattner2006-01-111-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25191 91177308-0d34-0410-b5e6-96231b3b80d8
* SSE cmov support.Evan Cheng2006-01-113-17/+121
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25190 91177308-0d34-0410-b5e6-96231b3b80d8
* * fp to sint patterns.Evan Cheng2006-01-102-56/+119
| | | | | | | * fiadd, fisub, etc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25189 91177308-0d34-0410-b5e6-96231b3b80d8
* FP_TO_INT*_IN_MEM and x87 FP Select support.Evan Cheng2006-01-103-21/+131
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25188 91177308-0d34-0410-b5e6-96231b3b80d8
* Added constant folding support for the extractelement operation.Robert Bocchino2006-01-104-0/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25187 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcase for extractelement instructionChris Lattner2006-01-101-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25186 91177308-0d34-0410-b5e6-96231b3b80d8
* silence a bogus warningChris Lattner2006-01-101-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25185 91177308-0d34-0410-b5e6-96231b3b80d8
* silence a warningChris Lattner2006-01-101-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25184 91177308-0d34-0410-b5e6-96231b3b80d8
* Expanded the documentation for constant expressions to cover selectRobert Bocchino2006-01-101-0/+10
| | | | | | | and extractelement. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25183 91177308-0d34-0410-b5e6-96231b3b80d8
* Int immediate loading fixAndrew Lenharth2006-01-101-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25182 91177308-0d34-0410-b5e6-96231b3b80d8
* Added support for the extractelement operation.Robert Bocchino2006-01-106-81/+156
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25181 91177308-0d34-0410-b5e6-96231b3b80d8
* Added lower packed support for the extractelement operation.Robert Bocchino2006-01-102-0/+43
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25180 91177308-0d34-0410-b5e6-96231b3b80d8
* Added selection DAG support for the extractelement operation.Robert Bocchino2006-01-101-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25179 91177308-0d34-0410-b5e6-96231b3b80d8
* Added bytecode support for the extractelement operation.Robert Bocchino2006-01-101-0/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25178 91177308-0d34-0410-b5e6-96231b3b80d8
* Added lexer and parser support for the extractelement operation.Robert Bocchino2006-01-105-1106/+1164
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25177 91177308-0d34-0410-b5e6-96231b3b80d8
* Added an instruction and constant expression for the extractelementRobert Bocchino2006-01-104-1/+55
| | | | | | | operation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25176 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR411:Reid Spencer2006-01-104-0/+650
| | | | | | | | First step in refactoring the SymbolTable is to split it into two classes, one for a symbol table of types and one for a symbol table of Values. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25175 91177308-0d34-0410-b5e6-96231b3b80d8
* Make ValueSymbolTable (temporarily) a friend of Value so it can mod theReid Spencer2006-01-101-1/+2
| | | | | | | Name of Value instances. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25174 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor cleanup, no functionality change for current targetsChris Lattner2006-01-101-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25173 91177308-0d34-0410-b5e6-96231b3b80d8
* heh, 'sif it'd be a legalizer bug.Duraid Madina2006-01-101-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25172 91177308-0d34-0410-b5e6-96231b3b80d8
* support functions that return bool (this "should" work but doesn't,Duraid Madina2006-01-101-10/+10
| | | | | | | *maybe* due to a legalizer bug.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25171 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove unused inclusion of SymbolTable.hReid Spencer2006-01-101-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25170 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR521:Reid Spencer2006-01-104-23/+56
| | | | | | | | | | With these patches we implement the ability for the Linker library to keep track of which libraries were actually bytecode files (not archives) and cause their users to remove such files from the list of libraries to pass to the native linker. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25169 91177308-0d34-0410-b5e6-96231b3b80d8
* Be a little more explanatory in a comment.Reid Spencer2006-01-101-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25168 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove a comment that no longer applies.Nate Begeman2006-01-101-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25167 91177308-0d34-0410-b5e6-96231b3b80d8
* Give PPCISD:: nodes legible names in dumps.Chris Lattner2006-01-092-0/+23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25166 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix an exponential function in libcall insertion to not be exponential. :)Chris Lattner2006-01-091-6/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25165 91177308-0d34-0410-b5e6-96231b3b80d8
* add ret void support backChris Lattner2006-01-091-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25164 91177308-0d34-0410-b5e6-96231b3b80d8