- Sep 13, 2011
-
-
Akira Hatanaka authored
llvm-svn: 139607
-
Owen Anderson authored
llvm-svn: 139606
-
Douglas Gregor authored
language options. Use that .def file to declare the LangOptions class and initialize all of its members, eliminating a source of annoying initialization bugs. AST serialization changes are next up. llvm-svn: 139605
-
Jakob Stoklund Olesen authored
Three out of four clients prefer this interface which is consistent with extendIntervalEndTo() and LiveRangeCalc::extend(). llvm-svn: 139604
-
Jakob Stoklund Olesen authored
The complement interval may overlap the other intervals created, so use a separate LiveRangeCalc instance to compute its live range. A LiveRangeCalc instance can only be shared among non-overlapping intervals. llvm-svn: 139603
-
Chad Rosier authored
removed in the future. rdar://10110352 and PR10908 llvm-svn: 139602
-
Devang Patel authored
llvm-svn: 139601
-
Argyrios Kyrtzidis authored
llvm-svn: 139600
-
Argyrios Kyrtzidis authored
llvm-svn: 139599
-
Argyrios Kyrtzidis authored
llvm-svn: 139598
-
Douglas Gregor authored
llvm-svn: 139597
-
Francois Pichet authored
In Microsoft mode, downgrade "goto into protected scope" from error to warning if we are jumping over a variable initialization via a goto. This fixes a few errors when parsing MFC code with clang. llvm-svn: 139595
-
Chandler Carruth authored
This deletes a bunch of crufty code, and allows more logic sharing between the analyzer and the warnings. llvm-svn: 139594
-
Chandler Carruth authored
CFGElement. This will allow greatly simplifying the logic in -Wreturn-type. llvm-svn: 139593
-
Chandler Carruth authored
location with a single comment rather than scattering it in three places. llvm-svn: 139592
-
Craig Topper authored
Only disassembler instructions with vvvv != 1111 if the instruction actually uses the vvvv field to encode an operand. Fixes PR10851. llvm-svn: 139591
-
John McCall authored
even on architectures that support unaligned access (which is the only way this is otherwise legal, given that ivars apparently do not honor alignment attributes). llvm-svn: 139590
-
John McCall authored
llvm-svn: 139589
-
Craig Topper authored
Remove filter that was preventing MOVDQU/MOVDQA and their VEX forms from being disassembled. Also added encodings for the other register/register form of these instructions. Fixes PR10848. llvm-svn: 139588
-
Craig Topper authored
Fix encoding of VMOVDQU to not simultaneously be 'TB OpSize' and 'XS'. 'XS' is correct and seems to have been taking priority. llvm-svn: 139587
-
Chandler Carruth authored
temporary objects and local variables. When detected, these split the block, marking the new one as having only the exit block as a successor. This prevents a large number of false positives in warnings sensitive to no-return constructs such as -Wreturn-type, and fixes the remainder of PR10063 along with several variations of this bug that had not been reported. The test cases are extended across the board to cover these patterns. This also checks in a stress test for these types of CFGs. The stress test declares some 32k variables, a mixture of no-return and normal destructors. Previously, this resulted in roughly 2500 CFG blocks, but didn't model any of the no-return destructors. With this patch, it results in over 33k blocks, many of them now unreachable. The nice thing about how the analyzer is set up? This causes *no* regression in performance of building the CFG. It actually in some cases makes it faster, as best I can benchmark. The analysis for -Wreturn-type (and any other that cares about no-return code paths) is technically slower now as it has to look at many more candidate blocks, but it computes the correct answer. I have more test cases to follow, I think they all work now. Also I have further work that should dramatically simplify analyses in the presence of no-return. llvm-svn: 139586
-
John McCall authored
llvm-svn: 139585
-
John McCall authored
atomic. This is probably something we should warn about. llvm-svn: 139584
-
Andrew Trick authored
llvm-svn: 139583
-
Greg Clayton authored
llvm-svn: 139582
-
NAKAMURA Takumi authored
llvm-svn: 139581
-
John McCall authored
single code path. Use atomic loads and stores where necessary. Load and store anything of the appropriate size and alignment with primitive operations instead of going through the call. llvm-svn: 139580
-
Andrew Trick authored
llvm-svn: 139579
-
Andrew Trick authored
llvm-svn: 139578
-
Andrew Trick authored
llvm-svn: 139577
-
Andrew Trick authored
llvm-svn: 139576
-
Eli Friedman authored
llvm-svn: 139575
-
Andrew Trick authored
llvm-svn: 139574
-
Benjamin Kramer authored
llvm-svn: 139573
-
Jakob Stoklund Olesen authored
SplitKit will soon need two copies of these data structures, and the algorithms will also be useful when LiveIntervalAnalysis becomes independent of LiveVariables. llvm-svn: 139572
-
Eli Friedman authored
llvm-svn: 139571
-
Douglas Gregor authored
already provided. This required a little bit of clean-up in the way that VerifyDiagnosticsClient managed ownership of its underlying "primary" client, because now it will no longer always take ownership. llvm-svn: 139570
-
Johnny Chen authored
llvm-svn: 139569
-
Johnny Chen authored
llvm-svn: 139568
-
Jason Molenda authored
valid threads - can happen if attaching to a process fails in a certain way. llvm-svn: 139567
-