aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-10-29 23:19:55 +0000
committerJim Grosbach <grosbach@apple.com>2010-10-29 23:19:55 +0000
commit0d2d2e92461781d11a8a055720e7ddfa4c8eee28 (patch)
tree017cc5a0ffd005e6679850de3acbe4b854e7c960 /lib/Target/ARM
parente09206d4d7683e2a421104c5cb83f7808ba4b06e (diff)
downloadexternal_llvm-0d2d2e92461781d11a8a055720e7ddfa4c8eee28.zip
external_llvm-0d2d2e92461781d11a8a055720e7ddfa4c8eee28.tar.gz
external_llvm-0d2d2e92461781d11a8a055720e7ddfa4c8eee28.tar.bz2
s/getNEONVcvtImm32/getNEONVcvtImm32OpValue/ to be consistent with other operand
encoder functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117738 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM')
-rw-r--r--lib/Target/ARM/ARMCodeEmitter.cpp2
-rw-r--r--lib/Target/ARM/ARMInstrInfo.td2
-rw-r--r--lib/Target/ARM/ARMMCCodeEmitter.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMCodeEmitter.cpp b/lib/Target/ARM/ARMCodeEmitter.cpp
index fa11a48..4f8b3ca 100644
--- a/lib/Target/ARM/ARMCodeEmitter.cpp
+++ b/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/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td
index 46f73b1..0a39000 100644
--- a/lib/Target/ARM/ARMInstrInfo.td
+++ b/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/lib/Target/ARM/ARMMCCodeEmitter.cpp b/lib/Target/ARM/ARMMCCodeEmitter.cpp
index 122aadf..ffe462f 100644
--- a/lib/Target/ARM/ARMMCCodeEmitter.cpp
+++ b/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();
}