| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Run the verifier after LSR, to help catch use-before-def errors before | Dan Gohman | 2010-01-21 | 1 | -0/+4 |
| | | | | | | | they reach codegen. llvm-svn: 94066 | ||||
| * | Re-implement the main strength-reduction portion of LoopStrengthReduction. | Dan Gohman | 2010-01-21 | 32 | -2614/+3030 |
| | | | | | | | | | | | | | | | 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 | ||||
| * | eliminate dynamic_cast from the pass manager. | Chris Lattner | 2010-01-21 | 1 | -22/+20 |
| | | | | | llvm-svn: 94060 | ||||
| * | Add strcpy_chk -> strcpy support for "don't know" object size | Eric Christopher | 2010-01-21 | 1 | -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 Cheng | 2010-01-21 | 1 | -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 proper | Jim Grosbach | 2010-01-21 | 6 | -5/+54 |
| | | | | | | | order for SjLj style exception handling. llvm-svn: 94055 | ||||
| * | Moved handling of inclusion from the AsmLexer to | Sean Callanan | 2010-01-21 | 5 | -55/+60 |
| | | | | | | | | the AsmParser, breaking AsmLexer's dependence on SourceMgr. llvm-svn: 94054 | ||||
| * | simplify this code. | Chris Lattner | 2010-01-20 | 1 | -1/+1 |
| | | | | | llvm-svn: 94048 | ||||
| * | Changed the AsmParser to handle error messages itself | Sean Callanan | 2010-01-20 | 5 | -15/+15 |
| | | | | | | | | | rather than passing them off to the AsmLexer to handle. This means the AsmLexer no longer requires a SourceMgr to do error handling. llvm-svn: 94047 | ||||
| * | SjLj EH introduces can introduce an additional edge to a landing pad and pad | Jim Grosbach | 2010-01-20 | 1 | -0/+13 |
| | | | | | | | normalization needs to take this into account. llvm-svn: 94046 | ||||
| * | Promoted the reference to the SourceMgr from AsmLexer | Sean Callanan | 2010-01-20 | 2 | -2/+4 |
| | | | | | | | | into AsmParser, in preparation for making AsmLexer independent of the SourceMgr llvm-svn: 94043 | ||||
| * | Modified MCAsmLexer to return error information upward | Sean Callanan | 2010-01-20 | 3 | -4/+29 |
| | | | | | | | | rather than printing it locally, reducing its dependence on SourceMgr. llvm-svn: 94041 | ||||
| * | eliminate FnStubInfo, using MachineModuleInfoMachO instead. | Chris Lattner | 2010-01-20 | 1 | -73/+66 |
| | | | | | | | this makes function stub emission determinstic. llvm-svn: 94033 | ||||
| * | make findDebugLoc a class method | Dale Johannesen | 2010-01-20 | 4 | -16/+19 |
| | | | | | llvm-svn: 94032 | ||||
| * | split function stub printing out to its own function, | Chris Lattner | 2010-01-20 | 1 | -46/+58 |
| | | | | | | | no functionality change. llvm-svn: 94030 | ||||
| * | eliminate the GVStubs and HiddenGVStubs maps, and use | Chris Lattner | 2010-01-20 | 1 | -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 Lattner | 2010-01-20 | 1 | -2/+2 |
| | | | | | llvm-svn: 94021 | ||||
| * | When XDEBUG is enabled, check for SelectionDAG cycles at some key | David Greene | 2010-01-20 | 4 | -2/+54 |
| | | | | | | | | 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 Lattner | 2010-01-20 | 6 | -0/+64 |
| | | | | | llvm-svn: 94018 | ||||
| * | adopt getAdjustedAnalysisPointer in two more passes. | Chris Lattner | 2010-01-20 | 2 | -0/+20 |
| | | | | | llvm-svn: 94017 | ||||
| * | adopt getAdjustedAnalysisPointer in BasicCallGraph. | Chris Lattner | 2010-01-20 | 1 | -1/+11 |
| | | | | | llvm-svn: 94015 | ||||
| * | add some new methods to adjust this pointers. Not used yet. | Chris Lattner | 2010-01-20 | 2 | -0/+28 |
| | | | | | llvm-svn: 94013 | ||||
| * | add a helper method. | Chris Lattner | 2010-01-20 | 1 | -0/+5 |
| | | | | | llvm-svn: 94012 | ||||
| * | don't send null pointers through the constantexpr codepath unneededly. | Chris Lattner | 2010-01-20 | 1 | -0/+6 |
| | | | | | llvm-svn: 94010 | ||||
| * | reduce redundant are's. | Chris Lattner | 2010-01-20 | 3 | -4/+3 |
| | | | | | llvm-svn: 94008 | ||||
| * | Move per-function inline threshold calculation to a method. | Jakob Stoklund Olesen | 2010-01-20 | 2 | -14/+18 |
| | | | | | | | | No functional change except the forgotten test for InlineLimit.getNumOccurrences() == 0 in the CurrentThreshold2 calculation. llvm-svn: 94007 | ||||
| * | use getGlobalDirective(), don't hardcode .globl. PR6093 | Chris Lattner | 2010-01-20 | 1 | -13/+13 |
| | | | | | llvm-svn: 94006 | ||||
| * | Fix an infinite recursion problem. dbgs() should return errs() in | David Greene | 2010-01-20 | 1 | -2/+2 |
| | | | | | | | release mode. llvm-svn: 94001 | ||||
| * | eliminate some uses of AsmPrinter::EmitIntXXX | Chris Lattner | 2010-01-20 | 3 | -20/+19 |
| | | | | | llvm-svn: 93996 | ||||
| * | Backout r93990 | Victor Hernandez | 2010-01-20 | 1 | -9/+4 |
| | | | | | llvm-svn: 93995 | ||||
| * | inline and radically simplify printDataDirective. It will eventually | Chris Lattner | 2010-01-20 | 3 | -50/+24 |
| | | | | | | | go completely away. llvm-svn: 93994 | ||||
| * | emit basic block labels with mcstreamer. | Chris Lattner | 2010-01-20 | 3 | -10/+6 |
| | | | | | llvm-svn: 93993 | ||||
| * | emit integer and fp zeros as (e.g.) .byte 0 instead of .space 1, | Chris Lattner | 2010-01-20 | 3 | -18/+17 |
| | | | | | | | for tidiness. llvm-svn: 93992 | ||||
| * | signficant cleanups to EmitGlobalConstant (including streamerization | Chris Lattner | 2010-01-20 | 3 | -106/+68 |
| | | | | | | | | | 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.declare | Victor Hernandez | 2010-01-20 | 1 | -4/+9 |
| | | | | | llvm-svn: 93990 | ||||
| * | Switch Elts from vector to SmallVector | Victor Hernandez | 2010-01-20 | 1 | -2/+1 |
| | | | | | llvm-svn: 93989 | ||||
| * | switch ConstantFP emission to use MCStreamer, significantly | Chris Lattner | 2010-01-20 | 1 | -34/+18 |
| | | | | | | | simplifying the code. llvm-svn: 93988 | ||||
| * | make mcasmstreamer handle expanding 8 byte integer constants to | Chris Lattner | 2010-01-20 | 2 | -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 Lattner | 2010-01-20 | 4 | -6/+15 |
| | | | | | llvm-svn: 93986 | ||||
| * | revert 93934, removing the MCAsmInfo endianness bit. I can't | Chris Lattner | 2010-01-20 | 21 | -63/+31 |
| | | | | | | | | stomache MCAsmInfo having this, and I found a better solution to this layering issue. llvm-svn: 93985 | ||||
| * | Fix if/else brackets; getFunctionForValue() is to be called for non-metadata ↵ | Victor Hernandez | 2010-01-20 | 1 | -1/+3 |
| | | | | | | | values llvm-svn: 93984 | ||||
| * | Fix the conditions to unambiguously show the logic they represent. This is the | Chandler Carruth | 2010-01-20 | 1 | -3/+3 |
| | | | | | | | | logic enforced in the test case as well, so hopefully it is correct. Please review Victor. llvm-svn: 93980 | ||||
| * | Map operands of all function-local metadata, not just metadata passed to ↵ | Victor Hernandez | 2010-01-20 | 1 | -19/+13 |
| | | | | | | | llvm.dbg.declare intrinsics llvm-svn: 93979 | ||||
| * | Avoid unnecessary Elts array | Victor Hernandez | 2010-01-20 | 1 | -4/+2 |
| | | | | | llvm-svn: 93978 | ||||
| * | Refactor common parts of MDNode::getFunction() and assertLocalFunction() ↵ | Victor Hernandez | 2010-01-20 | 3 | -35/+25 |
| | | | | | | | into getFunctionForValue() llvm-svn: 93977 | ||||
| * | If a instruction belongs to another function (and not current function) as ↵ | Devang Patel | 2010-01-20 | 2 | -4/+40 |
| | | | | | | | per debug info attached with the instruction then ignore the dangling lexical scope of this instruction. Such scopes are unreachable. llvm-svn: 93967 | ||||
| * | Add some asserts to check SelectionDAG problems earlier. | David Greene | 2010-01-20 | 1 | -0/+12 |
| | | | | | llvm-svn: 93960 | ||||
| * | For 'install-clang' target, also traverse tools/clang/lib/Runtime. | Daniel Dunbar | 2010-01-20 | 1 | -1/+2 |
| | | | | | llvm-svn: 93958 | ||||
| * | Move findDebugLoc somewhere more central. Fix | Dale Johannesen | 2010-01-20 | 4 | -21/+22 |
| | | | | | | | | more cases where debug declarations affect debug line info. llvm-svn: 93953 | ||||
| * | Fold (add x, shl(0 - y, n)) -> sub(x, shl(y, n)), to simplify some code | Dan Gohman | 2010-01-19 | 2 | -0/+37 |
| | | | | | | | that SCEVExpander can produce when running on behalf of LSR. llvm-svn: 93949 | ||||

