Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Emit function entry code after lowering hte arguments. | Chris Lattner | 2005-05-13 | 1 | -2/+2 | |
| | | | | llvm-svn: 21931 | |||||
* | Allow targets to emit code into the entry block of each function | Chris Lattner | 2005-05-13 | 1 | -0/+2 | |
| | | | | llvm-svn: 21930 | |||||
* | allow a virtual register to be associated with live-in values. | Chris Lattner | 2005-05-13 | 2 | -8/+8 | |
| | | | | llvm-svn: 21927 | |||||
* | Fix a problem that nate reduced for me. | Chris Lattner | 2005-05-13 | 1 | -1/+2 | |
| | | | | llvm-svn: 21923 | |||||
* | rename variables and functions to match renamed DAG nodes. Bonus feature: | Chris Lattner | 2005-05-13 | 1 | -32/+32 | |
| | | | | | | I can actually remember which one is which now! llvm-svn: 21922 | |||||
* | do not call expandop on the same value more than once. This fixes | Chris Lattner | 2005-05-13 | 1 | -4/+5 | |
| | | | | | | X86/2004-02-22-Casts.llx llvm-svn: 21919 | |||||
* | fix a bad typeo | Chris Lattner | 2005-05-12 | 1 | -2/+2 | |
| | | | | llvm-svn: 21917 | |||||
* | update comment | Chris Lattner | 2005-05-12 | 1 | -1/+1 | |
| | | | | llvm-svn: 21916 | |||||
* | rename the ADJCALLSTACKDOWN/ADJCALLSTACKUP nodes to be CALLSEQ_START/BEGIN. | Chris Lattner | 2005-05-12 | 2 | -22/+22 | |
| | | | | llvm-svn: 21915 | |||||
* | Pass calling convention to use into lower call to | Chris Lattner | 2005-05-12 | 2 | -7/+8 | |
| | | | | llvm-svn: 21900 | |||||
* | fix expansion of ct[lt]z nodes | Chris Lattner | 2005-05-12 | 1 | -0/+2 | |
| | | | | llvm-svn: 21896 | |||||
* | Expand 64-bit ctlz/cttz nodes for 32-bit targets | Chris Lattner | 2005-05-12 | 1 | -4/+28 | |
| | | | | llvm-svn: 21895 | |||||
* | Fix uint->fp casts on PPC, allowing UnitTests/2005-05-12-Int64ToFP to | Chris Lattner | 2005-05-12 | 1 | -4/+3 | |
| | | | | | | work on it. llvm-svn: 21894 | |||||
* | Allow something to be legalized multiple times. This can be used to reduce | Chris Lattner | 2005-05-12 | 1 | -12/+30 | |
| | | | | | | legalization iteration llvm-svn: 21892 | |||||
* | Oops, don't do this after we figure out where to insert the call chains. | Chris Lattner | 2005-05-12 | 1 | -6/+6 | |
| | | | | llvm-svn: 21890 | |||||
* | Make sure to expand all nodes, avoiding unintentional node duplication. | Chris Lattner | 2005-05-12 | 1 | -0/+7 | |
| | | | | llvm-svn: 21889 | |||||
* | handle a common case generated by the uint64 -> FP code path better | Chris Lattner | 2005-05-12 | 1 | -1/+17 | |
| | | | | llvm-svn: 21888 | |||||
* | add fixme | Chris Lattner | 2005-05-12 | 1 | -0/+1 | |
| | | | | llvm-svn: 21887 | |||||
* | Fix a problem where early legalization can cause token chain problems. | Chris Lattner | 2005-05-12 | 1 | -7/+8 | |
| | | | | llvm-svn: 21885 | |||||
* | Make legalize a bit more efficient, and canonicalize sub X, C -> add X, -C | Chris Lattner | 2005-05-12 | 2 | -8/+12 | |
| | | | | llvm-svn: 21882 | |||||
* | Necessary changes to codegen cttz efficiently on PowerPC | Nate Begeman | 2005-05-11 | 1 | -3/+13 | |
| | | | | | | | | | | 1. Teach LegalizeDAG how to better legalize CTTZ if the target doesn't have CTPOP, but does have CTLZ 2. Teach PPC32 how to do sub x, const -> add x, -const for valid consts 3. Teach PPC32 how to do and (xor a, -1) b -> andc b, a 4. Teach PPC32 that ISD::CTLZ -> PPC::CNTLZW llvm-svn: 21880 | |||||
* | Fix lowering of ctlz, so now UnitTests/2005-05-11-Popcount-ffs-fls passes | Chris Lattner | 2005-05-11 | 1 | -40/+26 | |
| | | | | | | with the CBE llvm-svn: 21875 | |||||
* | Fix lowering of cttz to work with signed values | Chris Lattner | 2005-05-11 | 1 | -5/+4 | |
| | | | | llvm-svn: 21874 | |||||
* | fix and concisify intinsic lowering for ctpop. Unfortunately, this code | Chris Lattner | 2005-05-11 | 1 | -167/+61 | |
| | | | | | | looks completely untested. :( llvm-svn: 21873 | |||||
* | Fix the last remaining bug preventing us from switching the X86 BE over | Chris Lattner | 2005-05-11 | 1 | -30/+68 | |
| | | | | | | | | | from the simple isel to the pattern isel. This forces inserted libcalls to serialize against other function calls, which was breaking UnitTests/2005-05-12-Int64ToFP. Hopefully this will fix issues on other targets as well. llvm-svn: 21872 | |||||
* | Do not memoize ADJCALLSTACKDOWN nodes, provide a method to hack on them. | Chris Lattner | 2005-05-11 | 1 | -3/+24 | |
| | | | | llvm-svn: 21871 | |||||
* | wrap long line | Chris Lattner | 2005-05-11 | 1 | -1/+2 | |
| | | | | llvm-svn: 21870 | |||||
* | Make sure to legalize generated ctpop nodes, convert tabs to spaces | Chris Lattner | 2005-05-11 | 1 | -18/+18 | |
| | | | | llvm-svn: 21868 | |||||
* | expand count-leading/trailing-zeros; the test 2005-05-11-Popcount-ffs-fls.c | Duraid Madina | 2005-05-11 | 1 | -19/+32 | |
| | | | | | | should now pass (the "LLVM" and "REF" results should be identical) llvm-svn: 21866 | |||||
* | Add some notes for expanding clz/ctz | Chris Lattner | 2005-05-11 | 1 | -4/+21 | |
| | | | | llvm-svn: 21862 | |||||
* | Simplify this code, use the proper shift amount | Chris Lattner | 2005-05-11 | 1 | -11/+10 | |
| | | | | llvm-svn: 21861 | |||||
* | Legalize this correctly | Chris Lattner | 2005-05-11 | 1 | -1/+3 | |
| | | | | llvm-svn: 21859 | |||||
* | implement expansion of ctpop nodes, implementing ↵ | Chris Lattner | 2005-05-11 | 1 | -5/+16 | |
| | | | | | | CodeGen/Generic/llvm-ct-intrinsics.ll llvm-svn: 21856 | |||||
* | Print bit count nodes correctly | Chris Lattner | 2005-05-11 | 1 | -0/+6 | |
| | | | | llvm-svn: 21855 | |||||
* | Silence some VC++ warnings | Jeff Cohen | 2005-05-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 21838 | |||||
* | The semantics of cast X to bool are a comparison against zero, not a truncation! | Chris Lattner | 2005-05-09 | 1 | -0/+5 | |
| | | | | llvm-svn: 21833 | |||||
* | legalize readio/writeio into a load/store if requested | Chris Lattner | 2005-05-09 | 1 | -5/+55 | |
| | | | | llvm-svn: 21827 | |||||
* | legalize READPORT, WRITEPORT, READIO, WRITEIO, at least in the basic cases | Chris Lattner | 2005-05-09 | 1 | -9/+43 | |
| | | | | | | | where they are directly supported by the architecture. Wrap a bunch of long lines :( llvm-svn: 21826 | |||||
* | Add support for matching the READPORT, WRITEPORT, READIO, WRITEIO intrinsics | Chris Lattner | 2005-05-09 | 1 | -14/+28 | |
| | | | | llvm-svn: 21825 | |||||
* | Add support for READPORT, WRITEPORT, READIO, WRITEIO | Chris Lattner | 2005-05-09 | 1 | -1/+10 | |
| | | | | llvm-svn: 21824 | |||||
* | Fold shifts into subsequent SHL's. These shifts often arise due to addrses | Chris Lattner | 2005-05-09 | 1 | -0/+28 | |
| | | | | | | arithmetic lowering. llvm-svn: 21818 | |||||
* | Don't use the load/store instruction as the source pointer, use the pointer | Chris Lattner | 2005-05-09 | 2 | -2/+4 | |
| | | | | | | being stored/loaded through! llvm-svn: 21806 | |||||
* | memoize all nodes, even null Value* nodes. Do not add two token chain outputs | Chris Lattner | 2005-05-09 | 1 | -7/+5 | |
| | | | | llvm-svn: 21805 | |||||
* | wrap long lines | Chris Lattner | 2005-05-09 | 1 | -2/+4 | |
| | | | | llvm-svn: 21804 | |||||
* | Print SrcValue nodes correctly | Chris Lattner | 2005-05-09 | 2 | -0/+11 | |
| | | | | llvm-svn: 21803 | |||||
* | Wrap long lines. Fix "warning: conflicting types for built-in function ↵ | Chris Lattner | 2005-05-08 | 1 | -8/+15 | |
| | | | | | | | | 'memset'" warning from the CBE+GCC. llvm-svn: 21779 | |||||
* | * Order #includes alphabetically | Misha Brukman | 2005-05-05 | 1 | -4/+1 | |
| | | | | | | * Remove commented-out debug printouts llvm-svn: 21707 | |||||
* | When hitting an unsupported intrinsic, actually print it | Chris Lattner | 2005-05-05 | 1 | -0/+10 | |
| | | | | | | Lower debug info to noops. llvm-svn: 21698 | |||||
* | ctpop lowering in legalize | Andrew Lenharth | 2005-05-05 | 1 | -1/+33 | |
| | | | | llvm-svn: 21697 | |||||
* | Make promoteOp work for CT* | Andrew Lenharth | 2005-05-04 | 1 | -0/+28 | |
| | | | | | | | | | | | | | | | | | | | | Proof? ubyte %bar(ubyte %x) { entry: %tmp.1 = call ubyte %llvm.ctlz( ubyte %x ) ret ubyte %tmp.1 } ==> zapnot $16,1,$0 CTLZ $0,$0 subq $0,56,$0 zapnot $0,1,$0 ret $31,($26),1 llvm-svn: 21691 |