- Dec 18, 2007
-
-
Bill Wendling authored
llvm-svn: 45178
-
Ted Kremenek authored
TranslationUnit. llvm-svn: 45177
-
Ted Kremenek authored
llvm-svn: 45176
-
Ted Kremenek authored
llvm-svn: 45175
-
Fariborz Jahanian authored
llvm-svn: 45174
-
Christopher Lamb authored
from _foo: movl $99, %ecx movl 4(%esp), %eax subl %eax, %ecx xorl %edx, %edx testl %ecx, %ecx cmovs %edx, %eax ret to _foo: xorl %ecx, %ecx movl 4(%esp), %eax cmpl $99, %eax cmovg %ecx, %eax ret llvm-svn: 45173
-
Anton Korobeynikov authored
llvm-svn: 45172
-
Ted Kremenek authored
accessors to FileEntry to query these values. llvm-svn: 45171
-
Christopher Lamb authored
llvm-svn: 45170
-
Christopher Lamb authored
llvm-svn: 45169
-
Ted Kremenek authored
llvm-svn: 45168
-
Evan Cheng authored
llvm-svn: 45167
-
Bill Wendling authored
llvm-svn: 45166
-
Chris Lattner authored
llvm-svn: 45165
-
Evan Cheng authored
llvm-svn: 45164
-
Chris Lattner authored
llvm-svn: 45163
-
Ted Kremenek authored
Added additional serialization functors for use with std::foreach. llvm-svn: 45162
-
Chris Lattner authored
llvm-svn: 45161
-
Duncan Sands authored
doesNotThrow. llvm-svn: 45160
-
Christopher Lamb authored
llvm-svn: 45159
-
Christopher Lamb authored
Fold certain additions through selects (and their compares) so as to eliminate subtractions. This code is often produced by the SMAX expansion in SCEV. This implements test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll llvm-svn: 45158
-
Evan Cheng authored
FIX for PR1799: When a load is unfolded from an instruction, check if it is a new node. If not, do not create a new SUnit. llvm-svn: 45157
-
Chris Lattner authored
reported by Seo. llvm-svn: 45156
-
Chris Lattner authored
llvm-svn: 45155
-
Chris Lattner authored
int foo() { typedef int x[foo()]; static int y = sizeof(x); } previously we'd emit it on the typedef, which made not sense at all. llvm-svn: 45154
-
Chris Lattner authored
this method. llvm-svn: 45153
-
Chris Lattner authored
llvm-svn: 45152
-
Evan Cheng authored
llvm-svn: 45151
-
Chris Lattner authored
llvm-svn: 45150
-
Chris Lattner authored
llvm-svn: 45149
-
Steve Naroff authored
Add DefaultFunctionArrayConversion() to the indirection operator in Sema::ActOnUnaryOp(). This fixes a bug Chris forwarded from Oliver Hunt... typedef struct { char name[100]; } entry; char f1(entry *e) { return *e->name; } llvm-svn: 45148
-
Christopher Lamb authored
Don't forget to print address space qualifiers when printing out the type table! Thanks to Gordon Henriksen for pointing this out. llvm-svn: 45147
-
Steve Naroff authored
Fixe bogus error for variable argument methods. Sema::ObjcGetTypeForMethodDefinition() wasn't preserving the isVariadic boolean. Another fix is to avoid synthsizing the function decl entirely, however this is a separate issue that I don't want to deal with now. Also added a FIXME to Sema::CheckFunctionCall(), which is currently emitting a bogus warning. llvm-svn: 45146
-
Anders Carlsson authored
Turns out the LLVMFoldingBuilder can fold InsertElement. Knowing this, we can get rid of our special casing of constants when creating vectors. llvm-svn: 45145
-
Dale Johannesen authored
llvm-svn: 45144
-
Steve Naroff authored
Improve how we find private method decls. This involved: - Changed Sema::ObjcActOnStartOfMethodDef() to register the methods with the global pools. - Changed Sema::ActOnInstanceMessage() to look in global pools (should be much less error prone). - Added a test case to message.m (for lookup that was broken). Misc changes while I was investigating this... - Changed Sema::ActOnAtEnd() to call AddFactoryMethodToGlobalPool (this looked like a cut/paste error). - Added a comment and tweaked another where I was using the first person. llvm-svn: 45142
-
Chris Lattner authored
llvm-svn: 45141
-
Evan Cheng authored
llvm-svn: 45140
-
Evan Cheng authored
llvm-svn: 45139
-
Chris Lattner authored
Intrinsic::getDeclaration, allowing much more terse code. llvm-svn: 45136
-