| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 82772
|
| |
|
|
| |
llvm-svn: 82771
|
| |
|
|
|
|
| |
Likewise for constant inbounds GEP.
llvm-svn: 82763
|
| |
|
|
| |
llvm-svn: 82603
|
| |
|
|
| |
llvm-svn: 82529
|
| |
|
|
| |
llvm-svn: 82528
|
| |
|
|
|
|
| |
transcode from AT&T to intel syntax with "llvm-mc foo.s -output-asm-variant=1"
llvm-svn: 82385
|
| |
|
|
|
|
| |
update the code which was broken by this.
llvm-svn: 82327
|
| |
|
|
| |
llvm-svn: 82259
|
| |
|
|
|
|
|
| |
an extension, so that the default output filename for foo.ll is foo.s,
not foo.ll.s
llvm-svn: 82071
|
| |
|
|
|
|
|
| |
isAtStartOfComment and using that instead in two places where a loop
to check if the char was in MAI.getCommentString().
llvm-svn: 82059
|
| |
|
|
| |
llvm-svn: 82049
|
| |
|
|
| |
llvm-svn: 81997
|
| |
|
|
| |
llvm-svn: 81859
|
| |
|
|
| |
llvm-svn: 81858
|
| |
|
|
|
|
|
|
|
|
|
| |
full AsmPrinter, and change TargetRegistry to keep track
of registered MCInstPrinters.
llvm-mc is still linking in the entire
target foo to get the code emitter stuff, but this is an
important step in the right direction.
llvm-svn: 81754
|
| |
|
|
| |
llvm-svn: 81632
|
| |
|
|
| |
llvm-svn: 81574
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
working. To support this, add an is_displayed() function to raw_ostream,
and generalize Process::StandardOutIsDisplayed and friends in order to
support it.
Also, call RemoveFileOnSignal before creating a file instead of after, so
that the file isn't left behind if the program is interrupted between when
the file is created and RemoveFileOnSignal is called.
While here, add a -S to llvm-extract and port it to IRReader so that it
supports assembly input.
llvm-svn: 81568
|
| |
|
|
|
|
|
|
| |
that things like .word can be parsed as target specific. Moved parsing .word
out of AsmParser.cpp into X86AsmParser.cpp as it is 2 bytes on X86 and 4 bytes
for other targets that support the .word directive.
llvm-svn: 81461
|
| |
|
|
| |
llvm-svn: 81452
|
| |
|
|
| |
llvm-svn: 81445
|
| |
|
|
| |
llvm-svn: 81416
|
| |
|
|
| |
llvm-svn: 81154
|
| |
|
|
| |
llvm-svn: 81109
|
| |
|
|
| |
llvm-svn: 81082
|
| |
|
|
|
|
|
| |
preparation of supporting other targets. Then changed the lexer to parse these
as tokens.
llvm-svn: 81050
|
| |
|
|
|
|
|
|
| |
supporting other targets. Changed the code to pass MCAsmInfo to the parser
and the lexer. Then changed the lexer to use CommentString from MCAsmInfo
instead of a literal '#' character.
llvm-svn: 81046
|
| |
|
|
|
|
|
|
|
|
| |
from MCAsmLexer.h in preparation of supporting other targets. Changed the
X86AsmParser code to reflect this by removing AsmLexer::LexPercent and looking
for AsmToken::Percent when parsing in places that used AsmToken::Register.
Then changed X86ATTAsmParser::ParseRegister to parse out registers as an
AsmToken::Percent followed by an AsmToken::Identifier.
llvm-svn: 80929
|
| |
|
|
| |
llvm-svn: 80927
|
| |
|
|
| |
llvm-svn: 80922
|
| |
|
|
| |
llvm-svn: 80899
|
| |
|
|
| |
llvm-svn: 80891
|
| |
|
|
| |
llvm-svn: 80842
|
| |
|
|
|
|
| |
transparently read either LLVM Assembly or LLVM Bitcode files.
llvm-svn: 80829
|
| |
|
|
| |
llvm-svn: 80578
|
| |
|
|
| |
llvm-svn: 80577
|
| |
|
|
| |
llvm-svn: 80576
|
| |
|
|
| |
llvm-svn: 80574
|
| |
|
|
| |
llvm-svn: 80571
|
| |
|
|
|
|
| |
taking the MCContext (which now owns all MCExprs).
llvm-svn: 80569
|
| |
|
|
| |
llvm-svn: 80567
|
| |
|
|
| |
llvm-svn: 80534
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
argpromotion and structretpromote. Basically, when replacing
a function, they used the 'changeFunction' api which changes
the entry in the function map (and steals/reuses the callgraph
node).
This has some interesting effects: first, the problem is that it doesn't
update the "callee" edges in any callees of the function in the call graph.
Second, this covers for a major problem in all the CGSCC pass stuff, which
is that it is completely broken when functions are deleted if they *don't*
reuse a CGN. (there is a cute little fixme about this though :).
This patch changes the protocol that CGSCC passes must obey: now the CGSCC
pass manager copies the SCC and preincrements its iterator to avoid passes
invalidating it. This allows CGSCC passes to mutate the current SCC. However
multiple passes may be run on that SCC, so if passes do this, they are now
required to *update* the SCC to be current when they return.
Other less interesting parts of this patch are that it makes passes update
the CG more directly, eliminates changeFunction, and requires clients of
replaceCallSite to specify the new callee CGN if they are changing it.
llvm-svn: 80527
|
| |
|
|
|
|
|
|
| |
for now.
- Switch Emit{CommonSymbol,Zerofill} to take alignment in bytes (for consistency).
llvm-svn: 80484
|
| |
|
|
|
|
| |
(See http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090824/085620.html)
llvm-svn: 80349
|
| |
|
|
| |
llvm-svn: 80343
|
| |
|
|
| |
llvm-svn: 80342
|
| |
|
|
|
|
|
| |
--- Reverse-merging r80305 into '.':
U tools/llvm-mc/AsmParser.cpp
llvm-svn: 80309
|
| |
|
|
| |
llvm-svn: 80305
|