Lines Matching refs:CLHS

97   Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1);  in isSameCompare()  local
98 if (CPred == Pred && CLHS == LHS && CRHS == RHS) in isSameCompare()
100 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS && in isSameCompare()
531 if (Constant *CLHS = dyn_cast<Constant>(Op0)) { in SimplifyAddInst() local
533 return ConstantFoldBinaryOpOperands(Instruction::Add, CLHS, CRHS, Q.DL); in SimplifyAddInst()
665 if (Constant *CLHS = dyn_cast<Constant>(Op0)) in SimplifySubInst() local
667 return ConstantFoldBinaryOpOperands(Instruction::Sub, CLHS, CRHS, Q.DL); in SimplifySubInst()
789 if (Constant *CLHS = dyn_cast<Constant>(Op0)) { in SimplifyFAddInst() local
791 return ConstantFoldBinaryOpOperands(Instruction::FAdd, CLHS, CRHS, Q.DL); in SimplifyFAddInst()
828 if (Constant *CLHS = dyn_cast<Constant>(Op0)) { in SimplifyFSubInst() local
830 return ConstantFoldBinaryOpOperands(Instruction::FSub, CLHS, CRHS, Q.DL); in SimplifyFSubInst()
864 if (Constant *CLHS = dyn_cast<Constant>(Op0)) { in SimplifyFMulInst() local
866 return ConstantFoldBinaryOpOperands(Instruction::FMul, CLHS, CRHS, Q.DL); in SimplifyFMulInst()
887 if (Constant *CLHS = dyn_cast<Constant>(Op0)) { in SimplifyMulInst() local
889 return ConstantFoldBinaryOpOperands(Instruction::Mul, CLHS, CRHS, Q.DL); in SimplifyMulInst()
1565 if (Constant *CLHS = dyn_cast<Constant>(Op0)) { in SimplifyAndInst() local
1567 return ConstantFoldBinaryOpOperands(Instruction::And, CLHS, CRHS, Q.DL); in SimplifyAndInst()
1739 if (Constant *CLHS = dyn_cast<Constant>(Op0)) { in SimplifyOrInst() local
1741 return ConstantFoldBinaryOpOperands(Instruction::Or, CLHS, CRHS, Q.DL); in SimplifyOrInst()
1872 if (Constant *CLHS = dyn_cast<Constant>(Op0)) { in SimplifyXorInst() local
1874 return ConstantFoldBinaryOpOperands(Instruction::Xor, CLHS, CRHS, Q.DL); in SimplifyXorInst()
2160 if (Constant *CLHS = dyn_cast<Constant>(LHS)) { in SimplifyICmpInst() local
2162 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI); in SimplifyICmpInst()
3168 if (Constant *CLHS = dyn_cast<Constant>(LHS)) { in SimplifyFCmpInst() local
3170 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI); in SimplifyFCmpInst()
3798 if (Constant *CLHS = dyn_cast<Constant>(LHS)) in SimplifyBinOp() local
3800 return ConstantFoldBinaryOpOperands(Opcode, CLHS, CRHS, Q.DL); in SimplifyBinOp()