| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | remove debug | Chris Lattner | 2009-12-31 | 1 | -1/+1 |
| | | | | | llvm-svn: 92369 | ||||
| * | teach reassociate to factor x+x+x -> x*3. While I'm at it, | Chris Lattner | 2009-12-31 | 2 | -32/+102 |
| | | | | | | | fix RemoveDeadBinaryOp to actually do something. llvm-svn: 92368 | ||||
| * | It's OK for a return type to be incomplete if it's being defined. | Anders Carlsson | 2009-12-31 | 1 | -3/+6 |
| | | | | | llvm-svn: 92367 | ||||
| * | change reassociate to use SmallVector for its key datastructures | Chris Lattner | 2009-12-31 | 1 | -15/+18 |
| | | | | | | | instead of std::vector. llvm-svn: 92366 | ||||
| * | Make sure that an overriding return type is complete before checking if it's ↵ | Anders Carlsson | 2009-12-31 | 3 | -0/+59 |
| | | | | | | | covariant. Fixes PR5920. llvm-svn: 92365 | ||||
| * | change an if to an assert, fix comment. | Chris Lattner | 2009-12-31 | 1 | -4/+4 |
| | | | | | llvm-svn: 92364 | ||||
| * | move the rest of the add optimization code out to OptimizeAdd, | Chris Lattner | 2009-12-31 | 1 | -93/+94 |
| | | | | | | | improve some comments, simplify a bit of code. llvm-svn: 92363 | ||||
| * | factor statistic updating better. | Chris Lattner | 2009-12-31 | 1 | -19/+9 |
| | | | | | llvm-svn: 92362 | ||||
| * | Remove rtti.cpp, it's very fragile and has been marked XFAIL for a while ↵ | Anders Carlsson | 2009-12-31 | 1 | -205/+0 |
| | | | | | | | now. Between rtti-layout.cpp and rtti-linkage.cpp, RTTI testing should be covered. llvm-svn: 92361 | ||||
| * | More RTTI builder cleanup. | Anders Carlsson | 2009-12-31 | 1 | -76/+26 |
| | | | | | llvm-svn: 92360 | ||||
| * | Silence compiler warning. | Benjamin Kramer | 2009-12-31 | 1 | -1/+1 |
| | | | | | | warning: comparison between signed and unsigned integer expressions llvm-svn: 92359 | ||||
| * | Avoid an unnecessary copy of Predefines. getMemBufferCopy does the null ↵ | Benjamin Kramer | 2009-12-31 | 1 | -12/+3 |
| | | | | | | | termination for us. llvm-svn: 92358 | ||||
| * | Convert to StringRef, avoid a memcpy in the common case. | Benjamin Kramer | 2009-12-31 | 1 | -19/+16 |
| | | | | | llvm-svn: 92357 | ||||
| * | Typo correction for C++ base and member initializers, e.g., | Douglas Gregor | 2009-12-31 | 3 | -32/+99 |
| | | | | | | | | | | | | | | | | test/FixIt/typo.cpp:41:15: error: initializer 'base' does not name a non-static data member or base class; did you mean the base class 'Base'? Derived() : base(), ^~~~ Base test/FixIt/typo.cpp:42:15: error: initializer 'ember' does not name a non-static data member or base class; did you mean the member 'member'? ember() { } ^~~~~ member llvm-svn: 92355 | ||||
| * | simple fix for an incorrect factoring which causes a | Chris Lattner | 2009-12-31 | 2 | -0/+18 |
| | | | | | | | miscompilation, PR5458. llvm-svn: 92354 | ||||
| * | merge some more tests in. | Chris Lattner | 2009-12-31 | 3 | -25/+28 |
| | | | | | llvm-svn: 92353 | ||||
| * | filecheckize | Chris Lattner | 2009-12-31 | 4 | -92/+101 |
| | | | | | llvm-svn: 92352 | ||||
| * | Add another typo test for nested-name-specifiers | Douglas Gregor | 2009-12-31 | 1 | -0/+2 |
| | | | | | llvm-svn: 92351 | ||||
| * | Typo correction for identifiers within nested name specifiers, e.g., | Douglas Gregor | 2009-12-31 | 2 | -1/+24 |
| | | | | | | | | | | | typo.cpp:18:1: error: use of undeclared identifier 'other_std'; did you mean 'otherstd'? other_std::strng str1; ^~~~~~~~~ otherstd llvm-svn: 92350 | ||||
| * | fix refactoro | Chris Lattner | 2009-12-31 | 1 | -1/+1 |
| | | | | | llvm-svn: 92349 | ||||
| * | Typo correction for template names, e.g., | Douglas Gregor | 2009-12-31 | 3 | -1/+32 |
| | | | | | | | | | | | typo.cpp:27:8: error: no template named 'basic_sting' in namespace 'std'; did you mean 'basic_string'? std::basic_sting<char> b2; ~~~~~^~~~~~~~~~~ basic_string llvm-svn: 92348 | ||||
| * | factor code out into helper functions. | Chris Lattner | 2009-12-31 | 1 | -88/+109 |
| | | | | | llvm-svn: 92347 | ||||
| * | switch some std::vector's to smallvector. Reduce nesting. | Chris Lattner | 2009-12-31 | 1 | -54/+57 |
| | | | | | llvm-svn: 92346 | ||||
| * | Typo correction for member access into classes/structs/unions, e.g., | Douglas Gregor | 2009-12-31 | 4 | -5/+33 |
| | | | | | | | s.fnd("hello") llvm-svn: 92345 | ||||
| * | use more modern datastructures. | Chris Lattner | 2009-12-31 | 1 | -4/+5 |
| | | | | | llvm-svn: 92344 | ||||
| * | clean up -debug output. | Chris Lattner | 2009-12-31 | 1 | -3/+4 |
| | | | | | llvm-svn: 92343 | ||||
| * | Let constraint manager inform checkers that some assumption logic has happend. | Zhongxing Xu | 2009-12-31 | 8 | -14/+91 |
| | | | | | | | | | | Add new states for symbolic regions tracked by malloc checker. This enables us to do malloc checking more accurately. See test case. Based on Lei Zhang's patch and discussion. llvm-svn: 92342 | ||||
| * | Implement typo correction for id-expressions, e.g., | Douglas Gregor | 2009-12-31 | 8 | -25/+75 |
| | | | | | | | | | | | | | | typo.cpp:22:10: error: use of undeclared identifier 'radious'; did you mean 'radius'? return radious * pi; ^~~~~~~ radius This was super-easy, since we already had decent recovery by looking for names in dependent base classes. llvm-svn: 92341 | ||||
| * | Document the edit-distance algorithm used in StringRef, switch it over | Douglas Gregor | 2009-12-31 | 2 | -5/+19 |
| | | | | | | | to SmallVector, and add a unit test. llvm-svn: 92340 | ||||
| * | improve diagnostics for case when a field type is unknown by | Chris Lattner | 2009-12-31 | 2 | -1/+12 |
| | | | | | | | | not emitting a follow-on error about 'int', which the user never wrote. PR5924. llvm-svn: 92339 | ||||
| * | this #include is ok. | Chris Lattner | 2009-12-31 | 1 | -1/+1 |
| | | | | | llvm-svn: 92338 | ||||
| * | fix Analysis/DebugInfo.h to not include Metadata.h. Do this | Chris Lattner | 2009-12-31 | 4 | -15/+14 |
| | | | | | | | | by moving one method out of line and eliminating redundant checks from other methods. llvm-svn: 92337 | ||||
| * | add some basic named MD tests. | Chris Lattner | 2009-12-31 | 1 | -0/+3 |
| | | | | | llvm-svn: 92336 | ||||
| * | use early exits to reduce indentation. | Chris Lattner | 2009-12-31 | 1 | -15/+16 |
| | | | | | llvm-svn: 92335 | ||||
| * | eliminate another copy of the mdnode printing logic, simplify the | Chris Lattner | 2009-12-31 | 1 | -32/+23 |
| | | | | | | | one that remains. llvm-svn: 92334 | ||||
| * | random tidying for MDNode printing. | Chris Lattner | 2009-12-31 | 1 | -10/+7 |
| | | | | | llvm-svn: 92333 | ||||
| * | eliminate a bunch of useless forwarding functions with one caller. | Chris Lattner | 2009-12-31 | 1 | -21/+11 |
| | | | | | llvm-svn: 92332 | ||||
| * | make mdnMap type safe, rename accessors for consistency with the rest of llvm. | Chris Lattner | 2009-12-31 | 1 | -12/+13 |
| | | | | | llvm-svn: 92331 | ||||
| * | metadata can't be a global var initializer. | Chris Lattner | 2009-12-31 | 1 | -4/+0 |
| | | | | | llvm-svn: 92330 | ||||
| * | simplify mdnode printing logic. Now N->dump() only | Chris Lattner | 2009-12-31 | 1 | -127/+105 |
| | | | | | | | dumps one node instead of all of them. llvm-svn: 92329 | ||||
| * | don't unittest mdnode printing, we have disassembler tests for this. | Chris Lattner | 2009-12-31 | 1 | -18/+1 |
| | | | | | llvm-svn: 92328 | ||||
| * | unify two copies of the NamedMDNode printing code. | Chris Lattner | 2009-12-31 | 1 | -25/+22 |
| | | | | | llvm-svn: 92327 | ||||
| * | fix printing of function-local metadata to print all the operands of the | Chris Lattner | 2009-12-31 | 1 | -2/+2 |
| | | | | | | | mdnode, not just operand 0 over and over. llvm-svn: 92326 | ||||
| * | simplify printing of mdstring and Argument. | Chris Lattner | 2009-12-31 | 1 | -12/+5 |
| | | | | | llvm-svn: 92325 | ||||
| * | simplify asmprinting of NamedMDNode | Chris Lattner | 2009-12-31 | 1 | -34/+4 |
| | | | | | llvm-svn: 92324 | ||||
| * | Remove #include of metadata.h from intrinsicinst.h. The only | Chris Lattner | 2009-12-31 | 3 | -4/+13 |
| | | | | | | | | method that needs it (DbgValueInst::getValue) has been moved out of line. llvm-svn: 92323 | ||||
| * | rename "elements" of metadata to "operands". "Elements" are | Chris Lattner | 2009-12-31 | 13 | -136/+136 |
| | | | | | | | | things that occur in types. "operands" are things that occur in values. llvm-svn: 92322 | ||||
| * | Optimize MDNode to coallocate the operand list immediately | Chris Lattner | 2009-12-31 | 3 | -41/+61 |
| | | | | | | | | | | | | | | after the MDNode in memory. This eliminates the operands pointer and saves a new[] per node. Note that the code in DIDerivedType::replaceAllUsesWith is wrong and quite scary. A MDNode should not be RAUW'd with something else: this changes all uses of the mdnode, which may not be debug info related! Debug info should use something non-mdnode for declarations. llvm-svn: 92321 | ||||
| * | tidy | Chris Lattner | 2009-12-31 | 1 | -3/+4 |
| | | | | | llvm-svn: 92320 | ||||
| * | Fix a bunch of bugs with VMI RTTI building, and add a whole bunch of tests. | Anders Carlsson | 2009-12-30 | 3 | -219/+257 |
| | | | | | llvm-svn: 92319 | ||||

