summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SubtargetFeature.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Sink SubtargetFeature and TargetInstrItineraries (renamed ↵Evan Cheng2011-06-291-384/+0
| | | | | | MCInstrItineraries) into MC. llvm-svn: 134049
* Increase SubtargetFeatureKV Value and Implies fields to 64 bits since some ↵Evan Cheng2011-04-151-4/+4
| | | | | | targets are getting very close to 32 subtarget features. Also teach tablegen to error when there are more than 64 features to guard against undefined behavior. rdar://9282332 llvm-svn: 129590
* Add missing standard headers. Patch by Joerg Sonnenberger!Nick Lewycky2010-12-191-0/+1
| | | | llvm-svn: 122193
* Add missing std:: prefixes to some calls. C++ doesn't require that <cfoo>Nick Lewycky2010-12-191-1/+1
| | | | | | | headers provide symbols outside namespace std and the LLVM coding standards state that we should prefix all of them. llvm-svn: 122192
* Simplify this logic of creating a default Features object.Bill Wendling2010-05-111-26/+8
| | | | llvm-svn: 103507
* Don't create a StringRef with a NULL value.Bill Wendling2010-05-111-0/+2
| | | | llvm-svn: 103455
* The getDefaultSubtargetFeatures method of SubtargetFeature did actually return aBill Wendling2010-05-111-8/+20
| | | | | | | | | | | | | | | string of features for that target. However LTO was using that string to pass into the "create target machine" stuff. That stuff needed the feature string to be in a particular form. In particular, it needed the CPU specified first and then the attributes. If there isn't a CPU specified, it required it to be blank -- e.g., ",+altivec". Yuck. Modify the getDefaultSubtargetFeatures method to be a non-static member function. For all attributes for a specific subtarget, it will add them in like normal. It will also take a CPU string so that it can satisfy this horrible syntax. llvm-svn: 103451
* Fix "the the" and similar typos.Dan Gohman2010-02-101-1/+1
| | | | llvm-svn: 95781
* Change errs() to dbgs().David Greene2010-01-051-1/+2
| | | | llvm-svn: 92655
* Rollback changes r89516: Added two SubtargetFeatures::AddFeatures methods, ↵Viktor Kutuzov2009-11-251-27/+0
| | | | | | which accept a comma-separated string or already parsed command line parameters as input, and some code re-factoring to use these new methods. llvm-svn: 89893
* Added two SubtargetFeatures::AddFeatures methods, which accept a ↵Viktor Kutuzov2009-11-211-0/+27
| | | | | | comma-separated string or already parsed command line parameters as input, and some code re-factoring to use these new methods. llvm-svn: 89516
* Added getDefaultSubtargetFeatures method to SubtargetFeatures class which ↵Viktor Kutuzov2009-11-181-0/+27
| | | | | | returns a correct feature string for given triple. llvm-svn: 89236
* Switch SubtargetFeature off of ostreamsChris Lattner2009-08-231-25/+20
| | | | llvm-svn: 79864
* Propagate CPU string out of SubtargetFeaturesAnton Korobeynikov2009-05-231-2/+9
| | | | llvm-svn: 72335
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* Set implied features based upon the CPU's feature list.Bill Wendling2007-06-271-0/+7
| | | | llvm-svn: 37768
* Add an "implies" field to features. This indicates that, if the currentBill Wendling2007-05-041-2/+49
| | | | | | | | feature is set, then the features in the implied list should be set also. The opposite is also enforced: if a feature in the implied list isn't set, then the feature that owns that implies list shouldn't be set either. llvm-svn: 36756
* Don't use <sstream> in Streams.h but <iosfwd> instead.Bill Wendling2006-12-071-0/+1
| | | | llvm-svn: 32340
* What should be the last unnecessary <iostream>s in the library.Bill Wendling2006-12-071-26/+26
| | | | llvm-svn: 32333
* Clean up some commentary.Jim Laskey2006-03-241-1/+1
| | | | llvm-svn: 27064
* Improve compatibility with VC2005, patch by Morten Ofstad!Jeff Cohen2006-01-261-1/+4
| | | | llvm-svn: 25661
* Preparation of supporting scheduling info. Need to find info based on selectedJim Laskey2005-10-251-21/+46
| | | | | | CPU. llvm-svn: 23974
* If a user requests help, give them help on both features and processorsChris Lattner2005-10-231-24/+40
| | | | llvm-svn: 23905
* Improve help output.Chris Lattner2005-10-231-12/+16
| | | | llvm-svn: 23893
* Move static functions from .h file, reduce #includes, pass strings by const&,Chris Lattner2005-10-231-45/+99
| | | | | | | use LowercaseString from StringExtras.h, remove extraneous space from help output. llvm-svn: 23891
* Print:Chris Lattner2005-09-071-4/+4
| | | | | | | | | | '' is not a recognized processor for this target (ignoring processor) instead of: is not a recognized processor for this target (ignoring processor) llvm-svn: 23256
* Add help support for -mcpu and -mattr.Jim Laskey2005-09-021-0/+27
| | | | llvm-svn: 23222
* Fix VC++ build errorsJeff Cohen2005-09-021-1/+1
| | | | llvm-svn: 23210
* This new class provides support for platform specific "features". The intentJim Laskey2005-09-011-0/+173
is to manage processor specific attributes from the command line. See examples of use in llc/lli and PowerPCTargetSubtarget. llvm-svn: 23191
OpenPOWER on IntegriCloud