summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* CursorVisitor: Migrate BlockExpr, CXXTemporaryOBjectExpr, and ObjCEncodeExpr ↵Ted Kremenek2010-11-131-21/+19
| | | | | | to data-recursive algorithm. llvm-svn: 118964
* Continue ARM indexed load refactoring. Multiclass for LDR{B} pre/post indexedJim Grosbach2010-11-131-18/+12
| | | | | | instructions. llvm-svn: 118963
* Fix the encoding of negative line deltas.Rafael Espindola2010-11-132-1/+33
| | | | llvm-svn: 118962
* CursorVisitor: Migrate DeclRefExpr over to data-recursion algorithm.Ted Kremenek2010-11-131-25/+28
| | | | llvm-svn: 118961
* CursorVisitor: migrate GotoStmt to data-recursive algorithm.Ted Kremenek2010-11-131-5/+9
| | | | llvm-svn: 118960
* Fix some more 80-col violas.Daniel Dunbar2010-11-131-4/+11
| | | | llvm-svn: 118959
* Fix 80-col violation / non-sensicalness.Daniel Dunbar2010-11-131-3/+3
| | | | llvm-svn: 118958
* CursorVisitor: migrate DeclStmt over to data-recursive algorithm.Ted Kremenek2010-11-131-47/+62
| | | | llvm-svn: 118957
* CursorVisitor: Convert logic for populating data-recursion worklist from a ↵Ted Kremenek2010-11-131-119/+107
| | | | | | switch statement to a StmtVisitor. No functionality change. llvm-svn: 118956
* More ARM load/store indexed refactoring. Also fix an incorrect IndexModeJim Grosbach2010-11-132-75/+54
| | | | | | flag for the LDRT/STRT family instructions as a side effect. llvm-svn: 118955
* Revert r118917, which is implicated in the llvm-gcc-i386-linux-selfhost failure.Dan Gohman2010-11-131-5/+5
| | | | llvm-svn: 118954
* Update CMake.Daniel Dunbar2010-11-131-1/+1
| | | | llvm-svn: 118953
* lli: Switch to using ParseIRFile, for consistency with other LLVM tools.Daniel Dunbar2010-11-1343-89/+49
| | | | | | - Also, switch tests to not using llvm-as. They run 20% faster now, not that it matters. llvm-svn: 118952
* Fix an obvious typo which inverted an immediate.Evan Cheng2010-11-132-5/+18
| | | | llvm-svn: 118951
* This should be still failing, but is. Disable it with theEric Christopher2010-11-131-2/+2
| | | | | | forget-me-stick for now. llvm-svn: 118950
* 1. Adding missing immediate mode asm parser test cases.Wesley Peck2010-11-132-2/+57
| | | | | | 2. Fixing improper immediate mode reverse subtract. llvm-svn: 118948
* Use dyn_cast result instead of re-casting. Fixes -Werror build with:Nick Lewycky2010-11-121-1/+1
| | | | | | /llvm/tools/clang/tools/libclang/CIndex.cpp:1823: error: unused variable 'E' [-Wunused-variable] llvm-svn: 118947
* Temporarily revert this.Eric Christopher2010-11-121-5/+4
| | | | llvm-svn: 118946
* For pre-v6t2 targets, only select MOVi32imm if the immediate can be handled ↵Evan Cheng2010-11-123-15/+11
| | | | | | with movi + orr. llvm-svn: 118945
* Implement C++ [over.match.funcs]p4 as it concerns partial ordering ofDouglas Gregor2010-11-122-4/+56
| | | | | | function templates. Fixes PR8130. llvm-svn: 118944
* Fixing improperly encoded reverse subtract instructions in MBlaze backend.Wesley Peck2010-11-123-17/+16
| | | | llvm-svn: 118943
* Revert r118939 while I work out why it broke some buildbots.Owen Anderson2010-11-121-65/+52
| | | | llvm-svn: 118942
* 1. Finishing MBlaze MC asm parser test casesWesley Peck2010-11-1220-200/+1122
| | | | | | | | | | 2. Parsing .word directive in MBlaze asm parser 3. Fixing hack where memory instructions reversed order of last two parameters 4. Fixing many improperly encoded instructions 5. Support parsing special instructions (MFS,MTS,etc.) 6. Removing unused functions from inst printer llvm-svn: 118941
* Remove DW_AT_start_scope support. It is incomplete and superseeded by ↵Devang Patel2010-11-122-40/+9
| | | | | | location entries support. llvm-svn: 118940
* Attemt to provide correct encodings for Thumb2 binary operators.Owen Anderson2010-11-121-52/+65
| | | | llvm-svn: 118939
* Eliminate ARM::MOVi2pieces. Just use MOVi32imm and expand it to either ↵Evan Cheng2010-11-125-72/+34
| | | | | | movi+orr or movw+movt depending on the subtarget. llvm-svn: 118938
* Make this happen for ARM like x86. Don't entirely bail out whenEric Christopher2010-11-121-4/+5
| | | | | | | an address is in a different block, get it into a register and go from there. llvm-svn: 118936
* Add conditional mvn instructions.Evan Cheng2010-11-124-19/+120
| | | | llvm-svn: 118935
* CursorVisitor: Pull ObjCMessageExpr and explicit casts into data-recursion ↵Ted Kremenek2010-11-121-13/+18
| | | | | | algorithm. llvm-svn: 118934
* CursorVisitor: migrate ObjCMessageExpr over to data-recursion algorithm.Ted Kremenek2010-11-121-9/+6
| | | | llvm-svn: 118933
* Implement TODO's of using expression command to set vaiables and to verify thatJohnny Chen2010-11-121-5/+15
| | | | | | they are displayed correctly. llvm-svn: 118930
* CursorVisitor: migrate UnresolvedMemberExpr and UnresolvedLookupExpr over to ↵Ted Kremenek2010-11-121-40/+45
| | | | | | data-recursion algorithm. llvm-svn: 118929
* CursorVisitor: migrate CompoundLiteralExpr over to data-recursion algorithm.Ted Kremenek2010-11-121-14/+43
| | | | llvm-svn: 118928
* CursorVisitor: add data-recursion support for InitListExprs.Ted Kremenek2010-11-121-23/+27
| | | | llvm-svn: 118927
* Zap a copy/paste-o bit of dead code.Jim Grosbach2010-11-121-2/+0
| | | | llvm-svn: 118926
* Refactor to parameterize some ARM load/store encoding patterns. PreparatoryJim Grosbach2010-11-122-86/+24
| | | | | | | to splitting the load/store pre/post indexed instructions into [r, r] and [r, imm] forms. llvm-svn: 118925
* First stab at providing correct Thumb2 encodings, start with adc.Owen Anderson2010-11-124-19/+136
| | | | llvm-svn: 118924
* Have GVN simplify instructions as it goes. For example, considerDuncan Sands2010-11-121-18/+20
| | | | | | | | | | | | | | | "%z = %x and %y". If GVN can prove that %y equals %x, then it turns this into "%z = %x and %x". With the new code, %z will be replaced with %x everywhere (and then deleted). Previously %z would be value numbered too, which is a waste of time. Also, while a clever value numbering algorithm would give %z the same value number as %x, our current one doesn't do so (at least I don't think it does). The new logic has an essentially equivalent effect to what you would get if %z was given the same value number as %x, i.e. it should make value numbering smarter. While there, get hold of target data once at the start rather than a gazillion times all over the place. llvm-svn: 118923
* Add some missing isel predicates on def : pat patterns to avoid generating ↵Evan Cheng2010-11-128-117/+208
| | | | | | VFP vmla / vmls (they cause stalls). Disabling them in isel is properly not a right solution, I'll look into a proper solution next. llvm-svn: 118922
* Kill more unused stuff.Jim Grosbach2010-11-121-43/+0
| | | | llvm-svn: 118921
* MCELF: Copy the symbol name only if we're going to modify it.Benjamin Kramer2010-11-121-9/+8
| | | | llvm-svn: 118920
* Remove unused class.Jim Grosbach2010-11-121-8/+0
| | | | llvm-svn: 118919
* Add --enable-docs. Patch by NAKAMURA Takumi.Rafael Espindola2010-11-124-4/+45
| | | | llvm-svn: 118918
* When the definition of an address value is in a different blockDan Gohman2010-11-121-5/+5
| | | | | | | | from the user of the address, fall back to just using the address in a register instead of bailing out of fast-isel altogether. llvm-svn: 118917
* accept lret as an alias for lretl, fixing the reopened part of PR8592Chris Lattner2010-11-123-3/+7
| | | | llvm-svn: 118916
* Reduce string thrashing.Benjamin Kramer2010-11-121-12/+17
| | | | llvm-svn: 118915
* Remove what looks like dead code in the production of debug lines.Rafael Espindola2010-11-121-45/+2
| | | | | | | | | We only produce debug line information if we have seen a line directive, so this code is dead. Also, if we want to be bug by bug compatible with gas and sometimes produce "empty" .debug_line sections, this will match the content produced by gas. llvm-svn: 118914
* typo (4th checkin for one fix)Andrew Trick2010-11-121-1/+1
| | | | llvm-svn: 118913
* CursorVisitor: migrate 'DoStmt', 'ForStmt', and 'WhileStmt' over to ↵Ted Kremenek2010-11-121-34/+22
| | | | | | data-recursion algorithm. llvm-svn: 118912
* CursorVisitor: use 'WLAddStmt' and 'WLAddDecl' for adding to data-recursion ↵Ted Kremenek2010-11-121-20/+13
| | | | | | worklist. llvm-svn: 118911
OpenPOWER on IntegriCloud