| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Based on patch by Giorgos Korfiatis.
llvm-svn: 55570
|
| |
|
|
|
|
|
| |
Breakage was exposed in the Ocaml bindings tests after Chris
uncommented an assertion in r55084.
llvm-svn: 55566
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
%4 = add ...
instead of:
add ... ; 4
This makes opt -print-cfg output actually usable and makes .ll files
generally easier to read. This fixes PR2480
llvm-svn: 55541
|
| |
|
|
|
|
|
| |
for operands: rdar://6179606. no testcase, because I can't write
a .ll file that is this broken ;-)
llvm-svn: 55460
|
| |
|
|
|
|
| |
llvm" for consistency.
llvm-svn: 55435
|
| |
|
|
| |
llvm-svn: 55423
|
| |
|
|
|
|
| |
verifier. See PR2711 for details.
llvm-svn: 55414
|
| |
|
|
| |
llvm-svn: 55413
|
| |
|
|
| |
llvm-svn: 55409
|
| |
|
|
| |
llvm-svn: 55315
|
| |
|
|
| |
llvm-svn: 55301
|
| |
|
|
|
|
|
| |
parts tblgen doesn't do (checking for constant, alloca, enclosing
function has gc marker). This passes dj! :)
llvm-svn: 55294
|
| |
|
|
| |
llvm-svn: 55289
|
| |
|
|
| |
llvm-svn: 55267
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
use raw_ostream instead of std::ostream. Among other goodness,
this speeds up llvm-dis of kc++ with a release build from 0.85s
to 0.49s (88% faster).
Other interesting changes:
1) This makes Value::print be non-virtual.
2) AP[S]Int and ConstantRange can no longer print to ostream directly,
use raw_ostream instead.
3) This fixes a bug in raw_os_ostream where it didn't flush itself
when destroyed.
4) This adds a new SDNode::print method, instead of only allowing "dump".
A lot of APIs have both std::ostream and raw_ostream versions, it would
be useful to go through and systematically anihilate the std::ostream
versions.
This passes dejagnu, but there may be minor fallout, plz let me know if
so and I'll fix it.
llvm-svn: 55263
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tests:
Running /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/dg.exp ...
FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcread-ptrptr.ll for PR1633
Failed with exit(1) at line 1
while running: not llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcread-ptrptr.ll >& /dev/null
child process exited abnormally
FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcroot-alloca.ll for PR1633
Failed with exit(1) at line 1
while running: not llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcroot-alloca.ll >& /dev/null
child process exited abnormally
FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcroot-meta.ll for PR1633
Failed with exit(1) at line 1
while running: not llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcroot-meta.ll >& /dev/null
child process exited abnormally
FAIL: ndbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcroot-ptrptr.ll for PR1633
Failed with exit(1) at line 1
while running: not llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcroot-ptrptr.ll >& /dev/null
child process exited abnormally
FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcwrite-ptrptr.ll for PR1633
Failed with exit(1) at line 1
while running: not llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcwrite-ptrptr.ll >& /dev/null
child process exited abnormally
=== Summary ===
# of expected passes 3021
# of unexpected failures 6
# of expected failures 16
make[1]: *** [check-local] Error 1
make: *** [check] Error 2
llvm-svn: 55233
|
| |
|
|
|
|
| |
integer, PR2318.
llvm-svn: 55228
|
| |
|
|
|
|
| |
and tblgen now knows intrinsic prototypes.
llvm-svn: 55227
|
| |
|
|
| |
llvm-svn: 55224
|
| |
|
|
| |
llvm-svn: 55140
|
| |
|
|
|
|
| |
instead of requiring an std::vector.
llvm-svn: 55084
|
| |
|
|
| |
llvm-svn: 54984
|
| |
|
|
|
|
| |
type names at the top of the file.
llvm-svn: 54983
|
| |
|
|
| |
llvm-svn: 54982
|
| |
|
|
|
|
|
|
|
|
|
|
| |
an ostream, which is just weird.
Rename SC_DEBUG -> ST_DEBUG
Remove static indentation strangeness from WriteConstantInt. This makes it
so that large structs are not broken down and printed on multiple lines. If
there is demand for this to return, there are better ways to implement this.
llvm-svn: 54981
|
| |
|
|
| |
llvm-svn: 54980
|
| |
|
|
| |
llvm-svn: 54976
|
| |
|
|
| |
llvm-svn: 54975
|
| |
|
|
|
|
| |
to the gambling device. Name it something more meaningful.
llvm-svn: 54974
|
| |
|
|
|
|
|
| |
printing ascii code for hex numbers instead of the hex numbers
themselves.
llvm-svn: 54936
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In particular, Collector was confusing to implementors. Several
thought that this compile-time class was the place to implement
their runtime GC heap. Of course, it doesn't even exist at runtime.
Specifically, the renames are:
Collector -> GCStrategy
CollectorMetadata -> GCFunctionInfo
CollectorModuleMetadata -> GCModuleInfo
CollectorRegistry -> GCRegistry
Function::getCollector -> getGC (setGC, hasGC, clearGC)
Several accessors and nested types have also been renamed to be
consistent. These changes should be obvious.
llvm-svn: 54899
|
| |
|
|
|
|
| |
Specialize on it.
llvm-svn: 54897
|
| |
|
|
|
|
| |
on a stripped kc++ .bc file from 0.83 to 0.77s (8%)
llvm-svn: 54896
|
| |
|
|
| |
llvm-svn: 54875
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
returning an std::string by value, it fills in a SmallString/SmallVector
passed in. This significantly reduces string thrashing in some cases.
More specifically, this:
- Adds an operator<< and a print method for APInt that allows you to
directly send them to an ostream.
- Reimplements APInt::toString to be much simpler and more efficient
algorithmically in addition to not thrashing strings quite as much.
This speeds up llvm-dis on kc++ by 7%, and may also slightly speed up the
asmprinter. This also fixes a bug I introduced into the asmwriter in a
previous patch w.r.t. alias printing.
llvm-svn: 54873
|
| |
|
|
|
|
| |
speeds up release-asserts llvm-dis on kc++ from 1.86s to 1.04s (~79%)
llvm-svn: 54868
|
| |
|
|
| |
llvm-svn: 54866
|
| |
|
|
|
|
| |
instcombine among other things.
llvm-svn: 54814
|
| |
|
|
|
|
|
|
|
|
|
| |
The loop-deletion pass does not preserve dom frontier, which is required by
loop-index-split. When the PM checks dom frontier for loop-index-split, it has
already verified that lcssa is availalble. However, new dom frontier forces new
loop pass manager, which does not have lcssa yet.
The PM should recheck availability of required analysis passes in such cases.
llvm-svn: 54805
|
| |
|
|
| |
llvm-svn: 54785
|
| |
|
|
| |
llvm-svn: 54784
|
| |
|
|
| |
llvm-svn: 54744
|
| |
|
|
| |
llvm-svn: 54685
|
| |
|
|
|
|
| |
Use inversed map for faster queries.
llvm-svn: 54662
|
| |
|
|
|
|
| |
getAnalysisUsage() repeatedly.
llvm-svn: 54650
|
| |
|
|
|
|
| |
Please use !LLVMIsDeclaration instead.
llvm-svn: 54572
|
| |
|
|
|
|
|
| |
names. This can save a lot of allocations if you aren't going to be
looking at the output.
llvm-svn: 54546
|
| |
|
|
|
|
| |
up the passmgr by avoiding useless work.
llvm-svn: 54528
|
| |
|
|
| |
llvm-svn: 54515
|
| |
|
|
| |
llvm-svn: 54446
|