diff options
author | Chris Lattner <sabre@nondot.org> | 2006-04-08 01:18:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-04-08 01:18:18 +0000 |
commit | 00f1023cf8b30c74dc219525f518a80c45b6e7ba (patch) | |
tree | 8d9dfabe750a455df498979071077e3c363e654b /lib/VMCore/ConstantFold.h | |
parent | 30b44b6b033aa002dfa875c199281ca4e98ad61b (diff) | |
download | external_llvm-00f1023cf8b30c74dc219525f518a80c45b6e7ba.zip external_llvm-00f1023cf8b30c74dc219525f518a80c45b6e7ba.tar.gz external_llvm-00f1023cf8b30c74dc219525f518a80c45b6e7ba.tar.bz2 |
Add shufflevector support, todo, implement better constant folding.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27510 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/ConstantFold.h')
-rw-r--r-- | lib/VMCore/ConstantFold.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/VMCore/ConstantFold.h b/lib/VMCore/ConstantFold.h index 7914a1c..5119aaf 100644 --- a/lib/VMCore/ConstantFold.h +++ b/lib/VMCore/ConstantFold.h @@ -36,6 +36,9 @@ namespace llvm { Constant *ConstantFoldInsertElementInstruction(const Constant *Val, const Constant *Elt, const Constant *Idx); + Constant *ConstantFoldShuffleVectorInstruction(const Constant *V1, + const Constant *V2, + const Constant *Mask); Constant *ConstantFoldBinaryInstruction(unsigned Opcode, const Constant *V1, const Constant *V2); Constant *ConstantFoldGetElementPtr(const Constant *C, |