aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMISelLowering.h
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-06-14 22:19:57 +0000
committerBob Wilson <bob.wilson@apple.com>2010-06-14 22:19:57 +0000
commitd3c4284849ccfbc501483ec3c0810d1d9ef853b6 (patch)
treebbb2b38af9a342e7b5b81de9f269928f87c0a3de /lib/Target/ARM/ARMISelLowering.h
parentc834f413ae9bfd6d41545aed8d6b91c8ccb8ea16 (diff)
downloadexternal_llvm-d3c4284849ccfbc501483ec3c0810d1d9ef853b6.zip
external_llvm-d3c4284849ccfbc501483ec3c0810d1d9ef853b6.tar.gz
external_llvm-d3c4284849ccfbc501483ec3c0810d1d9ef853b6.tar.bz2
Rename functions referring to VMOV immediates to refer to NEON "modified
immediate" operands. These functions have so far only been used for VMOV but they also apply to other NEON instructions with modified immediate operands. No functional changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105969 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMISelLowering.h')
-rw-r--r--lib/Target/ARM/ARMISelLowering.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.h b/lib/Target/ARM/ARMISelLowering.h
index 15683c3..d9f47d9 100644
--- a/lib/Target/ARM/ARMISelLowering.h
+++ b/lib/Target/ARM/ARMISelLowering.h
@@ -150,11 +150,11 @@ namespace llvm {
/// Define some predicates that are used for node matching.
namespace ARM {
- /// getVMOVImm - If this is a build_vector of constants which can be
- /// formed by using a VMOV instruction of the specified element size,
- /// return the constant being splatted. The ByteSize field indicates the
- /// number of bytes of each element [1248].
- SDValue getVMOVImm(SDNode *N, unsigned ByteSize, SelectionDAG &DAG);
+ /// getNEONModImm - If this is a valid vector constant for a NEON
+ /// instruction with a "modified immediate" operand (e.g., VMOV) of the
+ /// specified element size, return the encoded value for that immediate.
+ /// The ByteSize field indicates the number of bytes of each element [1248].
+ SDValue getNEONModImm(SDNode *N, unsigned ByteSize, SelectionDAG &DAG);
/// getVFPf32Imm / getVFPf64Imm - If the given fp immediate can be
/// materialized with a VMOV.f32 / VMOV.f64 (i.e. fconsts / fconstd)