summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* [lit] Add some TODO notes to myself.Daniel Dunbar2013-01-301-0/+17
| | | | llvm-svn: 173857
* Adding simple cast cost to ARMRenato Golin2013-01-293-2/+160
| | | | | | | | | | | Changing ARMBaseTargetMachine to return ARMTargetLowering intead of the generic one (similar to x86 code). Tests showing which instructions were added to cast when necessary or cost zero when not. Downcast to 16 bits are not lowered in NEON, so costs are not there yet. llvm-svn: 173849
* Remove unused variable (unused since r173839)Dmitri Gribenko2013-01-291-4/+1
| | | | llvm-svn: 173847
* Documentation: add empty lines so that lists are properly recognizedDmitri Gribenko2013-01-291-0/+2
| | | | llvm-svn: 173845
* Made certain small functions in PtrState inlined.Michael Gottesman2013-01-291-7/+7
| | | | llvm-svn: 173842
* [MC][COFF] Delay handling symbol aliases when writingMichael J. Spencer2013-01-293-49/+27
| | | | | | Fixes PR14447 and PR9034. Patch by Nico Rieck! llvm-svn: 173839
* LoopVectorize: convert TinyTripCountVectorThreshold constantPekka Jaaskelainen2013-01-292-1/+31
| | | | | | to a command line switch. llvm-svn: 173837
* Removed trailing comma in last element of enum declaration.Michael Gottesman2013-01-291-1/+1
| | | | llvm-svn: 173836
* Moved S_Stop back to its previous position in the sequence order.Michael Gottesman2013-01-291-1/+1
| | | | llvm-svn: 173834
* Add a special handling case for untyped CopyFromReg node in GetCostForDef() ↵Weiming Zhao2013-01-291-1/+11
| | | | | | of ScheduleDAGRRList llvm-svn: 173833
* Fixed a few debug messages and some 80+ violations.Michael Gottesman2013-01-291-9/+10
| | | | llvm-svn: 173832
* Added some periods to some comments and added an overload for operator<< for ↵Michael Gottesman2013-01-291-6/+28
| | | | | | type Sequence so I can print out Sequences in debug statements. llvm-svn: 173831
* Changed DoesObjCBlockEscape => DoesRetainableObjPtrEscape so I can use it to ↵Michael Gottesman2013-01-291-14/+17
| | | | | | perform escape analysis of other retainable object pointers in other locations. llvm-svn: 173829
* Add a couple of accessor methods to get the kind and values of an attribute.Bill Wendling2013-01-292-0/+15
| | | | llvm-svn: 173828
* s/Data/Kind/g. No functionality change.Bill Wendling2013-01-292-30/+33
| | | | llvm-svn: 173827
* Support artificial parameters in function types.David Blaikie2013-01-292-3/+11
| | | | | | | Provides the functionality for Clang change r172911 - I just had this still lying around. llvm-svn: 173820
* Use multiclass for post-increment store instructions.Jyotsna Verma2013-01-294-346/+125
| | | | llvm-svn: 173816
* Add constant extender support for MInst type instructions.Jyotsna Verma2013-01-292-75/+151
| | | | llvm-svn: 173813
* Remove dead code.Evan Cheng2013-01-291-10/+0
| | | | llvm-svn: 173812
* Fixing warnings revealed by gcc release buildEdwin Vane2013-01-293-3/+4
| | | | | | | Fixed set-but-not-used warnings. Reviewer: gribozavr llvm-svn: 173810
* LoopVectorize: Clean up ValueMap a bit and avoid double lookups.Benjamin Kramer2013-01-291-10/+12
| | | | | | No intended functionality change. llvm-svn: 173809
* R600/AMDILPeepholeOptimizer.cpp: Tweak std::make_pair to satisfy C++11.NAKAMURA Takumi2013-01-291-1/+1
| | | | llvm-svn: 173807
* AttributeSet::get(): Fix a valgrind error. It doesn't affect actual ↵NAKAMURA Takumi2013-01-291-1/+1
| | | | | | | | behavior, though. Don't touch I->first on the end iterator, I == E! llvm-svn: 173804
* Fix typo in X86BaseInfo.h that I introduced in r157818.Hans Wennborg2013-01-291-2/+2
| | | | llvm-svn: 173798
* Hopefully fix the Windows build failure introduced in r173769Timur Iskhodzhanov2013-01-292-0/+2
| | | | llvm-svn: 173781
* Fix 64-bit atomic operations in Thumb mode.Tim Northover2013-01-292-74/+193
| | | | | | | | The ARM and Thumb variants of LDREXD and STREXD have different constraints and take different operands. Previously the code expanding atomic operations didn't take this into account and asserted in Thumb mode. llvm-svn: 173780
* Merge SSE and AVX shuffle instructions in the comment printer.Craig Topper2013-01-292-98/+239
| | | | llvm-svn: 173777
* MIsched: cleanup code. Use isBoundaryNode().Andrew Trick2013-01-291-2/+4
| | | | llvm-svn: 173775
* Fixed 2 more header comments...Michael Gottesman2013-01-292-2/+2
| | | | llvm-svn: 173774
* Fixed header comment.Michael Gottesman2013-01-291-8/+4
| | | | llvm-svn: 173773
* Fixed some whitespace/80+ violations. Also added a space after a namespace ↵Michael Gottesman2013-01-294-6/+6
| | | | | | declaration. llvm-svn: 173772
* Added missing dashes from header declaration comment.Michael Gottesman2013-01-291-1/+1
| | | | llvm-svn: 173770
* Juggled Debug.h from ObjCARC.h to only the including cpp files thatMichael Gottesman2013-01-294-2/+7
| | | | | | | actually have DEBUG statements. Also changed raw_ostream in said header to be a forward declaration (removing an include). llvm-svn: 173769
* Sorted includes using utils/sort_includes.Michael Gottesman2013-01-298-15/+6
| | | | llvm-svn: 173767
* Added two missing headers from ObjCARCAliasAnalysis.h.Michael Gottesman2013-01-291-0/+3
| | | | | | | | This was missed since whenever I was including ObjCARCAliasAnalysis.h, I was including ObjCARC.h before it which included these includes (resulting in no compilation breakage). llvm-svn: 173764
* Removed InstCombine/Targets as library dependencies for libObjCARCOpts since ↵Michael Gottesman2013-01-291-1/+1
| | | | | | they are unnecessary. llvm-svn: 173763
* Convert getAttributes() to return an AttributeSetNode.Bill Wendling2013-01-295-75/+120
| | | | | | | The AttributeSetNode contains all of the attributes. This removes one (hopefully last) use of the Attribute class as a container of multiple attributes. llvm-svn: 173761
* Extracted ObjCARCContract from ObjCARCOpts into its own file.Michael Gottesman2013-01-299-1181/+1387
| | | | | | | | This also required adding 2x headers Dependency Analysis.h/Provenance Analysis.h and a .cpp file DependencyAnalysis.cpp to unentangle the dependencies inbetween ObjCARCContract and ObjCARCOpts. llvm-svn: 173760
* Removed some cruft from ObjCARCAliasAnalysis.cpp.Michael Gottesman2013-01-291-10/+0
| | | | llvm-svn: 173759
* Teach SDISel to combine fsin / fcos into a fsincos node if the followingEvan Cheng2013-01-2915-24/+248
| | | | | | | | | | | | | | | | | | conditions are met: 1. They share the same operand and are in the same BB. 2. Both outputs are used. 3. The target has a native instruction that maps to ISD::FSINCOS node or the target provides a sincos library call. Implemented the generic optimization in sdisel and enabled it for Mac OSX. Also added an additional optimization for x86_64 Mac OSX by using an alternative entry point __sincos_stret which returns the two results in xmm0 / xmm1. rdar://13087969 PR13204 llvm-svn: 173755
* Use an AttrBuilder to generate the correct AttributeSet.Bill Wendling2013-01-293-24/+24
| | | | | | | | | We no longer accept an encoded integer as representing all of the attributes. Convert this via the AttrBuilder class into an AttributeSet with the correct representation (an AttributeSetImpl that holds a list of Attribute objects). llvm-svn: 173750
* Convert the AttrBuilder into a list of Attributes instead of one Attribute ↵Bill Wendling2013-01-291-2/+15
| | | | | | object that holds all of its attributes. llvm-svn: 173742
* Formatting correctionAndrew Kaylor2013-01-291-2/+1
| | | | llvm-svn: 173739
* S'more small non-functional changes in comments and #includes.Bill Wendling2013-01-292-12/+8
| | | | llvm-svn: 173738
* Reorder some functions and add comments. No functionality change.Bill Wendling2013-01-293-389/+394
| | | | llvm-svn: 173733
* Unroll again after running BBVectorizeHal Finkel2013-01-291-0/+4
| | | | | | | | Because BBVectorize may significantly shorten a loop body, unroll again after vectorization. This is especially important when using runtime or partial unrolling. llvm-svn: 173730
* Add isBGQ method to PPCSubtargetHal Finkel2013-01-291-0/+2
| | | | | | This function will be used in future commits. llvm-svn: 173729
* Try to appease some broken compilers by using 'unsigned' instead of 'uint64_t'.Bill Wendling2013-01-283-25/+22
| | | | llvm-svn: 173725
* Avoid Unnecessary BuildsDavid Greene2013-01-281-33/+73
| | | | | | | | By default, stop the universe build if a key component fails. This avoids useless builds when we know a package is broken anyway. Provide a --keep-going option to override this behavior. llvm-svn: 173723
* Remove the AttributeWithIndex class.Bill Wendling2013-01-283-111/+85
| | | | | | | The AttributeWithIndex class exposed the interior structure of the AttributeSet class. That was gross. Remove it and all of the code that relied upon it. llvm-svn: 173722
OpenPOWER on IntegriCloud