summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix TableGen warnings. This partly reverts my previous change to this file,Bob Wilson2009-08-121-14/+18
| | | | | | | leaving the mayLoad and mayStore settings around only the load/store instructions where those can't be inferred from the patterns. llvm-svn: 78815
* Fix a missing newline (now that Value*'s operator<< doesn't append one).Dan Gohman2009-08-121-1/+1
| | | | llvm-svn: 78814
* change CBE to just get TAI now, instead of TM to get TAI.Chris Lattner2009-08-121-7/+2
| | | | llvm-svn: 78813
* Transform -X/C to X/-C, implementing a README.txt entry.Dan Gohman2009-08-122-10/+8
| | | | llvm-svn: 78812
* Optimize (x/C)*C to x if the division is exact.Dan Gohman2009-08-121-1/+10
| | | | llvm-svn: 78811
* Update instcombine's debug output to account for Value*'s operator<<Dan Gohman2009-08-121-10/+10
| | | | | | not appending its own newline. llvm-svn: 78810
* Remove a bunch more now-unnecessary Context arguments.Dan Gohman2009-08-126-166/+149
| | | | llvm-svn: 78809
* Eliminate a bunch of now unnecessary explicit Context variables.Dan Gohman2009-08-121-97/+94
| | | | llvm-svn: 78808
* CMake: Added asm file to x86_64 MSVC build.Oscar Fuentes2009-08-121-1/+8
| | | | llvm-svn: 78807
* register naming cleanup (s/ip/r12/)Jim Grosbach2009-08-122-5/+5
| | | | llvm-svn: 78806
* Change TargetAsmInfo to be constructed via TargetRegistry from a Target+TripleChris Lattner2009-08-1248-144/+128
| | | | | | | | pair instead of from a virtual method on TargetMachine. This cuts the final ties of TargetAsmInfo to TargetMachine, meaning that MC can now use TargetAsmInfo. llvm-svn: 78802
* the x86 version of the name is x86-64, not x86_64. Handle this properlyChris Lattner2009-08-121-1/+1
| | | | | | in getArchTypeForLLVMName. llvm-svn: 78799
* add support for mingw64 target triples.Chris Lattner2009-08-121-0/+3
| | | | llvm-svn: 78797
* Move immediate constant predicate templates from the Blackfin target to ↵Jakob Stoklund Olesen2009-08-123-28/+18
| | | | | | MathExtras.h llvm-svn: 78793
* add a couple of helpers to the Triple class for decodingChris Lattner2009-08-121-0/+65
| | | | | | | | the darwin version string. This should help consolidate the variety of weird functions we have scattered around the codebase that do stuff like this. llvm-svn: 78792
* Shrink Thumb2 movcc instructions.Evan Cheng2009-08-124-5/+13
| | | | llvm-svn: 78790
* Remove another Darwin assembler workaround.Evan Cheng2009-08-121-2/+0
| | | | llvm-svn: 78779
* 80 col violation.Evan Cheng2009-08-121-5/+5
| | | | llvm-svn: 78778
* Remove an Darwin assembler workaround.Evan Cheng2009-08-121-15/+1
| | | | llvm-svn: 78777
* Shrink ADDS, ADC, RSB, and SUBS.Evan Cheng2009-08-121-29/+103
| | | | llvm-svn: 78776
* This logic was accidentally inverted in r78767.Dan Gohman2009-08-121-3/+3
| | | | llvm-svn: 78773
* Factor out the code for finding an available register for useDan Gohman2009-08-121-54/+70
| | | | | | in breaking an anti-dependence into a separate function. llvm-svn: 78767
* Add missing chain operands for VLD* and VST* instructions.Bob Wilson2009-08-122-26/+34
| | | | | | Set "mayLoad" and "mayStore" on the load/store instructions. llvm-svn: 78761
* Add contexts to some of the MVT APIs. No functionality change yet, just the ↵Owen Anderson2009-08-1220-299/+366
| | | | | | infrastructure work needed to get the contexts to where they need to be first. llvm-svn: 78759
* Simplify this code, and use an in-bounds GEP.Dan Gohman2009-08-121-5/+7
| | | | llvm-svn: 78755
* prune #includeChris Lattner2009-08-111-2/+0
| | | | llvm-svn: 78749
* prune #includage.Chris Lattner2009-08-111-12/+0
| | | | llvm-svn: 78748
* fix CodeGen/PowerPC/2007-01-15-AsmDialect.ll, fallout from r78742Chris Lattner2009-08-111-2/+2
| | | | llvm-svn: 78747
* change the -x86-asm-syntax=intel/att flag to be in X86TAI Chris Lattner2009-08-114-45/+24
| | | | | | | instead of X86 Subtarget. This elimianates dependencies on X86Subtarget from X86TAI. llvm-svn: 78746
* Shrinkify Thumb2 r = add sp, imm.Evan Cheng2009-08-113-11/+22
| | | | llvm-svn: 78745
* second half of commit.Chris Lattner2009-08-111-2/+2
| | | | llvm-svn: 78744
* pass "is64Bit" flag into PPC TAI ctors instead of a whole targetmachine.Chris Lattner2009-08-112-20/+7
| | | | llvm-svn: 78743
* eliminate asmflavor from subtarget, PPCTAI is the only clientChris Lattner2009-08-113-19/+4
| | | | | | and each callee knows that it returns. llvm-svn: 78742
* Change the asmprinter to print the comment character before theChris Lattner2009-08-118-23/+8
| | | | | | | | | | "inlineasmstart/end" strings so that the contents of the directive are separate from the comment character. This lets elf targets get #APP/#NOAPP for free even if they don't use "#" as the comment character. This also allows hoisting the darwin stuff up to the shared TAI class. llvm-svn: 78737
* Allow a zero cycle stage to reserve/require a FU without advancing the cycle ↵David Goodwin2009-08-115-44/+75
| | | | | | counter. llvm-svn: 78736
* factorize more darwin TAI stuff. Note that this givesChris Lattner2009-08-114-17/+7
| | | | | | darwin/arm support for .no_dead_strip llvm-svn: 78734
* X86/AsmParser: Mark MOV64GSrm, MOV64FSrm, GS_MOV32rm, FS_MOV32rm as codegen ↵Daniel Dunbar2009-08-112-4/+4
| | | | | | only. llvm-svn: 78733
* factorize darwin ProtectedDirective and SetDirective.Chris Lattner2009-08-114-5/+4
| | | | llvm-svn: 78732
* Add 'isCodeGenOnly' bit to Instruction .td records.Daniel Dunbar2009-08-113-6/+9
| | | | | | | | | | | | | | | - Used to mark fake instructions which don't correspond to an actual machine instruction (or are duplicates of a real instruction). This is to be used for "special cases" in the .td files, which should be ignored by things like the assembler and disassembler. We still need a good solution to handle pervasive duplication, like with the Int_ instructions. - Set the bit on fake "mov 0" style instructions, which allows turning an assembler matcher warning into a hard error. - -2 FIXMEs. llvm-svn: 78731
* all darwin targets have .space and .zerofill, pull up.Chris Lattner2009-08-114-5/+2
| | | | llvm-svn: 78730
* eliminate template from arm TAIChris Lattner2009-08-113-28/+19
| | | | llvm-svn: 78729
* fix a bug I introduced in r78724 that caused failures in:Chris Lattner2009-08-111-1/+1
| | | | | | CodeGen/X86/dll-linkage.ll & CodeGen/X86/mingw-alloca.ll llvm-svn: 78728
* move LCOMMDirective = "\t.lcomm\t" up to DarwinTAI, eliminateChris Lattner2009-08-116-35/+33
| | | | | | template in PPC backend for TAI. llvm-svn: 78727
* Fix warnings.Owen Anderson2009-08-113-12/+10
| | | | llvm-svn: 78725
* eliminate the X86TargetAsmInfo template.Chris Lattner2009-08-112-26/+24
| | | | llvm-svn: 78724
* Added ADD instructions with rAX as one parameter to the Intel instructionSean Callanan2009-08-111-0/+8
| | | | | | tables. llvm-svn: 78721
* Shrinkify Thumb2 load / store multiple instructions.Evan Cheng2009-08-117-53/+122
| | | | llvm-svn: 78717
* llvm-mc/AsmParser: Allow target to specific a comment delimiter, which will beDaniel Dunbar2009-08-111-0/+6
| | | | | | used to strip hard coded comments out of .td assembly strings. llvm-svn: 78716
* Optimize exact sdiv by a constant power of 2 to ashr.Dan Gohman2009-08-111-0/+9
| | | | llvm-svn: 78714
* Split EVT into MVT and EVT, the former representing _just_ a primitive type, ↵Owen Anderson2009-08-1168-4970/+4974
| | | | | | | | while the latter is capable of representing either a primitive or an extended type. llvm-svn: 78713
OpenPOWER on IntegriCloud