- Jan 09, 2009
-
-
Mikhail Glushenkov authored
llvm-svn: 61990
-
Mikhail Glushenkov authored
llvm-svn: 61989
-
Steve Naroff authored
Add isa/cast/dyncast support for ObjCContainerDecl. Renamed classprop_iterator/begin/end to prop_iterator/begin/end (the class prefix was confusing). More simplifications to Sema::ActOnAtEnd()... Added/changed some FIXME's as a result of the above work. llvm-svn: 61988
-
Dan Gohman authored
llvm-svn: 61986
-
rdar://6480391Chris Lattner authored
I noticed this in the code compiled for a routine using std::map, which produced this code: %25 = tail call i32 @memcmp(i8* %24, i8* %23, i32 6) nounwind readonly %.lobit.i = lshr i32 %25, 31 ; <i32> [#uses=1] %tmp.i = trunc i32 %.lobit.i to i8 ; <i8> [#uses=1] %toBool = icmp eq i8 %tmp.i, 0 ; <i1> [#uses=1] br i1 %toBool, label %bb3, label %bb4 which compiled to: call L_memcmp$stub shrl $31, %eax testb %al, %al jne LBB1_11 ## with this change, we compile it to: call L_memcmp$stub testl %eax, %eax js LBB1_11 This triggers all the time in common code, with patters like this: %169 = and i32 %ply, 1 ; <i32> [#uses=1] %170 = trunc i32 %169 to i8 ; <i8> [#uses=1] %toBool = icmp ne i8 %170, 0 ; <i1> [#uses=1] %7 = lshr i32 %6, 24 ; <i32> [#uses=1] %9 = trunc i32 %7 to i8 ; <i8> [#uses=1] %10 = icmp ne i8 %9, 0 ; <i1> [#uses=1] etc llvm-svn: 61985
-
Chris Lattner authored
llvm-svn: 61984
-
Chris Lattner authored
jump threading can have bugs, who knew? ;-) llvm-svn: 61983
-
Chris Lattner authored
llvm-svn: 61982
-
Chris Lattner authored
llvm-svn: 61981
-
Chris Lattner authored
llvm-svn: 61980
-
Chris Lattner authored
just llc. llvm-svn: 61979
-
Chris Lattner authored
llvm-svn: 61978
-
Chris Lattner authored
llvm-svn: 61977
-
Chris Lattner authored
(which is constant time and cheap) before checking hasAllZeroIndices. llvm-svn: 61976
-
-
Daniel Dunbar authored
matches llvm-gcc (?). llvm-svn: 61974
-
Daniel Dunbar authored
llvm-svn: 61973
-
Dan Gohman authored
llvm-svn: 61972
-
Dan Gohman authored
the same formatting as their corresponding SSE2 instructions, for consistency. llvm-svn: 61971
-
Douglas Gregor authored
llvm-svn: 61970
-
Dale Johannesen authored
llvm-svn: 61969
-
Daniel Dunbar authored
categories. - Also, simplify nesting via early return. llvm-svn: 61968
-
Daniel Dunbar authored
- For use by the driver in places where the host alters driver behavior (for example, running as a driver driver on darwin). - Allow user override for testing purposes. llvm-svn: 61967
-
rdar://problem/6479085Douglas Gregor authored
rewrite @class declarations that showed up within linkage specifications because those @class declarations never made it any place where the rewriter could find them. Moved all of the ObjC*Decl nodes over to ScopedDecls, so that they can live in the appropriate top-level or transparent DeclContext near the top level, e.g., TranslationUnitDecl or LinkageSpecDecl. Objective-C declarations now show up in a traversal of the declarations in a DeclContext (they didn't before!). This way, the rewriter finds all Objective-C declarations within linkage specifications. llvm-svn: 61966
-
Ted Kremenek authored
llvm-svn: 61965
-
Fariborz Jahanian authored
parameter list. This is work in progress. llvm-svn: 61964
-
Ted Kremenek authored
llvm-svn: 61963
-
Ted Kremenek authored
Simpler solution to LiteralSupport compatibility: just add one whitespace character after each cached string. llvm-svn: 61962
-
Ted Kremenek authored
llvm-svn: 61961
-
Ted Kremenek authored
llvm-svn: 61960
-
Dan Gohman authored
the comment a little more verbose. llvm-svn: 61959
-
Ted Kremenek authored
llvm-svn: 61958
-
Ted Kremenek authored
llvm-svn: 61957
-
Ted Kremenek authored
PTH: For the cached spellings of literals, store one whitespace character after the spelling to accomodate sanity checking in LiteralSuppoert.cpp. llvm-svn: 61956
-
Devang Patel authored
Convert DwarfWriter into a pass. Now Users request DwarfWriter through getAnalysisUsage() instead of creating an instance of DwarfWriter object directly. llvm-svn: 61955
-
Anders Carlsson authored
llvm-svn: 61954
-
Fariborz Jahanian authored
are related to setter syntax under -Wreadonly-setter-attrs to prevent warnings in projects built with gcc. llvm-svn: 61953
-
- Jan 08, 2009
-
-
Douglas Gregor authored
Revert my previous, failed attempt to pretty-print anonymous struct/union accesses well. Added a FIXME so we know to revisit this later llvm-svn: 61951
-
Dan Gohman authored
llvm-svn: 61950
-
Dan Gohman authored
llvm-svn: 61949
-