- Apr 24, 2009
-
-
Nate Begeman authored
ISD::VECTOR_SHUFFLE now stores an array of integers representing the shuffle mask internal to the node, rather than taking a BUILD_VECTOR of ConstantSDNodes as the shuffle mask. A value of -1 represents UNDEF. In addition to eliminating the creation of illegal BUILD_VECTORS just to represent shuffle masks, we are better about canonicalizing the shuffle mask, resulting in substantially better code for some classes of shuffles. A clean up of x86 shuffle code, and some canonicalizing in DAGCombiner is next. llvm-svn: 69952
-
Daniel Dunbar authored
- Otherwise, we will end up with stray .dSYM files which don't get lipo'ed or removed. - Ideally we would run dsymutil on the result, but we don't have the infrastructure for that yet. Note that gcc doesn't handle this case either. - <rdar://problem/6809621> [driver] clang leaves .dSYM files lying around in tmp. llvm-svn: 69951
-
Douglas Gregor authored
updates name lookup so that we see through @compatibility_alias declarations to their underlying interfaces. llvm-svn: 69950
-
Sanjiv Gupta authored
llvm-svn: 69949
-
Dan Gohman authored
use ISD::EXTRACT_ELEMENT. SelectionDAG has a special fast-path for the cast of an EXTRACT_ELEMENT with a BUILD_PAIR operand, for the common case. llvm-svn: 69948
-
Daniel Dunbar authored
llvm-svn: 69947
-
Sanjiv Gupta authored
llvm-svn: 69946
-
Douglas Gregor authored
llvm-svn: 69945
-
Daniel Dunbar authored
llvm-svn: 69944
-
rdar://6821047Chris Lattner authored
Several changes here: 1. We change Type::isIncompleteType to realize that forward declared interfaces are incomplete. This eliminate special case code for this from the sizeof path, and starts us rejecting P[4] when P is a pointer to an incomplete interface. 2. Explicitly reject P[4] when P points to an interface in non-fragile ABI mode. 3. Switch the sizeof(interface) diagnostic back to an error instead of a warning in non-fragile abi mode. llvm-svn: 69943
-
Douglas Gregor authored
llvm-svn: 69942
-
Douglas Gregor authored
Eliminate Sema::ObjCImplementations, relying instead on name lookup. What's good for uniformity is good for PCH (or is it the other way around?). As part of this, make ObjCImplDecl inherit from NamedDecl (since ObjCImplementationDecls now need to have names so that they can be found). This brings ObjCImplDecl very, very close to ObjCContainerDecl; we may be able to merge them soon. llvm-svn: 69941
-
Ted Kremenek authored
llvm-svn: 69940
-
Douglas Gregor authored
their own namespace (IDNS_Protocol) and use the normal name-lookup routines to find them. Aside from the simplification this provides (one less DenseMap!), it means that protocols will be lazily deserialized from PCH files. Make the code size of the selector table block match the code size of the type and decl blocks. llvm-svn: 69939
-
Daniel Dunbar authored
- <rdar://problem/6517382> [driver] call ld directly llvm-svn: 69938
-
Dan Gohman authored
utility function. llvm-svn: 69937
-
Ted Kremenek authored
functionality change. llvm-svn: 69936
-
Dan Gohman authored
but this change makes the code more general and easier to adapt for new purposes. llvm-svn: 69935
-
Dan Gohman authored
llvm-svn: 69934
-
Douglas Gregor authored
llvm-svn: 69933
-
Douglas Gregor authored
SEL, Class, Protocol, CFConstantString, and __objcFastEnumerationState. With this, we can now run the Objective-C methods and properties PCH tests. llvm-svn: 69932
-
Ted Kremenek authored
llvm-svn: 69929
-
- Apr 23, 2009
-
-
Fariborz Jahanian authored
declaration (and avoid issuing bogus error later on). llvm-svn: 69928
-
David Greene authored
Fix a documentation bug. llvm-svn: 69923
-
Ted Kremenek authored
This was preventing the checker from tracking return objects referenced by 'id'. llvm-svn: 69922
-
David Greene authored
Make BinOps typed and require a type specifier for !nameconcat. This allows binops to be used in typed contexts such as when passing arguments to classes. llvm-svn: 69921
-
Evan Cheng authored
llvm-svn: 69919
-
Evan Cheng authored
llvm-svn: 69918
-
Ted Kremenek authored
llvm-svn: 69917
-
Ted Kremenek authored
object references as tracked objects. llvm-svn: 69915
-
Chris Lattner authored
llvm-svn: 69914
-
Dan Gohman authored
work as intended no matter what the default setting of that option is. llvm-svn: 69911
-
rdar://problem/6815234Ted Kremenek authored
extend the number of objects tracked by the retain/release checker by assuming that all class and instance methods should follow Cocoa object "getter" and "alloc/new" conventions. llvm-svn: 69908
-
Douglas Gregor authored
multiple declarations of the function. Should fix PR3989 and <rdar://problem/6818429>. llvm-svn: 69905
-
Devang Patel authored
Handle corner case where clang-cc is invoked directly to compile preprocessed source file without -main-file-name. In this case, CDDebugInfo is not able identify correct main source file becase SM.isFromMainFile() returns true for locations from header files as well as locations from main source file. This patch takes conservative approach by not emitting more then one compile unit with isMain bit set. llvm-svn: 69902
-
Dale Johannesen authored
llvm-svn: 69901
-
Ted Kremenek authored
target addresses. llvm-svn: 69900
-
Steve Naroff authored
llvm-svn: 69899
-
Ted Kremenek authored
when popping location contexts. llvm-svn: 69898
-
-