| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
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-as foo.ll -d -disable-output
which reads and prints the .ll file. BC encoding is the
next project. Testcase will go in once that works.
llvm-svn: 85368
|
|
|
|
| |
llvm-svn: 85351
|
|
|
|
|
|
|
| |
(assembler,asmprinter, bc reader+writer) and document it. Codegen
currently aborts on it.
llvm-svn: 85274
|
|
|
|
|
|
|
| |
Remove LowerAllocations pass.
Update some more passes to treate free calls just like they were treating FreeInst.
llvm-svn: 85176
|
|
|
|
|
|
|
| |
or global after a function with conflicting names. Update some testcases
that were accidentally depending on this behavior.
llvm-svn: 85081
|
|
|
|
|
|
|
| |
Update all analysis passes and transforms to treat free calls just like FreeInst.
Remove RaiseAllocations and all its tests since FreeInst no longer needs to be raised.
llvm-svn: 84987
|
|
|
|
| |
llvm-svn: 84919
|
|
|
|
| |
llvm-svn: 84795
|
|
|
|
|
|
|
| |
Most changes are cleanup, but there is 1 correctness fix:
I fixed InstCombine so that the icmp is removed only if the malloc call is removed (which requires explicit removal because the Worklist won't DCE any calls since they can have side-effects).
llvm-svn: 84772
|
|
|
|
|
|
|
|
| |
s/validName/isValidName/g
s/with an Instruction/to an Instruction/g
s/RegisterMDKind/registerMDKind/g
llvm-svn: 84689
|
|
|
|
| |
llvm-svn: 84463
|
|
|
|
| |
llvm-svn: 84410
|
|
|
|
| |
llvm-svn: 84408
|
|
|
|
| |
llvm-svn: 84299
|
|
|
|
|
|
|
|
| |
Update testcases that rely on malloc insts being present.
Also prematurely remove MallocInst handling from IndMemRemoval and RaiseAllocations to help pass tests in this incremental step.
llvm-svn: 84292
|
|
|
|
| |
llvm-svn: 84264
|
|
|
|
|
|
|
| |
A little ugliness is accepted to keep the binary file format
compatible. No functional change yet.
llvm-svn: 84020
|
|
|
|
|
|
| |
libprofile_rt.bca build.
llvm-svn: 84002
|
|
|
|
|
|
|
|
| |
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: 83105
|
|
|
|
| |
llvm-svn: 83033
|
|
|
|
| |
llvm-svn: 83019
|
|
|
|
| |
llvm-svn: 83016
|
|
|
|
|
|
| |
causes regressions in the nightly tests.
llvm-svn: 82784
|
|
|
|
|
|
| |
Reviewed by Devang Patel.
llvm-svn: 82694
|
|
|
|
| |
llvm-svn: 82355
|
|
|
|
| |
llvm-svn: 82175
|
|
|
|
| |
llvm-svn: 82063
|
|
|
|
|
|
|
| |
of requiring a name be passed in. This makes it use "<stdin>"
instead of "-" and makes it more consistent with the Bitcode reader.
llvm-svn: 81256
|
|
|
|
| |
llvm-svn: 81172
|
|
|
|
|
|
| |
breaks MiniSAT on x86_64.
llvm-svn: 81098
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Constant uniquing tables. This allows distinct ConstantExpr objects
with the same operation and different flags.
Even though a ConstantExpr "a + b" is either always overflowing or
never overflowing (due to being a ConstantExpr), it's still necessary
to be able to represent it both with and without overflow flags at
the same time within the IR, because the safety of the flag may
depend on the context of the use. If the constant really does overflow,
it wouldn't ever be safe to use with the flag set, however the use
may be in code that is never actually executed.
This also makes it possible to merge all the flags tests into a single test.
llvm-svn: 80998
|
|
|
|
|
|
| |
to expose a low-level interface for parsing from an existing MemoryBuffer.
llvm-svn: 80803
|
|
|
|
| |
llvm-svn: 80792
|
|
|
|
|
|
| |
value after replacing it
llvm-svn: 80790
|
|
|
|
| |
llvm-svn: 80773
|
|
|
|
| |
llvm-svn: 80453
|
|
|
|
|
|
| |
Use MDNodes to encode debug info in llvm IR.
llvm-svn: 80406
|
|
|
|
| |
llvm-svn: 80073
|
|
|
|
|
|
|
|
| |
code hints that it would be a good idea to inline
a function ("inline" keyword). No functional change
yet; FEs do not emit this and inliner does not use it.
llvm-svn: 80063
|
|
|
|
|
|
| |
constructors.
llvm-svn: 80049
|
|
|
|
|
|
|
|
| |
llvm.dbg.... global variables, to encode debugging information in llvm IR. This is mostly a mechanical change that tests metadata support very well.
This change speeds up llvm-gcc by more then 6% at "-O0 -g" (measured by compiling InstructionCombining.cpp!)
llvm-svn: 79977
|
|
|
|
|
|
| |
for EOF.
llvm-svn: 79908
|
|
|
|
|
|
| |
and hasNoSignedWrap, for consistency with the nuw and nsw properties.
llvm-svn: 79539
|
|
|
|
| |
llvm-svn: 78955
|
|
|
|
| |
llvm-svn: 78948
|
|
|
|
|
|
| |
- Patch by Erick Tryzelaar, with some edits (and a bug fix) from me.
llvm-svn: 78885
|
|
|
|
|
|
|
| |
and unnamed numbered global variables as "@0 = global ...". Extend the
AsmParser to recognize these forms.
llvm-svn: 78859
|
|
|
|
| |
llvm-svn: 78690
|