| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- This also shortens the Format.h implementation, and uses the print buffer
fully (it was wasting a character).
- This manifested as llvm-test failures, because one side effect was that
raw_ostream would write garbage '\x00' values into the output stream if it
happened that the string was at the end of the buffer. This meant that grep
would report 'Binary file matches', which meant the silly pattern matching
llvm-test eventually does would fail. Cute. :)
llvm-svn: 79862
|
|
|
|
|
|
| |
ConstantRange doesn't have an std::ostream inserter anymore.
llvm-svn: 79831
|
|
|
|
| |
llvm-svn: 79536
|
|
|
|
| |
llvm-svn: 79454
|
|
|
|
| |
llvm-svn: 78948
|
|
|
|
|
|
| |
the pointer even if the memory returned from malloc was already aligned.
llvm-svn: 78805
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://llvm.org/viewvc/llvm-project?view=rev&revision=78127, I'm changing the
ExecutionEngine's global mappings to hold AssertingVH<const GlobalValue>. That
way, if unregistering a mapping fails to actually unregister it, we'll get an
assert. Running the jit nightly tests didn't uncover any actual instances of
the problem.
This also uncovered the fact that AssertingVH<const X> didn't work, so I fixed
that too.
llvm-svn: 78400
|
|
|
|
| |
llvm-svn: 78260
|
|
|
|
| |
llvm-svn: 77730
|
|
|
|
|
|
|
|
| |
change back are
metadata related, which I'm waiting on to avoid conflicting with Devang.
llvm-svn: 77721
|
|
|
|
| |
llvm-svn: 77516
|
|
|
|
|
|
| |
values. Hopefully this fixes PR4622.
llvm-svn: 77088
|
|
|
|
|
|
| |
thanks to contexts-on-types. More to come.
llvm-svn: 77011
|
|
|
|
|
|
| |
an off-by-one error.
llvm-svn: 76891
|
|
|
|
|
|
| |
build failure involving memset.
llvm-svn: 76838
|
|
|
|
|
|
|
|
|
|
|
| |
malloc, so there should be no functional changes to other code.
These changes are necessary since I have plans to use this allocator in the JIT
memory manager, and it needs a special allocator.
I also added some tests which helped me pinpoint some bugs.
llvm-svn: 76825
|
|
|
|
| |
llvm-svn: 76744
|
|
|
|
|
|
|
| |
return the smallest union of two ranges instead of just any range that happens
to contain the union.
llvm-svn: 76360
|
|
|
|
|
|
|
|
| |
all values belonging to the intersection will belong to the resulting range.
The former was inconsistent about that point (either way is fine, just pick
one.) This is part of PR4545.
llvm-svn: 76289
|
|
|
|
| |
llvm-svn: 75703
|
|
|
|
|
|
| |
again to Daniel Dunbar and KLEE!
llvm-svn: 75449
|
|
|
|
|
|
| |
Found by Daniel Dunbar and KLEE.
llvm-svn: 75448
|
|
|
|
|
|
|
|
|
| |
Constants.cpp and ConstantFold.cpp.
This involves temporarily hard wiring some parts to use the global context. This isn't ideal, but it's
the only way I could figure out to make this process vaguely incremental.
llvm-svn: 75445
|
|
|
|
|
|
| |
generally return Full on all wrapped inputs. "Fixes" PR4545.
llvm-svn: 75444
|
|
|
|
|
|
|
| |
large as the full set, only those one size smaller. Thanks to Daniel Dunbar
who found this bug using Klee!
llvm-svn: 75443
|
|
|
|
| |
llvm-svn: 75413
|
|
|
|
|
|
|
| |
Some = [10, 2730). A subset of that is [1024..2048) which covers every possible
10-bit pattern.
llvm-svn: 75411
|
|
|
|
| |
llvm-svn: 75410
|
|
|
|
|
|
|
|
| |
A full set is a constant range that represents any number. If you take the
umax of that and [5, 10) you end up with [5, INT_MAX] because the values less
than 5 would be umax's against a value which is at least 5.
llvm-svn: 75372
|
|
|
|
|
|
| |
changes.
llvm-svn: 75369
|
|
|
|
| |
llvm-svn: 75262
|
|
|
|
|
|
|
|
| |
merge the new functionality and unittests into ConstantRange. Thanks to
Nick Lewycky for pointing out that it isn't necessary to have two separate
classes here.
llvm-svn: 75191
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
what ConstantRange does for unsigned integers. Factor out a
common base class for common functionality.
Add some new functions for performing arithmetic on constant
ranges. Some of these are currently just stubbed out with
conservative implementations.
Add unittests for ConstantRange and ConstantSignedRange.
llvm-svn: 75177
|
|
|
|
| |
llvm-svn: 71993
|
|
|
|
|
|
|
| |
to make the copy constructor and destructor protected, and corresponding
adjustments to the unittests.
llvm-svn: 70644
|
|
|
|
|
|
|
| |
the comparison operators were not only unnecessary in the presence of the
implicit conversion; they caused ambiguous overload errors. So I deleted them.
llvm-svn: 70243
|
|
|
|
|
|
| |
Patch by Jeffrey Yasskin!
llvm-svn: 70084
|
|
|
|
| |
llvm-svn: 68258
|
|
|
|
| |
llvm-svn: 68249
|
|
|
|
| |
llvm-svn: 67326
|
|
llvm-svn: 67083
|