summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* When determining whether a DeclRefExpr is value-dependent when itDouglas Gregor2010-01-152-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, stripDouglas Gregor2010-01-152-2/+22
| | | | | | qualifiers. Fixes PR6021. llvm-svn: 93513
* Convert the type of the LValue offset variable in APValue to CharUnits, movingKen Dyck2010-01-154-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 Foad2010-01-151-0/+9
| | | | llvm-svn: 93511
* Don't repeat lookup when instantiating resolved member expressions.John McCall2010-01-154-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 ofJay Foad2010-01-151-2/+16
| | | | | | integer type is used. llvm-svn: 93509
* Don't suggest the developer use 'arc4random' instead of 'rand' when that ↵Ted Kremenek2010-01-152-3/+48
| | | | | | function is not available. Fixes PR 6012. llvm-svn: 93508
* Teach BugReporter to "escape" the occurance of '%' characters in diagnostic ↵Ted Kremenek2010-01-152-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 Kremenek2010-01-152-4/+4
| | | | llvm-svn: 93506
* Change pre-regalloc tail duplication to only duplicate indirect branch blocks.Bob Wilson2010-01-151-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 Hernandez2010-01-159-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 Stump2010-01-151-0/+20
| | | | llvm-svn: 93503
* Temporary disable testsAnton Korobeynikov2010-01-152-0/+2
| | | | llvm-svn: 93501
* Refine unreachable warnings. WIP.Mike Stump2010-01-151-4/+87
| | | | llvm-svn: 93500
* Lower FrameIndex operand of DEBUG_VALUE (specially) andDale Johannesen2010-01-152-0/+29
| | | | | | print it as a comment on X86. llvm-svn: 93499
* Remove DEBUG_DECLARE, looks like we don't need it.Dale Johannesen2010-01-155-29/+6
| | | | | | Also, DEBUG_VALUE has side effects. llvm-svn: 93498
* When performing qualified name lookup into the current instantiation,Douglas Gregor2010-01-156-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 likeAnton Korobeynikov2010-01-152-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 Patel2010-01-152-3/+18
| | | | llvm-svn: 93494
* Fix Release-Asserts for the time being.Mike Stump2010-01-151-352/+351
| | | | llvm-svn: 93493
* Make sure include/llvm/MC/MCParsedAsmOperand.h can be compiled alone.Jeffrey Yasskin2010-01-151-0/+1
| | | | llvm-svn: 93492
* fix 80-column violationsJim Grosbach2010-01-151-12/+14
| | | | llvm-svn: 93487
* new test case for r93485.Devang Patel2010-01-151-0/+4
| | | | llvm-svn: 93486
* Fix 80 column violations and clean up whitespaceJim Grosbach2010-01-151-5/+4
| | | | llvm-svn: 93484
* Do not emit multiple AT_container_type attributes. Devang Patel2010-01-151-1/+2
| | | | | | We need to find a better way to emit this info. llvm-svn: 93481
* Name change for consistency. No functional change.Jim Grosbach2010-01-151-7/+7
| | | | llvm-svn: 93480
* EmitAtomicCmpSwap() custome inserter needs to delete the MI passed in. ↵Jim Grosbach2010-01-151-0/+3
| | | | | | EmitAtomicBinary() already does this. llvm-svn: 93479
* Teach PPC how to replaceMachineCodeForFunction correctly. (FixesJeffrey Yasskin2010-01-141-0/+2
| | | | | | JITTest.FunctionIsRecompiledAndRelinked.) llvm-svn: 93475
* Patch to avoid duplicate declaration of byref structsFariborz Jahanian2010-01-142-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 separateEric Christopher2010-01-141-19/+20
| | | | | | commit. llvm-svn: 93473
* Added 16-bit Thumb Load/Store immediate instructions with encoding bits so thatJohnny Chen2010-01-141-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 Lattner2010-01-142-1/+10
| | | | | | the default implementation returns "unknown". llvm-svn: 93470
* Split the TargetAsmParser "ParseInstruction" interface in half:Chris Lattner2010-01-146-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 MSP430Anton Korobeynikov2010-01-141-0/+51
| | | | llvm-svn: 93468
* Remove pseudo-MI in custom inserter.Anton Korobeynikov2010-01-141-0/+1
| | | | llvm-svn: 93467
* Fix a comment.Dale Johannesen2010-01-141-1/+1
| | | | llvm-svn: 93463
* Few minor changes that were requested. No functional change.Eric Christopher2010-01-141-2/+6
| | | | llvm-svn: 93462
* Emit linkage name even if it matches regular name. The code generator uses ↵Devang Patel2010-01-141-3/+3
| | | | | | linkage name to find subprogram entry for the current function. llvm-svn: 93461
* Add comment explaining the necessity of r93456Jim Grosbach2010-01-141-0/+5
| | | | llvm-svn: 93459
* Forgot to commit theseAnton Korobeynikov2010-01-142-12/+12
| | | | llvm-svn: 93458
* prune #includes in TargetAsmParser.hChris Lattner2010-01-146-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 Grosbach2010-01-141-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 MCParsedAsmOperandChris Lattner2010-01-141-1/+2
| | | | llvm-svn: 93455
* introduce the MCParsedAsmOperand class.Chris Lattner2010-01-142-1/+30
| | | | llvm-svn: 93454
* Small tweak to inline cost computation. Ext of i/fcmp results are mostly ↵Evan Cheng2010-01-141-1/+6
| | | | | | optimized away in codegen. llvm-svn: 93453
* fix grammaroChris Lattner2010-01-141-1/+1
| | | | llvm-svn: 93452
* long long is 64 bits on msp430Anton Korobeynikov2010-01-141-1/+2
| | | | llvm-svn: 93451
* Remove spurious semicolon.Anton Korobeynikov2010-01-141-21/+21
| | | | | | Patch by Diego Iastrubni! llvm-svn: 93450
* In debug builds, assert that function-local metadata has only 1 parent functionVictor Hernandez2010-01-141-1/+30
| | | | llvm-svn: 93449
* Reduce the inlining cost of functions that contain calls to easily,Eric Christopher2010-01-141-1/+27
| | | | | | and frequently optimized functions. llvm-svn: 93448
OpenPOWER on IntegriCloud