summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix resetCachedCostInfo to reset all of the cost information, instead ofDan Gohman2009-10-131-1/+1
| | | | | | just the NumBlocks field. llvm-svn: 84056
* Correct comment about ARM immediates using '#' not '$' and TODO for modifiers.Kevin Enderby2009-10-131-1/+2
| | | | llvm-svn: 84055
* s/DebugLoc.CompileUnit/DebugLoc.Scope/gDevang Patel2009-10-138-36/+37
| | | | | | s/DebugLoc.InlinedLoc/DebugLoc.InlinedAtLoc/g llvm-svn: 84054
* Check void type before using RAUWd.Devang Patel2009-10-133-7/+27
| | | | llvm-svn: 84049
* More Neon clean-up: avoid the need for custom-lowering vld/st-lane intrinsicsBob Wilson2009-10-132-90/+24
| | | | | | | by creating TargetConstants during instruction selection instead of during legalization. llvm-svn: 84042
* More bits of the ARM target assembler for llvm-mc to parse immediates.Kevin Enderby2009-10-131-4/+28
| | | | | | | Also fixed a couple of coding style things that crept in. And added more to the temporary hacked up ARMAsmParser::MatchInstruction() method for testing. llvm-svn: 84040
* Teach basic AA about PHI nodes. If all operands of a phi NoAlias another ↵Evan Cheng2009-10-132-12/+155
| | | | | | value than it's safe to declare the PHI NoAlias the value. Ditto for MustAlias. llvm-svn: 84038
* Documentation for the new msasm flag, which is noDale Johannesen2009-10-131-2/+16
| | | | | | worse than the rest of the asm documentation. llvm-svn: 84037
* NEON VLD/VST are now fully implemented. For operations that expand toBob Wilson2009-10-131-48/+2
| | | | | | | multiple instructions, the expansion is done during selection so there is no need to do anything special during legalization. llvm-svn: 84036
* Do not check use_empty() before replaceAllUsesWith(). This gives ↵Devang Patel2009-10-133-15/+11
| | | | | | ValueHandles a chance to get properly updated. llvm-svn: 84033
* Keep track of stubs that are created. This fixes PR5162 and probably PR4822 andJeffrey Yasskin2009-10-133-11/+105
| | | | | | 4406. Patch by Nick Lewycky! llvm-svn: 84032
* Add is_same type traitDouglas Gregor2009-10-131-0/+11
| | | | llvm-svn: 84029
* Introduce new convenience methods for sign extending orDuncan Sands2009-10-133-54/+30
| | | | | | | | | | | | truncating an SDValue (depending on whether the target type is bigger or smaller than the value's type); or zero extending or truncating it. Use it in a few places (this seems to be a popular operation, but I only modified cases of it in SelectionDAGBuild). In particular, the eh_selector lowering was doing this wrong due to a repeated rather than inverted test, fixed with this change. llvm-svn: 84027
* Optimizer may remove debug info. This test checks debug info for include ↵Devang Patel2009-10-131-3/+1
| | | | | | headers. llvm-svn: 84025
* Revise ARM inline assembly memory operands to require the memory address toBob Wilson2009-10-133-10/+11
| | | | | | | be in a register. The previous use of ARM address mode 2 was completely arbitrary and inappropriate for Thumb. Radar 7137468. llvm-svn: 84022
* Add an "msasm" flag to inline asm as suggested in PR 5125.Dale Johannesen2009-10-1310-15/+65
| | | | | | | A little ugliness is accepted to keep the binary file format compatible. No functional change yet. llvm-svn: 84020
* These tests now pass.Devang Patel2009-10-133-3/+1
| | | | llvm-svn: 84019
* Fix method name in comment, per Bob Wilson.Sandeep Patel2009-10-131-1/+1
| | | | llvm-svn: 84017
* Use the new CodeMetrics class to compute code size instead ofDan Gohman2009-10-131-6/+6
| | | | | | manually counting instructions. llvm-svn: 84016
* Compute a full cost value even when a setjmp call is found.Dan Gohman2009-10-131-3/+1
| | | | llvm-svn: 84015
* Split code not specific to Function inlining out into a separate class,Dan Gohman2009-10-132-61/+72
| | | | | | | named CodeMetrics. Move it to be a non-nested class. Rename RegionInfo back to FunctionInfo. llvm-svn: 84013
* Add debugging output.David Goodwin2009-10-131-2/+12
| | | | llvm-svn: 84011
* Provide a mode for ImmutableMap/ImmutableSet to not automatically ↵Ted Kremenek2009-10-132-12/+20
| | | | | | canonicalize the internal functional AVL trees. This should speedup clients that use ImmutableMap/ImmutableSet but don't require fast comparisons of maps. llvm-svn: 84010
* Add ARMv6T2 SBFX/UBFX instructions. Approved by Anton Korobeynikov.Sandeep Patel2009-10-134-0/+129
| | | | llvm-svn: 84009
* Update CMake file (lexically order files).Ted Kremenek2009-10-131-1/+1
| | | | llvm-svn: 84008
* Do not write empty METADATA_ATTACHMENT record.Devang Patel2009-10-131-5/+7
| | | | llvm-svn: 84006
* Remove unnecessary assert.Devang Patel2009-10-131-3/+0
| | | | llvm-svn: 84004
* Update the other CMake file.Benjamin Kramer2009-10-131-0/+1
| | | | llvm-svn: 84003
* Parse GEP with attached custom metadata. This happens during ↵Devang Patel2009-10-131-0/+4
| | | | | | libprofile_rt.bca build. llvm-svn: 84002
* Update CMake file.Ted Kremenek2009-10-131-1/+0
| | | | llvm-svn: 84001
* Refactor some code. No functionality changes.Evan Cheng2009-10-131-105/+119
| | | | llvm-svn: 84000
* Commit the removal of this file, which is now moved to lib/Analysis.Dan Gohman2009-10-131-337/+0
| | | | llvm-svn: 83999
* Move the InlineCost code from Transforms/Utils to Analysis.Dan Gohman2009-10-136-6/+343
| | | | llvm-svn: 83998
* Start refactoring the inline cost estimation code so that it can be usedDan Gohman2009-10-132-79/+87
| | | | | | for purposes other than inlining. llvm-svn: 83997
* change simplifycfg to not duplicate 'unwind' instructions. HopefullyChris Lattner2009-10-132-15/+23
| | | | | | | this will increase the likelihood of common code getting sunk towards the unwind. llvm-svn: 83996
* convert to filecheckChris Lattner2009-10-131-5/+5
| | | | llvm-svn: 83995
* rename testChris Lattner2009-10-131-0/+0
| | | | llvm-svn: 83994
* Make LoopUnswitch's cost estimation count Instructions, rather thanDan Gohman2009-10-131-19/+7
| | | | | | | | BasicBlocks, so that it doesn't blindly procede in the presence of large individual BasicBlocks. This addresses a class of code-size expansion problems. llvm-svn: 83992
* rename ReleaseNotes-2.6.html -> ReleaseNotes.htmlChris Lattner2009-10-132-1681/+717
| | | | llvm-svn: 83990
* add ZeroChris Lattner2009-10-131-1/+18
| | | | llvm-svn: 83988
* Make the ExecutionEngine automatically remove global mappings on when theirJeffrey Yasskin2009-10-133-51/+104
| | | | | | | GlobalValue is destroyed. Function destruction still leaks machine code and can crash on leaked stubs, but this is some progress. llvm-svn: 83987
* don't use dead loads as tests.Chris Lattner2009-10-131-3/+4
| | | | llvm-svn: 83985
* "there is not any instruction with attached debug info in this module" does ↵Devang Patel2009-10-131-11/+11
| | | | | | not mean "there is no debug info in this module". :) llvm-svn: 83984
* Add some ARM instruction encoding bits.Bob Wilson2009-10-131-0/+5
| | | | | | Patch by Johnny Chen. llvm-svn: 83983
* Fix regression introduced by r83894.Bob Wilson2009-10-131-1/+2
| | | | llvm-svn: 83982
* Copy metadata when value is RAUW'd. It is debatable whether this is the ↵Devang Patel2009-10-133-0/+17
| | | | | | right approach for custom metadata data in general. However, right now the only custom data user, "dbg", expects this behavior while FE is constructing llvm IR with debug info. llvm-svn: 83977
* Disable this test for now.Devang Patel2009-10-131-1/+0
| | | | llvm-svn: 83975
* Fix a tab. Thanks to Johnny Chen for pointing it out.Bob Wilson2009-10-131-1/+1
| | | | llvm-svn: 83973
* The eh.exception intrinsic only reads from memory, it doesn'tDuncan Sands2009-10-131-1/+1
| | | | | | write to it. llvm-svn: 83963
* Pacify the compiler (signed with unsigned comparison) by makingDuncan Sands2009-10-131-6/+6
| | | | | | these constants unsigned. llvm-svn: 83962
OpenPOWER on IntegriCloud