| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sooooo many of these had incorrect or strange main module includes.
I have manually inspected all of these, and fixed the main module
include to be the nearest plausible thing I could find. If you own or
care about any of these source files, I encourage you to take some time
and check that these edits were sensible. I can't have broken anything
(I strictly added headers, and reordered them, never removed), but they
may not be the headers you'd really like to identify as containing the
API being implemented.
Many forward declarations and missing includes were added to a header
files to allow them to parse cleanly when included first. The main
module rule does in fact have its merits. =]
llvm-svn: 169131
|
|
|
|
|
|
| |
simplify the code a bit. No functionality change.
llvm-svn: 166009
|
|
|
|
|
|
| |
own class named AttrBuilder. No functionality change.
llvm-svn: 165960
|
|
|
|
|
|
| |
This gets rid of some magic numbers.
llvm-svn: 165924
|
|
|
|
|
|
|
|
|
|
| |
Convert the internal representation of the Attributes class into a pointer to an
opaque object that's uniqued by and stored in the LLVMContext object. The
Attributes class then becomes a thin wrapper around this opaque
object. Eventually, the internal representation will be expanded to include
attributes that represent code generation options, etc.
llvm-svn: 165917
|
|
|
|
|
|
| |
it with the equivalent from the builder class.
llvm-svn: 165895
|
|
|
|
| |
llvm-svn: 165494
|
|
|
|
| |
llvm-svn: 165469
|
|
|
|
| |
llvm-svn: 165468
|
|
|
|
|
|
| |
LLVM_DELETED_FUNCTION.
llvm-svn: 164090
|
|
|
|
|
|
|
|
|
|
| |
* wrap code blocks in \code ... \endcode;
* refer to parameter names in paragraphs correctly (\arg is not what most
people want -- it starts a new paragraph);
* use \param instead of \arg to document parameters in order to be consistent
with the rest of the codebase.
llvm-svn: 163902
|
|
|
|
| |
llvm-svn: 163739
|
|
|
|
|
|
|
|
| |
pointers-to-strong-pointers may be in play. These can lead to retains and
releases happening in unstructured ways, foiling the optimizer. This fixes
rdar://12150909.
llvm-svn: 163180
|
|
|
|
|
|
| |
intended functionality change. Thanks to Ahmed Charles for spotting it.
llvm-svn: 162686
|
|
|
|
|
|
| |
rdar://11931823.
llvm-svn: 160637
|
|
|
|
| |
llvm-svn: 160621
|
|
|
|
|
|
|
| |
the call correctly even in the case where it is an invoke. This
fixes rdar://11714057.
llvm-svn: 159157
|
|
|
|
| |
llvm-svn: 157885
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Intrinsic::getDefinition,
making it stronger and more sane.
Delete the code from tblgen that produced the old code.
Besides being a path forward in intrinsic sanity, this also eliminates a bunch of
machine generated code that was compiled into Function.o
llvm-svn: 157545
|
|
|
|
| |
llvm-svn: 157197
|
|
|
|
|
|
| |
when deleting them. rdar://11434915.
llvm-svn: 157080
|
|
|
|
|
|
| |
end of a basic block if there's no store.
llvm-svn: 156520
|
|
|
|
| |
llvm-svn: 156466
|
|
|
|
| |
llvm-svn: 156445
|
|
|
|
|
|
|
| |
old value after the store but before it is released.
This fixes rdar:/11116986.
llvm-svn: 156442
|
|
|
|
| |
llvm-svn: 155725
|
|
|
|
|
|
|
| |
of a precise count. Also, move RRInfo's Partial field into PtrState,
now that it won't increase the size.
llvm-svn: 155513
|
|
|
|
|
|
|
|
| |
These lists exclude invoke unwind edges and loop backedges which
are being ignored. This makes it easier to ignore them
consistently.
llvm-svn: 155500
|
|
|
|
|
|
| |
loop repeatedlt making the same change. This is for rdar://11256239.
llvm-svn: 155160
|
|
|
|
|
|
| |
a function with arguments. This fixes rdar://11265785.
llvm-svn: 155073
|
|
|
|
| |
llvm-svn: 154687
|
|
|
|
|
|
|
| |
their argument as "escape" points for objc_retainBlock optimization.
This fixes rdar://11229925.
llvm-svn: 154682
|
|
|
|
|
|
|
| |
library return value optimization for phi uses. Even when the
phi itself is not dominated, the specific use may be dominated.
llvm-svn: 154647
|
|
|
|
|
|
|
| |
optimizing autorelease calls on phi nodes with null operands.
This fixes rdar://11207070.
llvm-svn: 154642
|
|
|
|
|
|
| |
testcase slightly less trivial. This fixes rdar://11171718.
llvm-svn: 154118
|
|
|
|
| |
llvm-svn: 153366
|
|
|
|
|
|
| |
is retaining the return value of an invoke that it immediately follows.
llvm-svn: 153344
|
|
|
|
|
|
|
|
|
|
|
|
| |
same basic block, and it's not safe to insert code in the successor
blocks if the edges are critical edges. Splitting those edges is
possible, but undesirable, especially on the unwind side. Instead,
make the bottom-up code motion to consider invokes to be part of
their successor blocks, rather than part of their parent blocks, so
that it doesn't push code past them and onto the edges. This fixes
PR12307.
llvm-svn: 153343
|
|
|
|
| |
llvm-svn: 153267
|
|
|
|
|
|
|
| |
code.
While here, reduce indentation.
llvm-svn: 152803
|
|
|
|
|
|
|
| |
should be ignored by ARC optimization, don't insert new ARC runtime
calls in the unwind destination.
llvm-svn: 152748
|
|
|
|
|
|
|
|
|
| |
traversal, consider nodes for which the only successors are backedges
which the traversal is ignoring to be exit nodes. This fixes a problem
where the bottom-up traversal was failing to visit split blocks along
split loop backedges. This fixes rdar://10989035.
llvm-svn: 152421
|
|
|
|
|
|
|
| |
can insert a new element, invalidating iterators. Use find
instead, and handle the case where the key is not found explicitly.
llvm-svn: 151871
|
|
|
|
| |
llvm-svn: 151869
|
|
|
|
|
|
|
|
| |
metadata may still unwind, but only in ways that the ARC
optimizer doesn't need to consider. This permits more
aggressive optimization.
llvm-svn: 150829
|
|
|
|
|
|
|
| |
(but not of) a block pointer do not cause the block pointer to
escape. This fixes rdar://10803830.
llvm-svn: 150424
|
|
|
|
| |
llvm-svn: 148578
|
|
|
|
|
|
| |
rdar://10531041.
llvm-svn: 148490
|
|
|
|
| |
llvm-svn: 148419
|
|
|
|
|
|
| |
of recognizing them by name.
llvm-svn: 148416
|