diff options
author | Duncan Sands <baldrick@free.fr> | 2011-05-02 16:34:19 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2011-05-02 16:34:19 +0000 |
commit | d47ba853fc0a1e5149f18ee3f5fdf59699169eb5 (patch) | |
tree | 2055c12753c955e45e3bfb829166ceccb8cae5a6 | |
parent | a3e3699c889ef6f29161346a445c6060ccdc5aa5 (diff) | |
download | bcm5719-llvm-d47ba853fc0a1e5149f18ee3f5fdf59699169eb5.tar.gz bcm5719-llvm-d47ba853fc0a1e5149f18ee3f5fdf59699169eb5.zip |
Forgot to commit the changes to this file.
llvm-svn: 130695
-rw-r--r-- | llvm/include/llvm/Analysis/InstructionSimplify.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/llvm/include/llvm/Analysis/InstructionSimplify.h b/llvm/include/llvm/Analysis/InstructionSimplify.h index dff1ba2f7be..bc6e55f5490 100644 --- a/llvm/include/llvm/Analysis/InstructionSimplify.h +++ b/llvm/include/llvm/Analysis/InstructionSimplify.h @@ -55,6 +55,21 @@ namespace llvm { Value *SimplifyFDivInst(Value *LHS, Value *RHS, const TargetData *TD = 0, const DominatorTree *DT = 0); + /// SimplifySRemInst - Given operands for an SRem, see if we can + /// fold the result. If not, this returns null. + Value *SimplifySRemInst(Value *LHS, Value *RHS, const TargetData *TD = 0, + const DominatorTree *DT = 0); + + /// SimplifyURemInst - Given operands for a URem, see if we can + /// fold the result. If not, this returns null. + Value *SimplifyURemInst(Value *LHS, Value *RHS, const TargetData *TD = 0, + const DominatorTree *DT = 0); + + /// SimplifyFRemInst - Given operands for an FRem, see if we can + /// fold the result. If not, this returns null. + Value *SimplifyFRemInst(Value *LHS, Value *RHS, const TargetData *TD = 0, + const DominatorTree *DT = 0); + /// SimplifyShlInst - Given operands for a Shl, see if we can /// fold the result. If not, this returns null. Value *SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, |