aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/SubtargetFeature.cpp
AgeCommit message (Collapse)AuthorFilesLines
2010-12-19Add missing standard headers. Patch by Joerg Sonnenberger!Nick Lewycky1-0/+1
llvm-svn: 122193
2010-12-19Add missing std:: prefixes to some calls. C++ doesn't require that <cfoo>Nick Lewycky1-1/+1
headers provide symbols outside namespace std and the LLVM coding standards state that we should prefix all of them. llvm-svn: 122192
2010-05-11Simplify this logic of creating a default Features object.Bill Wendling1-26/+8
llvm-svn: 103507
2010-05-11Don't create a StringRef with a NULL value.Bill Wendling1-0/+2
llvm-svn: 103455
2010-05-11The getDefaultSubtargetFeatures method of SubtargetFeature did actually return aBill Wendling1-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
2010-02-10Fix "the the" and similar typos.Dan Gohman1-1/+1
llvm-svn: 95781
2010-01-05Change errs() to dbgs().David Greene1-1/+2
llvm-svn: 92655
2009-11-25Rollback changes r89516: Added two SubtargetFeatures::AddFeatures methods, ↵Viktor Kutuzov1-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
2009-11-21Added two SubtargetFeatures::AddFeatures methods, which accept a ↵Viktor Kutuzov1-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
2009-11-18Added getDefaultSubtargetFeatures method to SubtargetFeatures class which ↵Viktor Kutuzov1-0/+27
returns a correct feature string for given triple. llvm-svn: 89236
2009-08-23Switch SubtargetFeature off of ostreamsChris Lattner1-25/+20
llvm-svn: 79864
2009-05-23Propagate CPU string out of SubtargetFeaturesAnton Korobeynikov1-2/+9
llvm-svn: 72335
2007-12-29Remove attribution from file headers, per discussion on llvmdev.Chris Lattner1-2/+2
llvm-svn: 45418
2007-06-27Set implied features based upon the CPU's feature list.Bill Wendling1-0/+7
llvm-svn: 37768
2007-05-04Add an "implies" field to features. This indicates that, if the currentBill Wendling1-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
2006-12-07Don't use <sstream> in Streams.h but <iosfwd> instead.Bill Wendling1-0/+1
llvm-svn: 32340
2006-12-07What should be the last unnecessary <iostream>s in the library.Bill Wendling1-26/+26
llvm-svn: 32333
2006-03-24Clean up some commentary.Jim Laskey1-1/+1
llvm-svn: 27064
2006-01-26Improve compatibility with VC2005, patch by Morten Ofstad!Jeff Cohen1-1/+4
llvm-svn: 25661
2005-10-25Preparation of supporting scheduling info. Need to find info based on selectedJim Laskey1-21/+46
CPU. llvm-svn: 23974
2005-10-23If a user requests help, give them help on both features and processorsChris Lattner1-24/+40
llvm-svn: 23905
2005-10-23Improve help output.Chris Lattner1-12/+16
llvm-svn: 23893
2005-10-23Move static functions from .h file, reduce #includes, pass strings by const&,Chris Lattner1-45/+99
use LowercaseString from StringExtras.h, remove extraneous space from help output. llvm-svn: 23891
2005-09-07Print:Chris Lattner1-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
2005-09-02Add help support for -mcpu and -mattr.Jim Laskey1-0/+27
llvm-svn: 23222
2005-09-02Fix VC++ build errorsJeff Cohen1-1/+1
llvm-svn: 23210
2005-09-01This new class provides support for platform specific "features". The intentJim Laskey1-0/+173
is to manage processor specific attributes from the command line. See examples of use in llc/lli and PowerPCTargetSubtarget. llvm-svn: 23191