summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Split PrintSectionFlagsAnton Korobeynikov2008-07-092-81/+70
| | | | llvm-svn: 53302
* Split UniqueSectionForGlobal()Anton Korobeynikov2008-07-092-33/+29
| | | | llvm-svn: 53301
* Split PreferredEHDataFormat hookAnton Korobeynikov2008-07-092-54/+87
| | | | llvm-svn: 53300
* Split X86TargetAsmInfo into 4 subtarget-specific classesAnton Korobeynikov2008-07-093-191/+220
| | | | llvm-svn: 53299
* Whitespace cleanupAnton Korobeynikov2008-07-091-16/+16
| | | | llvm-svn: 53298
* Move flag decoding stuff into special hookAnton Korobeynikov2008-07-092-17/+25
| | | | llvm-svn: 53297
* Properly handle linkonce stuffAnton Korobeynikov2008-07-093-30/+107
| | | | llvm-svn: 53296
* Provide skeletone code for calculation of section, where global should be ↵Anton Korobeynikov2008-07-093-4/+98
| | | | | | emitted into llvm-svn: 53295
* Use 'llvm-linkonce' consistentlyAnton Korobeynikov2008-07-091-3/+3
| | | | llvm-svn: 53294
* Add default section name resolution routineAnton Korobeynikov2008-07-091-0/+12
| | | | llvm-svn: 53292
* ConstifyAnton Korobeynikov2008-07-091-1/+1
| | | | llvm-svn: 53291
* Add code for default section falgs computationAnton Korobeynikov2008-07-091-0/+63
| | | | llvm-svn: 53290
* Remove some unneeded includes.Duncan Sands2008-07-092-4/+0
| | | | llvm-svn: 53289
* Redo LegalizeTypes soft float support forDuncan Sands2008-07-092-96/+103
| | | | | | | | | SINT_TO_FP and UINT_TO_FP. This now produces the same code as LegalizeDAG (the previous code was based on a mistaken idea of what LegalizeDAG did in this case). llvm-svn: 53288
* Forgot to update the chain result when softeningDuncan Sands2008-07-091-12/+21
| | | | | | loads. llvm-svn: 53287
* LegalizeTypes soft float support for FP_TO_SINT andDuncan Sands2008-07-092-4/+134
| | | | | | FP_TO_UINT. llvm-svn: 53286
* LegalizeTypes support for powi soft float.Duncan Sands2008-07-092-3/+16
| | | | llvm-svn: 53285
* Make the role of MVT::i32 clearer here, and add aDuncan Sands2008-07-091-3/+4
| | | | | | note since it is not clear whether it is correct. llvm-svn: 53284
* Simplify, suggested by Chris Lattner.Nick Lewycky2008-07-091-1/+1
| | | | llvm-svn: 53283
* Fold (a < 8) && (b < 8) into (a|b) < 8 for unsigned less or greater than.Nick Lewycky2008-07-091-0/+16
| | | | llvm-svn: 53282
* Missed alignment argument on stores lowered from memcpy.Evan Cheng2008-07-091-1/+1
| | | | llvm-svn: 53281
* Back out 53254. It broke ppc debug info codegen.Evan Cheng2008-07-093-23/+15
| | | | llvm-svn: 53280
* Make the DICountVisitor not a visitor. This keeps us from calling virtualBill Wendling2008-07-091-33/+154
| | | | | | functions and junk. llvm-svn: 53279
* Silence warning by initializing variable.Bill Wendling2008-07-091-1/+1
| | | | llvm-svn: 53278
* Fixed features usage.Bruno Cardoso Lopes2008-07-095-23/+25
| | | | llvm-svn: 53277
* Fold ((1 << a) & 1) to (a == 0).Nick Lewycky2008-07-091-0/+12
| | | | llvm-svn: 53276
* Add a little wrapper header that is put around bc files when emittingChris Lattner2008-07-093-3/+131
| | | | | | | | | | | | | | | | bc files for modules with a target triple that indicates they are for darwin. The reader unconditionally handles this, and the writer could turn this on for more targets if we care. This change has two benefits for darwin: 1) it allows us to encode the cpu type of the file in an easy to read place that doesn't require decoding the bc file. 2) it works around a bug (IMO) in darwin's AR where it is incapable of handling files that are not a multiple of 8 bytes long. BC files are only guaranteed to be multiples of 4 bytes long. llvm-svn: 53275
* random bugfix sitting in my tree.Chris Lattner2008-07-091-1/+2
| | | | llvm-svn: 53274
* Fixe typos and 80 column size problemsBruno Cardoso Lopes2008-07-099-25/+28
| | | | llvm-svn: 53272
* Reduce x - y to -y when we know the 'x' part will get masked off anyways.Nick Lewycky2008-07-091-1/+12
| | | | llvm-svn: 53271
* MipsTargetLowering cleanupBruno Cardoso Lopes2008-07-092-34/+40
| | | | llvm-svn: 53270
* Remove getValueRange from SCEV. It wasn't doing anything there anyways, and aNick Lewycky2008-07-091-31/+0
| | | | | | more complete version is now available from the LoopVR pass. llvm-svn: 53269
* Consistently put quotes around pass names in debugging output.Dan Gohman2008-07-091-8/+8
| | | | llvm-svn: 53268
* If loop induction variable's start value is less then its exit value then do ↵Devang Patel2008-07-091-0/+13
| | | | | | not split the loop. llvm-svn: 53265
* const-ify SelectionDAG::getNodeValueTypes.Dan Gohman2008-07-091-2/+2
| | | | llvm-svn: 53264
* It's no longer necessary to test if a MachineBasicBlock'sDan Gohman2008-07-081-2/+1
| | | | | | parent is non-null. It now always is. llvm-svn: 53263
* Verify that MachineMemOperand alignment is a non-zero power of 2.Dan Gohman2008-07-081-0/+1
| | | | llvm-svn: 53262
* Factor out the code for computing an alignment value, and make itDan Gohman2008-07-081-38/+32
| | | | | | | available to getAtomic in addition to just getLoad and getStore, to prevent MachineMemOperands with 0 alignment. llvm-svn: 53261
* Fix the build. Apparently MachineInstr& is no longer implicitly convertable ↵Owen Anderson2008-07-081-1/+1
| | | | | | to MachineBasicBlock::iterator. llvm-svn: 53260
* Make the local register allocator compute (purely local) liveness ↵Owen Anderson2008-07-081-4/+118
| | | | | | | | | information for itself rather than depending on LiveVariables. This decreases compile time from: 0.5909s (LV + Regalloc) to 0.421s (just regalloc). llvm-svn: 53256
* Make debug info come out in data-only files.Dale Johannesen2008-07-083-15/+23
| | | | | | | | | | | This is a question of the debugging setup code not being called at the right time, and it's called from target-dependent code for some reason. I have only attempted to fix Darwin, but I'm pretty sure it's broken elsewhere; I'll leave that to people who can test it. llvm-svn: 53254
* Remove some dead code.Dale Johannesen2008-07-081-2/+0
| | | | llvm-svn: 53253
* Do not CSE DEBUG_LOC, DBG_LABEL, DBG_STOPPOINT, DECLARE, and EH_LABEL ↵Evan Cheng2008-07-082-45/+74
| | | | | | SDNode's. This improves compile time slightly at -O0 -g. llvm-svn: 53246
* Remove custom expansion from LegalizeTypes when doingDuncan Sands2008-07-084-42/+40
| | | | | | | | | soft float: experiments show that targets aren't expecting this for results or for operands. Add support select/select_cc result soft float and correct operand soft float for these. llvm-svn: 53245
* Add missing select_cc libcall line, somehow omittedDuncan Sands2008-07-081-0/+1
| | | | | | in LegalizeTypes. llvm-svn: 53244
* improve commentChris Lattner2008-07-081-1/+1
| | | | llvm-svn: 53243
* Add a new hidden option to the interpreter to cause it to printChris Lattner2008-07-081-0/+8
| | | | | | | out every volatile load and store. This is useful for tracking down insane volatile memory bugs. llvm-svn: 53241
* Fix PR2496, a really nasty bug which involved sinking volatile loads Chris Lattner2008-07-081-3/+11
| | | | | | | | | into phis. This is actually the same bug as PR2262 / 2008-04-29-VolatileLoadDontMerge.ll, but I missed checking the first predecessor for multiple successors. Testcase here: InstCombine/2008-07-08-VolatileLoadMerge.ll llvm-svn: 53240
* Unbreak C++ tests on x86 Darwin.Evan Cheng2008-07-082-7/+15
| | | | llvm-svn: 53237
* LegalizeTypes support for FP_ROUND and FP_EXTENDDuncan Sands2008-07-082-2/+46
| | | | | | soft float. llvm-svn: 53231
OpenPOWER on IntegriCloud