summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Include IVUsers information in LSR's debug output.Dan Gohman2010-01-211-1/+1
| | | | llvm-svn: 94108
* Prune the search for candidate formulae if the number of registerDan Gohman2010-01-211-32/+67
| | | | | | | operands exceeds the number of registers used in the initial solution, as that wouldn't lead to a profitable solution anyway. llvm-svn: 94107
* Trim unneeded includes.Evan Cheng2010-01-213-3/+0
| | | | llvm-svn: 94105
* Add a comment.Dan Gohman2010-01-211-1/+2
| | | | llvm-svn: 94104
* It turns out that this #include is needed because otherwiseChris Lattner2010-01-211-1/+1
| | | | | | | | | ValueMapper.cpp ends up calling an out of line __ZNK4llvm12PATypeHolder3getEv, which is a template and llvm-config determines arbitrarily to use the one in libipo. This sucks, but keeping the #include is a reasonable workaround. llvm-svn: 94103
* unbreak the build, apparently without this transformutils starts depending ↵Chris Lattner2010-01-211-0/+1
| | | | | | on libipa? llvm-svn: 94102
* tidy upChris Lattner2010-01-211-14/+7
| | | | llvm-svn: 94101
* tidy upChris Lattner2010-01-211-9/+16
| | | | llvm-svn: 94100
* remove dead .erase.Chris Lattner2010-01-211-3/+1
| | | | llvm-svn: 94098
* back this out for now. Growing Function is not good.Jim Grosbach2010-01-214-20/+2
| | | | llvm-svn: 94097
* fix a problem with a missing _, testcase pending.Chris Lattner2010-01-211-1/+1
| | | | llvm-svn: 94095
* Don't need to include IntrinsicInst.h any moreVictor Hernandez2010-01-211-1/+0
| | | | llvm-svn: 94092
* No need to map NULL operands of metadataVictor Hernandez2010-01-211-1/+1
| | | | llvm-svn: 94091
* Make the parser include the lower level error message in its own errorDan Gohman2010-01-211-1/+2
| | | | | | message, to be more informative. llvm-svn: 94072
* Avoid printing a spurious semicolon when there is no filename.Dan Gohman2010-01-211-9/+12
| | | | llvm-svn: 94071
* When re-using an existing cast for a user, it's still necessary to callDan Gohman2010-01-211-1/+3
| | | | | | | rememberInstruction so that future users of that user will be inserted in the correct position. This fixes the Darwin selfhost. llvm-svn: 94070
* Fix a crasher trying to fold each element in a comparison between two vectorsNick Lewycky2010-01-213-10/+17
| | | | | | | | | | if one of the vectors didn't have elements (such as undef). Fixes PR 6096. Fix an issue in the constant folder where fcmp (<2 x %ty>, <2 x %ty>) would have <2 x i1> type if constant folding was successful and i1 type if it wasn't. This exposed a related issue in the bitcode reader. llvm-svn: 94069
* Run the verifier after LSR, to help catch use-before-def errors beforeDan Gohman2010-01-211-0/+4
| | | | | | they reach codegen. llvm-svn: 94066
* Re-implement the main strength-reduction portion of LoopStrengthReduction.Dan Gohman2010-01-216-2355/+2675
| | | | | | | | | | | | | | This new version is much more aggressive about doing "full" reduction in cases where it reduces register pressure, and also more aggressive about rewriting induction variables to count down (or up) to zero when doing so reduces register pressure. It currently uses fairly simplistic algorithms for finding reuse opportunities, but it introduces a new framework allows it to combine multiple strategies at once to form hybrid solutions, instead of doing all full-reduction or all base+index. llvm-svn: 94061
* Add strcpy_chk -> strcpy support for "don't know" object sizeEric Christopher2010-01-211-0/+45
| | | | | | answers. This will update as object size checking gets better information. llvm-svn: 94059
* Fix a minor issue in x86 load / store folding table. movups does an ↵Evan Cheng2010-01-211-1/+1
| | | | | | unaligned load so it doesn't require 16-byte alignment. llvm-svn: 94058
* Make sure that landing pad entries in the EH call site table are in the properJim Grosbach2010-01-214-2/+20
| | | | | | order for SjLj style exception handling. llvm-svn: 94055
* simplify this code.Chris Lattner2010-01-201-1/+1
| | | | llvm-svn: 94048
* SjLj EH introduces can introduce an additional edge to a landing pad and padJim Grosbach2010-01-201-0/+13
| | | | | | normalization needs to take this into account. llvm-svn: 94046
* eliminate FnStubInfo, using MachineModuleInfoMachO instead.Chris Lattner2010-01-201-73/+66
| | | | | | this makes function stub emission determinstic. llvm-svn: 94033
* make findDebugLoc a class methodDale Johannesen2010-01-203-13/+15
| | | | llvm-svn: 94032
* split function stub printing out to its own function,Chris Lattner2010-01-201-46/+58
| | | | | | no functionality change. llvm-svn: 94030
* eliminate the GVStubs and HiddenGVStubs maps, and use Chris Lattner2010-01-201-23/+39
| | | | | | | | MachineModuleInfoMachO instead. This eliminates two sources of nondeterministic output in the ppc backend, but function stubs are still bad. llvm-svn: 94029
* don't forget to initialize an instance variable!Chris Lattner2010-01-201-2/+2
| | | | llvm-svn: 94021
* When XDEBUG is enabled, check for SelectionDAG cycles at some keyDavid Greene2010-01-202-1/+36
| | | | | | | points. This will help us find future problems like the one described in PR6019. llvm-svn: 94019
* adopt getAdjustedAnalysisPointer in a few more passes.Chris Lattner2010-01-206-0/+64
| | | | llvm-svn: 94018
* adopt getAdjustedAnalysisPointer in two more passes.Chris Lattner2010-01-202-0/+20
| | | | llvm-svn: 94017
* adopt getAdjustedAnalysisPointer in BasicCallGraph.Chris Lattner2010-01-201-1/+11
| | | | llvm-svn: 94015
* add some new methods to adjust this pointers. Not used yet.Chris Lattner2010-01-201-0/+20
| | | | llvm-svn: 94013
* don't send null pointers through the constantexpr codepath unneededly.Chris Lattner2010-01-201-0/+6
| | | | llvm-svn: 94010
* reduce redundant are's.Chris Lattner2010-01-202-2/+2
| | | | llvm-svn: 94008
* Move per-function inline threshold calculation to a method.Jakob Stoklund Olesen2010-01-201-14/+12
| | | | | | | No functional change except the forgotten test for InlineLimit.getNumOccurrences() == 0 in the CurrentThreshold2 calculation. llvm-svn: 94007
* use getGlobalDirective(), don't hardcode .globl. PR6093Chris Lattner2010-01-201-13/+13
| | | | llvm-svn: 94006
* Fix an infinite recursion problem. dbgs() should return errs() inDavid Greene2010-01-201-2/+2
| | | | | | release mode. llvm-svn: 94001
* eliminate some uses of AsmPrinter::EmitIntXXXChris Lattner2010-01-203-20/+19
| | | | llvm-svn: 93996
* Backout r93990Victor Hernandez2010-01-201-9/+4
| | | | llvm-svn: 93995
* inline and radically simplify printDataDirective. It will eventuallyChris Lattner2010-01-202-46/+24
| | | | | | go completely away. llvm-svn: 93994
* emit basic block labels with mcstreamer.Chris Lattner2010-01-201-8/+4
| | | | llvm-svn: 93993
* emit integer and fp zeros as (e.g.) .byte 0 instead of .space 1,Chris Lattner2010-01-201-15/+12
| | | | | | for tidiness. llvm-svn: 93992
* signficant cleanups to EmitGlobalConstant (including streamerization Chris Lattner2010-01-201-103/+67
| | | | | | | | of int initializers), change some methods to be static functions, use raw_ostream::write_hex instead of a smallstring dance with APValue::toStringUnsigned(S, 16). llvm-svn: 93991
* Fix/strengthen verification of llvm.dbg.declareVictor Hernandez2010-01-201-4/+9
| | | | llvm-svn: 93990
* Switch Elts from vector to SmallVectorVictor Hernandez2010-01-201-2/+1
| | | | llvm-svn: 93989
* switch ConstantFP emission to use MCStreamer, significantly Chris Lattner2010-01-201-34/+18
| | | | | | simplifying the code. llvm-svn: 93988
* make mcasmstreamer handle expanding 8 byte integer constants to Chris Lattner2010-01-202-21/+16
| | | | | | | 4-byte constants if .quad isn't supported. Switch a bunch of methods used by the dwarf writer to use OutStreamer.EmitIntValue. llvm-svn: 93987
* give createAsmStreamer an 'isLittleEndian' argument.Chris Lattner2010-01-202-4/+10
| | | | llvm-svn: 93986
OpenPOWER on IntegriCloud