- Sep 18, 2009
-
-
Dan Gohman authored
on x86, to avoid explicit test instructions. A few existing tests changed due to arbitrary register allocation differences. llvm-svn: 82263
-
Anders Carlsson authored
llvm-svn: 82262
-
Sean Callanan authored
carry bit) instructions to the Intel instruction tables. llvm-svn: 82260
-
Devang Patel authored
llvm-svn: 82259
-
Victor Hernandez authored
Update malloc call creation code (AllocType is now the element type of the malloc, not the resulting type). In getMallocArraySize(), fix bug in the case that array size is the product of 2 constants. Extend isArrayMalloc() and getMallocArraySize() to handle case where malloc is used as char array. Ensure that ArraySize in LowerAllocations::runOnBasicBlock() is correct type. Extend Instruction::isSafeToSpeculativelyExecute() to handle malloc calls. Add verification for malloc calls. Reviewed by Dan Gohman. llvm-svn: 82257
-
Anders Carlsson authored
Make our char vector types not be explicitly signed to match GCC and to fix compilation with C++ and -fno-lax-vector-conversions llvm-svn: 82254
-
Mike Stump authored
llvm-svn: 82253
-
Douglas Gregor authored
- after "using", show anything that can be a nested-name-specifier. - after "using namespace", show any visible namespaces or namespace aliases - after "namespace", show any namespace definitions in the current scope - after "namespace identifier = ", show any visible namespaces or namespace aliases llvm-svn: 82251
-
Anders Carlsson authored
llvm-svn: 82250
-
Anders Carlsson authored
llvm-svn: 82247
-
Anders Carlsson authored
llvm-svn: 82246
-
Chris Lattner authored
llvm-svn: 82245
-
Chris Lattner authored
llvm-svn: 82244
-
Chris Lattner authored
llvm-svn: 82236
-
Chris Lattner authored
llvm-svn: 82235
-
Douglas Gregor authored
llvm-svn: 82234
-
Douglas Gregor authored
llvm-svn: 82233
-
Daniel Dunbar authored
llvm-svn: 82232
-
Douglas Gregor authored
look into the current scope for anything that could start a nested-names-specifier. These results are ranked worse than any of the results actually found in the lexical scope. Perform a little more pruning of the result set, eliminating constructors, __va_list_tag, and any duplication of declarations in the result set. For the latter, implemented NamespaceDecl::getCanonicalDecl. llvm-svn: 82231
-
Mike Stump authored
http://savannah.gnu.org/projects/config llvm-svn: 82229
-
Anders Carlsson authored
Fix error in _mm_set_pd/_mm_setr_pd and add _mm_set_epi64x/_mm_set1_epi64x. Patch by Laurent Morichetti! llvm-svn: 82228
-
Anton Korobeynikov authored
variables to specified absolute address. Make use of this feature for MSP430. This unbreaks PR4776. llvm-svn: 82227
-
Nick Lewycky authored
llvm-svn: 82225
-
Douglas Gregor authored
results when there is some way to refer to them in the language, such as with a qualified name in C++. llvm-svn: 82223
-
Douglas Gregor authored
will provide the names of various enumerations currently visible. Introduced filtering of code-completion results when we build the result set, so that we can identify just the kinds of declarations we want. This implementation is incomplete for C++, since we don't consider that the token after the tag keyword could start a nested-name-specifier. llvm-svn: 82222
-
Douglas Gregor authored
llvm-svn: 82221
-
Xerxes Ranby authored
llvm-svn: 82218
-
Daniel Dunbar authored
expression. llvm-svn: 82217
-
Daniel Dunbar authored
llvm-svn: 82216
-
Evan Cheng authored
llvm-svn: 82215
-
Evan Cheng authored
Fix a bug in sdisel switch lowering code. When it updates the phi nodes in switch successor blocks, it can introduce multiple phi operands of the same value from different blocks (and may not be on the predecessor list). This can be seen on CodeGen/Generic/2006-09-06-SwitchLowering.ll. But it's not known to cause any real regression (but I have added an assertion for it now). llvm-svn: 82214
-
Daniel Dunbar authored
llvm-svn: 82213
-
Daniel Dunbar authored
llvm-svn: 82212
-
Daniel Dunbar authored
llvm-svn: 82211
-
Daniel Dunbar authored
llvm-svn: 82210
-
Daniel Dunbar authored
llvm-svn: 82209
-
Daniel Dunbar authored
llvm-svn: 82208
-
Nick Lewycky authored
llvm-svn: 82206
-
Ted Kremenek authored
when running the analyzer on real projects. We'll keep the change to AnalysisManager.cpp in r82198 so that -fobjc-gc analyzes code correctly in both GC and non-GC modes, although this may emit two diagnostics for each bug in some cases (a better solution will come later). llvm-svn: 82201
-
Ted Kremenek authored
pruning of diagnostics that may be emitted multiple times. This is accomplished by adding FoldingSet profiling support to PathDiagnostic, and then having BugReporter record what diagnostics have been issued. This was motived to a serious bug introduced by moving the 'divide-by-zero' checking outside of GRExprEngine into a separate 'Checker' class. When analyzing code using the '-fobjc-gc' option, a given function would be analyzed twice, but the second time various "internal checks" would be disabled to avoid emitting multiple diagnostics (e.g., "null dereference") for the same issue. The problem is that such checks also effect path pruning and don't just emit diagnostics. This resulted in an assertion failure involving a real divide-by-zero in some analyzed code where we would get an assertion failure in APInt because the 'DivZero' check was disabled and didn't prune the logic that resulted in the divide-by-zero in the analyzer. The implemented solution is somewhat of a hack, and may not perform extremely well. This will need to be cleaned up over time. As a regression test, 'misc-ps.m' has been modified so that its tests are run using -fobjc-gc to test this diagnostic pruning behavior. llvm-svn: 82198
-