summaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine/InstCombine.h
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2013-05-30 04:33:38 +0000
committerNick Lewycky <nicholas@mxc.ca>2013-05-30 04:33:38 +0000
commite97b102e2b597751c9e9edce74d3d69bba317dcd (patch)
treef46b279af3ba53b2d80dcb9a0ef0dc2ecd76f961 /lib/Transforms/InstCombine/InstCombine.h
parent7486d92a6c949a193bb75c0ffa0170eeb2fabb80 (diff)
downloadllvm-e97b102e2b597751c9e9edce74d3d69bba317dcd.tar.gz
llvm-e97b102e2b597751c9e9edce74d3d69bba317dcd.tar.bz2
llvm-e97b102e2b597751c9e9edce74d3d69bba317dcd.tar.xz
Swizzle vector inputs if it helps us eliminate shuffles.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182909 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/InstCombine/InstCombine.h')
-rw-r--r--lib/Transforms/InstCombine/InstCombine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/InstCombine/InstCombine.h b/lib/Transforms/InstCombine/InstCombine.h
index b1eefd214d..b3084ccd2c 100644
--- a/lib/Transforms/InstCombine/InstCombine.h
+++ b/lib/Transforms/InstCombine/InstCombine.h
@@ -234,6 +234,7 @@ private:
bool WillNotOverflowSignedAdd(Value *LHS, Value *RHS);
Value *EmitGEPOffset(User *GEP);
Instruction *scalarizePHI(ExtractElementInst &EI, PHINode *PN);
+ Value *EvaluateInDifferentElementOrder(Value *V, ArrayRef<int> Mask);
public:
// InsertNewInstBefore - insert an instruction New before instruction Old