| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
instructions, so instruction's references to metadata are fully resolved by the time they get written.
llvm-svn: 93403
|
|
|
|
| |
llvm-svn: 93401
|
|
|
|
| |
llvm-svn: 93355
|
|
|
|
| |
llvm-svn: 93339
|
|
|
|
|
|
| |
function-incorporation, global metadata continues to be enumerated during creation of ValueEnumerator
llvm-svn: 93338
|
|
|
|
|
|
| |
in ValueEnumerator's ValueList during WriteConstants()
llvm-svn: 93289
|
|
|
|
|
|
| |
ValueList
llvm-svn: 93270
|
|
|
|
|
|
|
|
| |
getWhenValsUnresolved().
Document PFS argument to ParseValID() and ConvertGlobalOrMetadataValIDToValue().
llvm-svn: 93108
|
|
|
|
| |
llvm-svn: 93039
|
|
|
|
| |
llvm-svn: 93032
|
|
|
|
| |
llvm-svn: 92931
|
|
|
|
| |
llvm-svn: 92783
|
|
|
|
|
|
| |
dereference the type pointer.
llvm-svn: 92726
|
|
|
|
| |
llvm-svn: 92374
|
|
|
|
|
|
|
| |
things that occur in types. "operands" are things that occur
in values.
llvm-svn: 92322
|
|
|
|
| |
llvm-svn: 92320
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 92208
|
|
|
|
| |
llvm-svn: 92092
|
|
|
|
|
|
|
| |
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: 84784
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is conventional command-line tool behavior. -f now just means
"enable binary output on terminals".
Add a -f option to llvm-extract and llvm-link, for consistency.
Remove F_Force from raw_fd_ostream and enable overwriting and
truncating by default. Introduce an F_Excl flag to permit users to
enable a failure when the file already exists. This flag is
currently unused.
Update Makefiles and documentation accordingly.
llvm-svn: 79990
|
|
|
|
| |
llvm-svn: 79842
|
|
|
|
| |
llvm-svn: 79840
|
|
|
|
|
|
| |
and hasNoSignedWrap, for consistency with the nuw and nsw properties.
llvm-svn: 79539
|
|
|
|
| |
llvm-svn: 78948
|