summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Diagnose assiging to an interface object inFariborz Jahanian2010-08-163-4/+8
| | | | | | | non-fragile abi mode as sizes are not statically known. Fixes radar 8315734. llvm-svn: 111191
* Added basic psuedoconstant checking in IdempotentOperationChecker and fixed ↵Tom Care2010-08-162-4/+20
| | | | | | some test cases. llvm-svn: 111190
* Eliminate the TopLevelManagerType enum; instead, just makeDan Gohman2010-08-162-22/+7
| | | | | | | PMTopLevelManager's constructor take a PMDataManager *, which already provides the needed abstraction support. llvm-svn: 111189
* Factored the "continue" command execution of the inferior process as part of theJohnny Chen2010-08-1614-43/+20
| | | | | | | | | cleanup before finish into the test fixture in lldbtest.TestBase.tearDown(). Derivatives of TestBase is responsible for setting self.runStarted to True if an inferior process has been started. llvm-svn: 111188
* Formatting fixes. No functionality changeDouglas Gregor2010-08-161-5/+5
| | | | llvm-svn: 111186
* Comment out some broken/unused/useless instructions which mess up disassembly.Eli Friedman2010-08-161-0/+6
| | | | llvm-svn: 111185
* Implement name hiding of cached global code-completion results.Douglas Gregor2010-08-163-3/+111
| | | | llvm-svn: 111184
* Fixes for generation of ELF relocations. Patch by Roman Divacky.Eli Friedman2010-08-161-6/+18
| | | | llvm-svn: 111183
* Don't attempt to SimplifyShortMoveForm in 64-bit mode.Eli Friedman2010-08-161-9/+13
| | | | llvm-svn: 111182
* Instead of using operator bool() for testing if a BindingKey is valid, use ↵Jordy Rose2010-08-161-4/+4
| | | | | | an explicit isValid() method. llvm-svn: 111181
* Move GRState::AssumeInBound out of its header file -- it's not really ↵Jordy Rose2010-08-162-44/+44
| | | | | | inline-friendly anymore. llvm-svn: 111179
* [re.regiter]Howard Hinnant2010-08-167-10/+401
| | | | llvm-svn: 111178
* Until uleb/sleb are MC-ized, add a hack to make them work with ELF objectEli Friedman2010-08-161-2/+2
| | | | | | emission. llvm-svn: 111177
* Move some code out-of-line which has long since grown too large to beDouglas Gregor2010-08-161-61/+69
| | | | | | inlined. No functionality change. llvm-svn: 111176
* Fix a few warnings in and detabify MCELFStreamer and ELFObjectWriter.Eli Friedman2010-08-162-17/+18
| | | | llvm-svn: 111175
* Add ELF ObjectWriter and Streamer support.Matt Fleming2010-08-164-0/+1533
| | | | | | I forgot to add these files in commit 111172. llvm-svn: 111174
* Hookup ELF support for X86.Matt Fleming2010-08-162-6/+14
| | | | llvm-svn: 111173
* Add ELF ObjectWriter and Streamer support.Matt Fleming2010-08-165-4/+19
| | | | llvm-svn: 111172
* Layout helper function.Matt Fleming2010-08-162-0/+36
| | | | | | | | Introduce a helper method to add a section to the end of a layout. This will be used by the ELF ObjectWriter code to add the metadata sections (symbol table, etc) to the end of an object file. llvm-svn: 111171
* Record a symbol's size which is needed for ELF symbol tables.Matt Fleming2010-08-162-1/+16
| | | | llvm-svn: 111170
* ELF entry size support.Matt Fleming2010-08-162-1/+7
| | | | | | | Some ELF sections contain fixed-sized entries. Provide a way to record the entry size of a section. llvm-svn: 111169
* Rename sat_shift operand to shift_imm, in preparation for using it for otherBob Wilson2010-08-166-15/+18
| | | | | | instructions besides saturate instructions. No functional changes. llvm-svn: 111168
* Partially revert r111155. It looks like MSVC is calling an operator<() thatJakob Stoklund Olesen2010-08-161-0/+3
| | | | | | clang says is unused. llvm-svn: 111167
* Add two options for playing with modules.Sebastian Redl2010-08-164-0/+18
| | | | llvm-svn: 111166
* When caching code completions for global declarations, keep track ofDouglas Gregor2010-08-165-13/+81
| | | | | | | | | | | | | | | | the usage type of each declaration result, then compare those types to the preferred type of the completion. This provides parity in the priority calculation between the code-completion results produced directly from Sema and those cached by ASTUnit. For the standard Cocoa.h (+ others) example, there's a penalty of 3-4 hundredeths of a second when caching the global results (for ~31,000 results), because we need an ASTContext-agnostic representation of types for the comparison, and therefore we use... strings. Eventually, we'd like to implement a more efficient ASTContext-agnostic encoding of types. llvm-svn: 111165
* track local frame size in MFI, not local to the pass, since PEI needs it.Jim Grosbach2010-08-162-4/+4
| | | | llvm-svn: 111164
* Fix a crash when parsing malformed out-of-line member function Fariborz Jahanian2010-08-162-1/+11
| | | | | | definition. radar 8307865. llvm-svn: 111163
* Revert r111031. The way LLVM defines loop invariance, the property of anDan Gohman2010-08-161-18/+0
| | | | | | | | | expression being loop invariant is not equivalent to the property of properly dominating the loop header. Other optimizations have also made this optimization less important. llvm-svn: 111160
* Fix initialization for members of anonymous struct in a union.Argyrios Kyrtzidis2010-08-162-0/+15
| | | | llvm-svn: 111159
* Emit diagnostic error when the field of an anonymous struct is non trivial.Argyrios Kyrtzidis2010-08-164-24/+57
| | | | llvm-svn: 111158
* Remove unused functions.Jakob Stoklund Olesen2010-08-162-35/+0
| | | | llvm-svn: 111156
* Remove unused functions.Jakob Stoklund Olesen2010-08-161-8/+0
| | | | llvm-svn: 111155
* Remove unused code.Bob Wilson2010-08-161-5/+0
| | | | llvm-svn: 111154
* Convert a test to use FileCheck.Bob Wilson2010-08-161-4/+19
| | | | llvm-svn: 111153
* Placate overzealous compiler warnings.Dan Gohman2010-08-161-2/+2
| | | | llvm-svn: 111152
* To create a copy of a SmallVector with an element removed from theDan Gohman2010-08-161-6/+7
| | | | | | | | | middle, copy the elements in two groups, rather than copying all the elements and then doing an erase on the middle of the result. These are SmallVectors, so we shouldn't expect to hit dynamic allocation in the common case. llvm-svn: 111151
* Dereferencing NULL pointers is such poor form.Douglas Gregor2010-08-162-5/+10
| | | | llvm-svn: 111150
* Install Embedded builds into usr/local. Radar 8313723.Bob Wilson2010-08-161-2/+2
| | | | llvm-svn: 111149
* silence a vc2010 warning: " result of 32-bit shift implicitly converted toChris Lattner2010-08-161-1/+1
| | | | | | 64 bits (was 64-bit shift intended?)", pointed out by 'nobled' on llvmdev llvm-svn: 111148
* Tidy whitespace.Dan Gohman2010-08-161-5/+4
| | | | llvm-svn: 111147
* Add a comment.Dan Gohman2010-08-161-0/+5
| | | | llvm-svn: 111145
* Use const_iterator in a few places.Dan Gohman2010-08-161-3/+3
| | | | llvm-svn: 111144
* Use iterators instead of indices in a few more places.Dan Gohman2010-08-161-6/+9
| | | | llvm-svn: 111143
* Micro-optimize SCEVConstant comparison.Dan Gohman2010-08-161-4/+4
| | | | llvm-svn: 111142
* support for vec_add, vec_adds, vec_and, vec_andc with bool argumentsAnton Yartsev2010-08-162-21/+892
| | | | llvm-svn: 111141
* Move SCEVNAryExpr's virtual member functions out of line, and convertDan Gohman2010-08-162-22/+36
| | | | | | them to iterators. llvm-svn: 111140
* When caching global completion results, keep track of the simplifiedDouglas Gregor2010-08-166-37/+98
| | | | | | | | | | | type class, so that we can adjust priorities appropriately when the preferred type for the context and the actual type of the completion are similar. This gets us one step closer to parity of the cached completion results with the non-cached completion results. llvm-svn: 111139
* Use iterators instead of indices in simple cases.Dan Gohman2010-08-161-6/+4
| | | | llvm-svn: 111138
* Avoid gratuitous inefficiency in ifndef NDEBUG code.Dan Gohman2010-08-161-8/+8
| | | | llvm-svn: 111137
* Make one getAddExpr call when analyzing a+b+c+d+e+... instead of oneDan Gohman2010-08-161-6/+31
| | | | | | for each add instruction. Ditto for Mul. llvm-svn: 111136
OpenPOWER on IntegriCloud