| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Targets implement a single global Target structure which will live in a new
<Target>/TargetInfo library; this will be present in any image which the target
is usable in.
- Optional target specific classes can then be registered and attached to the
Target description.
- Registration for normal Targets will be done via the initialization functions
instead of using static constructors.
- This allows clients to use a single interface to obtain target data, without
requiring the code generator be linked in. It also provides a natural
extension point for adding new optional target data (assembler parser,
disassembler, etc.).
- This also provides a new entry point for obtaining a target for a particular
triple (without a module).
- Not yet used, however this should eventually replace the TargetMachineRegistry.
llvm-svn: 75739
|
|
|
|
| |
llvm-svn: 75707
|
|
|
|
| |
llvm-svn: 75677
|
|
|
|
|
|
| |
dynamic_cast<>.
llvm-svn: 75670
|
|
|
|
|
|
|
|
|
| |
This adds location info for all llvm_unreachable calls (which is a macro now) in
!NDEBUG builds.
In NDEBUG builds location info and the message is off (it only prints
"UREACHABLE executed").
llvm-svn: 75640
|
|
|
|
|
|
|
| |
Fix by making the LLVM_UNREACHABLE pass __FILE__ and __LINE__ to
llvm_unreachable.
llvm-svn: 75631
|
|
|
|
| |
llvm-svn: 75489
|
|
|
|
| |
llvm-svn: 75472
|
|
|
|
| |
llvm-svn: 75451
|
|
|
|
|
|
| |
again to Daniel Dunbar and KLEE!
llvm-svn: 75449
|
|
|
|
|
|
| |
Found by Daniel Dunbar and KLEE.
llvm-svn: 75448
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
- Patch by Viktor Kutuzov!
- Minor tweak by me to add llvm_unreachable calls on FIXMEd error paths.
llvm-svn: 75424
|
|
|
|
| |
llvm-svn: 75413
|
|
|
|
| |
llvm-svn: 75410
|
|
|
|
|
|
|
|
|
| |
Make llvm_unreachable take an optional string, thus moving the cerr<< out of
line.
LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for
NDEBUG builds.
llvm-svn: 75379
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 75366
|
|
|
|
|
|
| |
and abort()/exit() -> llvm_report_error().
llvm-svn: 75363
|
|
|
|
|
|
|
|
|
|
| |
per icmp predicate out of predsimplify and into ConstantRange.
Add another utility method that determines whether one range is a subset of
another. Combine with the former to determine whether icmp pred range, range
is known to be true or not.
llvm-svn: 75357
|
|
|
|
|
|
|
|
|
| |
hooks as they're no longer needed.
The major change with this patch is to make formatted_raw_ostream usable
by any client of raw_ostream.
llvm-svn: 75283
|
|
|
|
|
|
| |
allow derived classes to examine the stream buffer before it's flushed.
llvm-svn: 75199
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
with very large graphs, where dot isn't necessarily the
most visually pleasing way of looking at the graph.
llvm-svn: 75144
|
|
|
|
|
|
|
| |
provides a way to quickly dump a bunch of graph information to dot files
and display them. It's a timesaver when working on large systems.
llvm-svn: 75056
|
|
|
|
| |
llvm-svn: 74936
|
|
|
|
| |
llvm-svn: 74931
|
|
|
|
| |
llvm-svn: 74923
|
|
|
|
|
|
|
|
| |
This will replace exit()/abort() style error handling with an API
that allows clients to register custom error handling hooks.
The default is to call exit(1) when no error handler is provided.
llvm-svn: 74922
|
|
|
|
| |
llvm-svn: 74735
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
it to print them. This gives us column numbers in the diag line. Before:
t.s:4: error: unexpected token in argument list
mov %eax %edx
^
now:
t.s:4:11: error: unexpected token in argument list
mov %eax %edx
^
llvm-svn: 74732
|
|
|
|
| |
llvm-svn: 74645
|
|
|
|
|
|
| |
- Patch by Viktor Kutuzov, with tweaks by me.
llvm-svn: 74608
|
|
|
|
|
|
| |
in APIntTest.cpp.
llvm-svn: 74550
|
|
|
|
| |
llvm-svn: 74515
|
|
|
|
| |
llvm-svn: 74510
|
|
|
|
|
|
|
| |
This will allow it to be used in unittests that use gtest's
EXPECT_EQ.
llvm-svn: 74494
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Don't print "Parsing" in front of every message.
- Take additional "type" argument which is prepended to the message (with ": ")
if given.
- Update clients to print errors (warnings) as:
<filename>:<line number>: error(warning): ...
llvm-svn: 74489
|
|
|
|
| |
llvm-svn: 74422
|
|
|
|
| |
llvm-svn: 74294
|
|
|
|
| |
llvm-svn: 74285
|
|
|
|
| |
llvm-svn: 74227
|
|
|
|
|
|
| |
initialization of statistics actually threadsafe.
llvm-svn: 74005
|
|
|
|
|
|
|
|
|
|
| |
uses locking rather than atomic arithmetic),
but should work on all the platforms we care about.
I might revisit this if a totally awesome way to do it occurs to me.
llvm-svn: 74002
|
|
|
|
|
|
|
|
| |
all the targets
we care about are capable of supporting it.
llvm-svn: 73993
|
|
|
|
| |
llvm-svn: 73988
|
|
|
|
| |
llvm-svn: 73978
|
|
|
|
|
|
| |
will be more atomic op friendly.
llvm-svn: 73974
|