summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* add some extra checks. I'm not sure why, but this does unbreak aChris Lattner2010-03-091-0/+3
| | | | | | failure remaining on mainline. llvm-svn: 98046
* Revert accidental commit.Evan Cheng2010-03-091-1/+1
| | | | llvm-svn: 98045
* Don't do illegal cross-class coalescing.Jakob Stoklund Olesen2010-03-091-1/+1
| | | | llvm-svn: 98044
* - Make the machine cse dumb coalescer (as opposed to the more awesome simpleEvan Cheng2010-03-092-15/+59
| | | | | | | | | coalescer) handle sub-register classes. - Add heuristics to avoid non-profitable cse. Given the current lack of live range splitting, avoid cse when an expression has PHI use and the would be new use is in a BB where the expression wasn't already being used. llvm-svn: 98043
* Don't try to fold V_SET0 and V_SETALLONES to loads in medium andDan Gohman2010-03-091-0/+5
| | | | | | large code models. llvm-svn: 98042
* This is part of an LLC-beta test used to test <rdar://problem/6804645>. PleaseBill Wendling2010-03-091-1/+31
| | | | | | bear with the awful code. It won't last in its current state beyond tonight. llvm-svn: 98040
* Speculatively revert r98035. It appears to have caused a set of buildbotEric Christopher2010-03-094-24/+24
| | | | | | failures. llvm-svn: 98039
* Attempt to make this debug output meaningful, both in the case ofDan Gohman2010-03-091-3/+6
| | | | | | multibyte opcodes and in the case of multiple scopes. llvm-svn: 98036
* Now that setStartLabel takes an MCSymbol, we can de-ID'izeChris Lattner2010-03-094-24/+24
| | | | | | beginScope and RecordSourceLine. llvm-svn: 98035
* change DbgScope to keep track of the start/end label as MCSymbol* Chris Lattner2010-03-091-41/+36
| | | | | | now that the dependence on ID is removed from MMI. llvm-svn: 98034
* Make isLCSSA ignore uses in blocks not reachable from the entry block,Dan Gohman2010-03-091-3/+14
| | | | | | as LCSSA no longer transforms such uses. llvm-svn: 98033
* remove a useless optimization: now that label replacement neverChris Lattner2010-03-091-7/+0
| | | | | | happens, the start/end of a scope can never be the same. llvm-svn: 98032
* strength reduce MMI::MappedLabel to MMI::isLabelDeleted,Chris Lattner2010-03-094-28/+28
| | | | | | | and add a FIXME about how we are eventually going to zap this lookup table once mc world domination is complete. llvm-svn: 98031
* MC/Mach-O: Tweak .dump() formatting.Daniel Dunbar2010-03-091-4/+4
| | | | llvm-svn: 98028
* MC/Mach-O: Don't adjust section sizes when aligning zero fill sections, just ↵Daniel Dunbar2010-03-091-5/+1
| | | | | | pad the address. llvm-svn: 98027
* Another place where debug info affected codegen.Dale Johannesen2010-03-091-0/+2
| | | | llvm-svn: 98026
* mcstreamerize AsmPrinter::printLabel.Chris Lattner2010-03-092-6/+8
| | | | llvm-svn: 98025
* Add inlining threshold to log output.Jakob Stoklund Olesen2010-03-091-1/+4
| | | | llvm-svn: 98024
* Disable physical register coalescing when the number of live ranges for theJakob Stoklund Olesen2010-03-091-0/+12
| | | | | | | | | | | | | physreg becomes ridiculously high. std::upper_bound may be log(N), but for sufficiently large live intervals, it becomes log(N)*cachemiss = a long long time. This patch improves coalescer time by 4500x for a function with 20000 function calls. The generated code is different, but not significantly worse - the allocator hints are almost as good as physreg coalescing anyway. llvm-svn: 98023
* Start using DIFile. See updated SourceLevelDebugging.html for more information.Devang Patel2010-03-091-24/+25
| | | | | | | | | This patch updates LLVMDebugVersion to 8. Debug info descriptors encoded using LLVMDebugVersion 7 is supported. Corresponding llvmgcc and clang FE commits are required. llvm-svn: 98020
* Print blank line and clear stubs vector.Bill Wendling2010-03-091-2/+13
| | | | llvm-svn: 98019
* MC-ize the stub printing in ARM.Bill Wendling2010-03-092-5/+18
| | | | llvm-svn: 98018
* add a EmitSymbolValue convenience method to MCStreamer.Chris Lattner2010-03-094-9/+9
| | | | llvm-svn: 98017
* make InlineInfoLabels hold MCSymbol*'s, avoiding Chris Lattner2010-03-092-11/+11
| | | | | | recomputation of the labels. llvm-svn: 98016
* mc'ize the last use of PrintLabelName and eliminate PrintLabelName.Chris Lattner2010-03-093-20/+7
| | | | llvm-svn: 98015
* eliminate an argument from PrintRelDirective, sinkingChris Lattner2010-03-092-12/+17
| | | | | | | the one special case into EmitSectionOffset. MCize the non-special case in EmitSectionOffset. llvm-svn: 98014
* Print the correct index in the "match failed at index" message.Dan Gohman2010-03-091-1/+1
| | | | llvm-svn: 98013
* remove the suffix form of PrintLabelName, which was only Chris Lattner2010-03-092-10/+0
| | | | | | used for 'flavor'. llvm-svn: 98012
* now that the debug and eh emitters use a common .set counter,Chris Lattner2010-03-094-11/+5
| | | | | | we can eliminate "flavor". llvm-svn: 98011
* move .set generation out of DwarfPrinter into AsmPrinter and Chris Lattner2010-03-083-25/+32
| | | | | | MCize it. llvm-svn: 98010
* Don't waste time trying to CSE labels, phis, inline asm. Definitely avoid ↵Evan Cheng2010-03-081-0/+4
| | | | | | cse implicit-def for obvious performance reason. llvm-svn: 98009
* Restrict machine cse to really trivial coalescing. Leave the heavy lifting ↵Evan Cheng2010-03-081-0/+3
| | | | | | to a real coalescer. llvm-svn: 98007
* simplify EmitSectionOffset to always use .set if it isChris Lattner2010-03-087-38/+16
| | | | | | | | | available, the only thing this affects is that we produce .set in one case we didn't before, which shouldn't harm anything. Make EmitSectionOffset call EmitDifference instead of duplicating it. llvm-svn: 98005
* don't reset defaults.Chris Lattner2010-03-082-3/+0
| | | | llvm-svn: 98004
* Remove a version of EmitDifference.Chris Lattner2010-03-084-51/+26
| | | | llvm-svn: 98002
* Fix a crash compiling 254.gap for Thumb2. The Thumb2 add/sub with 12-bitBob Wilson2010-03-082-8/+26
| | | | | | | | immediate instructions cannot set the condition codes, so they do not have the extra cc_out operand. We hit an assertion during tail duplication because the instruction being duplicated had more operands that expected. llvm-svn: 98001
* Re-commit 97860 with fix. getMallocAllocatedType may return null.Evan Cheng2010-03-081-0/+10
| | | | llvm-svn: 98000
* eliminate a form of PrintLabelName.Chris Lattner2010-03-083-11/+5
| | | | llvm-svn: 97999
* remove another form of EmitReference.Chris Lattner2010-03-083-10/+3
| | | | llvm-svn: 97998
* eliminate the non-MCSymbol versions of EmitReference.Chris Lattner2010-03-083-25/+7
| | | | llvm-svn: 97997
* mc'ize EmitLabel.Chris Lattner2010-03-084-69/+52
| | | | llvm-svn: 97996
* merge DIEObjectLabel and DIEDwarfLabel into DIELabel.Chris Lattner2010-03-085-89/+13
| | | | | | Yes, DIE you fiendish labels, die all of you. llvm-svn: 97995
* Introduce DIFile. This will be used to represent header files and source ↵Devang Patel2010-03-081-0/+23
| | | | | | file(s) in debug info. llvm-svn: 97994
* elimiante the DWLabel class, using MCSymbol instead. Start Chris Lattner2010-03-0810-177/+138
| | | | | | | switching some stuff over to passing around MCSymbol* instead of stem+ID. llvm-svn: 97993
* Fix the vmxon entry in the X86InstrInfo.td so it has the correct prefix bytesKevin Enderby2010-03-081-1/+1
| | | | | | for the encoding and is not the same as vmptrld. llvm-svn: 97992
* MC/Macho-O: Align the zerofill section itself to the maximum alignment.Daniel Dunbar2010-03-081-0/+10
| | | | llvm-svn: 97991
* Derive DIType from DIScope. This simplifies getContext() where for members ↵Devang Patel2010-03-083-40/+22
| | | | | | the context is a type. This also eliminates need of CompileUnitMaps maintained by dwarf writer. llvm-svn: 97990
* Remove DbgNode checks in constructor. Debug descriptors are intended to be ↵Devang Patel2010-03-081-9/+0
| | | | | | light weight wrappers. llvm-svn: 97988
* MC/Mach-O: Fix address compution for zero fill sections.Daniel Dunbar2010-03-081-2/+2
| | | | llvm-svn: 97984
* MC/Mach-O: Error out instead of crashing on invalid scattered relocation ↵Daniel Dunbar2010-03-081-2/+11
| | | | | | expressions. llvm-svn: 97983
OpenPOWER on IntegriCloud