Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |