summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Handle expanding arguments to ISD::TRUNCATE. This happens on PowerPC whenNate Begeman2005-04-041-1/+3
| | | | | | you have something like i16 = truncate i64. This fixes Regression/C/casts llvm-svn: 21073
* Fix sign_extend and zero_extend of promoted value types to expanded valueChris Lattner2005-04-031-3/+27
| | | | | | types. This occurs when casting short to long on PPC for example. llvm-svn: 21072
* Full varargs support. All of UnitTests now passesNate Begeman2005-04-031-5/+15
| | | | llvm-svn: 21070
* Pass the correct value for the chain to the storeNate Begeman2005-04-031-3/+2
| | | | llvm-svn: 21066
* Fix SHL_PARTSNate Begeman2005-04-031-2/+10
| | | | | | Start implementation of integer varargs llvm-svn: 21065
* is this simpler? I think it is simpler.Andrew Lenharth2005-04-031-85/+83
| | | | llvm-svn: 21064
* fix 101 regressionsAndrew Lenharth2005-04-031-3/+3
| | | | llvm-svn: 21063
* .bss is no problem here.Duraid Madina2005-04-031-1/+0
| | | | llvm-svn: 21061
* Keeping up with the Joneses.Nate Begeman2005-04-031-10/+51
| | | | | | Implement not, nor, nand, and eqv llvm-svn: 21060
* Select optimizationAndrew Lenharth2005-04-022-56/+143
| | | | llvm-svn: 21051
* Try several things. 1) drop /i from FP ops 2) factor out FP to Int moves ↵Andrew Lenharth2005-04-022-94/+120
| | | | | | and provide 21264 support for those 3) match not 4) match ornot andnot xornot llvm-svn: 21046
* fix some VC compilation problems, thanks to Jeff C for pointing this out!Chris Lattner2005-04-021-4/+3
| | | | llvm-svn: 21044
* EquivClassGraphs is now in DataStructure.hChris Lattner2005-04-022-3/+1
| | | | llvm-svn: 21042
* use a callee_iterator typedef.Chris Lattner2005-04-023-9/+7
| | | | llvm-svn: 21038
* Change the ActualCallees callgraph from hash_multimap<Instruction,Function>Chris Lattner2005-04-025-78/+40
| | | | | | | | | to std::set<std::pair<Inst,Func>> to avoid duplicate entries. This speeds up the CompleteBU pass from 1.99s to .15s on povray and the eqgraph passes from 1.5s to .16s on the same. llvm-svn: 21031
* FNEG/FABS/UNDEFAndrew Lenharth2005-04-021-3/+13
| | | | llvm-svn: 21029
* FNEG/FABSAndrew Lenharth2005-04-021-4/+17
| | | | llvm-svn: 21028
* ia64 asmprinter fixes:Duraid Madina2005-04-021-7/+11
| | | | | | | | | - turn off assembler's autoalignment - set FunctionAddrPrefix/Suffix so that .data8 entries pointing to functions have their value wrapped in @fptr(), so that a function descriptor will be materialized for that function. llvm-svn: 21025
* add support for prefix/suffix strings to go around GlobalValue(s)Duraid Madina2005-04-021-5/+10
| | | | | | | | | | | (which may or be function pointers) in the asmprinter. For the moment, this changes nothing, except the IA64 backend which can use this to write: data8.ua @fptr(blah__blah__mangled_function_name) (by setting FunctionAddrPrefix/Suffix to "@fptr(" / ")") llvm-svn: 21024
* support IDEF, fnegabs (thanks sampo)Duraid Madina2005-04-021-2/+14
| | | | llvm-svn: 21023
* add fnegabs opDuraid Madina2005-04-021-0/+2
| | | | llvm-svn: 21022
* Set shift amount to ExtendNate Begeman2005-04-022-24/+105
| | | | | | | | Implement ISD::FABS and ISD::FNEG nodes Implement SHL_PARTS, SRL_PARTS, and SRA_PARTS Generate PowerPC 'fneg', 'fabs', and 'fnabs' instructions llvm-svn: 21018
* add support for FABS and FNEGChris Lattner2005-04-021-4/+10
| | | | llvm-svn: 21015
* transform fabs/fabsf calls into FABS nodes.Chris Lattner2005-04-021-29/+39
| | | | llvm-svn: 21014
* Expand fabs into fnegChris Lattner2005-04-021-1/+9
| | | | llvm-svn: 21013
* add support FNEG and FABSDuraid Madina2005-04-022-5/+19
| | | | llvm-svn: 21012
* Turn -0.0 - X -> fnegChris Lattner2005-04-021-1/+13
| | | | llvm-svn: 21011
* This target doesn't support fabs/fneg yet.Chris Lattner2005-04-024-0/+15
| | | | llvm-svn: 21010
* Several changes mixed up here. First when legalizing a DAG with pcmarker,Chris Lattner2005-04-021-12/+57
| | | | | | | | | dont' regen the whole dag if unneccesary. Second, fix and ugly bug with the _PARTS nodes that caused legalize to produce multiples of them. Finally, implement initial support for FABS and FNEG. Currently FNEG is the only one to be trusted though. llvm-svn: 21009
* print fneg/fabsChris Lattner2005-04-021-0/+5
| | | | llvm-svn: 21008
* add an fabs instrChris Lattner2005-04-021-0/+1
| | | | llvm-svn: 21006
* Add support for 64-bit shifts.Chris Lattner2005-04-021-16/+84
| | | | llvm-svn: 21005
* fix some bugs in the implementation of SHL_PARTS and friends.Chris Lattner2005-04-022-11/+38
| | | | llvm-svn: 21004
* Turn expanded shift operations into (e.g.) SHL_PARTS if the target supports it.Chris Lattner2005-04-021-9/+39
| | | | llvm-svn: 21002
* Print some new nodesChris Lattner2005-04-021-1/+6
| | | | llvm-svn: 21001
* Fix a bug when inserting a libcall into a function with no other calls.Chris Lattner2005-04-021-2/+4
| | | | llvm-svn: 20999
* Fix i64 returnsNate Begeman2005-04-021-8/+9
| | | | | | Generate PowerPC 'subfic' instruction when appropriate llvm-svn: 20995
* Fix a warning about an unhandled switch caseNate Begeman2005-04-021-3/+4
| | | | llvm-svn: 20994
* Add support for ISD::UNDEF to the X86 beChris Lattner2005-04-011-0/+8
| | | | llvm-svn: 20990
* Add ISD::UNDEF nodeNate Begeman2005-04-013-41/+92
| | | | | | | | | Teach the SelectionDAG code how to expand and promote it Have PPC32 LowerCallTo generate ISD::UNDEF for int arg regs used up by fp arguments, but not shadowing their value. This allows us to do the right thing with both fixed and vararg floating point arguments. llvm-svn: 20988
* Fix another PATypeHolder error, contributed by Bill Wendling!Chris Lattner2005-04-011-0/+1
| | | | llvm-svn: 20983
* repair mindless SELECT waste.Duraid Madina2005-04-011-15/+5
| | | | llvm-svn: 20982
* Fix Olden/bh, CR0 was being set in the wrong orderNate Begeman2005-04-011-5/+3
| | | | | | | LowerCallTo and ISD::CALL are going to need to be modified, regs are being set in the wrong order. llvm-svn: 20981
* Also apply Chris's fix to FP select and SETCCNate Begeman2005-04-011-6/+8
| | | | llvm-svn: 20979
* Move the selection of the arms of the select operation up to the conditionalChris Lattner2005-04-011-2/+3
| | | | | | part to make sure we get the side effects and to avoid confusing the CFG. llvm-svn: 20977
* print the machine CFG in the -print-machineinstrs dumpChris Lattner2005-04-011-0/+8
| | | | llvm-svn: 20976
* Fix stores to global addressesNate Begeman2005-04-011-7/+3
| | | | | | Fix calls with no arguments llvm-svn: 20975
* Support indexed loads and stores. This drops Shootout/matrix time fromNate Begeman2005-04-011-11/+40
| | | | | | | 18.8 to 14.8 seconds. The Pattern ISel is now often faster than the Simple ISel, esp. on memory intensive code. llvm-svn: 20973
* Implement FP_TO_SINT and FP_TO_UINTNate Begeman2005-04-011-11/+86
| | | | llvm-svn: 20972
* Add support for adding 0.0 and -0.0 to the constant pool, since we lie andNate Begeman2005-04-011-3/+11
| | | | | | say that we support them, for the purposes of generating fsel instructions. llvm-svn: 20970
OpenPOWER on IntegriCloud