summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/ConstantFolding.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/VMCore/ConstantFolding.h')
-rw-r--r--llvm/lib/VMCore/ConstantFolding.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/ConstantFolding.h b/llvm/lib/VMCore/ConstantFolding.h
index e8580c42905..7914a1cbfda 100644
--- a/llvm/lib/VMCore/ConstantFolding.h
+++ b/llvm/lib/VMCore/ConstantFolding.h
@@ -33,6 +33,9 @@ namespace llvm {
const Constant *V2);
Constant *ConstantFoldExtractElementInstruction(const Constant *Val,
const Constant *Idx);
+ Constant *ConstantFoldInsertElementInstruction(const Constant *Val,
+ const Constant *Elt,
+ const Constant *Idx);
Constant *ConstantFoldBinaryInstruction(unsigned Opcode, const Constant *V1,
const Constant *V2);
Constant *ConstantFoldGetElementPtr(const Constant *C,
OpenPOWER on IntegriCloud