| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 63368
|
| |
|
|
| |
llvm-svn: 63367
|
| |
|
|
| |
llvm-svn: 63366
|
| |
|
|
|
|
|
| |
- Modify ReassociateOps so that the resulting SDValue is what the comment claims
it is.
llvm-svn: 63365
|
| |
|
|
| |
llvm-svn: 63364
|
| |
|
|
| |
llvm-svn: 63363
|
| |
|
|
|
|
| |
the constructed APSInt, patch suggested by Ben Laurie!
llvm-svn: 63362
|
| |
|
|
| |
llvm-svn: 63361
|
| |
|
|
| |
llvm-svn: 63360
|
| |
|
|
| |
llvm-svn: 63359
|
| |
|
|
| |
llvm-svn: 63358
|
| |
|
|
| |
llvm-svn: 63357
|
| |
|
|
| |
llvm-svn: 63356
|
| |
|
|
| |
llvm-svn: 63355
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LookupName et al. Instead, use an enum and a bool to describe its
contents.
Optimized the C/Objective-C path through LookupName, eliminating any
unnecessarily C++isms. Simplify IdentifierResolver::iterator, removing
some code and arguments that are no longer used.
Eliminated LookupDeclInScope/LookupDeclInContext, moving all callers
over to LookupName, LookupQualifiedName, or LookupParsedName, as
appropriate.
All together, I'm seeing a 0.2% speedup on Cocoa.h with PTH and
-disable-free. Plus, we're down to three name-lookup routines.
llvm-svn: 63354
|
| |
|
|
| |
llvm-svn: 63353
|
| |
|
|
| |
llvm-svn: 63352
|
| |
|
|
|
|
| |
(objc2 nonfragile-abi).
llvm-svn: 63351
|
| |
|
|
| |
llvm-svn: 63350
|
| |
|
|
|
|
|
|
|
| |
- -Xclang always forwards to clang
- -Xanalyzer replaces -WA,; it seems like the cleaner mechanism and
is more readable.
llvm-svn: 63349
|
| |
|
|
| |
llvm-svn: 63348
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- NonLoc::MakeVal() would use sizeof(unsigned) (literally) instead of consulting
ASTContext for the size (in bits) of 'int'. While it worked, it was a
conflation of concepts and using ASTContext.IntTy is 100% correct.
- RegionStore::getSizeInElements() no longer assumes that a VarRegion has the
type "ConstantArray", and handles the case when uses use ordinary variables
as if they were arrays.
- Fixed ElementRegion::getRValueType() to just return the rvalue type of its
"array region" in the case the array didn't have ArrayType.
- All of this fixes <rdar://problem/6541136>
llvm-svn: 63347
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This redoes the default mode that ccc runs in w.r.t. using clang. Now
ccc defaults to always using clang for any task clang can
handle. However, the following options exist to tweak this behavior:
-ccc-no-clang: Don't use clang at all for compilation (still used for
static analysis).
-ccc-no-clang-cxx: Don't use clang for C++ and Objective-C++ inputs.
-ccc-no-clang-cpp: Don't use clang as a preprocessor.
-ccc-clang-archs <archs>: If present, only use clang for the given
comma separated list of architectures. This only works on Darwin for
now.
Note that all -ccc options must be first on the command line.
llvm-svn: 63346
|
| |
|
|
|
|
| |
cpp-output, not c-cpp-output.
llvm-svn: 63345
|
| |
|
|
|
|
| |
non-fragile abi.
llvm-svn: 63343
|
| |
|
|
| |
llvm-svn: 63342
|
| |
|
|
|
|
| |
arguments to "escape" if they are passed to a function containing the terms "InsertValue", "SetValue", or "AddValue". This fixes <rdar://problem/6539791>.
llvm-svn: 63341
|
| |
|
|
|
|
|
|
| |
selection code. Not deleting because
it should be possible to enhance the selection code to handle this in the future.
llvm-svn: 63340
|
| |
|
|
|
|
|
|
| |
don't try to insert loads/stores between call frame setup and the actual call.
This fixes the last known failure for the pre-alloc-splitter.
llvm-svn: 63339
|
| |
|
|
|
|
| |
BUILD_VECTOR and conversions to stack operations.
llvm-svn: 63333
|
| |
|
|
| |
llvm-svn: 63330
|
| |
|
|
|
|
|
| |
build protocol translation table meta-data (objc2
non-fragile abi).
llvm-svn: 63329
|
| |
|
|
|
|
| |
some assertions.
llvm-svn: 63328
|
| |
|
|
|
|
| |
list that involves the GNU array-range designator extension
llvm-svn: 63327
|
| |
|
|
|
|
| |
Lot more to do in this area.
llvm-svn: 63326
|
| |
|
|
| |
llvm-svn: 63325
|
| |
|
|
| |
llvm-svn: 63324
|
| |
|
|
|
|
| |
basic blocks have live-ins.
llvm-svn: 63323
|
| |
|
|
|
|
|
|
| |
parsing C/ObjC.
This results in a 1.7% improvement for "Cocoa.h". If we can figure out how to return a "Decl *", rather than a Sema::LookupResult(), we will likely bump the speedup from 1.7%->2.5%. I verified this, however couldn't get it to work without breaking a fair number of C++ test cases. Will discuss with Doug offline.
llvm-svn: 63320
|
| |
|
|
| |
llvm-svn: 63319
|
| |
|
|
|
|
|
| |
diags around, eliminating #defines, etc. Patch by
Anders Johnsen!
llvm-svn: 63318
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
represents an implicit value-initialization of a subobject of a
particular type. This replaces the (ab)use of CXXZeroValueInitExpr
within initializer lists for the "holes" that occur due to the use of
C99 designated initializers.
The new test case is currently XFAIL'd, because CodeGen's
ConstExprEmitter (in lib/CodeGen/CGExprConstant.cpp) needs to be
taught to value-initialize when it sees ImplicitValueInitExprs.
llvm-svn: 63317
|
| |
|
|
|
|
| |
have to try to guess which member is being initialized.
llvm-svn: 63315
|
| |
|
|
| |
llvm-svn: 63312
|
| |
|
|
|
|
|
| |
the element indices may be equal if either one is not a
constant.
llvm-svn: 63311
|
| |
|
|
| |
llvm-svn: 63310
|
| |
|
|
|
|
|
|
| |
eightbyte boundaries.
- Getting harder to test now that we handle cases gcc & llvm-gcc get
wrong ( { _Complex char; _Complex int; } is a good example). :)
llvm-svn: 63305
|
| |
|
|
| |
llvm-svn: 63304
|
| |
|
|
|
|
| |
change.
llvm-svn: 63301
|
| |
|
|
| |
llvm-svn: 63300
|