| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Move CoerceAvailableValueToLoadType earlier in GVN.cpp. Hook it up | Chris Lattner | 2009-09-20 | 1 | -105/+152 |
| | | | | | | | | | so that nonlocal and partially redundant loads can use it as well. The testcase shows examples of craziness this can handle. This triggers *many* times in 176.gcc. llvm-svn: 82403 | ||||
| * | change the interface to CoerceAvailableValueToLoadType to be | Chris Lattner | 2009-09-20 | 1 | -15/+21 |
| | | | | | | | more generic. llvm-svn: 82402 | ||||
| * | enhance GVN to forward substitute a stored value to a load | Chris Lattner | 2009-09-20 | 1 | -15/+129 |
| | | | | | | | | | (and load -> load) when the base pointers must alias but when they are different types. This occurs very very frequently in 176.gcc and other code that uses bitfields a lot. llvm-svn: 82399 | ||||
| * | update an entry, delete an entry which has been fixed. | Chris Lattner | 2009-09-20 | 1 | -36/+15 |
| | | | | | llvm-svn: 82398 | ||||
| * | tidy up | Chris Lattner | 2009-09-20 | 1 | -3/+3 |
| | | | | | llvm-svn: 82397 | ||||
| * | --- Reverse-merging r82282 into '.': | Bill Wendling | 2009-09-20 | 3 | -58/+22 |
| | | | | | | | | | | | | | | U lib/CodeGen/AsmPrinter/DwarfException.cpp U lib/CodeGen/AsmPrinter/DwarfException.h --- Reverse-merging r82274 into '.': U lib/Target/TargetLoweringObjectFile.cpp G lib/CodeGen/AsmPrinter/DwarfException.cpp These revisions were breaking everything. llvm-svn: 82396 | ||||
| * | remove a temporary hack. | Chris Lattner | 2009-09-20 | 2 | -4/+2 |
| | | | | | llvm-svn: 82395 | ||||
| * | rename X86ATTAsmPrinter.cpp -> X86AsmPrinter.cpp likewise the .h file. | Chris Lattner | 2009-09-20 | 5 | -958/+941 |
| | | | | | llvm-svn: 82394 | ||||
| * | move target registry stuff to X86ATTAsmPrinter.cpp | Chris Lattner | 2009-09-20 | 2 | -27/+25 |
| | | | | | llvm-svn: 82393 | ||||
| * | simplify this now that createX86CodePrinterPass is trivial | Chris Lattner | 2009-09-20 | 1 | -14/+2 |
| | | | | | llvm-svn: 82392 | ||||
| * | rename X86ATTAsmPrinter class -> X86AsmPrinter | Chris Lattner | 2009-09-20 | 5 | -37/+35 |
| | | | | | llvm-svn: 82391 | ||||
| * | remove the asmstring, it is now dead. Improve comment. | Chris Lattner | 2009-09-20 | 1 | -3/+4 |
| | | | | | llvm-svn: 82390 | ||||
| * | Peer through zext and sext to eliminate them when it is safe to do so. | Nick Lewycky | 2009-09-20 | 2 | -22/+16 |
| | | | | | llvm-svn: 82389 | ||||
| * | kill off printPICLabel now, it's specialness is handled by | Chris Lattner | 2009-09-20 | 5 | -18/+2 |
| | | | | | | | | the MachineInstr ->MCInst lowering process, not in the asmprinter. llvm-svn: 82388 | ||||
| * | delete X86IntelAsmPrinter! Now -x86-asm-syntax just switches | Chris Lattner | 2009-09-20 | 5 | -815/+5 |
| | | | | | | | the instruction syntax, not the entire asmprinter. llvm-svn: 82387 | ||||
| * | Fold 'icmp eq (icmp), true' into an xor(icmp). | Nick Lewycky | 2009-09-20 | 1 | -0/+14 |
| | | | | | llvm-svn: 82386 | ||||
| * | Add an intel syntax MCInstPrinter implementation. You can now | Chris Lattner | 2009-09-20 | 6 | -10/+244 |
| | | | | | | | transcode from AT&T to intel syntax with "llvm-mc foo.s -output-asm-variant=1" llvm-svn: 82385 | ||||
| * | tidy up | Chris Lattner | 2009-09-20 | 1 | -1/+1 |
| | | | | | llvm-svn: 82384 | ||||
| * | eliminate a use of strtoul. | Chris Lattner | 2009-09-20 | 1 | -12/+2 |
| | | | | | llvm-svn: 82382 | ||||
| * | split random COFF asmprinter state out to X86COFFMachineModuleInfo.h. | Chris Lattner | 2009-09-20 | 6 | -137/+238 |
| | | | | | | | Make dllexport directives come out in determinstic order. llvm-svn: 82381 | ||||
| * | Correct the comment; this applies to fcmp too. | Nick Lewycky | 2009-09-20 | 1 | -1/+1 |
| | | | | | llvm-svn: 82380 | ||||
| * | Remove tab, again. | Nick Lewycky | 2009-09-20 | 1 | -1/+1 |
| | | | | | llvm-svn: 82379 | ||||
| * | Teach the constant folder how to not a cmpinst. | Nick Lewycky | 2009-09-20 | 1 | -0/+14 |
| | | | | | llvm-svn: 82378 | ||||
| * | smallvectorize getExtraOptionNames | Chris Lattner | 2009-09-20 | 1 | -2/+1 |
| | | | | | llvm-svn: 82377 | ||||
| * | minor cleanups. | Chris Lattner | 2009-09-20 | 1 | -22/+24 |
| | | | | | llvm-svn: 82375 | ||||
| * | strength reduce further StringRef-> const char*, saving another 620 bytes. | Chris Lattner | 2009-09-20 | 1 | -5/+11 |
| | | | | | llvm-svn: 82372 | ||||
| * | Try turning icmp(bitcast(x), bitcast(y)) into icmp(bitcast(bitcast(x)), y) in | Nick Lewycky | 2009-09-20 | 1 | -0/+10 |
| | | | | | | | the hopes that the two bitcasts will merge. llvm-svn: 82371 | ||||
| * | switch an std::string to StringRef, shaving 400 bytes off CommandLine.o | Chris Lattner | 2009-09-20 | 1 | -11/+10 |
| | | | | | llvm-svn: 82370 | ||||
| * | Remove tabs I added. | Nick Lewycky | 2009-09-20 | 1 | -8/+8 |
| | | | | | llvm-svn: 82369 | ||||
| * | the switch from std::map -> StringMap caused --help output to be in | Chris Lattner | 2009-09-20 | 1 | -5/+15 |
| | | | | | | | non-sorted order, restore the sort. llvm-svn: 82368 | ||||
| * | eliminate the duplicate detection loop, moving it into the loop that ↵ | Chris Lattner | 2009-09-20 | 1 | -13/+6 |
| | | | | | | | populates the Opts vector in the first place. llvm-svn: 82367 | ||||
| * | Eliminate a masochistic "algorithm" loop, shrinking CommandLine.o from ↵ | Chris Lattner | 2009-09-20 | 1 | -13/+8 |
| | | | | | | | 71524->70700 bytes. llvm-svn: 82366 | ||||
| * | don't use count + insert, just do insert + failure. Also, instead of ↵ | Chris Lattner | 2009-09-20 | 1 | -6/+9 |
| | | | | | | | | | deleting from the middle of a vector, swap the last element in and pop_back. Also saves 330 bytes :) llvm-svn: 82365 | ||||
| * | switch to SmallPtrSet instead of std::set, saving 1K from the | Chris Lattner | 2009-09-20 | 1 | -4/+4 |
| | | | | | | | release-asserts .o file (72900->71856). llvm-svn: 82364 | ||||
| * | change an std::sort to an array_pod_sort call, shrinking CommandLine.o by 9%. | Chris Lattner | 2009-09-20 | 1 | -1/+2 |
| | | | | | llvm-svn: 82363 | ||||
| * | Several changes together in a murky mess: | Chris Lattner | 2009-09-20 | 1 | -84/+102 |
| | | | | | | | | | | | | | 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 | ||||
| * | Clean up the usage of evaluateICmpRelation's return value. | Nick Lewycky | 2009-09-20 | 1 | -37/+30 |
| | | | | | | | | 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 | ||||
| * | Fix refacto, this code was expecting to stride past the argument prefix. | Daniel Dunbar | 2009-09-20 | 1 | -0/+1 |
| | | | | | llvm-svn: 82360 | ||||
| * | Strip trailing whitespace. | Daniel Dunbar | 2009-09-20 | 1 | -41/+41 |
| | | | | | llvm-svn: 82359 | ||||
| * | Remove dead store by taking a guess at what Chris meant. I wasn't able to | Nick Lewycky | 2009-09-20 | 1 | -2/+1 |
| | | | | | | | design a testcase that would tickle this behaviour. llvm-svn: 82357 | ||||
| * | Still one more thing wrong here... | Bill Wendling | 2009-09-20 | 1 | -0/+5 |
| | | | | | llvm-svn: 82356 | ||||
| * | Tabs -> spaces, and remove trailing whitespace. | Daniel Dunbar | 2009-09-20 | 19 | -1235/+1234 |
| | | | | | llvm-svn: 82355 | ||||
| * | Here's fun! It turns out that these filter functions can be internal. If they're | Bill Wendling | 2009-09-20 | 2 | -7/+2 |
| | | | | | | | | | 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 | ||||
| * | Delete dead code. sext and zext can not turn integers into pointers. Further, | Nick Lewycky | 2009-09-20 | 1 | -15/+0 |
| | | | | | | | the optimization described in the comment is only valid with target data. llvm-svn: 82353 | ||||
| * | convert argname to StringRef, simplifying LookupOption. | Chris Lattner | 2009-09-20 | 1 | -21/+22 |
| | | | | | llvm-svn: 82352 | ||||
| * | convert 'Value' to StringRef which makes it easier to | Chris Lattner | 2009-09-20 | 1 | -12/+8 |
| | | | | | | | maintain the "null is unspecified, empty is empty" semantics. llvm-svn: 82351 | ||||
| * | Change CommaSeparated processing to do it with StringRef instead of ↵ | Chris Lattner | 2009-09-20 | 1 | -21/+26 |
| | | | | | | | | | temporary std::strings. This requires StringRef'izing ProvideOption which I also did. llvm-svn: 82350 | ||||
| * | Value* were never meant to be const. Removing constness from the constant | Nick Lewycky | 2009-09-20 | 2 | -184/+151 |
| | | | | | | | | folder removes a lot of const_casting and requires no changes to clang or llvm-gcc. llvm-svn: 82349 | ||||
| * | rewrite ParseCStringVector in terms of stringref. | Chris Lattner | 2009-09-20 | 1 | -33/+22 |
| | | | | | llvm-svn: 82348 | ||||
| * | move a couple non-trivial methods out of line, add new | Chris Lattner | 2009-09-20 | 1 | -0/+71 |
| | | | | | | | find_first_of/find_first_of methods. llvm-svn: 82347 | ||||

