summaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine/InstCombine.h
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2013-05-31 00:59:42 +0000
committerNick Lewycky <nicholas@mxc.ca>2013-05-31 00:59:42 +0000
commit903f26d904cb7eba9b57ed85b2dc6147a8811bd7 (patch)
tree6fa1f13a1dac4643e88e6104a63504a0c194b18b /lib/Transforms/InstCombine/InstCombine.h
parent6f6ec56b12aff45977b5ea1433739179198d4b81 (diff)
downloadllvm-903f26d904cb7eba9b57ed85b2dc6147a8811bd7.tar.gz
llvm-903f26d904cb7eba9b57ed85b2dc6147a8811bd7.tar.bz2
llvm-903f26d904cb7eba9b57ed85b2dc6147a8811bd7.tar.xz
Reapply with r182909 with a fix to the calculation of the new indices for
insertelement instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182976 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