Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | When determining whether a DeclRefExpr is value-dependent when it | Douglas Gregor | 2010-01-15 | 2 | -4/+25 |
| | | | | | | | | references a const variable of integral type, the initializer may be in a different declaration than the one that name-lookup saw. Find the initializer anyway. Fixes PR6045. llvm-svn: 93514 | ||||
* | When determining whether the type is the current instantiation, strip | Douglas Gregor | 2010-01-15 | 2 | -2/+22 |
| | | | | | | qualifiers. Fixes PR6021. llvm-svn: 93513 | ||||
* | Convert the type of the LValue offset variable in APValue to CharUnits, moving | Ken Dyck | 2010-01-15 | 4 | -59/+84 |
| | | | | | | the LValue-related methods of APValue out of line to avoid header file leaching. llvm-svn: 93512 | ||||
* | Test case for http://llvm.org/PR6028. | Jay Foad | 2010-01-15 | 1 | -0/+9 |
| | | | | llvm-svn: 93511 | ||||
* | Don't repeat lookup when instantiating resolved member expressions. | John McCall | 2010-01-15 | 4 | -20/+70 |
| | | | | | | | | | | Adjust BuildMemberReferenceExpr to perform the inheritance check on implicit member accesses, which can arise from unqualified lookups and therefore may reference decls from enclosing class scopes. Fixes PR 5838. llvm-svn: 93510 | ||||
* | Fix http://llvm.org/PR6028, an assertion failure when an UndefValue of | Jay Foad | 2010-01-15 | 1 | -2/+16 |
| | | | | | | integer type is used. llvm-svn: 93509 | ||||
* | Don't suggest the developer use 'arc4random' instead of 'rand' when that ↵ | Ted Kremenek | 2010-01-15 | 2 | -3/+48 |
| | | | | | | function is not available. Fixes PR 6012. llvm-svn: 93508 | ||||
* | Teach BugReporter to "escape" the occurance of '%' characters in diagnostic ↵ | Ted Kremenek | 2010-01-15 | 2 | -2/+27 |
| | | | | | | messages when emitted results to the standard Diagnostics output. Fixes PR 6033. llvm-svn: 93507 | ||||
* | Convert a few more uses of std::string& to llvm::StringRef. | Ted Kremenek | 2010-01-15 | 2 | -4/+4 |
| | | | | llvm-svn: 93506 | ||||
* | Change pre-regalloc tail duplication to only duplicate indirect branch blocks. | Bob Wilson | 2010-01-15 | 1 | -4/+11 |
| | | | | | | | | | The pre-regalloc pass caused some regressions in both compile time and performance of the generated code, and it did not improve performance, except for indirect branches. I also moved the check for single-block loops to speed up the common case when running the taildup pass before reg allocation. llvm-svn: 93505 | ||||
* | Improve llvm.dbg.declare intrinsic by referring directly to the storage in ↵ | Victor Hernandez | 2010-01-15 | 9 | -55/+49 |
| | | | | | | | | its first argument, via function-local metadata (instead of via a bitcast). This patch also cleans up code that expects there to be a bitcast in the first argument and testcases that call llvm.dbg.declare. llvm-svn: 93504 | ||||
* | Add testcase for recent checkin. | Mike Stump | 2010-01-15 | 1 | -0/+20 |
| | | | | llvm-svn: 93503 | ||||
* | Temporary disable tests | Anton Korobeynikov | 2010-01-15 | 2 | -0/+2 |
| | | | | llvm-svn: 93501 | ||||
* | Refine unreachable warnings. WIP. | Mike Stump | 2010-01-15 | 1 | -4/+87 |
| | | | | llvm-svn: 93500 | ||||
* | Lower FrameIndex operand of DEBUG_VALUE (specially) and | Dale Johannesen | 2010-01-15 | 2 | -0/+29 |
| | | | | | | print it as a comment on X86. llvm-svn: 93499 | ||||
* | Remove DEBUG_DECLARE, looks like we don't need it. | Dale Johannesen | 2010-01-15 | 5 | -29/+6 |
| | | | | | | Also, DEBUG_VALUE has side effects. llvm-svn: 93498 | ||||
* | When performing qualified name lookup into the current instantiation, | Douglas Gregor | 2010-01-15 | 6 | -33/+73 |
| | | | | | | | | | | | | | do not look into base classes if there are any dependent base classes. Instead, note in the lookup result that we couldn't look into any dependent bases. Use that new result kind to detect when this case occurs, so that we can fall back to treating the type/value/etc. as a member of an unknown specialization. Fixes an issue where we were resolving lookup at template definition time and then missing an ambiguity at template instantiation time. llvm-svn: 93497 | ||||
* | Fix cmp emission on msp430: we definitely should turn stuff like | Anton Korobeynikov | 2010-01-15 | 2 | -25/+27 |
| | | | | | | "icmp lhs, rhs" into "cmp rhs, lhs". This should fix PR5979. llvm-svn: 93496 | ||||
* | Do not use AT_specification die for static variables. It confuses gdb. | Devang Patel | 2010-01-15 | 2 | -3/+18 |
| | | | | llvm-svn: 93494 | ||||
* | Fix Release-Asserts for the time being. | Mike Stump | 2010-01-15 | 1 | -352/+351 |
| | | | | llvm-svn: 93493 | ||||
* | Make sure include/llvm/MC/MCParsedAsmOperand.h can be compiled alone. | Jeffrey Yasskin | 2010-01-15 | 1 | -0/+1 |
| | | | | llvm-svn: 93492 | ||||
* | fix 80-column violations | Jim Grosbach | 2010-01-15 | 1 | -12/+14 |
| | | | | llvm-svn: 93487 | ||||
* | new test case for r93485. | Devang Patel | 2010-01-15 | 1 | -0/+4 |
| | | | | llvm-svn: 93486 | ||||
* | Fix 80 column violations and clean up whitespace | Jim Grosbach | 2010-01-15 | 1 | -5/+4 |
| | | | | llvm-svn: 93484 | ||||
* | Do not emit multiple AT_container_type attributes. | Devang Patel | 2010-01-15 | 1 | -1/+2 |
| | | | | | | We need to find a better way to emit this info. llvm-svn: 93481 | ||||
* | Name change for consistency. No functional change. | Jim Grosbach | 2010-01-15 | 1 | -7/+7 |
| | | | | llvm-svn: 93480 | ||||
* | EmitAtomicCmpSwap() custome inserter needs to delete the MI passed in. ↵ | Jim Grosbach | 2010-01-15 | 1 | -0/+3 |
| | | | | | | EmitAtomicBinary() already does this. llvm-svn: 93479 | ||||
* | Teach PPC how to replaceMachineCodeForFunction correctly. (Fixes | Jeffrey Yasskin | 2010-01-14 | 1 | -0/+2 |
| | | | | | | JITTest.FunctionIsRecompiledAndRelinked.) llvm-svn: 93475 | ||||
* | Patch to avoid duplicate declaration of byref structs | Fariborz Jahanian | 2010-01-14 | 2 | -9/+70 |
| | | | | | | | for __block variables of same name declared in multiple scopes. Fixes radar 7540194 llvm-svn: 93474 | ||||
* | Pad my commit stats by reducing indentation in this now separate | Eric Christopher | 2010-01-14 | 1 | -19/+20 |
| | | | | | | commit. llvm-svn: 93473 | ||||
* | Added 16-bit Thumb Load/Store immediate instructions with encoding bits so that | Johnny Chen | 2010-01-14 | 1 | -0/+24 |
| | | | | | | the disassembler can properly decode Load/Store register/immediate instructions. llvm-svn: 93471 | ||||
* | add virtual methods to get the start/end of a MCParsedAsmOperand, | Chris Lattner | 2010-01-14 | 2 | -1/+10 |
| | | | | | | the default implementation returns "unknown". llvm-svn: 93470 | ||||
* | Split the TargetAsmParser "ParseInstruction" interface in half: | Chris Lattner | 2010-01-14 | 6 | -52/+77 |
| | | | | | | | | | | | the new ParseInstruction method just parses and returns a list of target operands. A new MatchInstruction interface is used to turn the operand list into an MCInst. This requires new/deleting all the operands, but it also gives targets the ability to use polymorphic operands if they want to. llvm-svn: 93469 | ||||
* | Add variable-width shifts for MSP430 | Anton Korobeynikov | 2010-01-14 | 1 | -0/+51 |
| | | | | llvm-svn: 93468 | ||||
* | Remove pseudo-MI in custom inserter. | Anton Korobeynikov | 2010-01-14 | 1 | -0/+1 |
| | | | | llvm-svn: 93467 | ||||
* | Fix a comment. | Dale Johannesen | 2010-01-14 | 1 | -1/+1 |
| | | | | llvm-svn: 93463 | ||||
* | Few minor changes that were requested. No functional change. | Eric Christopher | 2010-01-14 | 1 | -2/+6 |
| | | | | llvm-svn: 93462 | ||||
* | Emit linkage name even if it matches regular name. The code generator uses ↵ | Devang Patel | 2010-01-14 | 1 | -3/+3 |
| | | | | | | linkage name to find subprogram entry for the current function. llvm-svn: 93461 | ||||
* | Add comment explaining the necessity of r93456 | Jim Grosbach | 2010-01-14 | 1 | -0/+5 |
| | | | | llvm-svn: 93459 | ||||
* | Forgot to commit these | Anton Korobeynikov | 2010-01-14 | 2 | -12/+12 |
| | | | | llvm-svn: 93458 | ||||
* | prune #includes in TargetAsmParser.h | Chris Lattner | 2010-01-14 | 6 | -11/+17 |
| | | | | | | | Pass in SMLoc of instr opcode into ParseInstruction. Make AsmToken be a class, not a struct. llvm-svn: 93457 | ||||
* | Dwarf EH prepare needs to be run after SjLj prepare. Otherwise, | Jim Grosbach | 2010-01-14 | 1 | -1/+1 |
| | | | | | | | | | catch info can get misplaced when a selector ends up more than one block removed from the parent invoke(s). This could happen when a landing pad is shared by multiple invokes and is also a target of a normal edge from elsewhere. llvm-svn: 93456 | ||||
* | introduce MCParsedAsmOperand | Chris Lattner | 2010-01-14 | 1 | -1/+2 |
| | | | | llvm-svn: 93455 | ||||
* | introduce the MCParsedAsmOperand class. | Chris Lattner | 2010-01-14 | 2 | -1/+30 |
| | | | | llvm-svn: 93454 | ||||
* | Small tweak to inline cost computation. Ext of i/fcmp results are mostly ↵ | Evan Cheng | 2010-01-14 | 1 | -1/+6 |
| | | | | | | optimized away in codegen. llvm-svn: 93453 | ||||
* | fix grammaro | Chris Lattner | 2010-01-14 | 1 | -1/+1 |
| | | | | llvm-svn: 93452 | ||||
* | long long is 64 bits on msp430 | Anton Korobeynikov | 2010-01-14 | 1 | -1/+2 |
| | | | | llvm-svn: 93451 | ||||
* | Remove spurious semicolon. | Anton Korobeynikov | 2010-01-14 | 1 | -21/+21 |
| | | | | | | Patch by Diego Iastrubni! llvm-svn: 93450 | ||||
* | In debug builds, assert that function-local metadata has only 1 parent function | Victor Hernandez | 2010-01-14 | 1 | -1/+30 |
| | | | | llvm-svn: 93449 | ||||
* | Reduce the inlining cost of functions that contain calls to easily, | Eric Christopher | 2010-01-14 | 1 | -1/+27 |
| | | | | | | and frequently optimized functions. llvm-svn: 93448 |