| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
71524->70700 bytes.
llvm-svn: 82366
|
| |
|
|
|
|
|
|
| |
deleting from
the middle of a vector, swap the last element in and pop_back. Also saves 330 bytes :)
llvm-svn: 82365
|
| |
|
|
|
|
| |
release-asserts .o file (72900->71856).
llvm-svn: 82364
|
| |
|
|
| |
llvm-svn: 82363
|
| |
|
|
|
|
|
|
|
|
|
|
| |
1. Change some "\n" -> '\n'.
2. eliminte some std::string's by using raw_ostream::indent.
3. move a bunch of code out of the main arg parser routine into
a new static HandlePrefixedOrGroupedOption function.
4. Greatly simplify the implementation of getOptionPred, and make
it avoid splitting prefix options at = when that doesn't match
a non-prefix option.
llvm-svn: 82362
|
| |
|
|
| |
llvm-svn: 82360
|
| |
|
|
| |
llvm-svn: 82355
|
| |
|
|
| |
llvm-svn: 82352
|
| |
|
|
|
|
| |
maintain the "null is unspecified, empty is empty" semantics.
llvm-svn: 82351
|
| |
|
|
|
|
|
|
| |
temporary std::strings.
This requires StringRef'izing ProvideOption which I also did.
llvm-svn: 82350
|
| |
|
|
| |
llvm-svn: 82348
|
| |
|
|
|
|
| |
find_first_of/find_first_of methods.
llvm-svn: 82347
|
| |
|
|
| |
llvm-svn: 82346
|
| |
|
|
|
|
|
|
| |
stringref because they may not be nul terminated. For options like -Lfoo
this now avoids a O(n) temporary std::strings where N is the length of
the string after -L.
llvm-svn: 82345
|
| |
|
|
|
|
| |
a std::vector and a bunch of std::string temporaries.
llvm-svn: 82341
|
| |
|
|
| |
llvm-svn: 82339
|
| |
|
|
|
|
| |
common and useful integer types.
llvm-svn: 82338
|
| |
|
|
| |
llvm-svn: 82322
|
| |
|
|
|
|
|
| |
a massive number of temporary strings created when parsing a command line.
More still left to eliminate.
llvm-svn: 82318
|
| |
|
|
|
|
|
|
| |
- Replace std::map<std::string with StringMap
- Eliminate unnecessary std::string copies
- ~10% speed-up for clang's testsuite on my machine (debug build)
llvm-svn: 82312
|
| |
|
|
| |
llvm-svn: 82110
|
| |
|
|
| |
llvm-svn: 82087
|
| |
|
|
|
|
|
| |
- As best I can tell, we have eliminated all the code which used to require a
larger buffer size.
llvm-svn: 81912
|
| |
|
|
| |
llvm-svn: 81577
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 81402
|
| |
|
|
| |
llvm-svn: 81393
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
all disassemblers.
Modified the MemoryObject to support 64-bit address
spaces, regardless of the LLVM process's address
width.
Modified the Target class to allow extraction of a
MCDisassembler.
llvm-svn: 81392
|
| |
|
|
| |
llvm-svn: 81308
|
| |
|
|
|
|
|
|
| |
name (e.g. "ppc") to the appropriate constant.
Also, StringRefize additional Triple constructor.
llvm-svn: 81274
|
| |
|
|
|
|
| |
mention -version in messages about missing targets.
llvm-svn: 81272
|
| |
|
|
| |
llvm-svn: 81223
|
| |
|
|
| |
llvm-svn: 81127
|
| |
|
|
|
|
| |
about by icc (#593, partial). Patch by Erick Tryzelaar.
llvm-svn: 81115
|
| |
|
|
|
|
|
| |
1. DUPMAX is defined in regcomp.c, no need to redefine it in regutils.
2. MSVC doesn't like snprintf, use _snprintf instead.
llvm-svn: 81114
|
| |
|
|
| |
llvm-svn: 81108
|
| |
|
|
|
|
| |
icc (#177, partial). Patch by Erick Tryzelaar.
llvm-svn: 81106
|
| |
|
|
| |
llvm-svn: 80855
|
| |
|
|
| |
llvm-svn: 80680
|
| |
|
|
| |
llvm-svn: 80629
|
| |
|
|
| |
llvm-svn: 80515
|
| |
|
|
|
|
| |
implementation.
llvm-svn: 80493
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: 79959
|
| |
|
|
|
|
| |
identifier architecture.
llvm-svn: 79906
|
| |
|
|
| |
llvm-svn: 79894
|
| |
|
|
|
|
| |
than 16 spaces. Make the Spaces array wide enough to handle common cases.
llvm-svn: 79890
|
| |
|
|
|
|
|
| |
means that raw_ostream no longer has to #include <iosfwd>. Nothing in llvm
should use raw_os_ostream.h, but llvm-gcc and some unit tests do.
llvm-svn: 79886
|
| |
|
|
|
|
|
| |
member out of line. ftostr is not particularly speedy,
so that method is presumably not perf sensitive.
llvm-svn: 79885
|
| |
|
|
| |
llvm-svn: 79883
|