| 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
|
| |
|
|
|
|
|
| |
Add another line to the ConstantExprFold test to demonstrate the GEPs may not
wrap around in either the signed or unsigned senses.
llvm-svn: 82361
|
| |
|
|
| |
llvm-svn: 82360
|
| |
|
|
| |
llvm-svn: 82359
|
| |
|
|
|
|
| |
design a testcase that would tickle this behaviour.
llvm-svn: 82357
|
| |
|
|
| |
llvm-svn: 82356
|
| |
|
|
| |
llvm-svn: 82355
|
| |
|
|
|
|
|
|
| |
internal, they shouldn't use the indirect pointer stuff. In the case of
throw_rethrow_test, it was marked as 'internal' and calculated its own offset to
its contents.
llvm-svn: 82354
|
| |
|
|
|
|
| |
the optimization described in the comment is only valid with target data.
llvm-svn: 82353
|
| |
|
|
| |
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
|
| |
|
|
|
|
|
| |
folder removes a lot of const_casting and requires no changes to clang or
llvm-gcc.
llvm-svn: 82349
|
| |
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
we pushed the beginning of the interval back 1, so the
interval would overlap with inputs that die. We were
also pushing the end of the interval back 1, though,
which means the earlyclobber didn't overlap with other
output operands. Don't do this. PR 4964.
llvm-svn: 82342
|
| |
|
|
|
|
| |
a std::vector and a bunch of std::string temporaries.
llvm-svn: 82341
|
| |
|
|
| |
llvm-svn: 82340
|
| |
|
|
| |
llvm-svn: 82339
|
| |
|
|
|
|
| |
common and useful integer types.
llvm-svn: 82338
|
| |
|
|
| |
llvm-svn: 82336
|
| |
|
|
| |
llvm-svn: 82333
|
| |
|
|
| |
llvm-svn: 82332
|
| |
|
|
|
|
| |
update the code which was broken by this.
llvm-svn: 82327
|
| |
|
|
| |
llvm-svn: 82322
|
| |
|
|
| |
llvm-svn: 82319
|
| |
|
|
|
|
|
| |
a massive number of temporary strings created when parsing a command line.
More still left to eliminate.
llvm-svn: 82318
|
| |
|
|
|
|
|
| |
to. This can be combined with LCSSA or SSI form to store more information on a
PHINode than can be computed by looking at its incoming values.
llvm-svn: 82317
|
| |
|
|
|
|
|
| |
It prints the content of all bbs, instead of printing empty bbs to make the
CFG more readable. Fix this. Patch by Tobias Grosser.
llvm-svn: 82315
|
| |
|
|
| |
llvm-svn: 82314
|
| |
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
| |
blocks and update CFG, it should also inform sdisel of the changes so the phi source operands will come from the right basic blocks.
llvm-svn: 82311
|
| |
|
|
|
|
|
|
| |
calls as to MallocInst.
Reviewed by Dan Gohman.
llvm-svn: 82300
|
| |
|
|
| |
llvm-svn: 82285
|
| |
|
|
| |
llvm-svn: 82284
|
| |
|
|
| |
llvm-svn: 82282
|
| |
|
|
|
|
|
|
| |
as to MallocInst.
Reviewed by Eli Friedman.
llvm-svn: 82281
|
| |
|
|
|
|
|
|
|
| |
into the __DATA section. At launch time, dyld has to update most of the section
to fix up the type info pointers. It's better to place it into the __TEXT
section and use pc-rel indirect pointer encodings. Similar to the personality
routine.
llvm-svn: 82274
|
| |
|
|
|
|
|
|
| |
sdisel will use to properly complete phi nodes.
Not functionality change yet.
llvm-svn: 82273
|
| |
|
|
|
|
| |
causes the "../foo" to not find the file
llvm-svn: 82270
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
getSymbolForDwarfGlobalReference is smart enough to know that it
needs to register the stub it references with MachineModuleInfoMachO,
so that it gets emitted at the end of the file.
Move stub emission from X86ATTAsmPrinter::doFinalization to the
new X86ATTAsmPrinter::EmitEndOfAsmFile asmprinter hook. The important
thing here is that EmitEndOfAsmFile is called *after* the ehframes are
emitted, so we get all the stubs.
This allows us to remove a gross hack from the asmprinter where it would
"just know" that it needed to output stubs for personality functions.
Now this is all driven from a consistent interface.
The testcase change is just reordering the expected output now that the
stubs come out after the ehframe instead of before.
This also unblocks other changes that Bill wants to make.
llvm-svn: 82269
|
| |
|
|
|
|
| |
Overriding doFinalization is pretty lame.
llvm-svn: 82268
|
| |
|
|
|
|
|
| |
move a SUBFC (etc.) below the SUBFE (etc.) that consumed
the carry bit. Add missing ADDIC8, noticed along the way.
llvm-svn: 82266
|
| |
|
|
|
|
|
| |
on x86, to avoid explicit test instructions. A few existing tests changed
due to arbitrary register allocation differences.
llvm-svn: 82263
|