summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* do not rely on the implicit-dereference semantics of dyn_cast_or_nullGabor Greif2010-09-181-4/+4
| | | | llvm-svn: 114277
* remove CallSite::get; it is still present (as protected) in the baseclass, ↵Gabor Greif2010-09-181-12/+2
| | | | | | use one of the constructors intead llvm-svn: 114275
* Fixed non-const iterator error.Lang Hames2010-09-181-1/+1
| | | | llvm-svn: 114273
* Added a separate class (PBQPBuilder) for PBQP Problem construction. This ↵Lang Hames2010-09-188-174/+572
| | | | | | | | | | | | class can be extended to support custom constraints. For now the allocator still uses the old (internal) construction mechanism by default. This will be phased out soon assuming no issues with the builder system come up. To invoke the new construction mechanism just pass '-regalloc=pbqp -pbqp-builder' to llc. To provide custom constraints a Target just needs to extend PBQPBuilder and pass an instance of their derived builder to the RegAllocPBQP constructor. llvm-svn: 114272
* docs: Tweak wording.Michael J. Spencer2010-09-181-5/+5
| | | | llvm-svn: 114271
* Fix code that break critical edges for PHI uses. Watch out for multiple PHIs ↵Evan Cheng2010-09-181-71/+66
| | | | | | in different blocks. llvm-svn: 114270
* static local variables with destructors don't require a global destructorJohn McCall2010-09-182-3/+10
| | | | | | | | | unless we're on a platform without __cxa_atexit (or use thereof has been disabled). This patch actually just disables the check completely for static locals, but I've filed http://llvm.org/bugs/show_bug.cgi?id=8176 to track the platform-specific fix. llvm-svn: 114269
* Invert the logic of reachesChainWithoutSideEffects(). What we want to check ↵Owen Anderson2010-09-182-7/+33
| | | | | | | | | | is that there is NO path to the destination containing side effects, not that SOME path contains no side effects. In practice, this only manifests with CombinerAA enabled, because otherwise the chain has little to no branching, so "any" is effectively equivalent to "all". llvm-svn: 114268
* Added a better error message to the "frame variable" when you try to viewGreg Clayton2010-09-181-1/+1
| | | | | | frame variables and are not stopped in a valid frame. llvm-svn: 114267
* Fixed an issue with:Greg Clayton2010-09-183-4/+11
| | | | | | | | (lldb) frame variable --location Where the address of variables wasn't being formatted consistently. llvm-svn: 114266
* General command line help cleanup:Greg Clayton2010-09-1817-77/+128
| | | | | | | | | | - All single character options will now be printed together - Changed all options that contains underscores to contain '-' instead - Made the help come out a little flatter by showing the long and short option on the same line. - Modified the short character for "--ignore-count" options to "-i" llvm-svn: 114265
* Thumb opcodes for thumb calls.Eric Christopher2010-09-181-1/+5
| | | | llvm-svn: 114263
* lit: Bump version to 0.2.0dev, for no apparent reason.Daniel Dunbar2010-09-181-2/+2
| | | | llvm-svn: 114262
* lit: Tweak setup.py.Daniel Dunbar2010-09-181-11/+12
| | | | llvm-svn: 114261
* lit: These TODOs are done(ish).Daniel Dunbar2010-09-181-10/+0
| | | | llvm-svn: 114260
* Adjust a fixup's starting branch if it's being resolved becauseJohn McCall2010-09-182-8/+30
| | | | | | | it reached the outermost scope and it hasn't yet been forwarded to a cleanup. Fixed PR8175. llvm-svn: 114259
* Bug #: 8447030Greg Clayton2010-09-181-1/+1
| | | | | | | | Fixed an issue with ClangASTContext::GetIndexOfChildMemberWithName() where objective C ivars were not being found correctly if they were the second or higher child. llvm-svn: 114258
* Add another text for code completion after recoveryDouglas Gregor2010-09-181-0/+2
| | | | llvm-svn: 114257
* Add addrmode5 fp load support. Swap float/thumb operand adding to handleEric Christopher2010-09-181-5/+21
| | | | | | thumb with floating point. llvm-svn: 114256
* Continue parsing more postfix expressions, even after semanticDouglas Gregor2010-09-185-40/+35
| | | | | | errors. Improves code completion in yet another case. llvm-svn: 114255
* Floating point stores have a 3rd addressing mode type.Eric Christopher2010-09-181-1/+9
| | | | llvm-svn: 114254
* Added '|' delimiter to separate inline asm multiple alternative constraints ↵John Thompson2010-09-184-9/+17
| | | | | | for Clang side of support. llvm-svn: 114253
* Fixed the way set/show variables were being accessed to being natively Greg Clayton2010-09-1860-1118/+1245
| | | | | | | | | | | | | | | | | | accessed by the objects that own the settings. The previous approach wasn't very usable and made for a lot of unnecessary code just to access variables that were already owned by the objects. While I fixed those things, I saw that CommandObject objects should really have a reference to their command interpreter so they can access the terminal with if they want to output usaage. Fixed up all CommandObjects to take an interpreter and cleaned up the API to not need the interpreter to be passed in. Fixed the disassemble command to output the usage if no options are passed down and arguments are passed (all disassebmle variants take options, there are no "args only"). llvm-svn: 114252
* Add more error checking to attribute vecreturnJohn Thompson2010-09-183-1/+43
| | | | llvm-svn: 114251
* Fix a bug with binding l-values to elided temporaries, and leave a coupleJohn McCall2010-09-183-7/+30
| | | | | | helpful asserts behind. llvm-svn: 114250
* formatted everything to fit within 80 columnsAnton Yartsev2010-09-181-274/+522
| | | | llvm-svn: 114249
* Add test that was missing in my previous commit.Rafael Espindola2010-09-181-0/+18
| | | | llvm-svn: 114248
* Testcase for r114239.Bill Wendling2010-09-181-0/+26
| | | | llvm-svn: 114247
* Revert r114244 since it breaks a test in Analysis.Tom Care2010-09-181-3/+0
| | | | llvm-svn: 114246
* Added a hook for the test driver to take an optional config file to customizeJohnny Chen2010-09-181-2/+16
| | | | | | | | | the running of the test suite. Right now, it doesn't do anything with the config file. Pass "-c myConfigFile" to specify the config file. llvm-svn: 114245
* IdempotentOperationChecker no longer reports errors that are post-dominated ↵Tom Care2010-09-181-0/+3
| | | | | | by a sink. This fixes some false positives that were flagged because a path was incomplete (usually in a loop). llvm-svn: 114244
* factor out a simple helper function to create a label for PC-relativeJim Grosbach2010-09-181-19/+17
| | | | | | instructions (PICADD, PICLDR, et.al.) llvm-svn: 114243
* PC-relative pseudo instructions are lowered and printed directly. Any encounterJim Grosbach2010-09-181-3/+2
| | | | | | with one in the generic printing code is an error. llvm-svn: 114242
* Attempt to XFAIL this test on arm-linux, which is inexplicably failing.Dan Gohman2010-09-181-0/+4
| | | | llvm-svn: 114241
* Fix vmov.f64 disassembly on targets where sizeof(long) != 8.Benjamin Kramer2010-09-172-2/+5
| | | | llvm-svn: 114240
* The MMX shift-with-immediate builtins require the equivalentBill Wendling2010-09-171-8/+8
| | | | | | shift-with-immediate LLVM intrinsics. llvm-svn: 114239
* Remove FIXME. The type is correct.Bill Wendling2010-09-171-1/+1
| | | | llvm-svn: 114238
* Add MC-inst handling for tPICADDJim Grosbach2010-09-171-0/+26
| | | | llvm-svn: 114237
* Sema/transparent_union: Make sure to add implicit cast when constructingDaniel Dunbar2010-09-172-0/+23
| | | | | | implicit union values for the transparent_union extension. llvm-svn: 114236
* Tweak in DeclPrinter printing of uses of copy constructors. Patch by Jim ↵Ted Kremenek2010-09-171-2/+5
| | | | | | Goodnow II. llvm-svn: 114235
* Update testDouglas Gregor2010-09-171-1/+2
| | | | llvm-svn: 114234
* Add target-specific DAG combiner for BUILD_VECTOR and VMOVRRD. An i64Bob Wilson2010-09-172-0/+53
| | | | | | | | value should be in GPRs when it's going to be used as a scalar, and we use VMOVRRD to make that happen, but if the value is converted back to a vector we need to fold to a simple bit_convert. Radar 8407927. llvm-svn: 114233
* Fixed a typo and supplied a more appropriate assert message.Johnny Chen2010-09-172-2/+4
| | | | llvm-svn: 114232
* Improve recovery when the middle expression of a ternary operator is ill-formedDouglas Gregor2010-09-172-2/+6
| | | | llvm-svn: 114231
* Teach the (non-MC) instruction printer to use the cannonical names for push/pop,Jim Grosbach2010-09-176-11/+82
| | | | | | and shift instructions on ARM. Update the tests to match. llvm-svn: 114230
* Avoid relocations in a common case.Rafael Espindola2010-09-171-1/+10
| | | | llvm-svn: 114229
* Added test cases to FoundationTestCase to exercise lookup of objc data types andJohnny Chen2010-09-172-5/+81
| | | | | | | | | | | | to evaluate expressions. Marked with @expectedFailure decorators for the time being. Enhanced the lldbtest.TestBase.expect() API to allow an additional keyword arg named "error". If the client passes "error=True", it signifies that an error while running the command is expected. The golden input is then compared against the return object's error output. llvm-svn: 114228
* Teach machine sink toEvan Cheng2010-09-174-77/+227
| | | | | | | | | | 1) Do forward copy propagation. This makes it easier to estimate the cost of the instruction being sunk. 2) Break critical edges on demand, including cases where the value is used by PHI nodes. Critical edge splitting is not yet enabled by default. llvm-svn: 114227
* Rework arm fast isel branch and compare code.Eric Christopher2010-09-171-8/+70
| | | | llvm-svn: 114226
* When we run into an error parsing or type-checking the left-hand sideDouglas Gregor2010-09-177-31/+32
| | | | | | | | | | | | | | | | | | | | | | | of a binary expression, continue on and parse the right-hand side of the binary expression anyway, but don't call the semantic actions to type-check. Previously, we would see the error and then, effectively, skip tokens until the end of the statement. The result should be more useful recovery, both in the normal case (we'll actually see errors beyond the first one in a statement), but it also helps code completion do a much better job, because we do "real" code completion on the right-hand side of an invalid binary expression rather than completing with the recovery completion. For example, given x = p->y if there is no variable named "x", we can still complete after the p-> as a member expression. Along the recovery path, we would have completed after the "->" as if we were in an expression context, which is mostly useless. llvm-svn: 114225
OpenPOWER on IntegriCloud