| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Next: Add support for the !HasDotLocAndDotFile case to the MCAsmStreamer
and then switch codegen to use it.
llvm-svn: 119384
|
| |
|
|
| |
llvm-svn: 119383
|
| |
|
|
|
|
|
| |
easier to debug, and to avoid complications when the CFG changes
in the middle of the instruction selection process.
llvm-svn: 119382
|
| |
|
|
| |
llvm-svn: 119381
|
| |
|
|
| |
llvm-svn: 119380
|
| |
|
|
|
|
|
| |
where we failed to free this buffer along one of the paths, and
detangles the code a little.
llvm-svn: 119379
|
| |
|
|
|
|
| |
functions/builtins accepting pointers to a const-qualified type according to PIM and "Language Extensions for CBEA"
llvm-svn: 119376
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Always spill the full representative register at any point where any subregister
is live.
This fixes PR8620 which caused the old logic to get confused and not spill
anything at all.
The fundamental problem here is that the coalescer is too aggressive about
physical register coalescing. It sometimes makes it impossible to allocate
registers without these emergency spills.
llvm-svn: 119375
|
| |
|
|
| |
llvm-svn: 119374
|
| |
|
|
|
|
| |
result including the session logs of test failures/errors as a MIME message.
llvm-svn: 119371
|
| |
|
|
|
|
| |
options
llvm-svn: 119370
|
| |
|
|
|
|
|
|
|
| |
Stop defining types with "__neon_" prefixes and then using typedefs without
the prefix; there's no reason to do that anymore. Remove types that combine
multiple Neon vectors and treat them as a single long vector; they are not
used.
llvm-svn: 119369
|
| |
|
|
|
|
|
| |
issue with runtime which I am discussing it with Blaine.
This is wip (so no test yet).
llvm-svn: 119368
|
| |
|
|
|
|
| |
I've temporarily disabled the failing clang test.
llvm-svn: 119367
|
| |
|
|
|
|
| |
I'll reenable it soon when I'm done reworking <arm_neon.h>.
llvm-svn: 119366
|
| |
|
|
| |
llvm-svn: 119365
|
| |
|
|
|
|
|
|
| |
allocation sizes of 0 bytes.
Fixes PR 2899.
llvm-svn: 119364
|
| |
|
|
|
|
| |
It's breaking buildbots.
llvm-svn: 119363
|
| |
|
|
| |
llvm-svn: 119362
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The system API's will be shifted over to returning an error_code, and returning
other return values as out parameters to the function.
Code that needs to check error conditions will use the errc enum values which
are the same as the posix_errno defines (EBADF, E2BIG, etc...), and are
compatable with the error codes in WinError.h due to some magic in system_error.
An example would be:
if (error_code ec = KillEvil("Java")) { // error_code can be converted to bool.
handle_error(ec);
}
llvm-svn: 119360
|
| |
|
|
|
|
| |
Fixes rdar://8365458
llvm-svn: 119359
|
| |
|
|
|
|
| |
Thanks to Nate Begeman for an earlier version of this patch.
llvm-svn: 119358
|
| |
|
|
| |
llvm-svn: 119355
|
| |
|
|
| |
llvm-svn: 119354
|
| |
|
|
| |
llvm-svn: 119353
|
| |
|
|
|
|
| |
rather than calling hasConstantValue. No intended functionality change.
llvm-svn: 119352
|
| |
|
|
|
|
| |
for Arnaud Allard de Grandmaison for preparing a patch.
llvm-svn: 119351
|
| |
|
|
|
|
| |
the other side.
llvm-svn: 119349
|
| |
|
|
| |
llvm-svn: 119348
|
| |
|
|
|
|
|
|
|
|
|
| |
over a phi node by applying it to each operand may be wrong if the
operation and the phi node are mutually interdependent (the testcase
has a simple example of this). So only do this transform if it would
be correct to perform the operation in each predecessor of the block
containing the phi, i.e. if the other operands all dominate the phi.
This should fix the FFMPEG snow.c regression reported by İsmail Dönmez.
llvm-svn: 119347
|
| |
|
|
|
|
| |
conversion.
llvm-svn: 119346
|
| |
|
|
|
|
|
| |
independent of the underlying system. Let me know if any of these are too
aggressive.
llvm-svn: 119345
|
| |
|
|
|
|
|
|
|
| |
assignment to volatiles in C. This in effect reverts some of mjs's
work in and around r72572. Basically, the C++ standard is quite
clear, except that it lies about volatile behavior approximating
C's, whereas the C standard is almost actively misleading.
llvm-svn: 119344
|
| |
|
|
|
|
|
|
| |
include_next when not hosted or unavailable. This follows the pattern in
stdint.h and allows these headers to work even in a freestanding configuration
without a standard library.
llvm-svn: 119343
|
| |
|
|
| |
llvm-svn: 119342
|
| |
|
|
|
|
| |
instead of calculating it by hand.
llvm-svn: 119341
|
| |
|
|
|
|
|
|
|
|
|
|
| |
producing warnings.
This feels really fragile, and I've not audited all other argument index-based
warnings. I suspect we'll grow this bug on another warning eventually. It might
be nice to adjust the argument indices when building up the attribute AST node,
as we already have to remember about the 'this' argument within that code to
produce correct errors.
llvm-svn: 119340
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
argument indexes. This handles the offsets in a consistent manner for all of
the attributes which I saw working with these concepts. I've also added tests
for the attribute that motivated this: nonnull.
I consolidated the tests for format attributes into one file, and fleshed them
out a bit to trigger more of the warning cases. Also improved the quality of
some of the diagnostics that occur with invalid argument indices.
The only really questionable change here is supporting the implicit this
argument for the ownership attribute. I'm not sure it's really a sensible
concept there, but implemented the logic for consistency.
llvm-svn: 119339
|
| |
|
|
|
|
|
|
|
|
|
| |
for the backing of generated USRs. This optmizes
for the case when a client generates a sequence
of USRs in sequence, disposing of them soon
after generating them. By using a string buffer,
we recycle malloc'ed memory instead of constantly
malloc'ing and copying strings.
llvm-svn: 119338
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
but to wrap both an ASTUnit and a "string pool"
that will be used for fast USR generation.
This requires a bunch of mechanical changes, as
there was a ton of code that assumed that CXTranslationUnit
and ASTUnit* were the same.
Along with this change, introduce CXStringBuf,
which provides an llvm::SmallVector<char> backing
for repeatedly generating CXStrings without a huge
amount of malloc() traffic. This requires making
some changes to the representation of CXString
by renaming a few fields (but keeping the size
of the object the same).
llvm-svn: 119337
|
| |
|
|
|
|
| |
rdar://7743000
llvm-svn: 119336
|
| |
|
|
|
|
|
|
|
| |
- Add a new Kind of ProgramPoint: PostInitializer.
- Still use GRStmtNodeBuilder. But special handling PostInitializer in
GRStmtNodeBuilder::GenerateAutoTransition().
- Someday we should clean up the interface of GRStmtNodeBuilder.
llvm-svn: 119335
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in more situations. In particular, for code like
template<class T> void Fn() { T* x; delete x; }
getDestroyedType() will now return T rather than T*, as it would
before this change. On the other hand, for code like this:
template<class T> void Fn() { T x; delete x; }
getDestroyedType() will return an empty QualType(), since it doesn't
know what the actual destroyed type would be. Previously, it would
return T.
OKed by rjmccall
llvm-svn: 119334
|
| |
|
|
|
|
|
| |
- CXXThisRegion treated like VarRegion and ObjCIVarRegion in various places,
- Reference treated like pointer in BindDeclInternal.
llvm-svn: 119333
|
| |
|
|
| |
llvm-svn: 119332
|
| |
|
|
| |
llvm-svn: 119331
|
| |
|
|
|
|
| |
a compound assignment is always already in the computation type.
llvm-svn: 119330
|
| |
|
|
|
|
|
|
|
| |
ReadThread stuff into the main Process class (out of the Process Plugins).
This has the (intended) side effect of disabling the command line tool
from reading input/commands while the process is running (the input is
directed to the running process rather than to the command interpreter).
llvm-svn: 119329
|
| |
|
|
| |
llvm-svn: 119328
|
| |
|
|
|
|
|
|
| |
we're using the stack pointer to define the CFA again. Makes unwinds
while sitting at the 'ret' instruction work, assuming we have accurate
function address bounds.
llvm-svn: 119327
|