summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update CMake build.Ted Kremenek2010-01-151-1/+0
| | | | llvm-svn: 93571
* Update CMake build.Ted Kremenek2010-01-151-1/+2
| | | | llvm-svn: 93570
* define __weak to null in rewritten source for Fariborz Jahanian2010-01-151-0/+1
| | | | | | -fms-extensions as well. llvm-svn: 93569
* add testcase for r93564Jim Grosbach2010-01-151-0/+20
| | | | llvm-svn: 93567
* Add comments to the dump() and dumpr() routines.Dan Gohman2010-01-151-0/+8
| | | | llvm-svn: 93566
* DEBUG_VALUE is now variable sized, as it has aDale Johannesen2010-01-152-1/+25
| | | | | | | | target-dependent memory address representation in it. Restore X86 printing of DEBUG_VALUE; lowering is done in X86RegisterInfo using the normal algorithm. llvm-svn: 93565
* Update Thumb1 storeRegToStackSlot() and loadRegFromStackSlot() to properlyJim Grosbach2010-01-151-2/+6
| | | | | | | handle physical registers R0-R7 when described as having a non-tGPR register class. llvm-svn: 93564
* Fix a typo that Anton noticed.Dan Gohman2010-01-151-1/+1
| | | | llvm-svn: 93563
* Add FIXME.Devang Patel2010-01-151-0/+1
| | | | llvm-svn: 93562
* Make CXCursor's data opaque.Douglas Gregor2010-01-155-48/+82
| | | | llvm-svn: 93561
* Fix a comment typo.Bob Wilson2010-01-151-1/+1
| | | | llvm-svn: 93560
* move "Metadata Nodes and Metadata Strings" section to the right place in theChris Lattner2010-01-151-38/+32
| | | | | | document and edit it. llvm-svn: 93559
* Remove the InlineHint attribute. There are no current or plannedEric Christopher2010-01-1512-21/+4
| | | | | | users. llvm-svn: 93558
* Make LookupResult::resolveKind() robust against NotFoundInCurrentInstantiation.John McCall2010-01-151-1/+1
| | | | | | Fixes PR 6049. llvm-svn: 93557
* zext / truncate is free on msp430. Inform codegen about this.Anton Korobeynikov2010-01-152-0/+42
| | | | llvm-svn: 93556
* Reenable testsAnton Korobeynikov2010-01-152-8/+6
| | | | llvm-svn: 93555
* Add branch relaxation pass (shamelessly stolen from PPC).Anton Korobeynikov2010-01-157-1/+256
| | | | llvm-svn: 93554
* Provide instruction sizes & encoding. No opcodes yet (but not needed so far).Anton Korobeynikov2010-01-153-612/+839
| | | | llvm-svn: 93553
* Enable bit tests and setcc stuff.Anton Korobeynikov2010-01-152-20/+25
| | | | llvm-svn: 93552
* Add micro-optimization which allows us to fold imm into cmp. This allows us ↵Anton Korobeynikov2010-01-151-0/+32
| | | | | | to save 1 word (sometimes) and reduce register pressure. llvm-svn: 93551
* Add instruction formats & support stuffAnton Korobeynikov2010-01-151-10/+115
| | | | llvm-svn: 93550
* Add CXCursor.[h,cpp]. These files will centralize the logic for ↵Ted Kremenek2010-01-154-12/+63
| | | | | | creating/probing CXCursors. llvm-svn: 93547
* Fix a couple bugs in copy assignment operator synthesis.Eli Friedman2010-01-152-19/+25
| | | | llvm-svn: 93546
* Add USR generation for enums.Ted Kremenek2010-01-151-0/+11
| | | | llvm-svn: 93543
* Don't make changes to the MBB in MachineBasicBlock::canFallThrough().Jakob Stoklund Olesen2010-01-151-1/+1
| | | | | | | This fixes the regression for -pre-regalloc-taildup in MultiSource/Applications/lambda-0.1.3. llvm-svn: 93541
* Simplify logic. Any functional change is unintended.Jakob Stoklund Olesen2010-01-151-6/+2
| | | | llvm-svn: 93540
* unbreak the build, grr symlinks.Chris Lattner2010-01-151-1/+1
| | | | llvm-svn: 93539
* Add some debug routines to SelectionDAG to dump full DAGs.David Greene2010-01-153-1/+63
| | | | | | | | | | | print/dumpWithDepth allows one to dump a DAG up to N levels deep. dump/printWithFullDepth prints the whole DAG, subject to a depth limit on 100 in the default case (to prevent infinite recursion). Have CannotYetSelect to a dumpWithFullDepth so it is clearer exactly what the non-matching DAG looks like. llvm-svn: 93538
* Add -cursor-at=file:line:column command line option to c-index-test,Douglas Gregor2010-01-153-16/+88
| | | | | | | | to directly check the results of clang_getCursor(). Also, start migrating some index-test tests over to c-index test [*] and some grep-using tests over to FileCheck. llvm-svn: 93537
* fix a bug in range information for $42, eliminate an Chris Lattner2010-01-154-14/+10
| | | | | | unneeded argument from ParseExpression. llvm-svn: 93536
* add range information for mem X86Operand's, now allChris Lattner2010-01-151-7/+11
| | | | | | X86Operand's have range info. llvm-svn: 93535
* extend MCAsmParser::ParseExpression and ParseParenExpressionChris Lattner2010-01-155-42/+70
| | | | | | | to return range information for subexpressions. Use this to provide range info for several new X86Operands. llvm-svn: 93534
* Preserve type source information for C++ named casts through templateJohn McCall2010-01-153-23/+39
| | | | | | instantiation. llvm-svn: 93533
* give X86Operand a ctor and start passing SMLoc's into it.Chris Lattner2010-01-151-11/+13
| | | | llvm-svn: 93532
* Improve llvm.dbg.declare intrinsic by referring directly to the storage in ↵Victor Hernandez2010-01-1511-57/+63
| | | | | | | | | 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. It also strips old llvm.dbg.declare intrinsics that did not pass metadata as the first argument. llvm-svn: 93531
* Revert 93499. After discussion with Chris we agreedDale Johannesen2010-01-152-29/+0
| | | | | | | | | FrameIndexes should be lowered, but the same way as everything else (target dependent) rather than in a special hacked way. The lowering needs to be done for eventual purposes of Dwarf generation. llvm-svn: 93530
* Don't lose type source information when rebuilding C-style cast expressions.John McCall2010-01-153-13/+25
| | | | | | Also we don't need to recheck for altivec initializers, I think. llvm-svn: 93529
* add range location info for registers, change Chris Lattner2010-01-151-33/+42
| | | | | | | X86Operand::Create* implementations to avoid copy ctor use. llvm-svn: 93528
* Hook up llc's -filetype=obj to use MCStreamer if an MCCodeEmitter is available.Nate Begeman2010-01-1510-1556/+144
| | | | | | | | | Remove most of old Mach-O Writer support, it has been replaced by MCMachOStreamer Further refactoring to completely remove MachOWriter and drive the object file writer with the AsmPrinter MCInst/MCSection logic is forthcoming. llvm-svn: 93527
* clean up the memory management of the operands.Chris Lattner2010-01-151-53/+52
| | | | llvm-svn: 93526
* Preserve type source information in explicit cast expressions.John McCall2010-01-159-159/+157
| | | | | | Patch by Enea Zaffanella. llvm-svn: 93522
* refactor ParseRegister to avoid using X86Operand as a temporaryChris Lattner2010-01-151-15/+12
| | | | | | datastructure when parsing a mem operand. llvm-svn: 93521
* getLocationFromCursor: If a cursor is a reference and has a referringDecl, ↵Ted Kremenek2010-01-151-0/+4
| | | | | | using the referringDecl for the location. llvm-svn: 93520
* Do not do the block-specific rewrite when there is no block literals.Fariborz Jahanian2010-01-152-1/+9
| | | | | | Fixes radar 7546096. llvm-svn: 93519
* mention that unwind isn't to be trusted, patch by Dustin LaurenceChris Lattner2010-01-151-0/+6
| | | | llvm-svn: 93518
* Revert r93504 because older uses of llvm.dbg.declare intrinsics need to be ↵Victor Hernandez2010-01-159-49/+55
| | | | | | auto-upgraded llvm-svn: 93515
* 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
OpenPOWER on IntegriCloud