summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Generate DBG_VALUE from dbg.value intrinsics. These currentlyDale Johannesen2010-02-181-0/+31
| | | | | | comes out as comments but will eventually generate DWARF. llvm-svn: 96601
* Remap the call sites of a shared function in interrupt line functions.Sanjiv Gupta2010-02-182-0/+27
| | | | llvm-svn: 96591
* Re-factoring.Sanjiv Gupta2010-02-182-67/+90
| | | | llvm-svn: 96589
* Uniformize the way these options are printed. Requested byDuncan Sands2010-02-182-2/+2
| | | | | | Russell Wallace. llvm-svn: 96580
* Remove terminating dot in description. Inconsistency pointedDuncan Sands2010-02-181-1/+1
| | | | | | out by Russell Wallace. llvm-svn: 96579
* Refer to -help instead of --help since this is what tools themselves say.Duncan Sands2010-02-181-7/+7
| | | | | | | | Also, have tools output -help-hidden rather than refer to --help-hidden, for consistency, and likewise adjust documentation. This doesn't change every mention of --help, only those which seemed clearly safe. llvm-svn: 96578
* add a missing type cast.Chris Lattner2010-02-181-1/+1
| | | | llvm-svn: 96574
* Use NEON vmin/vmax instructions for floating-point selects.Bob Wilson2010-02-183-9/+109
| | | | | | Radar 7461718. llvm-svn: 96572
* Added LDRSBT, LDRHT, LDRSHT for disassembly only. And fixed encoding errorsJohnny Chen2010-02-182-6/+24
| | | | | | of AI3ldsbpo, AI3ldhpo, and AI3ldshpo in ARMInstrFormats.td in the process. llvm-svn: 96565
* Some dag combiner goodness:Evan Cheng2010-02-183-22/+102
| | | | | | | | Transform br (xor (x, y)) -> br (x != y) Transform br (xor (xor (x,y), 1)) -> br (x == y) Also normalize (and (X, 1) == / != 1 -> (and (X, 1)) != / == 0 to match to "test on x86" and "tst on arm" llvm-svn: 96556
* Added for disassembly only the variants of DMB, DSB, and ISB.Johnny Chen2010-02-181-0/+60
| | | | llvm-svn: 96540
* MC/Mach-O: Update fixup values for change to X86 offsets.Daniel Dunbar2010-02-171-6/+4
| | | | llvm-svn: 96532
* Remove the NEON N2VSInt instruction class: it's only used in one place andBob Wilson2010-02-171-10/+4
| | | | | | | since it has no pattern, there's not much point in distinguishing an "N2VS" class for intrinsics anyway. llvm-svn: 96525
* Added CLREX (Clear-Exclusive) for disassembly only.Johnny Chen2010-02-171-0/+8
| | | | | | A8.6.30 llvm-svn: 96523
* More cleanup for NEON:Bob Wilson2010-02-171-101/+90
| | | | | | | | | | | | * Use "S" abbreviation for scalar single FP registers in class and pattern names, instead of keeping the "D" (for "double") abbreviation and tacking on an "s" elsewhere in the name. * Move the scalar single FP register classes and patterns to be more consistent with other definitions in the file. * Rename "VNEGf32d" definition to "VNEGfd" for consistency. * Deleted the N2VDIntsPat pattern; N2VSPat is good enough. llvm-svn: 96521
* Added RFE for disassembly only.Johnny Chen2010-02-171-1/+16
| | | | | | | B6.1.8 RFE Return From Exception loads the PC and the CPSR from the word at the specified address and the following word respectively. llvm-svn: 96519
* Make the non-temporal bit "significant" in MemSDNodes so they aren'tDavid Greene2010-02-171-8/+17
| | | | | | CSE'd or otherwise combined with temporal MemSDNodes. llvm-svn: 96505
* Remember to define super registers in mips calls.Jakob Stoklund Olesen2010-02-171-3/+2
| | | | llvm-svn: 96504
* Add Regex::sub, for doing regular expression substitution with backreferences.Daniel Dunbar2010-02-171-0/+76
| | | | llvm-svn: 96503
* Dead code elimination.Jakob Stoklund Olesen2010-02-172-38/+0
| | | | llvm-svn: 96496
* "Fix and issue in SparcAsmPrinter where multiple identical .LLGETPCHn ↵Chris Lattner2010-02-171-5/+6
| | | | | | symbols could be emitted in the same file (it was uniqued by block number, but not by function number). " Patch by Nathan Keynes! llvm-svn: 96495
* move isOnlyReachableByFallthrough out of MachineBasicBlock into AsmPrinter,Chris Lattner2010-02-173-31/+69
| | | | | | | and add a sparc implementation that knows about delay slots. Patch by Nathan Keynes! llvm-svn: 96492
* add a note, from PR5100Chris Lattner2010-02-171-0/+2
| | | | llvm-svn: 96490
* Added routine to clone the body of a function and maintain a map of alreadySanjiv Gupta2010-02-172-0/+45
| | | | | | cloned functions. llvm-svn: 96485
* Pacify gcc-4.5, which warns (correctly) that these switches haveDuncan Sands2010-02-171-2/+2
| | | | | | cases that are not part of the enum. llvm-svn: 96477
* Added a function to clone locals of a function.( which for pic16 are globalsSanjiv Gupta2010-02-172-1/+47
| | | | | | with mangled names). llvm-svn: 96465
* Removed header files from .h by adding forward decls.Sanjiv Gupta2010-02-172-22/+27
| | | | | | | Renamed PIC16FrameOverlay namespace to PIC16OVERLAY. Renamed PIC16FrameOverlay class to PIC16Overlay. llvm-svn: 96463
* Added BFI for disassembly only.Johnny Chen2010-02-171-0/+11
| | | | | | A8.6.18 BFI - Bitfield insert (Encoding A1) llvm-svn: 96462
* sink special case "cannotyetselect" for intrinsics out of the Chris Lattner2010-02-171-0/+5
| | | | | | tblgen splatted code into the implementation. llvm-svn: 96460
* rename and document some arguments so I don't have to keepChris Lattner2010-02-171-11/+18
| | | | | | reverse engineering what they are. llvm-svn: 96456
* Use pointer-wide encoding for LSDA and FDE on Darwin.Anton Korobeynikov2010-02-171-4/+4
| | | | | | Hopefully, this will fix the remaining issues seen there. llvm-svn: 96454
* Removed an early out which was causing the PBQP allocator to not compute ↵Lang Hames2010-02-171-4/+0
| | | | | | live-in sets or run the rewriter. llvm-svn: 96450
* Fix SCEVExpander's existing PHI reuse checking to recognize theDan Gohman2010-02-171-0/+13
| | | | | | | | case where there are loop-invariant instructions somehow left inside the loop, and in a position where they won't dominate the IV increment position. llvm-svn: 96448
* Before setting scope end marker, pay attention to scope begin marker and ↵Devang Patel2010-02-171-1/+12
| | | | | | existing scope end marker, if any. Scope must begin before it ends and nested inlined scope do not truncate surrounding scope. llvm-svn: 96445
* daniel remembered why this was needed.Chris Lattner2010-02-171-1/+4
| | | | llvm-svn: 96440
* add a comment explaining why darwin/i386 uses ## as a comment.Chris Lattner2010-02-171-0/+2
| | | | | | | It's not clear why this is really required, but it was explicitly added in r48808 with no real explanation or rdar #. llvm-svn: 96438
* Initial implementation of PIC16 Cloner pass.Sanjiv Gupta2010-02-172-0/+254
| | | | | | | | | | | | | This pass is supposed to be run on the linked .bc module. It traveses the module call graph twice. Once starting from the main function and marking each reached function as "ML". Again, starting from the ISR and cloning any reachable function that was marked as "ML". After cloning the function, it remaps all the call sites in IL functions to call the cloned functions. Currently only marking is being done. llvm-svn: 96435
* Fold bswap(undef) to undef.Dan Gohman2010-02-171-0/+6
| | | | llvm-svn: 96432
* Delete some unneeded casts.Dan Gohman2010-02-171-2/+2
| | | | llvm-svn: 96429
* Don't attempt to divide INT_MIN by -1; consider such cases toDan Gohman2010-02-171-0/+4
| | | | | | have overflowed. llvm-svn: 96428
* Make the operand and format specifier match, and print allDan Gohman2010-02-171-1/+1
| | | | | | 64 bits, fixing a variety of problems. llvm-svn: 96421
* Wrap lines to 80 columns and generally try to clean up whitespace andBob Wilson2010-02-171-312/+216
| | | | | | indentation. No functional changes. llvm-svn: 96418
* Make error statement more personal.Bill Wendling2010-02-161-1/+1
| | | | llvm-svn: 96410
* fix rdar://7653908, a crash on a case where we would fold a loadChris Lattner2010-02-161-9/+10
| | | | | | | | | | into a roundss intrinsic, producing a cyclic dag. The root cause of this is badness handling ComplexPattern nodes in the old dagisel that I noticed through inspection. Eliminate a copy of the of the code that handled ComplexPatterns by making EmitChildMatchCode call into EmitMatchCode. llvm-svn: 96408
* Handle tGPR register class in a few more places. This fixes some llvm-gccBob Wilson2010-02-161-0/+10
| | | | | | build failures due to my fix for pr6111. llvm-svn: 96402
* Add SMC (Secure Monitor Call) system instruction for disassembly only.Johnny Chen2010-02-161-2/+9
| | | | llvm-svn: 96401
* Really reserve R2 on PPC Darwin. PR 6314.Dale Johannesen2010-02-161-8/+4
| | | | llvm-svn: 96399
* Use line and column number to distinguish two lexical blocks at the same level.Devang Patel2010-02-161-3/+6
| | | | llvm-svn: 96395
* 80 column cleanupJim Grosbach2010-02-163-21/+24
| | | | llvm-svn: 96393
* Look for SSE and instructions of this form: (and x, (build_vector c1,c2,c3,c4)).Evan Cheng2010-02-161-1/+50
| | | | | | | | | | | | | If there exists a use of a build_vector that's the bitwise complement of the mask, then transform the node to (and (xor x, (build_vector -1,-1,-1,-1)), (build_vector ~c1,~c2,~c3,~c4)). Since this transformation is only useful when 1) the given build_vector will become a load from constpool, and 2) (and (xor x -1), y) matches to a single instruction, I decided this is appropriate as a x86 specific transformation. rdar://7323335 llvm-svn: 96389
OpenPOWER on IntegriCloud