| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
DenseSet.
DenseSet used to be implemented as DenseMap<Key, char>, which usually doubled
the memory footprint of the map. Now we use a compressed set so the second
element uses no memory at all. This required some surgery on DenseMap as
all accesses to the bucket now have to go through methods; this should
have no impact on the behavior of DenseMap though. The new default bucket
type for DenseMap is a slightly extended std::pair as we expose it through
DenseMap's iterator and don't want to break any existing users.
llvm-svn: 223588
|
| |
|
|
|
|
|
|
| |
DenseMaps."
This reapplies r223478 with a fix for 32 bit targets.
llvm-svn: 223586
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Consider:
void f() {}
void __attribute__((weak)) g() {}
bool b = &f != &g;
It's possble for g to resolve to f if --defsym=g=f is passed on to the
linker.
llvm-svn: 223585
|
| |
|
|
| |
llvm-svn: 223584
|
| |
|
|
|
|
| |
Code like X < Y && Y == 0 should always be folded away to false.
llvm-svn: 223583
|
| |
|
|
| |
llvm-svn: 223580
|
| |
|
|
|
|
| |
This was changed in r223323.
llvm-svn: 223579
|
| |
|
|
|
|
| |
Review feedback from recent changes to GetSVN.cmake.
llvm-svn: 223578
|
| |
|
|
|
|
|
|
|
| |
module, use the path from the module map file in preference to the path from
the .pcm file when resolving relative paths in the .pcm file. This allows
diagnostics (and .d output) to give relative paths if the module was found via
a relative path.
llvm-svn: 223577
|
| |
|
|
| |
llvm-svn: 223576
|
| |
|
|
|
|
| |
resulted in hard-to-track-down crashes. Sigh.
llvm-svn: 223575
|
| |
|
|
|
|
|
|
| |
Metadata attachments to instructions cannot be function-local.
This is part of PR21532.
llvm-svn: 223574
|
| |
|
|
| |
llvm-svn: 223573
|
| |
|
|
| |
llvm-svn: 223572
|
| |
|
|
| |
llvm-svn: 223571
|
| |
|
|
|
|
| |
labels have a prefix "." for targeting i686-cygming.
llvm-svn: 223570
|
| |
|
|
|
|
| |
for string literal and parameter/entity cases. Patch courtesy of slydiman.
llvm-svn: 223569
|
| |
|
|
| |
llvm-svn: 223568
|
| |
|
|
|
|
|
|
| |
Most patterns will go away once the extload legalization changes land.
Differential Revision: http://reviews.llvm.org/D6125
llvm-svn: 223567
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
case.
This can significantly reduce the size of the switch, allowing for more
efficient lowering.
I also worked with the idea of exploiting unreachable defaults by
omitting the range check for jump tables, but always ended up with a
non-neglible binary size increase. It might be worth looking into some more.
SimplifyCFG currently does this transformation, but I'm working towards changing
that so we can optimize harder based on unreachable defaults.
Differential Revision: http://reviews.llvm.org/D6510
llvm-svn: 223566
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the "dummy-target". The dummy target breakpoints prime all future
targets. Breakpoints set before any target is created (e.g. breakpoints
in ~/.lldbinit) automatically get set in the dummy target. You can also
list, add & delete breakpoints from the dummy target using the "-D" flag,
which is supported by most of the breakpoint commands.
This removes a long-standing wart in lldb...
<rdar://problem/10881487>
llvm-svn: 223565
|
| |
|
|
|
|
|
|
|
|
| |
Disallow complex types of function-local metadata. The only valid
function-local metadata is an `MDNode` whose sole argument is a
non-metadata function-local value.
Part of PR21532.
llvm-svn: 223564
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
When -fsanitize-address-field-padding=1 is present
don't emit memcpy for copy constructor.
Thanks Nico for the extra test case.
Test Plan: regression tests
Reviewers: thakis, rsmith
Reviewed By: rsmith
Subscribers: rsmith, cfe-commits
Differential Revision: http://reviews.llvm.org/D6515
llvm-svn: 223563
|
| |
|
|
|
|
| |
root level
llvm-svn: 223562
|
| |
|
|
|
|
| |
diagnostics if they don't exist. Based on a patch by John Thompson!
llvm-svn: 223561
|
| |
|
|
|
|
|
|
|
|
| |
encounter clang::ExternalASTSources that are not instances
of ClangExternalASTSourceCommon. We used to blithely
assume that all are, and so we could use static_cast<>.
That's no longer the case, so we have to have these AST
sources register themselves.
llvm-svn: 223560
|
| |
|
|
| |
llvm-svn: 223559
|
| |
|
|
|
|
| |
they are readable.
llvm-svn: 223557
|
| |
|
|
| |
llvm-svn: 223556
|
| |
|
|
| |
llvm-svn: 223555
|
| |
|
|
|
|
| |
constants themselves. Patch by Tim Murray!
llvm-svn: 223554
|
| |
|
|
| |
llvm-svn: 223553
|
| |
|
|
|
|
|
|
|
| |
All our patterns use MVT::i64, but the ISelLowering nodes were inconsistent in
their choice.
No functional change.
llvm-svn: 223551
|
| |
|
|
| |
llvm-svn: 223550
|
| |
|
|
| |
llvm-svn: 223549
|
| |
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D6553
Reviewed By: Greg Clayton
llvm-svn: 223548
|
| |
|
|
|
|
| |
map path more canonical before hashing it. No functionality change.
llvm-svn: 223547
|
| |
|
|
|
|
|
|
|
| |
DenseMaps."
Somehow made DenseMap probe on forever on 32 bit machines.
This reverts commit r223478.
llvm-svn: 223546
|
| |
|
|
|
|
| |
iterator in the BreakpointList class.
llvm-svn: 223544
|
| |
|
|
| |
llvm-svn: 223543
|
| |
|
|
| |
llvm-svn: 223542
|
| |
|
|
|
|
| |
Reviewed by: Sean Callanan
llvm-svn: 223541
|
| |
|
|
|
|
| |
transfered to the device.
llvm-svn: 223540
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the root of the module and use paths relative to that directory wherever
possible. This is a step towards allowing explicit modules to be relocated
without being rebuilt, which is important for some kinds of distributed builds,
for good paths in diagnostics, and for appropriate .d output.
This is a recommit of r223443, reverted in r223465; when joining together
imported file paths, we now use the system's separator rather than always
using '/'. This avoids path mismatches between the original module build and
the module user on Windows (at least, in some cases). A more comprehensive
fix will follow.
llvm-svn: 223539
|
| |
|
|
| |
llvm-svn: 223538
|
| |
|
|
|
|
| |
This will also simplify a private patch that we have.
llvm-svn: 223537
|
| |
|
|
| |
llvm-svn: 223536
|
| |
|
|
|
|
| |
Reviewed at http://reviews.llvm.org/D6488
llvm-svn: 223533
|
| |
|
|
|
|
| |
Reviewed at http://reviews.llvm.org/D6488
llvm-svn: 223532
|
| |
|
|
| |
llvm-svn: 223530
|