| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
than int. This will make it more convenient for LSR, which does
a lot of things with int64_t offsets.
llvm-svn: 95281
|
| |
|
|
|
|
|
|
| |
disassembly library that provide access to
instruction information, and fixed ambiguous
wording in the comments for the header.
llvm-svn: 95274
|
| |
|
|
| |
llvm-svn: 95240
|
| |
|
|
|
|
|
|
| |
1-argument ExecutionEngine::create(Module*) ambiguous with the signature that
used to be ExecutionEngine::create(ModuleProvider*, defaulted_params). Fixed
by removing the 1-argument create(). Fixes PR6221.
llvm-svn: 95236
|
| |
|
|
|
|
| |
output.
llvm-svn: 95227
|
| |
|
|
| |
llvm-svn: 95213
|
| |
|
|
| |
llvm-svn: 95212
|
| |
|
|
|
|
|
| |
of const ones. non-const ones aren't very useful, because you can't
even, say, emit them.
llvm-svn: 95205
|
| |
|
|
|
|
|
| |
add -filetype=null for performance testing and remove -filetype=dynlib,
which isn't planned to be implemented.
llvm-svn: 95202
|
| |
|
|
| |
llvm-svn: 95191
|
| |
|
|
| |
llvm-svn: 95186
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
$ cat t.ll
@g = global i32 42
$ llc t.ll -o t.o -filetype=obj
$ nm t.o
00000000 D _g
There is still a ton of work left. Instructions are not being encoded
yet apparently.
llvm-svn: 95162
|
| |
|
|
| |
llvm-svn: 95160
|
| |
|
|
|
|
|
| |
mccontext instead of having AsmPrinter do it. This allows other
types of MCStreamer's to be passed in.
llvm-svn: 95155
|
| |
|
|
|
|
|
| |
Now the only use of the ELF writer is the JIT, which won't be
easy to fix in the short term. :( :(
llvm-svn: 95148
|
| |
|
|
| |
llvm-svn: 95135
|
| |
|
|
|
|
|
| |
eliminate random "code emitter" stuff in Alpha, except for
the JIT path. Next up, remove the template cruft.
llvm-svn: 95131
|
| |
|
|
|
|
| |
sibcall eligibility.
llvm-svn: 95130
|
| |
|
|
| |
llvm-svn: 95127
|
| |
|
|
| |
llvm-svn: 95126
|
| |
|
|
|
|
|
| |
of the code generator shouldn't care what object format a target
uses.
llvm-svn: 95124
|
| |
|
|
| |
llvm-svn: 95114
|
| |
|
|
|
|
| |
a layering violation from MC -> Target.
llvm-svn: 95113
|
| |
|
|
|
|
|
|
|
| |
the one used by the JIT. Remove all forms of
addPassesToEmitFileFinish except the one used by the static
code generator. Inline the remaining version of
addPassesToEmitFileFinish into its only caller.
llvm-svn: 95109
|
| |
|
|
|
|
|
| |
the -print-emitted-asm option. The JIT shouldn't have to pull
in the asmprinter.
llvm-svn: 95100
|
| |
|
|
| |
llvm-svn: 95086
|
| |
|
|
| |
llvm-svn: 95075
|
| |
|
|
| |
llvm-svn: 95074
|
| |
|
|
|
|
| |
parameter to record whether changes actually happened.
llvm-svn: 95073
|
| |
|
|
|
|
| |
lookup is that if the lookup key is contained in the key, we return the data.
llvm-svn: 95070
|
| |
|
|
| |
llvm-svn: 95056
|
| |
|
|
|
|
| |
any other member.
llvm-svn: 95047
|
| |
|
|
|
|
| |
The MCStreamer based assemblers will take over for this functionality.
llvm-svn: 95033
|
| |
|
|
| |
llvm-svn: 95022
|
| |
|
|
| |
llvm-svn: 95002
|
| |
|
|
| |
llvm-svn: 95001
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cases, and implement target-independent folding rules for alignof and
offsetof. Also, reassociate reassociative operators when it leads to
more folding.
Generalize ScalarEvolution's isOffsetOf to recognize offsetof on
arrays. Rename getAllocSizeExpr to getSizeOfExpr, and getFieldOffsetExpr
to getOffsetOfExpr, for consistency with analagous ConstantExpr routines.
Make the target-dependent folder promote GEP array indices to
pointer-sized integers, to make implicit casting explicit and exposed
to subsequent folding.
And add a bunch of testcases for this new functionality, and a bunch
of related existing functionality.
llvm-svn: 94987
|
| |
|
|
| |
llvm-svn: 94982
|
| |
|
|
|
|
|
| |
array types as well as struct types, and which accepts arbitrary
Constant indicies.
llvm-svn: 94981
|
| |
|
|
|
|
| |
in the analyzer. WIP.
llvm-svn: 94976
|
| |
|
|
| |
llvm-svn: 94973
|
| |
|
|
|
|
|
|
| |
to the TargetAsmLexer class so that clients can
actually use the TargetAsmLexer they get from a
Target.
llvm-svn: 94940
|
| |
|
|
|
|
|
| |
unconditionally. Besides checking the offset, also check that the underlying
object is aligned as much as the load itself.
llvm-svn: 94875
|
| |
|
|
| |
llvm-svn: 94845
|
| |
|
|
|
|
|
| |
that loads its contents lazily from bitcode. I think these are the
only remaining mis-named functions.
llvm-svn: 94840
|
| |
|
|
|
|
|
| |
indices are safe if the result is known to be within the bounds of the
underlying object.
llvm-svn: 94829
|
| |
|
|
|
|
|
| |
"visit*" method is called, take the newly created nodes, walk them in a DFS
fashion, and if they don't have an ordering set, then give it one.
llvm-svn: 94757
|
| |
|
|
| |
llvm-svn: 94743
|
| |
|
|
|
|
|
| |
getOffsetOf, and remove the comment about assuming i8 is byte-aligned,
which is no longer applicable.
llvm-svn: 94738
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
use plain SCEVUnknowns with ConstantExpr::getSizeOf and
ConstantExpr::getOffsetOf constants. This eliminates a bunch of
special-case code.
Also add code for pattern-matching these expressions, for clients that
want to recognize them.
Move ScalarEvolution's logic for expanding array and vector sizeof
expressions into an element count times the element size, to expose
the multiplication to subsequent folding, into the regular constant
folder.
llvm-svn: 94737
|