Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reverting r229831 due to multiple ARM/PPC/MIPS build-bot failures. | Michael Kuperstein | 2015-02-19 | 1 | -12/+11 |
| | | | | llvm-svn: 229841 | ||||
* | Use std::bitset for SubtargetFeatures | Michael Kuperstein | 2015-02-19 | 1 | -11/+12 |
| | | | | | | | | | | | Previously, subtarget features were a bitfield with the underlying type being uint64_t. Since several targets (X86 and ARM, in particular) have hit or were very close to hitting this bound, switching the features to use a bitset. No functional change. Differential Revision: http://reviews.llvm.org/D7065 llvm-svn: 229831 | ||||
* | Fix some cases where StringRef was being passed by const reference. Remove ↵ | Craig Topper | 2014-08-30 | 1 | -8/+8 |
| | | | | | | const from some other StringRefs since its implicitly const already. llvm-svn: 216820 | ||||
* | SubTargetFeature.cpp: it seems the size of this SmallVector should be 3 | Hans Wennborg | 2014-08-11 | 1 | -1/+1 |
| | | | | | | because some subtarget feature strings have three components. llvm-svn: 215339 | ||||
* | Make the split function use StringRef::split. | Eric Christopher | 2014-05-13 | 1 | -19/+3 |
| | | | | llvm-svn: 208723 | ||||
* | Use a range based for loop for the SubtargetFeatures print function. | Eric Christopher | 2014-05-06 | 1 | -2/+2 |
| | | | | llvm-svn: 208132 | ||||
* | Fix odd formatting that snuck into last patch. | Eric Christopher | 2014-05-06 | 1 | -3/+3 |
| | | | | llvm-svn: 208130 | ||||
* | ArrayRef-ize the Feature and Processor tables for SubtargetFeatures. | Eric Christopher | 2014-05-06 | 1 | -60/+46 |
| | | | | | | | | This removes arguments passed everywhere and allows the use of standard iteration over lists. Should be no functional change. llvm-svn: 208127 | ||||
* | Have the SubtargetFeature help routine just not return a number and | Eric Christopher | 2014-05-06 | 1 | -6/+4 |
| | | | | | | | | fall back to the normal path without a cpu. While doing this fix llc to just exit when we don't have a module to process instead of asserting. llvm-svn: 208102 | ||||
* | Revert "Walk back commits for unused function parameters - they're still being" | Eric Christopher | 2014-05-06 | 1 | -19/+5 |
| | | | | | | this reapplies 208012 and 208002. llvm-svn: 208037 | ||||
* | Walk back commits for unused function parameters - they're still being | Eric Christopher | 2014-05-05 | 1 | -5/+19 |
| | | | | | | used via dragonegg for now. llvm-svn: 208016 | ||||
* | Remove a now unnecessary function since all calls have one version | Eric Christopher | 2014-05-05 | 1 | -17/+4 |
| | | | | | | and inline it into its caller. llvm-svn: 208012 | ||||
* | Remove a call to std::exit in a library. Make "Help" return | Eric Christopher | 2014-05-05 | 1 | -5/+7 |
| | | | | | | a 0 as a default answer. llvm-svn: 208009 | ||||
* | Remove unused argument from AddFeature. | Eric Christopher | 2014-05-05 | 1 | -3/+2 |
| | | | | llvm-svn: 208002 | ||||
* | [C++11] More 'nullptr' conversion or in some cases just using a boolean ↵ | Craig Topper | 2014-04-13 | 1 | -1/+1 |
| | | | | | | check instead of comparing to nullptr. llvm-svn: 206129 | ||||
* | Reverting r199886 (Prevent repetitive warnings for unrecognized processors ↵ | Artyom Skrobov | 2014-01-25 | 1 | -34/+20 |
| | | | | | | and features) llvm-svn: 200083 | ||||
* | Prevent repetitive warnings for unrecognized processors and features | Artyom Skrobov | 2014-01-23 | 1 | -20/+34 |
| | | | | llvm-svn: 199886 | ||||
* | MC: Don't assume incoming StringRef's are null terminated. | Will Dietz | 2013-10-13 | 1 | -4/+1 |
| | | | | | | | | | | This can happen when processing command line arguments, which are often stored as std::string's and later turned into StringRef's via std::string::data(). Unfortunately this is not guaranteed to return a null-terminated string until C++11, causing breakage on platforms that don't do this. llvm-svn: 192558 | ||||
* | Fix the documentation of getDefaultSubtargetFeatures. | Rafael Espindola | 2013-10-07 | 1 | -2/+1 |
| | | | | | | Patch by David Nadlinger. llvm-svn: 192098 | ||||
* | Symbol hygiene: Make sure declarations and definitions match, make helper ↵ | Benjamin Kramer | 2012-10-20 | 1 | -2/+2 |
| | | | | | | functions static. llvm-svn: 166376 | ||||
* | Remove template from function that is only used with one type after r165092. | Craig Topper | 2012-10-04 | 1 | -4/+5 |
| | | | | llvm-svn: 165203 | ||||
* | Remove unused function that used to get itineraries from SubTargetFeatures. ↵ | Craig Topper | 2012-10-03 | 1 | -24/+0 |
| | | | | | | This is done from MCSubTargetInfo these days. llvm-svn: 165092 | ||||
* | Release build: guard dump functions with | Manman Ren | 2012-09-12 | 1 | -1/+1 |
| | | | | | | | | "#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)" No functional change. Update r163344. llvm-svn: 163679 | ||||
* | Release build: guard dump functions with "ifndef NDEBUG" | Manman Ren | 2012-09-06 | 1 | -0/+2 |
| | | | | | | No functional change. llvm-svn: 163344 | ||||
* | Constify subtarget info properly so that we dont cast away the const in | Roman Divacky | 2012-09-05 | 1 | -3/+3 |
| | | | | | | the SubtargetInfoKV tables. Found by gcc48 -Wcast-qual. llvm-svn: 163251 | ||||
* | Tidy up. Trailing whitespace. | Jim Grosbach | 2012-05-11 | 1 | -8/+8 |
| | | | | llvm-svn: 156602 | ||||
* | Replace (Lower|Upper)caseString in favor of StringRef's newest methods. | Benjamin Kramer | 2011-11-06 | 1 | -2/+1 |
| | | | | llvm-svn: 143891 | ||||
* | Let printf do the formatting instead aligning strings ourselves. | Benjamin Kramer | 2011-10-16 | 1 | -11/+10 |
| | | | | | | While at it, merge some format strings. llvm-svn: 142140 | ||||
* | Change createAsmParser to take a MCSubtargetInfo instead of triple, | Evan Cheng | 2011-07-09 | 1 | -0/+32 |
| | | | | | | | | | CPU, and feature string. Parsing some asm directives can change subtarget state (e.g. .code 16) and it must be reflected in other modules (e.g. MCCodeEmitter). That is, the MCSubtargetInfo instance must be shared. llvm-svn: 134795 | ||||
* | Compute feature bits at time of MCSubtargetInfo initialization. | Evan Cheng | 2011-07-07 | 1 | -18/+22 |
| | | | | llvm-svn: 134606 | ||||
* | Eliminate one extra conversion. | Evan Cheng | 2011-07-01 | 1 | -1/+1 |
| | | | | llvm-svn: 134240 | ||||
* | Another misuse of StringRef. MSVC is very sensitive to that kind of error. | Francois Pichet | 2011-07-01 | 1 | -2/+2 |
| | | | | llvm-svn: 134236 | ||||
* | Fix use after free. | Rafael Espindola | 2011-07-01 | 1 | -1/+1 |
| | | | | llvm-svn: 134234 | ||||
* | Switch SubtargetFeatures from std::string to StringRef. | Evan Cheng | 2011-07-01 | 1 | -22/+19 |
| | | | | llvm-svn: 134219 | ||||
* | Fix the ridiculous SubtargetFeatures API where it implicitly expects CPU name to | Evan Cheng | 2011-06-30 | 1 | -41/+21 |
| | | | | | | | | | | be the first encoded as the first feature. It then uses the CPU name to look up features / scheduling itineray even though clients know full well the CPU name being used to query these properties. The fix is to just have the clients explictly pass the CPU name! llvm-svn: 134127 | ||||
* | Sink SubtargetFeature and TargetInstrItineraries (renamed ↵ | Evan Cheng | 2011-06-29 | 1 | -0/+384 |
MCInstrItineraries) into MC. llvm-svn: 134049 |