summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitd7f27094c0657a28b5d2d28701772f5bbdc1bbca (patch)
tree0f9c55a91616c00cc3948ac4e059b7179750c31c /llvm/lib/Transforms/InstCombine/InstCombine.h
parent4f60a38f18ee68c4abd4cfefb5a4bba0f0917f16 (diff)
downloadbcm5719-llvm-d7f27094c0657a28b5d2d28701772f5bbdc1bbca.tar.gz
bcm5719-llvm-d7f27094c0657a28b5d2d28701772f5bbdc1bbca.zip
Swizzle vector inputs if it helps us eliminate shuffles.
llvm-svn: 182909
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombine.h')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombine.h b/llvm/lib/Transforms/InstCombine/InstCombine.h
index b1eefd214d5..b3084ccd2c5 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombine.h
+++ b/llvm/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
OpenPOWER on IntegriCloud