diff options
| author | Jim Grosbach <grosbach@apple.com> | 2010-10-29 23:19:55 +0000 |
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2010-10-29 23:19:55 +0000 |
| commit | 58018e62a817923dc063fd1b908eb0c10269da64 (patch) | |
| tree | bf4b2ab616d3cf7a8e4f259f67b3a5d6228f03c8 /llvm | |
| parent | 99cce36cf573700c2ed525e40cb4e7b9943b1bce (diff) | |
| download | bcm5719-llvm-58018e62a817923dc063fd1b908eb0c10269da64.tar.gz bcm5719-llvm-58018e62a817923dc063fd1b908eb0c10269da64.zip | |
s/getNEONVcvtImm32/getNEONVcvtImm32OpValue/ to be consistent with other operand
encoder functions.
llvm-svn: 117738
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMCodeEmitter.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/ARM/ARMInstrInfo.td | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/ARMCodeEmitter.cpp b/llvm/lib/Target/ARM/ARMCodeEmitter.cpp index fa11a483221..4f8b3ca5f61 100644 --- a/llvm/lib/Target/ARM/ARMCodeEmitter.cpp +++ b/llvm/lib/Target/ARM/ARMCodeEmitter.cpp @@ -194,7 +194,7 @@ namespace { Binary |= (Reg << 13); return Binary; } - unsigned getNEONVcvtImm32(const MachineInstr &MI, unsigned Op) const { + unsigned getNEONVcvtImm32OpValue(const MachineInstr &MI, unsigned Op) const { return 0; } /// getMovi32Value - Return binary encoding of operand for movw/movt. If the diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.td b/llvm/lib/Target/ARM/ARMInstrInfo.td index 46f73b107fe..0a390002318 100644 --- a/llvm/lib/Target/ARM/ARMInstrInfo.td +++ b/llvm/lib/Target/ARM/ARMInstrInfo.td @@ -300,7 +300,7 @@ def pclabel : Operand<i32> { } def neon_vcvt_imm32 : Operand<i32> { - string EncoderMethod = "getNEONVcvtImm32"; + string EncoderMethod = "getNEONVcvtImm32OpValue"; } // rot_imm: An integer that encodes a rotate amount. Must be 8, 16, or 24. diff --git a/llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp b/llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp index 122aadf321a..ffe462f64e3 100644 --- a/llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp +++ b/llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp @@ -92,7 +92,7 @@ public: return MI.getOperand(Op).getImm() - 1; } - unsigned getNEONVcvtImm32(const MCInst &MI, unsigned Op) const { + unsigned getNEONVcvtImm32OpValue(const MCInst &MI, unsigned Op) const { return 64 - MI.getOperand(Op).getImm(); } |

