diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-03-24 23:15:12 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-03-24 23:15:12 +0000 |
commit | e7ee6a5e326ffb5daf9fc31e17470beb63f77dff (patch) | |
tree | 5998af484f6da658db8170332c2b5adcfaa7583a /llvm/lib/Target/X86/X86ISelLowering.h | |
parent | c8565ed6519cf294e0a5f4cd7acc36a39babeb7e (diff) | |
download | bcm5719-llvm-e7ee6a5e326ffb5daf9fc31e17470beb63f77dff.tar.gz bcm5719-llvm-e7ee6a5e326ffb5daf9fc31e17470beb63f77dff.zip |
Support for scalar to vector with zero extension.
llvm-svn: 27091
Diffstat (limited to 'llvm/lib/Target/X86/X86ISelLowering.h')
-rw-r--r-- | llvm/lib/Target/X86/X86ISelLowering.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.h b/llvm/lib/Target/X86/X86ISelLowering.h index 854f76da2be..1dc90e536e1 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.h +++ b/llvm/lib/Target/X86/X86ISelLowering.h @@ -146,12 +146,13 @@ namespace llvm { /// TargetExternalSymbol, and TargetGlobalAddress. Wrapper, - /// SCALAR_TO_VECTOR - X86 version of SCALAR_TO_VECTOR. The destination base - /// type does not have to match the operand type. - SCALAR_TO_VECTOR, + /// S2VEC - X86 version of SCALAR_TO_VECTOR. The destination base does not + /// have to match the operand type. + S2VEC, - /// UNPCKLP - X86 unpack and interleave low instructions. - UNPCKLP, + /// ZEXT_S2VEC - SCALAR_TO_VECTOR with zero extension. The destination base + /// does not have to match the operand type. + ZEXT_S2VEC, }; // X86 specific condition code. These correspond to X86_*_COND in @@ -209,7 +210,8 @@ namespace llvm { /// instructions. unsigned getShuffleSHUFImmediate(SDNode *N); - /// isZeroVector - Return true if all elements of BUILD_VECTOR are 0 or +0.0. + /// isZeroVector - Return true if this build_vector is an all-zero vector. + /// bool isZeroVector(SDNode *N); } |