| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 66611
|
|
|
|
|
|
|
| |
1. Use the same value# to represent unknown values being merged into sub-registers.
2. When coalescer commute an instruction and the destination is a physical register, update its sub-registers by merging in the extended ranges.
llvm-svn: 66610
|
|
|
|
| |
llvm-svn: 66607
|
|
|
|
|
|
| |
need to alloc/dealloc.
llvm-svn: 66591
|
|
|
|
| |
llvm-svn: 66589
|
|
|
|
|
|
| |
whether a callee to be inlined is a leaf.
llvm-svn: 66588
|
|
|
|
| |
llvm-svn: 66586
|
|
|
|
|
|
| |
- Remove unused method.
llvm-svn: 66585
|
|
|
|
|
|
|
|
|
|
|
| |
the untimed version of getOrCreateSourceID. getOrCreateSourceID calls
GetOrCreateSourceID, of course.
- Move some methods into the "private" section. Constify at least one method.
- General clean-ups.
llvm-svn: 66582
|
|
|
|
|
|
| |
writing individually.
llvm-svn: 66577
|
|
|
|
|
|
|
| |
another instcombine pass if we weren't going to make
one without debug info.
llvm-svn: 66576
|
|
|
|
|
|
| |
/ Darwin.
llvm-svn: 66574
|
|
|
|
|
|
| |
emit exception and debug Dwarf info.
llvm-svn: 66571
|
|
|
|
|
|
| |
debug output. This improves the printing of anonymous values.
llvm-svn: 66561
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
scheduled in multiple regions, liveness data used by the
anti-dependence breaker is carried from one region to the next, however
the information reflects the state of the instructions before scheduling.
After scheduling, there may be new live range overlaps. Handle this by
pessimizing the liveness data carried between regions to the point where
it will be conservatively correct now matter how the earlier region is
scheduled. This fixes a miscompilation in 176.gcc with the post-RA
scheduler enabled.
llvm-svn: 66558
|
|
|
|
| |
llvm-svn: 66554
|
|
|
|
|
|
|
| |
- Add unbuffered flag to raw_ostream, forwarded by raw_fd_ostream and
used by raw_stderr_ostream.
llvm-svn: 66545
|
|
|
|
|
|
|
| |
Also fixed a punctuation error in the header comment.
This fixes PR3775.
llvm-svn: 66542
|
|
|
|
|
|
|
|
| |
to obtain debug info about them.
Introduce helpers to access debug info for global variables. Also introduce a
helper that works for both local and global variables.
llvm-svn: 66541
|
|
|
|
| |
llvm-svn: 66540
|
|
|
|
|
|
| |
correctness). Do so even if the callee has dynamic alloca and the caller doesn't.
llvm-svn: 66539
|
|
|
|
|
|
| |
format strings with the standard ${:foo} syntax.
llvm-svn: 66527
|
|
|
|
| |
llvm-svn: 66515
|
|
|
|
| |
llvm-svn: 66508
|
|
|
|
| |
llvm-svn: 66490
|
|
|
|
|
|
|
| |
if needed. This simplifies the code a little, and is needed for an
upcoming refactoring.
llvm-svn: 66479
|
|
|
|
|
|
|
|
|
| |
allocating memory in the JIT. This is insanely inefficient, but
hey, most people implement their own memory managers anyway.
Patch by Eric Yew!
llvm-svn: 66472
|
|
|
|
| |
llvm-svn: 66471
|
|
|
|
|
|
| |
where memory access types are needed.
llvm-svn: 66470
|
|
|
|
| |
llvm-svn: 66469
|
|
|
|
| |
llvm-svn: 66467
|
|
|
|
|
|
| |
Use VoidTy instead, to be properly conservative.
llvm-svn: 66463
|
|
|
|
|
|
| |
of an instruction into a helper function.
llvm-svn: 66460
|
|
|
|
| |
llvm-svn: 66454
|
|
|
|
|
|
| |
have to be done twice.
llvm-svn: 66449
|
|
|
|
| |
llvm-svn: 66446
|
|
|
|
|
|
| |
before it does any processing.
llvm-svn: 66443
|
|
|
|
|
|
| |
thumb mode and arch subversion. Eventually thumb triplets will go way and replaced with function notes.
llvm-svn: 66435
|
|
|
|
| |
llvm-svn: 66434
|
|
|
|
|
|
| |
optimizer can create values of funky scalar types.
llvm-svn: 66429
|
|
|
|
|
|
| |
the same instruction as kill. This fixes PR3706.
llvm-svn: 66428
|
|
|
|
|
|
|
| |
be needed now that these intrinsics are marked
as not accessing memory.
llvm-svn: 66420
|
|
|
|
|
|
|
| |
existed was for llvm-gcc 3.4 (which used the __main hack) which
is really really long dead.
llvm-svn: 66417
|
|
|
|
|
|
|
|
| |
whether a global is dead or not. This should fix PR3749 - linker adds
spurious use to appending globals. I can't reasonably add a testcase
for this, because the bc writer/reader strip dead constant users.
llvm-svn: 66404
|
|
|
|
| |
llvm-svn: 66403
|
|
|
|
| |
llvm-svn: 66399
|
|
|
|
|
|
| |
hopefully no functionality change.
llvm-svn: 66398
|
|
|
|
|
|
| |
on the number of times a std::string is created and copied.
llvm-svn: 66396
|
|
|
|
| |
llvm-svn: 66395
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
validate an invariant so that the asmparser rejects a bad construct
instead of the verifier. Before:
llvm-as: assembly parsed, but does not verify as correct!
Invalid struct return type!
i64 (%struct.Type*, %struct.Type*)* @foo
after:
llvm-as: t.ll:5:8: functions with 'sret' argument must return void
define i64 @foo(%struct.Type* noalias nocapture sret %agg.result, %struct.Type* nocapture byval %t) nounwind {
^
Second, check that void is only used where allowed (in function return types) not in
arbitrary places, fixing PR3747 - Crash in llvm-as with void field in struct. We
now reject that example with:
$ llvm-as t.ll
llvm-as: t.ll:1:12: struct element can not have void type
%x = type {void}
^
llvm-svn: 66394
|