Lines Matching refs:CRHS

97   Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1);  in isSameCompare()  local
98 if (CPred == Pred && CLHS == LHS && CRHS == RHS) in isSameCompare()
101 CRHS == LHS; in isSameCompare()
532 if (Constant *CRHS = dyn_cast<Constant>(Op1)) in SimplifyAddInst() local
533 return ConstantFoldBinaryOpOperands(Instruction::Add, CLHS, CRHS, Q.DL); in SimplifyAddInst()
666 if (Constant *CRHS = dyn_cast<Constant>(Op1)) in SimplifySubInst() local
667 return ConstantFoldBinaryOpOperands(Instruction::Sub, CLHS, CRHS, Q.DL); in SimplifySubInst()
790 if (Constant *CRHS = dyn_cast<Constant>(Op1)) in SimplifyFAddInst() local
791 return ConstantFoldBinaryOpOperands(Instruction::FAdd, CLHS, CRHS, Q.DL); in SimplifyFAddInst()
829 if (Constant *CRHS = dyn_cast<Constant>(Op1)) in SimplifyFSubInst() local
830 return ConstantFoldBinaryOpOperands(Instruction::FSub, CLHS, CRHS, Q.DL); in SimplifyFSubInst()
865 if (Constant *CRHS = dyn_cast<Constant>(Op1)) in SimplifyFMulInst() local
866 return ConstantFoldBinaryOpOperands(Instruction::FMul, CLHS, CRHS, Q.DL); in SimplifyFMulInst()
888 if (Constant *CRHS = dyn_cast<Constant>(Op1)) in SimplifyMulInst() local
889 return ConstantFoldBinaryOpOperands(Instruction::Mul, CLHS, CRHS, Q.DL); in SimplifyMulInst()
1566 if (Constant *CRHS = dyn_cast<Constant>(Op1)) in SimplifyAndInst() local
1567 return ConstantFoldBinaryOpOperands(Instruction::And, CLHS, CRHS, Q.DL); in SimplifyAndInst()
1740 if (Constant *CRHS = dyn_cast<Constant>(Op1)) in SimplifyOrInst() local
1741 return ConstantFoldBinaryOpOperands(Instruction::Or, CLHS, CRHS, Q.DL); in SimplifyOrInst()
1873 if (Constant *CRHS = dyn_cast<Constant>(Op1)) in SimplifyXorInst() local
1874 return ConstantFoldBinaryOpOperands(Instruction::Xor, CLHS, CRHS, Q.DL); in SimplifyXorInst()
2161 if (Constant *CRHS = dyn_cast<Constant>(RHS)) in SimplifyICmpInst() local
2162 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI); in SimplifyICmpInst()
3169 if (Constant *CRHS = dyn_cast<Constant>(RHS)) in SimplifyFCmpInst() local
3170 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI); in SimplifyFCmpInst()
3799 if (Constant *CRHS = dyn_cast<Constant>(RHS)) in SimplifyBinOp() local
3800 return ConstantFoldBinaryOpOperands(Opcode, CLHS, CRHS, Q.DL); in SimplifyBinOp()