[InstCombine] add helper functions for visitICmpInst(); NFCI

llvm-svn: 281743
This commit is contained in:
Sanjay Patel 2016-09-16 16:10:22 +00:00
parent cc1aa05350
commit 10494b2682
2 changed files with 559 additions and 523 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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);