| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
- This avoids unnecessary malloc/free overhead in the common case, and
unnecessary copying from the ostream buffer into the output vector.
llvm-svn: 79434
|
| |
|
|
|
|
| |
actually added.
llvm-svn: 79429
|
| |
|
|
|
|
|
|
| |
This is derived from a patch by Anton Korzh. I modified it to recognize
the VEXT shuffles during legalization and lower them to a target-specific
DAG node.
llvm-svn: 79428
|
| |
|
|
|
|
| |
rather obscure way (the other candidate is r79377).
llvm-svn: 79426
|
| |
|
|
|
|
| |
dependence edge latency for post-RA scheduling.
llvm-svn: 79425
|
| |
|
|
| |
llvm-svn: 79415
|
| |
|
|
|
|
| |
delete a newed pointer, and improve readability a little bit.
llvm-svn: 79411
|
| |
|
|
| |
llvm-svn: 79408
|
| |
|
|
| |
llvm-svn: 79407
|
| |
|
|
| |
llvm-svn: 79406
|
| |
|
|
|
|
| |
talk to the MCStreamer directly instead.
llvm-svn: 79405
|
| |
|
|
| |
llvm-svn: 79404
|
| |
|
|
| |
llvm-svn: 79403
|
| |
|
|
| |
llvm-svn: 79397
|
| |
|
|
| |
llvm-svn: 79388
|
| |
|
|
|
|
|
|
|
| |
heavily contended
when trying to run opt in parallel. This lets parallel opt crunch 403.gcc in about a third
of the time.
llvm-svn: 79387
|
| |
|
|
|
|
| |
unsigned).
llvm-svn: 79386
|
| |
|
|
|
|
| |
- The base class implementation is correct.
llvm-svn: 79385
|
| |
|
|
|
|
| |
before performing optimizations based on constant string values.
llvm-svn: 79384
|
| |
|
|
|
|
| |
just falling through the end.
llvm-svn: 79383
|
| |
|
|
|
|
| |
buffer.
llvm-svn: 79382
|
| |
|
|
|
|
| |
SRA_PARTS, as is done for SRL, SHL, and SRA.
llvm-svn: 79380
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Kill off begin(), end(), and iterator. It isn't clear what these
mean. Instead provide getBufferStart(), which can be used with
GetNumBytesInBuffer to the same effect.
- Update ComputeColumn to take arguments for the buffer to scan, this
simplifies the implementation of write_impl substantially.
- This should also fix possible problems with the scanning pointer pointing
outside of the current raw_ostream buffer.
llvm-svn: 79379
|
| |
|
|
| |
llvm-svn: 79378
|
| |
|
|
|
|
|
|
| |
Add patterns and instruction encoding information.
Add custom lowering to deal with hardwired return register of
uncertain type (xmm0).
llvm-svn: 79377
|
| |
|
|
|
|
| |
div/mods in 32-bits.
llvm-svn: 79375
|
| |
|
|
|
|
|
|
|
| |
- Drop the Candidates argument and fix all callers. Now that RegScavenger
tracks available registers accurately, there is no need to restict the
search.
- Make sure that no aliases of the found register are in use. This was a potential bug.
llvm-svn: 79369
|
| |
|
|
| |
llvm-svn: 79368
|
| |
|
|
|
|
|
|
|
| |
allow underlying stream classes to decline buffering. After
calling SetBuffered(), re-check whether the stream is Unbuffered
in order to handle the case where the underlying stream has
declined buffering.
llvm-svn: 79362
|
| |
|
|
| |
llvm-svn: 79361
|
| |
|
|
| |
llvm-svn: 79359
|
| |
|
|
| |
llvm-svn: 79358
|
| |
|
|
|
|
|
|
| |
throughout the code base, locking all accesses to
it is not practical performance-wise.
llvm-svn: 79355
|
| |
|
|
| |
llvm-svn: 79353
|
| |
|
|
| |
llvm-svn: 79351
|
| |
|
|
| |
llvm-svn: 79346
|
| |
|
|
|
|
|
|
| |
TargetData is not present. It still uses TargetData when available.
This generalization also fixed some limitations in the TargetData
case; the attached testcase covers this.
llvm-svn: 79344
|
| |
|
|
| |
llvm-svn: 79343
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
remove RemoveDuplicateSuccessor, as it is no longer necessary, and because
it breaks assumptions made in
MachineBasicBlock::isOnlyReachableByFallthrough.
Convert test/CodeGen/X86/omit-label.ll to FileCheck and add a testcase
for PR4732.
test/CodeGen/Thumb2/thumb2-ifcvt2.ll sees a diff with this commit due to
it being bugpoint-reduced to the point where it doesn't matter what the
condition for the branch is.
Add some more interesting code to
test/CodeGen/X86/2009-08-06-branchfolder-crash.ll, which is the testcase
that originally motivated the RemoveDuplicateSuccessor code, to help
verify that the original problem isn't being re-broken.
llvm-svn: 79338
|
| |
|
|
|
|
| |
unruly indices for arrays that are members of structs.
llvm-svn: 79337
|
| |
|
|
|
|
|
|
| |
on linux.
Patch by Dmitry Gorbachev!
llvm-svn: 79334
|
| |
|
|
| |
llvm-svn: 79325
|
| |
|
|
|
|
|
|
|
|
|
|
| |
from the
MCAsmStreamer. Based on this, eliminate the current section from AsmPrinter.
While I'm at it, clean up the last of the horrible "switch to null section" stuff
and add an assert. This change is in preparation for completely eliminating
asmprinter::switchtosection.
llvm-svn: 79324
|
| |
|
|
|
|
|
|
| |
an EHFrame section, so we just emit ehframe data into a random section.
This is clearly bad.
llvm-svn: 79323
|
| |
|
|
|
|
| |
really work anyway.
llvm-svn: 79321
|
| |
|
|
| |
llvm-svn: 79318
|
| |
|
|
|
|
|
|
|
|
|
| |
send instructions like:
NEW: movl "L___stack_chk_guard$non_lazy_ptr" - "L1$pb"(%esi), %eax
OLD: movl L___stack_chk_guard$non_lazy_ptr-"L1$pb"(%esi), %eax
through the streamer. Several fixmes.
llvm-svn: 79317
|
| |
|
|
|
|
| |
- Patch by Yonggang Luo.
llvm-svn: 79315
|
| |
|
|
|
|
| |
- Patch by Yonggang Luo.
llvm-svn: 79314
|
| |
|
|
| |
llvm-svn: 79313
|