- Oct 20, 2009
-
-
Chris Lattner authored
implements a framework that allows us to use information about previously substituted values to simplify subsequent ones. Maybe this would be useful for C++'y stuff, who knows. We now get: t.c:4:21: error: invalid operands to binary expression ('size_t' (aka 'unsigned long *') and 'size_t') return (size_t) 0 + (size_t) 0; ~~~~~~~~~~ ^ ~~~~~~~~~~ on the testcase. Note that size_t is only aka'd once. llvm-svn: 84604
-
Daniel Dunbar authored
llvm-svn: 84603
-
Chris Lattner authored
pass them down into the ArgToStringFn implementation. This allows redundancy across operands to a diagnostic to be eliminated. This isn't used yet, so no functionality change. llvm-svn: 84602
-
Ted Kremenek authored
This was causing a ton of memory to be leaked when using HTML diagnostics with the static analyzer (on large files with many errors). llvm-svn: 84601
-
Daniel Dunbar authored
llvm-svn: 84600
-
Chris Lattner authored
llvm-svn: 84599
-
Dan Gohman authored
tracked. Instead of trying to manually keep track of these locations while doing complex modifications, just recompute them when they're needed. This fixes a bug in which the TopMBB and BotMBB were not correctly updated, leading to invalid transformations. llvm-svn: 84598
-
Evan Cheng authored
llvm-svn: 84597
-
Dan Gohman authored
llvm-svn: 84596
-
Nick Lewycky authored
llvm-svn: 84595
-
Daniel Dunbar authored
breaking Clang's Apple-style build. llvm-svn: 84592
-
Daniel Dunbar authored
llvm-svn: 84591
-
Mike Stump authored
WIP. I have yet to find the magic incantation to get the structure type to be defined. If someone has a pointer, love to hear it. llvm-svn: 84590
-
Anders Carlsson authored
llvm-svn: 84589
-
Jim Grosbach authored
functions are not needed. llvm-svn: 84587
-
Evan Cheng authored
llvm-svn: 84586
-
Jim Grosbach authored
llvm-svn: 84585
-
Ted Kremenek authored
region when doing lazy value retrieval of an ivar. This fixes: <rdar://problem/7312221> llvm-svn: 84584
-
Chris Lattner authored
llvm-svn: 84583
-
Chris Lattner authored
reasonable code like Codegen/ARM/2009-02-27-SpillerBug.ll, producing identical output except for superior formatting of constant pool entries. llvm-svn: 84582
-
Chris Lattner authored
llvm-svn: 84579
-
Chris Lattner authored
llvm-svn: 84577
-
Chris Lattner authored
llvm-svn: 84575
-
Chris Lattner authored
llvm-svn: 84573
-
Jim Grosbach authored
Leave Inst{11-8}, which represents the starting byte index of the extracted result in the concatenation of the operands and is left unspecified. Patch by Johnny Chen. llvm-svn: 84572
-
Jim Grosbach authored
Patch by Johnny Chen. llvm-svn: 84570
-
Ted Kremenek authored
retain/release checker: allow 'new', 'copy', 'alloc', 'init' prefix to start before '_' when determining Cocoa fundamental rule. Fixes: <rdar://problem/7265711> llvm-svn: 84569
-
Fariborz Jahanian authored
<<=, >>= and the rest. llvm-svn: 84568
-
Chris Lattner authored
no functionality change. llvm-svn: 84567
-
Chris Lattner authored
by ignoring all implicit regs when lowering. llvm-svn: 84566
-
Chris Lattner authored
llvm-svn: 84565
-
Oscar Fuentes authored
llvm-svn: 84564
-
Jim Grosbach authored
llvm-svn: 84563
-
Chris Lattner authored
llvm-svn: 84562
-
Chris Lattner authored
llvm-svn: 84561
-
Chris Lattner authored
like: @ BB#1: .align 2 LCPI1_0: .long L_.str-(LPC0+8) Note that proper indentation of the label :) llvm-svn: 84558
-
Ted Kremenek authored
llvm-svn: 84555
-
Jim Grosbach authored
appropriate restore location for the spill as well as perform the actual save and restore. The Thumb1 target uses this to make sure R12 is not clobbered while a spilled scavenger register is live there. llvm-svn: 84554
-
Chris Lattner authored
llvm-svn: 84553
-
rdar://problem/7312058Ted Kremenek authored
clang_createTranslationUnit() and clang_createTranslationUnitFromSourceFile(). The user can now specify if the diagnostics from Clang are printed to stderr or are silenced completely. We can obviously evolve this API to be more general in the future. Note: Added a FIXME since I wasn't certain what was the best way to redirect to something analogous to '/dev/null' on Windows. llvm-svn: 84548
-