summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Reapply r128045 and r128051 with fixes.Jakob Stoklund Olesen2011-03-224-57/+94
| | | | | | | | | | | | | | | | This will extend the ranges of debug info variables in registers until they are clobbered. Fix 1: Don't mistake DBG_VALUE instructions referring to incoming arguments on the stack with DBG_VALUE instructions referring to variables in the frame pointer. This fixes the gdb test-suite failure. Fix 2: Don't trace through copies to physical registers setting up call arguments. These registers are call clobbered, and the source register is more likely to be a callee-saved register that can be extended through the call instruction. llvm-svn: 128114
* LDRT and LDRBT was incorrectly tagged as IndexModeNone during the ↵Johnny Chen2011-03-222-2/+5
| | | | | | | | | | refactorings (r119821). We now tag them as IndexModePost. This fixed http://llvm.org/bugs/show_bug.cgi?id=9530. llvm-svn: 128113
* Try to appease buildbot gods.Devang Patel2011-03-221-1/+1
| | | | llvm-svn: 128112
* Add a lto_codegen_compile_to_file to avoid producing a file, reading it toRafael Espindola2011-03-226-73/+70
| | | | | | memory and writing it back to disk. llvm-svn: 128108
* A bit more analysis of a memset-related README entry.Eli Friedman2011-03-221-4/+5
| | | | llvm-svn: 128107
* Add one more test case for VFP Load/Store Multiple (vpop).Johnny Chen2011-03-221-0/+3
| | | | llvm-svn: 128106
* A8.6.399 VSTM:Johnny Chen2011-03-222-12/+5
| | | | | | | | | | | VFP Load/Store Multiple Instructions used to embed the IA/DB addressing mode within the MC instruction; that has been changed so that now, for example, VSTMDDB_UPD and VSTMDIA_UPD are two instructions. Update the ARMDisassemblerCore.cpp's DisassembleVFPLdStMulFrm() to reflect the change. Also add a test case. llvm-svn: 128103
* Migrate the fix in r128041 to ARM's fastisel support as well.Eric Christopher2011-03-221-13/+18
| | | | | | Fixes rdar://9169640 llvm-svn: 128100
* We don't need a null terminator for the output file.Rafael Espindola2011-03-223-7/+16
| | | | llvm-svn: 128098
* Revert r128045 and r128051, debug info enhancements.Andrew Trick2011-03-224-83/+53
| | | | | | Temporarily reverting these to see if we can get llvm-objdump to link. Hopefully this is not the problem. llvm-svn: 128097
* Tidy up.Jim Grosbach2011-03-221-2/+1
| | | | llvm-svn: 128096
* Add missing file from previous commit.Jim Grosbach2011-03-221-0/+161
| | | | llvm-svn: 128095
* Propogate the error message, not just the error state.Jim Grosbach2011-03-223-2/+9
| | | | llvm-svn: 128094
* Add simple arg passing to MC-JIT and support for exit() call.Jim Grosbach2011-03-223-4/+115
| | | | | | | | | | | | | Support argument passing simple, common, prototypes directly. More complicated scenarios will require building up a stub function, which the MC-JIT isn't set up to handle yet. Add Intercept.cpp, which is just a copy from ExecutionEngine/JIT for now, to handle looking looking up external symbol names. This probably more properly belongs as part of RuntimeDyld. It'll migrate there as things flesh out more fully. llvm-svn: 128090
* Trailing whitespace.Jim Grosbach2011-03-225-46/+46
| | | | llvm-svn: 128086
* Change MRC and MRC2 instructions to model the output register properlyBruno Cardoso Lopes2011-03-223-24/+37
| | | | llvm-svn: 128085
* ptx: add analyze/insert/remove branchChe-Liang Chiou2011-03-224-3/+173
| | | | llvm-svn: 128084
* Fix comment in header.Eric Christopher2011-03-221-1/+1
| | | | llvm-svn: 128077
* Properly initialize all fields in CrashReporterCleanupContext. This caused ↵Ted Kremenek2011-03-222-3/+2
| | | | | | the buildbot failure earlier. llvm-svn: 128071
* Updated library dependencies.Oscar Fuentes2011-03-222-2/+2
| | | | | | | | Now we can remove RuntimeDyld from the LLVM_LINK_COMPONENTS of tools/lli. CMakeLists.txt LLVM_LINK_COMPONENTS shall not differ from its companion Makefile LINK_COMPONENTS. llvm-svn: 128069
* Handle another case that Frits suggested.Anders Carlsson2011-03-221-2/+4
| | | | llvm-svn: 128068
* Update link components.Jim Grosbach2011-03-221-1/+1
| | | | | | | Also perform the required dark rituals and sacrifices to placate the buildbot spirits. We shall see if they are appeased... llvm-svn: 128067
* Temporarily stop recovering resources in CrashRecoveryContext while I ↵Ted Kremenek2011-03-221-1/+1
| | | | | | investigate further why this works on my machine and not on others. llvm-svn: 128065
* Rework CrashRecoveryContextCleanup to provide a simpler way to create ↵Ted Kremenek2011-03-221-52/+60
| | | | | | | | cleanup objects, and provide a new cleanup for decrementing reference counts of objects with intrusive reference counts. llvm-svn: 128055
* Relax access control on 'Release' method of RefCountedBase.Ted Kremenek2011-03-221-3/+1
| | | | llvm-svn: 128054
* Hook up the MCJIT to the RuntimeDyld library.Jim Grosbach2011-03-223-3/+22
| | | | | | | | Lots of cleanup to make the interfaces prettier, use the JITMemoryManager, handle multiple functions and modules, etc.. This gets far enough that the MCJIT compiles and runs code, though. llvm-svn: 128052
* Clear map after use.Jakob Stoklund Olesen2011-03-221-0/+1
| | | | | | This is likely to fix the segfault in llvm-gcc-x86_64-darwin10-cross-mingw32. llvm-svn: 128051
* Initialize HasError.Jim Grosbach2011-03-221-0/+2
| | | | llvm-svn: 128049
* Avoid -Wunused-variable in -asserts buildsMatt Beaumont-Gay2011-03-221-6/+4
| | | | llvm-svn: 128048
* Dont emit 'DBG_VALUE %noreg, ...' to terminate user variable ranges.Jakob Stoklund Olesen2011-03-224-53/+82
| | | | | | | | | | These ranges get completely jumbled by the post-ra scheduler, and it is not really reasonable to expect it to make sense of them. Instead, teach DwarfDebug to notice when user variables in registers are clobbered, and terminate the ranges there. llvm-svn: 128045
* Fix fast-isel address mode folding to avoid folding instructionsDan Gohman2011-03-222-16/+41
| | | | | | outside of the current basic block. This fixes PR9500, rdar://9156159. llvm-svn: 128041
* Add support for Thumb interworking addresses for symbol offsets that get ↵Owen Anderson2011-03-211-0/+5
| | | | | | | | constant folded very early. This fixes SPASS with -integrated-as. <rdar://problem/9165399> llvm-svn: 128037
* Try again to make this test darwin only.Devang Patel2011-03-211-1/+2
| | | | llvm-svn: 128036
* Build the new RuntimeDyld library.Oscar Fuentes2011-03-213-1/+3
| | | | llvm-svn: 128035
* Removed workaround for unspecified build problem on MinGW.Oscar Fuentes2011-03-212-14/+3
| | | | | | Tested that MinGW/MSYS builds fine without that. llvm-svn: 128033
* Library-ize the dyld components of llvm-rtdyld.Jim Grosbach2011-03-217-228/+402
| | | | | | | | | Move the dynamic linking functionality of the llvm-rtdyld program into an ExecutionEngine support library. Update llvm-rtdyld to just load an object file into memory, use the library to process it, then run the _main() function, if one is found. llvm-svn: 128031
* Simplify.Devang Patel2011-03-211-5/+4
| | | | llvm-svn: 128030
* Fix INT_MIN gotcha pointed out by Eli Friedman.Nick Lewycky2011-03-211-3/+4
| | | | llvm-svn: 128028
* Force x86_64.Devang Patel2011-03-211-1/+1
| | | | llvm-svn: 128027
* Call static functions so that they aren't left unused.Bill Wendling2011-03-211-2/+4
| | | | llvm-svn: 128020
* Enable this test only for Darwin.Devang Patel2011-03-211-1/+1
| | | | llvm-svn: 128017
* Provide a means for CrashRecovery clients to determine if code is currently ↵Ted Kremenek2011-03-212-0/+13
| | | | | | running while crash recovery cleanups are being processed. llvm-svn: 128008
* Allow a client to clear an IntrustiveRefCntPtr (deliberately leaking the ↵Ted Kremenek2011-03-211-0/+4
| | | | | | referenced object). llvm-svn: 128007
* Fix unused param warning.Eric Christopher2011-03-211-1/+1
| | | | llvm-svn: 128005
* Grammar-o.Eric Christopher2011-03-211-1/+1
| | | | llvm-svn: 128004
* Fix typos in assert messages.Jay Foad2011-03-211-2/+2
| | | | llvm-svn: 128002
* More cleanups to the OptimizeEmptyGlobalCXXDtors GlobalOpt function.Anders Carlsson2011-03-211-15/+9
| | | | llvm-svn: 127997
* A WIP commit of the InstAlias printing cleanup. This code will soon replace theBill Wendling2011-03-211-19/+121
| | | | | | | code below it. Even though it looks very similar, it will match more precisely and geneate better functions in the long run. llvm-svn: 127991
* Add the IAPrinter class.Bill Wendling2011-03-211-0/+97
| | | | | | | This is a helper class that will make it easier to say which InstAliases can be printed and which cannot (because of ambiguity). llvm-svn: 127990
* * Add classes that support the "feature" information.Bill Wendling2011-03-212-5/+120
| | | | | | * Move the code that emits the reg in reg class matching into its own function. llvm-svn: 127988
OpenPOWER on IntegriCloud