| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 80240
|
| |
|
|
| |
llvm-svn: 80239
|
| |
|
|
|
|
| |
- No relocations yet, of course.
llvm-svn: 80235
|
| |
|
|
| |
llvm-svn: 80230
|
| |
|
|
| |
llvm-svn: 80193
|
| |
|
|
|
|
| |
- Of course, nothing actually can provide this interface yet.
llvm-svn: 80188
|
| |
|
|
|
|
|
|
| |
sections, etc.
- The quick and dirty way, just clone the TargetLoweringObjectFile
code. Eventually this should be shared... somehow.
llvm-svn: 80168
|
| |
|
|
|
|
|
|
| |
- I moved section creation back into AsmParser. I think policy decisions like
this should be pushed higher, not lower, when possible (in addition the
assembler has flags which change this behavior, for example).
llvm-svn: 80162
|
| |
|
|
| |
llvm-svn: 80078
|
| |
|
|
|
|
| |
Also, warn about overflow in alignment values.
llvm-svn: 80077
|
| |
|
|
| |
llvm-svn: 80076
|
| |
|
|
| |
llvm-svn: 80023
|
| |
|
|
| |
llvm-svn: 80013
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
for stderr and fprintf.
llvm-svn: 79909
|
| |
|
|
| |
llvm-svn: 79892
|
| |
|
|
|
|
| |
std::cout and outs().
llvm-svn: 79891
|
| |
|
|
|
|
|
| |
member out of line. ftostr is not particularly speedy,
so that method is presumably not perf sensitive.
llvm-svn: 79885
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
forcing them down into various .cpp files.
This change also:
1. Renames TimeValue::toString() and Path::toString() to ::str()
for similarity with the STL.
2. Removes all stream insertion support for sys::Path, forcing
clients to call .str().
3. Removes a use of Config/alloca.h from bugpoint, using smallvector
instead.
4. Weans llvm-db off <iostream>
sys::Path really needs to be gutted, but I don't have the desire to
do it at this point.
llvm-svn: 79869
|
| |
|
|
|
|
|
| |
change the raw_ostream one to take the raw_ostream byref instead
of byptr. Prune #includes, eliminate a use of Streams.h
llvm-svn: 79863
|
| |
|
|
| |
llvm-svn: 79840
|
| |
|
|
|
|
| |
flush the right stream in opt.cpp.
llvm-svn: 79837
|
| |
|
|
|
|
| |
update all code that this affects.
llvm-svn: 79830
|
| |
|
|
| |
llvm-svn: 79823
|