- Sep 10, 2012
-
-
Craig Topper authored
llvm-svn: 163483
-
- Sep 09, 2012
-
-
Dmitri Gribenko authored
We just need a single SourceLocation for previous comment end. llvm-svn: 163482
-
Aaron Ballman authored
llvm-svn: 163481
-
Benjamin Kramer authored
llvm-svn: 163480
-
Ted Kremenek authored
llvm-svn: 163479
-
Benjamin Kramer authored
LiveVariables: Compute a set of defs and kills to speed up updating LV during critical edge splitting. Previously we checked if the register is def'd in a block via the def/use list a nd walked the list of kills to check if the register is killed in a block. Both of these checks can be made much cheaper by walking the block first and recording all defs and kills. This reduces the compile time of the test case from PR13651 from 40s to 15s at -O2. The compile time is still dominated by LV updating but now the main culprit is SparseBitVector's slowness. llvm-svn: 163478
-
Abramo Bagnara authored
llvm-svn: 163477
-
Abramo Bagnara authored
llvm-svn: 163476
-
- Sep 08, 2012
-
-
Craig Topper authored
llvm-svn: 163473
-
Tobias Grosser authored
llvm-svn: 163472
-
Tobias Grosser authored
This code has been replaced by the SCEVValidator a while ago. llvm-svn: 163471
-
NAKAMURA Takumi authored
For example, which('loop-convert') returns 'loop-convert' when the directory 'loop-convert' exists. llvm-svn: 163469
-
NAKAMURA Takumi authored
clang/test/Sema/format-strings-scanf.c: Relax a couple of expressions with expected-warning-re to let matched for Win32 targets. - format specifies type 'wchar_t **' (aka 'int **') but the argument has type 'float *' - format specifies type 'wchar_t **' (aka 'unsigned short **') but the argument has type 'float *' llvm-svn: 163468
-
Anton Korobeynikov authored
llvm-svn: 163467
-
Tobias Grosser authored
Otherwise a '"' in the error message, yields an invalid .dot file. llvm-svn: 163466
-
Anton Korobeynikov authored
llvm-svn: 163465
-
Anton Korobeynikov authored
llvm-svn: 163464
-
Craig Topper authored
llvm-svn: 163463
-
Ted Kremenek authored
llvm-svn: 163462
-
Craig Topper authored
llvm-svn: 163461
-
Ted Kremenek authored
PathDiagnosticEventPieces were *always* pruned. Instead, they are suppose to only be pruned if the entire call gets pruned. llvm-svn: 163460
-
Richard Smith authored
string literal, produce a diagnostic pointing at the erroneous character range, not at the start of the literal. llvm-svn: 163459
-
Craig Topper authored
Set operation action for FFLOOR to Expand for all vector types for X86. Set FFLOOR of v4f32 to Expand for ARM. v2f64 was already correct. llvm-svn: 163458
-
Ted Kremenek authored
Revert "Add -exact-match option to FileCheck to allow clients to do exact matches without using regular expressions." Turns out I did not need it after all. If we find a use for it in the future, we can resurrect it. llvm-svn: 163457
-
Ted Kremenek authored
llvm-svn: 163456
-
Ted Kremenek authored
of the analyzer by using the FullProfile() of a PathDiagnostic for ordering them. llvm-svn: 163455
-
Ted Kremenek authored
llvm-svn: 163454
-
Jordan Rose authored
As a corollary to the previous commit, even when an extension is available, we can still offer a fixit to the standard modifier. llvm-svn: 163453
-
Jordan Rose authored
This seems to be a GNU libc extension; we offer a fixit to %lld on these platforms. <rdar://problem/11518237> llvm-svn: 163452
-
Richard Smith authored
the trap BB out of the individual checks and into a common function, to prepare for making this code call into a runtime library. Rename the existing EmitCheck to EmitTypeCheck to clarify it and to move it out of the way of the new EmitCheck. llvm-svn: 163451
-
Sean Callanan authored
run code when it didn't really need to run. <rdar://problem/12145006> llvm-svn: 163450
-
Jordan Rose authored
ObjCSelfInitChecker stashes information in the GDM to persist it across function calls; it is stored in pre-call checks and retrieved post-call. The post-call check is supposed to clear out the stored state, but was failing to do so in cases where the call did not have a symbolic return value. This was actually causing the inappropriate cache-out from r163361. Per discussion with Anna, we should never actually cache out when assuming the receiver of an Objective-C message is non-nil, because we guarded that node generation by checking that the state has changed. Therefore, the only states that could reach this exact ExplodedNode are ones that should have merged /before/ making this assumption. r163361 has been reverted and the test case removed, since it won't actually test anything interesting now. llvm-svn: 163449
-
Jordan Rose authored
No functionality change. llvm-svn: 163448
-
Ted Kremenek authored
llvm-svn: 163447
-
Ted Kremenek authored
llvm-svn: 163446
-
Ted Kremenek authored
llvm-svn: 163445
-
Jordan Rose authored
Previously, we'd just keep constraints around forever, which means we'd never be able to merge paths that differed only in constraints on dead symbols. Because we now allow constraints on symbolic expressions, not just single symbols, this requires changing SymExpr::symbol_iterator to include intermediate symbol nodes in its traversal, not just the SymbolData leaf nodes. llvm-svn: 163444
-
Jordan Rose authored
RegionStoreManager was only treating a SymbolicRegion's symbel as live if there was a binding referring to the region itself. No test case because constraints are currently not being cleaned out of the constraint manager at all (even if the symbol is legitimately dead). llvm-svn: 163443
-
Jordan Rose authored
This is necessary because further analysis will assume that the SVal's type matches the AST type. This caused a crash when trying to perform a derived-to-base cast on a C++ object that had been new'd to be another object type. Yet another crash in PR13763. llvm-svn: 163442
-
Greg Clayton authored
llvm-svn: 163441
-