| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
things that occur in types. "operands" are things that occur
in values.
llvm-svn: 92322
|
|
|
|
|
|
|
|
| |
getMDKindID/getMDKindNames methods to LLVMContext (and add
convenience methods to Module), eliminating MetadataContext.
Move the state that it maintains out to LLVMContext.
llvm-svn: 92259
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I asked Devang to do back on Sep 27. Instead of going through the
MetadataContext class with methods like getMD() and getMDs(), just
ask the instruction directly for its metadata with getMetadata()
and getAllMetadata().
This includes a variety of other fixes and improvements: previously
all Value*'s were bloated because the HasMetadata bit was thrown into
value, adding a 9th bit to a byte. Now this is properly sunk down to
the Instruction class (the only place where it makes sense) and it
will be folded away somewhere soon.
This also fixes some confusion in getMDs and its clients about
whether the returned list is indexed by the MDID or densely packed.
This is now returned sorted and densely packed and the comments make
this clear.
This introduces a number of fixme's which I'll follow up on.
llvm-svn: 92235
|
|
|
|
|
|
| |
and simplify all the clients that use it.
llvm-svn: 92224
|
|
|
|
|
|
| |
irrelevant internal implementation details to clients.
llvm-svn: 92210
|
|
|
|
|
|
|
| |
indirectbr, thus we don't need "blockaddr(@func, null)". Eliminate it
for simplicity.
llvm-svn: 85699
|
|
|
|
|
|
|
|
|
|
|
|
| |
block with a blockaddress still referring to it' replace the invalid
blockaddress with a new blockaddress(@func, null) instead of a
inttoptr(1).
This changes the bitcode encoding format, and still needs codegen
support (this should produce a non-zero value, referring to the entry
block of the function would also be quite reasonable).
llvm-svn: 85678
|
|
|
|
| |
llvm-svn: 85376
|
|
|
|
|
|
|
|
|
| |
In the new world order, BlockAddress can have a BasicBlock operand.
This doesn't permute much, because if you have a ConstantExpr (or
anything more specific than Constant) we still know the operand has
to be a Constant.
llvm-svn: 85375
|
|
|
|
| |
llvm-svn: 85351
|
|
|
|
|
|
|
| |
(assembler,asmprinter, bc reader+writer) and document it. Codegen
currently aborts on it.
llvm-svn: 85274
|
|
|
|
| |
llvm-svn: 85254
|
|
|
|
|
|
|
| |
Remove LowerAllocations pass.
Update some more passes to treate free calls just like they were treating FreeInst.
llvm-svn: 85176
|
|
|
|
| |
llvm-svn: 84885
|
|
|
|
| |
llvm-svn: 84884
|
|
|
|
|
|
| |
vector with handler names.
llvm-svn: 84820
|
|
|
|
| |
llvm-svn: 84795
|
|
|
|
| |
llvm-svn: 84465
|
|
|
|
| |
llvm-svn: 84299
|
|
|
|
|
|
|
| |
A little ugliness is accepted to keep the binary file format
compatible. No functional change yet.
llvm-svn: 84020
|
|
|
|
| |
llvm-svn: 84006
|
|
|
|
|
|
|
|
| |
the new predicates I added) instead of going through a context and doing a
pointer comparison. Besides being cheaper, this allows a smart compiler
to turn the if sequence into a switch.
llvm-svn: 83297
|
|
|
|
| |
llvm-svn: 83019
|
|
|
|
| |
llvm-svn: 82355
|
|
|
|
| |
llvm-svn: 82259
|
|
|
|
|
|
| |
buildbot's stage 2 configure
llvm-svn: 80871
|
|
|
|
|
|
| |
this time. I'll back out if needed...
llvm-svn: 80858
|
|
|
|
| |
llvm-svn: 79840
|
|
|
|
|
|
| |
and hasNoSignedWrap, for consistency with the nuw and nsw properties.
llvm-svn: 79539
|
|
|
|
| |
llvm-svn: 78948
|
|
|
|
| |
llvm-svn: 78119
|
|
|
|
|
|
| |
This fixes PR4666.
llvm-svn: 78056
|
|
|
|
| |
llvm-svn: 78053
|
|
|
|
|
|
| |
around in a tree I forgot about.
llvm-svn: 78048
|
|
|
|
| |
llvm-svn: 78035
|
|
|
|
| |
llvm-svn: 78034
|
|
|
|
|
|
| |
interleaved (using appropriate BLOCK_IDs) otherwise ValuePtrs index gets out of sync.
llvm-svn: 78033
|
|
|
|
| |
llvm-svn: 77637
|
|
|
|
| |
llvm-svn: 77517
|
|
|
|
| |
llvm-svn: 77482
|
|
|
|
|
|
| |
New name is Metadata.h.
llvm-svn: 77370
|
|
|
|
|
|
| |
LangRef.html changes for details.
llvm-svn: 77259
|
|
|
|
|
|
|
| |
- Rename member function size(). New name is length().
- Store string beginning and length. Earlier it used to store string end.
llvm-svn: 76841
|
|
|
|
|
|
| |
METADATA_BLOCK in bitcode file.
llvm-svn: 76834
|
|
|
|
| |
llvm-svn: 76787
|
|
|
|
|
|
|
| |
Derive MDString directly from MetadataBase.
Introduce new bitcode block to hold metadata.
llvm-svn: 76759
|
|
|
|
|
|
| |
exact sdiv flags.
llvm-svn: 76475
|
|
|
|
|
|
|
|
|
| |
"private" symbols which the assember shouldn't strip, but which the linker may
remove after evaluation. This is mostly useful for Objective-C metadata.
This is plumbing, so we don't have a use of it yet. More to come, etc.
llvm-svn: 76385
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|