summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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. Corresponding llvm patch is r98020.Devang Patel2010-03-092-150/+129
| | | | llvm-svn: 98021
* Start using DIFile. See updated SourceLevelDebugging.html for more information.Devang Patel2010-03-095-142/+201
| | | | | | | | | 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-095-9/+14
| | | | 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-085-26/+41
| | | | | | 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
* Add test cases for r98003 and r98006.Ted Kremenek2010-03-082-0/+29
| | | | llvm-svn: 98008
* Restrict machine cse to really trivial coalescing. Leave the heavy lifting ↵Evan Cheng2010-03-081-0/+3
| | | | | | to a real coalescer. llvm-svn: 98007
* Add preprocessor guards to the definitions of size_t and wchar_t, and #undef ↵Ted Kremenek2010-03-081-0/+7
| | | | | | | | NULL before defining it. This addresses potential issues with system headers reported in <rdar://problem/7727159>. llvm-svn: 98006
* simplify EmitSectionOffset to always use .set if it isChris Lattner2010-03-088-39/+17
| | | | | | | | | 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
* Place the definition of 'va_list' within a preprocessor guard. This matches ↵Ted Kremenek2010-03-081-0/+3
| | | | | | the behavior of GCC, and avoids potential conflicts with system headers (e.g., stdio.h). Fixes <rdar://problem/7727145>. llvm-svn: 98003
* 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-083-8/+292
| | | | | | | | 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-082-0/+26
| | | | 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-082-0/+39
| | | | | | 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-082-2/+11
| | | | | | 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-083-1/+26
| | | | llvm-svn: 97991
* Derive DIType from DIScope. This simplifies getContext() where for members ↵Devang Patel2010-03-084-47/+31
| | | | | | 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-082-55/+12
| | | | | | light weight wrappers. llvm-svn: 97988
* Implement clang_isUnexposed(), a predicate function to simplify filtering outTed Kremenek2010-03-083-0/+19
| | | | | | unexposed AST elements. llvm-svn: 97985
* MC/Mach-O: Fix address compution for zero fill sections.Daniel Dunbar2010-03-082-2/+37
| | | | 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
* X86: Fix encoding for TEST{8,16,32}rr.Daniel Dunbar2010-03-082-4/+6
| | | | llvm-svn: 97982
* add a codegen hack to work around an AST bug, allowing us to compile theChris Lattner2010-03-082-2/+23
| | | | | | code in PR6537. This should be reverted when the ast bug is fixed. llvm-svn: 97981
* Add documentation on sibling call optimization. Rename tailcall2.ll test to ↵Evan Cheng2010-03-083-2/+50
| | | | | | sibcall.ll. llvm-svn: 97980
* isNull() is not used any more.Devang Patel2010-03-081-1/+0
| | | | llvm-svn: 97979
* Allocate ASTRecordLayout objects using the allocator associated with ASTContext.Ted Kremenek2010-03-085-62/+110
| | | | | | | This allows them to be allocated using a BumpPtrAllocated in the common case. llvm-svn: 97978
* Avoid using DIDescriptor.isNull(). Devang Patel2010-03-081-4/+4
| | | | llvm-svn: 97976
* Avoid using DIDescriptor.isNull(). Devang Patel2010-03-088-162/+128
| | | | | | This is a first step towards eliminating checks in Descriptor constructors. llvm-svn: 97975
* Iterator traits and swap. closes PR6548 and PR6549Andrew Lenharth2010-03-082-0/+23
| | | | llvm-svn: 97974
* Don't always run the ocaml kaleidoscope tutorials.Erick Tryzelaar2010-03-081-2/+5
| | | | llvm-svn: 97973
* Revert r97726 and r97728 at ddunbar's request; we want to solve thisJohn McCall2010-03-083-26/+3
| | | | | | some other way when it comes to be necessary. llvm-svn: 97972
* Revert r97727 at ddunbar's request; we want to solve this some other way.John McCall2010-03-081-12/+0
| | | | llvm-svn: 97971
* Rename -Wbad-literal to -Wliteral-range.John McCall2010-03-082-4/+4
| | | | llvm-svn: 97968
OpenPOWER on IntegriCloud