- Sep 29, 2011
-
-
NAKAMURA Takumi authored
llvm-svn: 140774
-
Jakob Stoklund Olesen authored
llvm-svn: 140773
-
Jakob Stoklund Olesen authored
This enables NEON domain tracking across basic blocks, but should otherwise do the same thing. llvm-svn: 140772
-
Daniel Dunbar authored
Basic/Diagnostic: Kill off a few unnecessary functions now that refactoring is done, and add a note that the new setDiagnosticGroup{...} methods only operate on the current diagnostic state. llvm-svn: 140771
-
Daniel Dunbar authored
Basic/Diagnostics: Rewrite DiagnosticIDs::getDiagnosticLevel completely to be straighter line code, use the new DiagnosticMappingInfo flags, and eliminate the odd MAP_WARNING_NO_WERROR and friend mappings. - This fixes a host of obscure bugs with regards to how warning mapping options composed with one another, and I believe makes the code substantially easier to read and reason about. llvm-svn: 140770
-
Andrew Trick authored
llvm-svn: 140769
-
Daniel Dunbar authored
Basic/Diagnostics: Add three explicit bits to DiagnosticMappingInfo to track "no-warning-as-error", "no-error-as-fatal", and "show-in-system-header", and update DiagnosticsEngine::setDiagnosticGroup{WarningAsError,ErrorAsFatal} and GetDefaultDiagMappingInfo to set them appropriately. - No actual functionality change for now, we still also use the diag::Mapping::{MAP_WARNING_NO_ERROR,MAP_ERROR_NO_FATAL,MAP_WARNING_SHOW_IN_SYSTEM_HEADER} for a little while longer. llvm-svn: 140768
-
Jakob Stoklund Olesen authored
llvm-svn: 140767
-
Daniel Dunbar authored
that in DiagnosticEngine instead of the convoluted calling into DiagnosticIDs which then calls back into the DiagnosticsEngine. llvm-svn: 140766
-
Daniel Dunbar authored
- Also, spell const_iterator as const_iterator. llvm-svn: 140765
-
Daniel Dunbar authored
llvm-svn: 140764
-
Daniel Dunbar authored
and eliminate setDiagnosticMappingInternal. llvm-svn: 140763
-
Andrew Trick authored
Rewriting the entire loop nest now requires -enable-lsr-nested. See PR11035 for some performance data. A few unit tests specifically test nested LSR, and are now under a flag. llvm-svn: 140762
-
Andrew Trick authored
llvm-svn: 140761
-
Daniel Dunbar authored
storing mappings with that instead of straying some magic constants about the source. llvm-svn: 140760
-
Daniel Dunbar authored
llvm-svn: 140759
-
Andrew Trick authored
llvm-svn: 140758
-
Johnny Chen authored
it enables the hardware watchpoint for all existing threads. Add a test file for that. Also fix MachThreadList::DisableHardwareWatchpoint(). llvm-svn: 140757
-
Daniel Dunbar authored
llvm-svn: 140756
-
Daniel Dunbar authored
llvm-svn: 140755
-
Bill Wendling authored
llvm-svn: 140754
-
Justin Holewinski authored
llvm-svn: 140753
-
Daniel Dunbar authored
Basic/Diagnostics: Add an isDefaultMappingAsError method, and switch TextDiagnosticPrinter to use that instead of extracting the current mapping via getDiagnosticLevel, which fixes one class of corner cases w.r.t. printing the "-Werror" diagnostic option marker. - The TextDiagnosticPrinter code is still fragile as it is just "reverse engineering" what the diagnostic engine is doing. Not my current priority to fix though. llvm-svn: 140752
-
Michael J. Spencer authored
This doesn't use formated_raw_ostream because it doesn't support the functionality needed. llvm-svn: 140751
-
Greg Clayton authored
up the implementation details of the on disk hash, these changed implement the changes in the on disk table format. llvm-svn: 140750
-
Daniel Dunbar authored
llvm-svn: 140749
-
Douglas Gregor authored
llvm-svn: 140748
-
Daniel Dunbar authored
DiagnosticsEngine::setDiagnosticGroup{ErrorAsFatal,WarningAsError} methods which more accurately model the correct API -- no internal change to the diagnostics engine yet though. - Also, stop honoring -Werror=everything (etc.) as a valid (but oddly behaved) option. llvm-svn: 140747
-
Douglas Gregor authored
from sources. llvm-svn: 140746
-
Eric Christopher authored
llvm-svn: 140745
-
Jakob Stoklund Olesen authored
The function needs to scan the implicit operands anyway, so no performance is won by caching the number of implicit operands added to an instruction. This also fixes a bug when adding operands after an implicit operand has been added manually. The NumImplicitOps count wasn't kept up to date. MachineInstr::addOperand() will now consistently place all explicit operands before all the implicit operands, regardless of the order they are added. It is possible to change an MI opcode and add additional explicit operands. They will be inserted before any existing implicit operands. The only exception is inline asm instructions where operands are never reordered. This is because of a hack that marks explicit clobber regs on inline asm as <implicit-def> to please the fast register allocator. This hack can go away when InstrEmitter and FastIsel can add exact <dead> flags to physreg defs. llvm-svn: 140744
-
Douglas Gregor authored
we have the ability to create a new, distict diagnostic consumer when we go off and build a module. This avoids the currently horribleness where the same diagnostic consumer sees diagnostics for multiple translation units (and multiple SourceManagers!) causing all sorts of havok. llvm-svn: 140743
-
Daniel Dunbar authored
"show-in-system-header" bits, which is part of teasing them apart from the diagnostic mapping kind. llvm-svn: 140742
-
Daniel Dunbar authored
"show-in-system-header" bits, which I will be adding in Clang shortly. llvm-svn: 140741
-
Eric Christopher authored
correspond to. llvm-svn: 140740
-
Eric Christopher authored
exist anymore. llvm-svn: 140739
-
Eric Christopher authored
llvm-svn: 140738
-
Eric Christopher authored
point in the code. Ensures that we don't miss any places and the check is reasonably cheap. llvm-svn: 140737
-
Eric Christopher authored
llvm-svn: 140736
-
Jakob Stoklund Olesen authored
It broke the unit tests. Please reapply with tests fixed. llvm-svn: 140735
-