summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement a __WCHAR_UNSIGNED__ macro and use it to include WCHAR_MIN andAlexis Hunt2011-07-192-0/+17
| | | | | | | WCHAR_MAX in limits.h, thus solving the problem where the system header thinks it knows better. llvm-svn: 135455
* Revert r135423.Devang Patel2011-07-194-148/+0
| | | | llvm-svn: 135454
* Document how to maintain a git-svn clone of the LLVM git repositories.Jeffrey Yasskin2011-07-191-1/+56
| | | | llvm-svn: 135453
* Micro-opt: Only emit compact unwind if there is a compact unwind encoding to ↵Bill Wendling2011-07-191-1/+1
| | | | | | emit. llvm-svn: 135452
* Use the CompactUnwindEncoding from the Frame, if it's defined.Bill Wendling2011-07-191-7/+2
| | | | llvm-svn: 135451
* Add a frame with the compact unwind encoding if it exists.Bill Wendling2011-07-191-0/+3
| | | | llvm-svn: 135450
* Add a method to set compact unwind encoding information in a frame.Bill Wendling2011-07-192-0/+7
| | | | llvm-svn: 135449
* Rename CompactEncoding to CompactUnwindEncoding.Bill Wendling2011-07-192-9/+9
| | | | llvm-svn: 135448
* Fixed a bug where the MC subtarget informationSean Callanan2011-07-191-0/+1
| | | | | | | wasn't being initialized by the enhanced disassembler, leading to assertion failures. llvm-svn: 135447
* Add a field for the compact unwind encoding.Bill Wendling2011-07-191-1/+2
| | | | llvm-svn: 135446
* Adjust two tests to account for a nasty change in copying behaviorAlexis Hunt2011-07-184-0/+18
| | | | | | | between C++03 and C++0x and its effect on exceptions, and another two to not test move construction when rvalue references are not available. llvm-svn: 135445
* Make all fstream tests use tmpnam if creating files, rather thanAlexis Hunt2011-07-1824-156/+205
| | | | | | hard-coded names. llvm-svn: 135444
* Move the compact encoding from the target-specific library to the code-genBill Wendling2011-07-182-3/+13
| | | | | | library. llvm-svn: 135443
* Revamp our handling of tLDMIA[_UPD] and tSTMIA[_UPD] to avoid having ↵Owen Anderson2011-07-184-17/+40
| | | | | | multiple instructions with the same encoding. This resolves another conflict when bringing up the new-style disassembler. llvm-svn: 135442
* Add SWIG Python interface files for SBLineEntry, SBListener, and SBModule.Johnny Chen2011-07-188-60/+316
| | | | llvm-svn: 135441
* Add .gitignore file.Eric Christopher2011-07-181-0/+25
| | | | llvm-svn: 135440
* Eliminate TargetAsmInfo::getCompactUnwindEncoding. This get rid of theEvan Cheng2011-07-182-11/+0
| | | | | | use of TargetFrameLowering in TargetAsmInfo. llvm-svn: 135439
* Move getInitialFrameState from TargetFrameInfo to MCAsmInfo (suggestions forEvan Cheng2011-07-1844-131/+111
| | | | | | better location welcome). llvm-svn: 135438
* Check column number also.Devang Patel2011-07-182-4/+6
| | | | llvm-svn: 135437
* Missed the interface file for SBFunction in the previous checkin.Johnny Chen2011-07-182-41/+81
| | | | llvm-svn: 135436
* Mark the Darwin assembler workout as isCodeGenOnly, so that it doesn't cause ↵Owen Anderson2011-07-181-1/+1
| | | | | | decoding conflicts in the new-style disassembler. llvm-svn: 135434
* Add SWIG Python interface files for SBDebugger, SBCompileUnit, and SBEvent.Johnny Chen2011-07-187-246/+534
| | | | llvm-svn: 135432
* Add APInt(numBits, ArrayRef<uint64_t> bigVal) constructor to prevent future ↵Jeffrey Yasskin2011-07-1812-36/+61
| | | | | | | | | ambiguity errors like the one corrected by r135261. Migrate all LLVM callers of the old constructor to the new one. llvm-svn: 135431
* Add SWIG Python interface files for SBAddress, SBBlock, SBBreakpoint, and ↵Johnny Chen2011-07-189-173/+428
| | | | | | SBBreakpointLocation. llvm-svn: 135430
* Removed a redundant dyn_cast. Thanks to FelipeSean Callanan2011-07-181-7/+5
| | | | | | Cabecinhas. llvm-svn: 135429
* www: Fix typoTobias Grosser2011-07-181-1/+1
| | | | | | Reported by: Chad Rosier <mcrosier@apple.com> llvm-svn: 135428
* FileCheck-ize a couple tests.Eli Friedman2011-07-182-4/+22
| | | | llvm-svn: 135427
* Compiler warning.Andrew Trick2011-07-181-3/+3
| | | | llvm-svn: 135426
* MCContext now takes MCRegisterInfo.Evan Cheng2011-07-181-1/+6
| | | | llvm-svn: 135425
* Sink getDwarfRegNum, getLLVMRegNum, getSEHRegNum from TargetRegisterInfo downEvan Cheng2011-07-1870-605/+646
| | | | | | | | | to MCRegisterInfo. Also initialize the mapping at construction time. This patch eliminate TargetRegisterInfo from TargetAsmInfo. It's another step towards fixing the layering violation. llvm-svn: 135424
* During bottom up fast-isel, instructions emitted to materalize registers are ↵Devang Patel2011-07-184-0/+148
| | | | | | | | at top of basic block and do not have debug location. This may misguide debugger while entering the basic block and sometimes debugger provides semi useful view of current location to developer by picking up previous known location as current location. Assign a sensible location to the first instruction in a basic block, if it does not have one location derived from source file, so that debugger can provide meaningful user experience to developers in edge cases. [take 2] llvm-svn: 135423
* Do a litmus test of using tmpnam to generate safe temporary file namesAlexis Hunt2011-07-181-4/+6
| | | | | | for the tests that open new data files. llvm-svn: 135422
* www: Mention new Polly Builder in NewsTobias Grosser2011-07-181-0/+3
| | | | llvm-svn: 135421
* indvars: LinearFunctionTestReplace for non-canonical IVs.Andrew Trick2011-07-183-51/+524
| | | | | | | | | | For -disable-iv-rewrite, perform LFTR without generating a new "canonical" induction variable. Instead find the "best" existing induction variable for use in the loop exit test and compute the final value of that IV for use in the new loop exit test. In short, convert to a simple eq/ne exit test as long as it's cheap to do so. llvm-svn: 135420
* Add SWIG Python interface files for SBProcess, SBThread, and SBFrame.Johnny Chen2011-07-1810-194/+591
| | | | llvm-svn: 135419
* Do not treat atomic.load.sub differently than other atomic binary intrinsics.Akira Hatanaka2011-07-182-15/+4
| | | | llvm-svn: 135418
* Fix header documentations.Johnny Chen2011-07-182-2/+2
| | | | llvm-svn: 135417
* Add two new interface files SBValue.i and SBValueList.i, instead of directly ↵Johnny Chen2011-07-185-119/+366
| | | | | | swigging the header files. llvm-svn: 135416
* Set mayLoad or mayStore flags for SC and LL in order to prevent LICM from Akira Hatanaka2011-07-184-109/+41
| | | | | | | | moving them out of the loop. Previously, stores and loads to a stack frame object were inserted to accomplish this. Remove the code that was needed to do this. Patch by Sasa Stankovic. llvm-svn: 135415
* Re-apply r135319 with a fix for the constant island pass.Owen Anderson2011-07-184-55/+30
| | | | | | Original Log: Get rid of the separate opcodes for the Darwin versions of tBL, tBLXi, and tBLXr, using pseudo-instructions to lower to the single final opcode. Update the ARM disassembler for this change. llvm-svn: 135414
* Fix a crash when building 177.mesa for armv6.Jakob Stoklund Olesen2011-07-182-1/+33
| | | | | | | | | | | | When splitting a live range immediately before an LDR_POST instruction that redefines the address register, make sure to use the correct value number in leaveIntvBefore. We need the value number entering the instruction. <rdar://problem/9793765> llvm-svn: 135413
* indvars: Added verification that LFTR and other indvars goodness doesAndrew Trick2011-07-181-1/+20
| | | | | | not interfere with BackedgeTakenCount computation. llvm-svn: 135412
* Given that __underlying_type is now available in clang, implementAlexis Hunt2011-07-184-2/+40
| | | | | | std::underlying_type. llvm-svn: 135410
* indvars: Added isHighCostExpansion. Avoid generating extra ops in theAndrew Trick2011-07-181-17/+51
| | | | | | | preheader for the sole purpose of LFTR, since LFTR itself is usually not a clear optimization. llvm-svn: 135409
* Be more smart with VCVTSS2SD. Also place the patterns close to theBruno Cardoso Lopes2011-07-181-20/+10
| | | | | | definitions. llvm-svn: 135407
* Cleaned up the interface file for SBTarget.Johnny Chen2011-07-181-50/+0
| | | | llvm-svn: 135405
* Add AVX 128-bit sqrt versionsBruno Cardoso Lopes2011-07-182-0/+29
| | | | llvm-svn: 135404
* Change destination register operands of SC instructions so that uniqueAkira Hatanaka2011-07-181-8/+13
| | | | | | virtual registers are used. llvm-svn: 135403
* Thanks to Chandler for reminding me to update the documentation for theAlexis Hunt2011-07-181-0/+1
| | | | | | __underlying_type feature. llvm-svn: 135402
* Remember to add a has_feature macro for __underlying_type now that it isAlexis Hunt2011-07-182-0/+6
| | | | | | correctly impelmented llvm-svn: 135401
OpenPOWER on IntegriCloud