summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* add some disassemble testcases for weird instructionsChris Lattner2010-02-121-0/+14
| | | | llvm-svn: 96045
* Funnel changes to the ImportedDecls list in the ASTImporter through aDouglas Gregor2010-02-124-29/+44
| | | | | | | single Imported function, in preparation for fixing a serious design flaw. llvm-svn: 96044
* Reworked the Intel disassembler to support instructionsSean Callanan2010-02-121-17/+51
| | | | | | | | | | | | whose opcodes extend into the ModR/M field using the Form field of the instruction rather than by special casing each instruction. Commented out the special casing of VMCALL, which is the first instruction to use this special form. While I was in the neighborhood, added a few comments for people modifying the Intel disassembler. llvm-svn: 96043
* Fix bug I introduced with assinging a temporary to a StringRef.Ted Kremenek2010-02-122-3/+3
| | | | llvm-svn: 96041
* implement the rest of correct x86-64 encoder support for Chris Lattner2010-02-122-5/+39
| | | | | | rip-relative addresses, and add a testcase. llvm-svn: 96040
* Add the problem I just hacked around in 96015/96020.Dale Johannesen2010-02-121-0/+17
| | | | | | | The solution there produces correct code, but is seriously deficient in several ways. llvm-svn: 96039
* give MCCodeEmitters access to the current MCContext.Chris Lattner2010-02-126-16/+25
| | | | llvm-svn: 96038
* Make JIT::runFunction clean up the generated stub function.Jeffrey Yasskin2010-02-121-2/+6
| | | | | | Patch by Shivram K! llvm-svn: 96037
* implement infrastructure to support fixups for rip-rel Chris Lattner2010-02-122-13/+32
| | | | | | | addressing. This isn't complete because I need an MCContext to generate new MCExprs. llvm-svn: 96036
* Make the following functions thread-safe but having them return an ↵Ted Kremenek2010-02-124-33/+26
| | | | | | | | | | | | std::string that is reconstructed every time they are called: getClangRevision() getClangFullRepositoryVersion() getClangFullVersion() llvm-svn: 96033
* Add YIELD, WFE, WFI, and SEV instructions for disassembly only.Johnny Chen2010-02-122-5/+36
| | | | | | | Plus add two formats: MiscFrm and ThumbMiscFrm. Some of the for disassembly only instructions are changed from Pseudo Format to MiscFrm Format. llvm-svn: 96032
* pull the rip-relative addressing mode case up early.Chris Lattner2010-02-121-5/+12
| | | | llvm-svn: 96031
* fixme resolved!Chris Lattner2010-02-121-1/+0
| | | | llvm-svn: 96029
* start producing reloc_pcrel_4byte/reloc_pcrel_1byte for calls.Chris Lattner2010-02-121-23/+28
| | | | llvm-svn: 96028
* Fix a comment typo.Bob Wilson2010-02-121-1/+1
| | | | llvm-svn: 96027
* enhance the immediate field encoding to know whether the immediateChris Lattner2010-02-123-23/+59
| | | | | | is pc relative or not, mark call and branches as pcrel. llvm-svn: 96026
* Implement AST importing and merging for enumeration types andDouglas Gregor2010-02-125-21/+330
| | | | | | enumerators, along with ImplicitCastExprs to make it work. llvm-svn: 96024
* Load / store multiple instructions cannot load / store sp. Sorry, can't come ↵Evan Cheng2010-02-121-1/+2
| | | | | | up with a reasonable test case. llvm-svn: 96023
* This should have gone in with 26015, see comments there.Dale Johannesen2010-02-121-0/+12
| | | | llvm-svn: 96020
* Add halfword multiply accumulate long SMLALBB/BT/TB/TT for disassembly only.Johnny Chen2010-02-121-1/+33
| | | | llvm-svn: 96019
* doxygenize some comments, patch by Peter Collingbourne!Chris Lattner2010-02-123-53/+53
| | | | llvm-svn: 96018
* Complain if block-literal expression's parameter name isFariborz Jahanian2010-02-123-2/+16
| | | | | | missing (in c/objc mode). Fixes radar 7528255. llvm-svn: 96017
* When save/restoring CR at prolog/epilog, in a largeDale Johannesen2010-02-122-14/+60
| | | | | | | | | | | | | | | | | stack frame, the prolog/epilog code was using the same register for the copy of CR and the address of the save slot. Oops. This is fixed here for Darwin, sort of, by reserving R2 for this case. A better way would be to do the store before the decrement of SP, which is safe on Darwin due to the red zone. SVR4 probably has the same problem, but I don't know how to fix it; there is no red zone and R2 is already used for something else. I'm going to leave it to someone interested in that target. Better still would be to rewrite the CR-saving code completely; spilling each CR subregister individually is horrible code. llvm-svn: 96015
* (1) Correctly format external Javascript link.Ted Kremenek2010-02-1213-20/+41
| | | | | | (2) Reformat "annotations" topics list to use a collapsable tree. llvm-svn: 96013
* Don't error when setting a sub-structure variable via objc propertiesFariborz Jahanian2010-02-121-6/+1
| | | | | | in objective-c++ mode (do it for objective-c only). llvm-svn: 96012
* Add support for a union type in LLVM IR. Patch by Talin!Chris Lattner2010-02-1224-59/+612
| | | | llvm-svn: 96011
* Add SWP (Swap) and SWPB (Swap Byte) for disassembly only.Johnny Chen2010-02-121-0/+21
| | | | llvm-svn: 96010
* Also recognize armv6t2-* and armv5te-* triplets.Evan Cheng2010-02-121-5/+12
| | | | llvm-svn: 96008
* Fix a case of mismatched types in an Add that turned up in 447.dealII.Dan Gohman2010-02-121-0/+2
| | | | llvm-svn: 96007
* Add ARM bitcode file magic.Evan Cheng2010-02-121-3/+32
| | | | llvm-svn: 96006
* Reapply 95979, a compile-time speedup, now that the bug it exposed is fixed.Dan Gohman2010-02-121-1/+1
| | | | llvm-svn: 96005
* fix a bug in SourceManager::getInstantiationLocSlowCase, whereChris Lattner2010-02-122-3/+16
| | | | | | | | | | | we'd add an offset from the spelling location space to the instantiation location, which doesn't make sense and would lead up to the text diagnostics crashing when presented with non-sensical locations. This fixes rdar://7597492, a crash on 255.vortex. llvm-svn: 96004
* Patch to fix a warning which exposed a bug in buildingFariborz Jahanian2010-02-123-13/+69
| | | | | | | a qualified objective-c pointer type. Fixes radar 7638810. (Also removes a FIXME). llvm-svn: 96003
* Fix this code to avoid dereferencing an end() iterator inDan Gohman2010-02-121-1/+5
| | | | | | offset distributions it doesn't expect. llvm-svn: 96002
* Add CPS, MRS, MRSsys, MSR, MSRsys for disassembly only.Johnny Chen2010-02-121-0/+44
| | | | llvm-svn: 95999
* restructure code a bit: there are two potential issuesChris Lattner2010-02-121-11/+15
| | | | | | | | | | | | worth asserting about in this code: 1) if the source range is bogus (begin loc after end loc), and 2) if the client is trying to highlight a range that is purely whitespace. It is possible to just silently ignore #2, but it seems like it is always a bug, so lets keep asserting on this condition, but with a better assert message. llvm-svn: 95998
* Rewrite handling of DBG_VALUE; previous algorithmDale Johannesen2010-02-121-16/+24
| | | | | | | | | | | didn't handle X = Y<dead> = use X DBG_VALUE(X) I was hoping to avoid this approach as it's slower, but I don't think it can be done. llvm-svn: 95996
* 1. modernize the constantmerge pass, using densemap/smallvector.Chris Lattner2010-02-122-29/+46
| | | | | | | | | 2. don't bother trying to merge globals in non-default sections, doing so is quite dubious at best anyway. 3. fix a bug reported by Arnaud de Grandmaison where we'd try to merge two globals in different address spaces. llvm-svn: 95995
* Fix a refacto that broke the clang-on-clang build.Anders Carlsson2010-02-122-8/+21
| | | | llvm-svn: 95994
* rename testChris Lattner2010-02-121-0/+0
| | | | llvm-svn: 95993
* Fixes a rewriter bug rewriting function decl.Fariborz Jahanian2010-02-122-2/+30
| | | | | | | with block-pointer-type as one or more of its arguments. Fixes radar 7638400. llvm-svn: 95992
* Improve representation of tag declarations first declared or definedDouglas Gregor2010-02-124-11/+15
| | | | | | within the declarator of another declaration, from Enea Zaffanella! llvm-svn: 95991
* Start stubbing out more of the covariant thunk support.Anders Carlsson2010-02-121-10/+20
| | | | llvm-svn: 95990
* Improve documentation for DependentTypeOfExprType, DependentDecltypeType. No ↵Douglas Gregor2010-02-121-3/+11
| | | | | | functionality change. llvm-svn: 95989
* Revert "Reverse the order for collecting the parts of an addrec. The order", itDaniel Dunbar2010-02-121-1/+1
| | | | | | is breaking llvm-gcc bootstrap. llvm-svn: 95988
* Simplify incomplete-array merging code in the AST importer, thanks toDouglas Gregor2010-02-121-24/+14
| | | | | | Daniel's suggestion. llvm-svn: 95987
* Fix a latent bug found by Ahmed Charles, where we were callingDouglas Gregor2010-02-121-1/+1
| | | | | | ASTContext::getFunctionType with the wrong set of arguments. llvm-svn: 95986
* Keep track of whether a final overrider needs a return type adjustment.Anders Carlsson2010-02-121-5/+26
| | | | llvm-svn: 95985
* Move overrider out into a separate struct.Anders Carlsson2010-02-121-13/+25
| | | | llvm-svn: 95984
* Testcases for recent stdcall / fastcall mangling improvementsAnton Korobeynikov2010-02-122-0/+28
| | | | llvm-svn: 95982
OpenPOWER on IntegriCloud