summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Skip a binary search when possible.Jakob Stoklund Olesen2011-04-111-0/+2
| | | | llvm-svn: 129293
* Use a faster algorithm for computing MBB live-in registers after register ↵Jakob Stoklund Olesen2011-04-111-18/+20
| | | | | | | | allocation. LiveIntervals::findLiveInMBBs has to do a full binary search for each segment. llvm-svn: 129292
* Because some systems have reported that this example would not build theGarrison Venn2011-04-111-0/+5
| | | | | | header file cstdio was added as an include. llvm-svn: 129291
* Order of initialization lists.Stephen Wilson2011-04-1122-69/+70
| | | | | | | | This patch fixes all of the warnings due to unordered initialization lists. Patch by Marco Minutoli. llvm-svn: 129290
* Fix struct vs. class warning.Stephen Wilson2011-04-112-2/+2
| | | | | | ParserVars is declared using the class keyword. This solves the warning. llvm-svn: 129289
* Trivial comment fix.Johnny Chen2011-04-112-2/+2
| | | | llvm-svn: 129288
* Fix a couple of places where changes are made but not tracked.Evan Cheng2011-04-112-3/+10
| | | | llvm-svn: 129287
* Check invalid register encodings for LdFrm/StFrm ARM instructions and flag ↵Johnny Chen2011-04-115-0/+102
| | | | | | | | them as invalid instructions. llvm-svn: 129286
* Fix bug in Sseq constraints found by Seth CantrellHoward Hinnant2011-04-113-14/+24
| | | | llvm-svn: 129285
* Adding support for printing operands symbolically to llvm's public 'C'Kevin Enderby2011-04-118-9/+212
| | | | | | | | | | | | | disassembler API. Hooked this up to the ARM target so such tools as Darwin's otool(1) can now print things like branch targets for example this: blx _puts instead of this: blx #-36 And even print the expression encoded in the Mach-O relocation entried for things like this: movt r0, :upper16:((_foo-_bar)+1234) llvm-svn: 129284
* Don't add live ranges for sub-registers when clobbering a physical register.Jakob Stoklund Olesen2011-04-112-15/+7
| | | | | | | | | Both coalescing and register allocation already check aliases for interference, so these extra segments are only slowing us down. This speeds up both linear scan and the greedy register allocator. llvm-svn: 129283
* Implement ARM emulation function to handle "SUBS PC, LR and related ↵Caroline Tice2011-04-113-43/+247
| | | | | | instructions". llvm-svn: 129279
* Speed up LiveIntervalUnion::unify by handling end insertion specially.Jakob Stoklund Olesen2011-04-111-1/+9
| | | | | | This particularly helps with the initial transfer of fixed intervals. llvm-svn: 129277
* Time the initial seeding of live registersJakob Stoklund Olesen2011-04-111-0/+1
| | | | llvm-svn: 129276
* Don't shrink live ranges after dead code elimination unless it is going to help.Jakob Stoklund Olesen2011-04-111-4/+10
| | | | | | In particular, don't repeatedly recompute the PIC base live range after rematerialization. llvm-svn: 129275
* CMake: remove some unnecesary code and ToDos.Oscar Fuentes2011-04-112-9/+1
| | | | | | Patch by arrowdodger! llvm-svn: 129274
* If there's an invoke destination, we should use invoke instead of call when ↵Anders Carlsson2011-04-112-7/+43
| | | | | | calling the __cxa_bad_typeid function. Fixes PR7400. llvm-svn: 129273
* Fix or remove code which seemed to think that the operand of a ConstantJay Foad2011-04-112-14/+1
| | | | | | was always a User. llvm-svn: 129272
* Don't include Operator.h from InstrTypes.h.Jay Foad2011-04-1124-1/+23
| | | | llvm-svn: 129271
* Phi nodes always use an even number of operands, so don't ever allocateJay Foad2011-04-111-1/+2
| | | | | | an odd number. llvm-svn: 129270
* More __unknown_anytype work.John McCall2011-04-1117-120/+413
| | | | llvm-svn: 129269
* docs/CommandGuide/index.html: Fix CSS url to relative.NAKAMURA Takumi2011-04-111-1/+1
| | | | llvm-svn: 129268
* docs/CommandLine.html: "ize.NAKAMURA Takumi2011-04-111-5/+5
| | | | llvm-svn: 129267
* http://llvm.org/bugs/show_bug.cgi?id=9672Howard Hinnant2011-04-111-2/+2
| | | | llvm-svn: 129266
* Remove CK_DynamicToNull.Anders Carlsson2011-04-1110-27/+3
| | | | llvm-svn: 129265
* When we know that a dynamic_cast always returns null, we can makeAnders Carlsson2011-04-112-10/+51
| | | | | | | CodeGenFunction::EmitDynamicCast always return null or throw a bad_cast exception. llvm-svn: 129264
* Add CXXDynamicCastExpr::isAlwaysNull() which will be replacing the cast kind ↵Anders Carlsson2011-04-112-0/+32
| | | | | | I added. llvm-svn: 129263
* Clean up CodeGenFunction::EmitDynamicCast. No functionality change.Anders Carlsson2011-04-111-104/+141
| | | | llvm-svn: 129262
* Replace a couple of Builder.CreateICmpEQ with Builder.CreateIsNull. No ↵Anders Carlsson2011-04-112-9/+3
| | | | | | functionality change. llvm-svn: 129261
* PR9669: implement correct checking for [dcl.init.string]p2.Eli Friedman2011-04-114-7/+20
| | | | llvm-svn: 129260
* Revert r129235 pending a vetting of the EH rewrite.Bill Wendling2011-04-1010-87/+16
| | | | | | | | | | | | | | | | --- Reverse-merging r129235 into '.': D test/Feature/bb_attrs.ll U include/llvm/BasicBlock.h U include/llvm/Bitcode/LLVMBitCodes.h U lib/VMCore/AsmWriter.cpp U lib/VMCore/BasicBlock.cpp U lib/AsmParser/LLParser.cpp U lib/AsmParser/LLLexer.cpp U lib/AsmParser/LLToken.h U lib/Bitcode/Reader/BitcodeReader.cpp U lib/Bitcode/Writer/BitcodeWriter.cpp llvm-svn: 129259
* Remove the CodeGenCXX/dyncast.cpp test; it isn't really super useful to ↵Anders Carlsson2011-04-101-367/+0
| | | | | | match on huge chunks of LLVM output. llvm-svn: 129258
* As a first step towards fixing PR9641, add a CK_DynamicToNull cast kind whichAnders Carlsson2011-04-1010-3/+27
| | | | | | | | | | | | | | | | | | represents a dynamic cast where we know that the result is always null. For example: struct A { virtual ~A(); }; struct B final : A { }; struct C { }; bool f(B* b) { return dynamic_cast<C*>(b); } llvm-svn: 129256
* Changes to cerrno to protect against the case the ELAST is not defined.Howard Hinnant2011-04-101-1/+19
| | | | llvm-svn: 129255
* Simplify calling CheckPlaceholderExpr, converge on it in a few places,John McCall2011-04-107-71/+50
| | | | | | and move a vector-splat check to follow l-value conversion. llvm-svn: 129254
* Strip off parens and no-op casts when deciding if an expr can be ↵Anders Carlsson2011-04-102-1/+35
| | | | | | devirtualized. Fixes the second half of PR9660. llvm-svn: 129253
* Change CollectPrimaryBases to collect the bases in the right order. Fixes ↵Anders Carlsson2011-04-102-7/+31
| | | | | | one half of PR9660. llvm-svn: 129252
* time_get was missing the %F specifier. This change impacts the binary.Howard Hinnant2011-04-101-0/+6
| | | | llvm-svn: 129251
* Make -fdump-vtable-layouts also dump vtable indices for all virtual member ↵Anders Carlsson2011-04-101-0/+42
| | | | | | functions in the class. llvm-svn: 129250
* Bugfix in the Cpp backend after API change on PHINode::Create.Nicolas Geoffray2011-04-101-1/+1
| | | | llvm-svn: 129248
* CMake: support for using LLVM from client projects with find_package.Oscar Fuentes2011-04-104-6/+42
| | | | | | Patch by arrowdodger! llvm-svn: 129247
* Reflect rename on LLVM cmake file.Oscar Fuentes2011-04-101-1/+1
| | | | llvm-svn: 129246
* Fixed more best practices, and explicit/implicit style guide issues.Garrison Venn2011-04-101-131/+128
| | | | llvm-svn: 129245
* Enhance the diagnostic for literal float -> int conversions to suggestChandler Carruth2011-04-104-11/+51
| | | | | | | | | | | | rewriting the literal when the value is integral. It is not uncommon to see code written as: const int kBigNumber = 42e5; Without any real awareness that this is no longer an ICE. The note helps automate and ease the process of fixing code that violates the warning. llvm-svn: 129243
* Refactor 129240 to merge the old default argument into the new parameter.Francois Pichet2011-04-101-5/+13
| | | | llvm-svn: 129242
* PR9580: Handle vectors correctly in ScalarExprEmitter::EmitRem.Eli Friedman2011-04-102-10/+126
| | | | | | | While I'm here, FileCheck-ize the ext-vector test, so we actually check what it is generating. llvm-svn: 129241
* MSVC accepts that default parameters be redefined for member functionsFrancois Pichet2011-04-103-3/+25
| | | | | | | | of template class. The new value is ignored. This fixes 1 error when parsing MSVC 2010 header files with clang. llvm-svn: 129240
* libclang output name is now libclang. This solves a name collisionOscar Fuentes2011-04-101-2/+2
| | | | | | | | | | when building with Visual Studio. `clang.dll' and `clang.exe' would have the same `clang.ilk' and `clang.pdb'. On a serial build those files would be overwritten as clang.exe/clang.dll are created. On a parallel build there is a risk of both files being written at the same time. On that case VS fails. llvm-svn: 129239
* Reword instructions for running tests on Visual Studio.Oscar Fuentes2011-04-101-1/+3
| | | | | | Suggested by Maël Hörz. llvm-svn: 129237
* Beginning of the Great Exception Handling Rewrite.Bill Wendling2011-04-1010-16/+87
| | | | | | | | | | | | | * Add a "landing pad" attribute to the BasicBlock. * Modify the bitcode reader and writer to handle said attribute. Later: The verifier will ensure that the landing pad attribute is used in the appropriate manner. I.e., not applied to the entry block, and applied only to basic blocks that are branched to via a `dispatch' instruction. (This is a work-in-progress.) llvm-svn: 129235
OpenPOWER on IntegriCloud