- Jul 06, 2011
-
-
Greg Clayton authored
llvm-svn: 134541
-
Jim Grosbach authored
This allows us to remove the (bogus and unneeded) encoding information from the pseudo-instruction class definitions. All of the pseudos that haven't been converted yet and still need encoding information instance from the normal instruction classes and explicitly set isCodeGenOnly, and so are distinct from this change. llvm-svn: 134540
-
Jim Grosbach authored
For now this is distinct from isCodeGenOnly, as code-gen-only instructions can (and often do) still have encoding information associated with them. Once we've migrated all of them over to true pseudo-instructions that are lowered to real instructions prior to the printer/emitter, we can remove isCodeGenOnly and just use isPseudo. llvm-svn: 134539
-
Devang Patel authored
llvm-svn: 134538
-
Andrew Trick authored
careful about referencing values. llvm-svn: 134537
-
-
Greg Clayton authored
llvm-svn: 134534
-
Jim Grosbach authored
Pseudo-instructions don't have encoding information, as they're lowered to real instructions by the time we're doing binary encoding. llvm-svn: 134533
-
Eli Friedman authored
llvm-svn: 134532
-
Alexis Hunt authored
not test for this. llvm-svn: 134531
-
Andrew Trick authored
llvm-svn: 134530
-
Fariborz Jahanian authored
llvm-svn: 134529
-
Eli Friedman authored
llvm-svn: 134528
-
Bill Wendling authored
llvm-svn: 134527
-
Evan Cheng authored
llvm-svn: 134526
-
Evan Cheng authored
llvm-svn: 134525
-
Johnny Chen authored
The swig "autodoc" feature to remove '*' from 'char *' will be handled by doing post-processing on the lldb.py module. llvm-svn: 134524
-
Enrico Granata authored
- ${*var[].something} was not working as expected options -p and -r now also work for type format add llvm-svn: 134523
-
Fariborz Jahanian authored
classes which are incompatible with weak references. // rdar://9693477 llvm-svn: 134522
-
Tobias Grosser authored
llvm-svn: 134521
-
Tobias Grosser authored
The promotion code lost any alignment information, when hoisting loads and stores out of the loop. This lead to incorrect aligned memory accesses. We now use the largest alignment we can prove to be correct. llvm-svn: 134520
-
Johnny Chen authored
llvm-svn: 134519
-
Greg Clayton authored
objective C or C++ methods when "self" or "this" were in scope, but had invalid locations in a DWARF location list. The lack of a valid value caused us to use an invalid type value and then we tried to import that invalid value and we would crash. llvm-svn: 134518
-
Jakub Staszak authored
llvm-svn: 134517
-
Jakub Staszak authored
llvm-svn: 134516
-
Douglas Gregor authored
declaration with dependent type. Fixes PR10232 / <rdar://problem/9700653>. llvm-svn: 134515
-
Jonathan D. Turner authored
Update docs to remove reference to OverloadedFunctionDecl and replace it with DeclContext::lookup_result. llvm-svn: 134514
-
Tobias Grosser authored
llvm-svn: 134513
-
Tobias Grosser authored
llvm-svn: 134512
-
Kevin Enderby authored
llvm-svn: 134511
-
Jim Ingham authored
llvm-svn: 134505
-
Douglas Gregor authored
clang_saveTranslationUnit() to save a PCH file if the only errors it contains are recoverable errors. Fixes <rdar://problem/9727804>. llvm-svn: 134503
-
Kevin Enderby authored
push with a small constant produces a 2-byte push. llvm-svn: 134501
-
David Greene authored
llvm-svn: 134498
-
Greg Clayton authored
would return instead of a less than helpful "name: '%s'" description. Make sure that when we ask for the error from a ValueObject object we first update the value if needed. Cleaned up some SB functions to use internal functions and not re-call through the public API when possible. llvm-svn: 134497
-
Benjamin Kramer authored
The small number of elements was determined by taking the median file length in clang+llvm and /usr/include on OS X with xcode installed. llvm-svn: 134496
-
Douglas Gregor authored
between different classes of errors. Addresses most of <rdar://problem/9660328>. llvm-svn: 134495
-
Chandler Carruth authored
Special detail is added for uninitialized variable analysis as this has serious performance problems than need to be tracked. Computing some of this data is expensive, for example walking the CFG to determine its size. To avoid doing that unless the stats data is going to be used, we thread a bit into the Sema object to track whether detailed stats should be collected or not. This bit is used to avoid computations whereever the computations are likely to be more expensive than checking the state of the flag. Thus, counters are in some cases unconditionally updated, but the more expensive (and less frequent) aggregation steps are skipped. With this patch, we're able to see that for 'gcc.c': *** Analysis Based Warnings Stats: 232 functions analyzed (0 w/o CFGs). 7151 CFG blocks built. 30 average CFG blocks per function. 1167 max CFG blocks per function. 163 functions analyzed for uninitialiazed variables 640 variables analyzed. 3 average variables per function. 94 max variables per function. 96409 block visits. 591 average block visits per function. 61546 max block visits per function. And for the reduced testcase in PR10183: *** Analysis Based Warnings Stats: 98 functions analyzed (0 w/o CFGs). 8526 CFG blocks built. 87 average CFG blocks per function. 7277 max CFG blocks per function. 68 functions analyzed for uninitialiazed variables 1359 variables analyzed. 19 average variables per function. 1196 max variables per function. 2540494 block visits. 37360 average block visits per function. 2536495 max block visits per function. That last number is the somewhat scary one that indicates the problem in PR10183. llvm-svn: 134494
-
Douglas Gregor authored
obey the objc_method_family attribute when provided. Fixes <rdar://problem/9726279>. llvm-svn: 134493
-
Enrico Granata authored
llvm-svn: 134492
-