| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | 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 | 2 | -2/+2 | |
| | | | | | llvm-svn: 94008 | |||||
| * | Move per-function inline threshold calculation to a method. | Jakob Stoklund Olesen | 2010-01-20 | 1 | -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. 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 | 2 | -46/+24 | |
| | | | | | | | go completely away. llvm-svn: 93994 | |||||
| * | emit basic block labels with mcstreamer. | Chris Lattner | 2010-01-20 | 1 | -8/+4 | |
| | | | | | llvm-svn: 93993 | |||||
| * | emit integer and fp zeros as (e.g.) .byte 0 instead of .space 1, | Chris Lattner | 2010-01-20 | 1 | -15/+12 | |
| | | | | | | | for tidiness. llvm-svn: 93992 | |||||
| * | signficant cleanups to EmitGlobalConstant (including streamerization | Chris Lattner | 2010-01-20 | 1 | -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.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 | 2 | -4/+10 | |
| | | | | | llvm-svn: 93986 | |||||
| * | revert 93934, removing the MCAsmInfo endianness bit. I can't | Chris Lattner | 2010-01-20 | 18 | -56/+28 | |
| | | | | | | | | 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 | 2 | -34/+24 | |
| | | | | | | | into getFunctionForValue() llvm-svn: 93977 | |||||
| * | If a instruction belongs to another function (and not current function) as ↵ | Devang Patel | 2010-01-20 | 1 | -4/+12 | |
| | | | | | | | 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 | |||||
| * | Move findDebugLoc somewhere more central. Fix | Dale Johannesen | 2010-01-20 | 3 | -21/+19 | |
| | | | | | | | | 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 | 1 | -0/+20 | |
| | | | | | | | that SCEVExpander can produce when running on behalf of LSR. llvm-svn: 93949 | |||||
| * | Wrap some comments to 80 columns. | Bob Wilson | 2010-01-19 | 1 | -2/+4 | |
| | | | | | llvm-svn: 93940 | |||||
| * | Fix a case where debug_value was perturbing the | Dale Johannesen | 2010-01-19 | 1 | -4/+19 | |
| | | | | | | | line number info. llvm-svn: 93937 | |||||
| * | When doing address-mode sinking, expand the base register first, rather | Dan Gohman | 2010-01-19 | 1 | -12/+17 | |
| | | | | | | | | | | | | | than the scaled register. This makes it more likely that subsequent AddrModeMatcher queries will match the new address the same way as the old, instead of accidentally matching what had been the base register as the new scaled register, and then failing to match the scaled register. This fixes some problems with address-mode sinking multiple muls into a block, which will be a lot more common with some upcoming LoopStrengthReduction changes. llvm-svn: 93935 | |||||
| * | give MCAsmInfo a 'has little endian' bit. This is unfortunate, but | Chris Lattner | 2010-01-19 | 18 | -28/+56 | |
| | | | | | | | | | | I really want clients of the streamer to be able to say "emit this 64-bit integer" and have it get broken down right by the streamer. I may change this in the future, we'll see how it works out. llvm-svn: 93934 | |||||
| * | Add a comment and tidy up some whitespace. | Dan Gohman | 2010-01-19 | 1 | -2/+2 | |
| | | | | | llvm-svn: 93932 | |||||
| * | Fix a typo and an 80-column violation in comments. | Dan Gohman | 2010-01-19 | 1 | -3/+3 | |
| | | | | | llvm-svn: 93931 | |||||
| * | Give ScalarEvolution access to the DominatorTree. It'll need this | Dan Gohman | 2010-01-19 | 1 | -0/+2 | |
| | | | | | | | to make more intellegent AddRec folding decisions. llvm-svn: 93930 | |||||
| * | simplify the rest of fp constant printing. | Chris Lattner | 2010-01-19 | 1 | -108/+34 | |
| | | | | | llvm-svn: 93929 | |||||
| * | simplify the code for printing x86 long double, don't do work | Chris Lattner | 2010-01-19 | 1 | -75/+22 | |
| | | | | | | | for -fverbose-asm unless it's on. llvm-svn: 93926 | |||||
| * | Identify predicate and optional-def operands when printing machine | Jakob Stoklund Olesen | 2010-01-19 | 1 | -0/+7 | |
| | | | | | | | instructions. llvm-svn: 93925 | |||||
| * | add a new EmitIntValue method that MCStreamer impls can optionally define | Chris Lattner | 2010-01-19 | 2 | -6/+36 | |
| | | | | | | | and that clients can use. llvm-svn: 93923 | |||||
| * | Add a new helper function to IVUsers for returning the "canonical" | Dan Gohman | 2010-01-19 | 1 | -0/+13 | |
| | | | | | | | | | form of an expression. This is the expression without the post-increment adjustment made, which is useful in determining which registers will be used by the expansion. llvm-svn: 93921 | |||||
| * | eliminate AsmPrinter::EmitZeros: just use MCStreamer directly. | Chris Lattner | 2010-01-19 | 2 | -18/+9 | |
| | | | | | llvm-svn: 93918 | |||||
| * | Promoted the getTok() method to MCAsmParser so that | Sean Callanan | 2010-01-19 | 3 | -41/+45 | |
| | | | | | | | | the two token accessor functions are declared consistently. Modified the clients of MCAsmParser to reflect this change. llvm-svn: 93916 | |||||
| * | Stubs for getHostCPUFeatures API. This implements part of PR5389. | Xerxes Ranby | 2010-01-19 | 1 | -0/+4 | |
| | | | | | llvm-svn: 93913 | |||||
| * | Remove predicates when changing an add into an unpredicable mov. | Jakob Stoklund Olesen | 2010-01-19 | 2 | -5/+13 | |
| | | | | | | | | Since the mov is executed unconditionally, make sure that the add didn't have any predicate. llvm-svn: 93909 | |||||
| * | Update CMake list. | Benjamin Kramer | 2010-01-19 | 1 | -1/+0 | |
| | | | | | llvm-svn: 93905 | |||||
| * | Add some new debugging APIs to print out "raw" SelectionDAGs to make | David Greene | 2010-01-19 | 2 | -29/+25 | |
| | | | | | | | understanding CannotYTetSelect and other errors easier. llvm-svn: 93901 | |||||
| * | Propagated the parser-side Lex function's declaration to | Sean Callanan | 2010-01-19 | 2 | -45/+45 | |
| | | | | | | | | MCAsmParser, and changed the target-specific AsmParsers to use it. llvm-svn: 93900 | |||||
| * | Fix a bug introduced on r92564 where the name "Node" was already | Bruno Cardoso Lopes | 2010-01-19 | 1 | -2/+2 | |
| | | | | | | | in use by Mips. llvm-svn: 93897 | |||||
| * | Generalize mcasmstreamer data emission APIs to take an address space | Chris Lattner | 2010-01-19 | 7 | -48/+50 | |
| | | | | | | | identifier. There is no way to work around it. llvm-svn: 93896 | |||||
| * | Do not extend extension results beyond the use of a PHI instruction at the ↵ | Evan Cheng | 2010-01-19 | 1 | -0/+12 | |
| | | | | | | | start of a use block. A PHI use is expected to kill its source values. llvm-svn: 93895 | |||||
| * | refactor code to be static functions instead of methods on AsmPrinter. | Chris Lattner | 2010-01-19 | 1 | -47/+39 | |
| | | | | | | | This fixes some bugs handling address spaces. llvm-svn: 93891 | |||||
| * | mcstreamerize AsmPrinter::EmitZeros, at least when emitting to the | Chris Lattner | 2010-01-19 | 2 | -8/+8 | |
| | | | | | | | default address space. llvm-svn: 93890 | |||||

