| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: The dbg.declare -> dbg.value conversion looks through any zext/sext
to find a value to describe the variable (in the expectation that those
zext/sext instruction will go away later). However, those values do not
cover the entire variable and thus need a DW_OP_bit_piece.
Reviewers: aprantl
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D16061
llvm-svn: 257534
|
| |
|
|
| |
llvm-svn: 257533
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Summary: Add SaturatingMultiplyAdd convenience function template since A + (X * Y) comes up frequently when doing weighted arithmetic.
Reviewers: davidxl, silvas
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D15385
llvm-svn: 257532
|
| |
|
|
|
|
|
|
|
|
| |
Reviewers: zturner
Subscribers: zturner, lldb-commits
Differential Revision: http://reviews.llvm.org/D16125
llvm-svn: 257531
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Summary: This is used by D16082 when it invokes fatbinary.
Reviewers: tra
Subscribers: cfe-commits, jhen, echristo
Differential Revision: http://reviews.llvm.org/D16097
llvm-svn: 257530
|
| |
|
|
|
|
|
|
| |
1) When dumping a declaration that declares a name for a type, also dump the named type.
2) Add a #pragma clang __debug dump X, that dumps the lookup results for X in
the current context.
llvm-svn: 257529
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
CodeView, unlike DWARF, can associate code with a range of columns.
However, LLVM can only represent a single column position internally.
We used to claim that the end column and start column were the same
which yielded less than satisfactory results: we would stop printing at
the _beginning_ of the source expression! Instead, mark the column-end
as 'zero' to indicate that we don't have one (as per the documentation
for IDiaLineNumber::get_lineNumberEnd).
llvm-svn: 257528
|
| |
|
|
| |
llvm-svn: 257527
|
| |
|
|
| |
llvm-svn: 257525
|
| |
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D16048
llvm-svn: 257523
|
| |
|
|
|
|
| |
Patch by Adrian Zgorzałek
llvm-svn: 257522
|
| |
|
|
|
|
| |
Patch by Adrian Zgorzałek
llvm-svn: 257521
|
| |
|
|
|
|
|
|
|
|
| |
of the file name. This is consistent with how other HeaderSearchOptions
are handled.
Due to the other inputs of the module hash (revision number) this is not
really testable in a meaningful way.
llvm-svn: 257520
|
| |
|
|
|
|
|
| |
Add -no-integrated-as to this test, since it's testing inline asm strings
that aren't actually valid assembly syntax.
llvm-svn: 257519
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Only non-weighted predicates were handled in PPCInstrInfo::insertSelect. Handle
the weighted predicates as well.
This latent bug was triggered by r255398, because it added use of the
branch-weighted predicates.
While here, switch over an enum instead of an int to get the compiler to enforce
totality in the future.
llvm-svn: 257518
|
| |
|
|
|
|
|
|
|
| |
A request has been made to the official registry, but an official value is
not yet available. This patch uses a temporary value in order to support
development. When an official value is recieved, the value of EM_WEBASSEMBLY
will be updated.
llvm-svn: 257517
|
| |
|
|
|
|
|
| |
The referenced llvm::function_ref<void(CodeGenFunction &)> object can go
away before CodeGen is used, resulting in a crash.
llvm-svn: 257516
|
| |
|
|
|
|
| |
module map.
llvm-svn: 257515
|
| |
|
|
|
|
| |
Remove redundant "FPM->add(createDemoteRegisterToMemoryPass());"
llvm-svn: 257514
|
| |
|
|
|
|
|
|
| |
The system can create threads for a system threadpool, so there is
no guarantee that the thread that is stopped is thread 1. So use
a more robust check.
llvm-svn: 257513
|
| |
|
|
|
|
| |
equivalent internal linkage entities.
llvm-svn: 257512
|
| |
|
|
|
|
|
| |
Refactor .param, .result, .local, and .endfunc, as directives, using the
proper MCTargetStreamer mechanism, rather than fake instructions.
llvm-svn: 257511
|
| |
|
|
| |
llvm-svn: 257510
|
| |
|
|
| |
llvm-svn: 257509
|
| |
|
|
|
|
| |
Some bots failed when the inherited constructor was used.
llvm-svn: 257508
|
| |
|
|
|
|
|
| |
Also rename Ignored -> IgnoredWeak and IgnoredStrong -> Ignored,
since strong symbol is a norm.
llvm-svn: 257507
|
| |
|
|
| |
llvm-svn: 257506
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch changes the way labels are referenced. Instead of referencing the
basic-block label name (eg. .LBB0_0), instructions now just have an immediate
which indicates the depth in the control-flow stack to find a label to jump to.
This makes them much closer to what we expect to have in the binary encoding,
and avoids the problem of basic-block label names not being explicit in the
binary encoding.
Also, it terminates blocks and loops with end_block and end_loop instructions,
rather than basic-block label names, for similar reasons.
This will also fix problems where two constructs appear to have the same label,
because we no longer explicitly use labels, so consumers that need labels will
presumably create their own labels, and presumably they won't reuse labels
when they do.
This patch does make the code a little more awkward to read; as a partial
mitigation, this patch also introduces comments showing where the labels are,
and comments on each branch showing where it's branching to.
llvm-svn: 257505
|
| |
|
|
|
|
|
|
| |
- Handle simple cases of register copies (what current RDF CP allows).
- Hexagon-specific dead code elimination: handles dead address updates
in post-increment instructions.
llvm-svn: 257504
|
| |
|
|
|
|
|
|
| |
pow(x, 0.5) calls
Also, propagate the FMF to the newly created sqrt() call.
llvm-svn: 257503
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Allows the remote to enumerate the link map when adding and removing
shared libraries, so that lldb doesn't need to read it manually from
the remote's memory.
This provides very large speedups (on the order of 50%) in total
startup time when using the ds2 remote on android or Tizen devices.
Reviewers: ADodds, tberghammer, tfiala
Subscribers: tberghammer, sas, danalbert, llvm-commits, srhines
Differential Revision: http://reviews.llvm.org/D16004
Change by Francis Ricci <fjricci@fb.com>
llvm-svn: 257502
|
| |
|
|
| |
llvm-svn: 257501
|
| |
|
|
| |
llvm-svn: 257500
|
| |
|
|
|
|
| |
Patch by Jakob Bornecrantz
llvm-svn: 257499
|
| |
|
|
|
|
| |
This is good cleanup, but I'm also hoping it'll fix some more GCC ICEs.
llvm-svn: 257498
|
| |
|
|
| |
llvm-svn: 257497
|
| |
|
|
| |
llvm-svn: 257496
|
| |
|
|
|
|
|
|
|
|
|
| |
should perform loop interchanges itself.
This also fixes a bug we see due to the "loop-interchange" pass producing
incorrect IR when compiling linpack-pc.c from the LLVM test-suite with
"-polly-position=before-vectorizer".
Reviewed-by: Tobias Grosser <tobias@grosser.es>
llvm-svn: 257495
|
| |
|
|
|
|
| |
This was left from an earlier version of the test.
llvm-svn: 257494
|
| |
|
|
|
|
|
|
|
| |
The findExternalCalls routine ignores calls to functions already
defined in the dest module. This was not handling the case where
the definition in the current module is actually an alias to a
function call.
llvm-svn: 257493
|
| |
|
|
|
|
|
|
| |
MIPS _gp_disp designates offset between start of function and gp pointer
into GOT therefore any relocations against it do not require dynamic
relocation.
llvm-svn: 257492
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
pow(exp(x)) calls
See also:
http://reviews.llvm.org/rL255555
http://reviews.llvm.org/rL256871
http://reviews.llvm.org/rL256964
http://reviews.llvm.org/rL257400
http://reviews.llvm.org/rL257404
http://reviews.llvm.org/rL257414
llvm-svn: 257491
|
| |
|
|
|
|
|
|
|
|
| |
This is a very limited implementation of DFG-based copy propagation.
It only handles actual COPY instructions (does not handle other equivalents
such as add-immediate with a 0 operand).
The major limitation is that it does not update the DFG: that will be the
change required to make it more robust (hopefully coming up soon).
llvm-svn: 257490
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This new API, int kmp_set_thread_affinity_mask_initial(), is available for use
by other parallel runtime libraries inside a possibly OpenMP-registered thread.
This entry point restores the current thread's affinity mask to the affinity
mask of the application when it first began. If -1 is returned it can be assumed
that either the thread hasn't called affinity initialization or that the thread
isn't registered with the OpenMP library. If 0 is returned then, then the call
was successful. Any return value greater than zero indicates an error occurred
when setting affinity.
Differential Revision: http://reviews.llvm.org/D15867
llvm-svn: 257489
|
| |
|
|
|
|
|
|
|
|
| |
Reviewers: arsenm, echristo
Subscribers: arsenm, llvm-commits
Differential Revision: http://reviews.llvm.org/D16010
llvm-svn: 257488
|
| |
|
|
| |
llvm-svn: 257487
|
| |
|
|
|
|
| |
http://lab.llvm.org:8011/builders/clang-x86_64-ubuntu-gdb-75/builds/27486
llvm-svn: 257486
|
| |
|
|
|
|
| |
Utility class to perform DFG-based dead code elimination.
llvm-svn: 257485
|
| |
|
|
|
|
| |
The transform is identical, so keep the tests together and save some overhead.
llvm-svn: 257484
|
| |
|
|
| |
llvm-svn: 257483
|