diff options
author | Sanjay Patel <spatel@rotateright.com> | 2016-09-16 16:10:22 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2016-09-16 16:10:22 +0000 |
commit | 10494b268239b2ccd4757920d6307a1be5e7f855 (patch) | |
tree | 0cad631a522559b0ebe848335ac509041b078f45 /llvm/lib/Transforms/InstCombine/InstCombineInternal.h | |
parent | cc1aa05350d37ef1b71edc37747c4992bc183fa1 (diff) | |
download | bcm5719-llvm-10494b268239b2ccd4757920d6307a1be5e7f855.tar.gz bcm5719-llvm-10494b268239b2ccd4757920d6307a1be5e7f855.zip |
[InstCombine] add helper functions for visitICmpInst(); NFCI
llvm-svn: 281743
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineInternal.h')
-rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineInternal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h index 78b79dbd848..649d888f2b8 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h +++ b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h @@ -555,6 +555,9 @@ private: Instruction *foldICmpUsingKnownBits(ICmpInst &Cmp); Instruction *foldICmpWithConstant(ICmpInst &Cmp); Instruction *foldICmpInstWithConstant(ICmpInst &Cmp); + Instruction *foldICmpInstWithConstantNotInt(ICmpInst &Cmp); + Instruction *foldICmpBinOp(ICmpInst &Cmp); + Instruction *foldICmpEquality(ICmpInst &Cmp); Instruction *foldICmpTruncConstant(ICmpInst &Cmp, Instruction *Trunc, const APInt *C); |