reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 2800          I.getOperand(1) == RHS && "Should be 'xor' with these operands");
 2802   if (predicatesFoldable(LHS->getPredicate(), RHS->getPredicate())) {
 2803     if (LHS->getOperand(0) == RHS->getOperand(1) &&
 2804         LHS->getOperand(1) == RHS->getOperand(0))
 2806     if (LHS->getOperand(0) == RHS->getOperand(0) &&
 2807         LHS->getOperand(1) == RHS->getOperand(1)) {
 2810       unsigned Code = getICmpCode(LHS) ^ getICmpCode(RHS);
 2811       bool IsSigned = LHS->isSigned() || RHS->isSigned();
 2819   ICmpInst::Predicate PredL = LHS->getPredicate(), PredR = RHS->getPredicate();
 2821   Value *RHS0 = RHS->getOperand(0), *RHS1 = RHS->getOperand(1);
 2821   Value *RHS0 = RHS->getOperand(0), *RHS1 = RHS->getOperand(1);
 2822   if ((LHS->hasOneUse() || RHS->hasOneUse()) &&
 2851   if (Value *OrICmp = SimplifyBinOp(Instruction::Or, LHS, RHS, SQ)) {
 2854     if (Value *AndICmp = SimplifyBinOp(Instruction::And, LHS, RHS, SQ)) {
 2857       if (OrICmp == LHS && AndICmp == RHS) {
 2860         Y = RHS;
 2862       if (OrICmp == RHS && AndICmp == LHS) {
 2864         X = RHS;
 2885         return Builder.CreateAnd(LHS, RHS);