Lines Matching refs:CLHS
85 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1);
86 if (CPred == Pred && CLHS == LHS && CRHS == RHS)
88 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS &&
594 if (Constant *CLHS = dyn_cast<Constant>(Op0)) {
596 Constant *Ops[] = { CLHS, CRHS };
597 return ConstantFoldInstOperands(Instruction::Add, CLHS->getType(), Ops,
759 if (Constant *CLHS = dyn_cast<Constant>(Op0))
761 Constant *Ops[] = { CLHS, CRHS };
762 return ConstantFoldInstOperands(Instruction::Sub, CLHS->getType(),
893 if (Constant *CLHS = dyn_cast<Constant>(Op0)) {
895 Constant *Ops[] = { CLHS, CRHS };
896 return ConstantFoldInstOperands(Instruction::Mul, CLHS->getType(),
1321 if (Constant *CLHS = dyn_cast<Constant>(Op0)) {
1323 Constant *Ops[] = { CLHS, CRHS };
1324 return ConstantFoldInstOperands(Instruction::And, CLHS->getType(),
1420 if (Constant *CLHS = dyn_cast<Constant>(Op0)) {
1422 Constant *Ops[] = { CLHS, CRHS };
1423 return ConstantFoldInstOperands(Instruction::Or, CLHS->getType(),
1514 if (Constant *CLHS = dyn_cast<Constant>(Op0)) {
1516 Constant *Ops[] = { CLHS, CRHS };
1517 return ConstantFoldInstOperands(Instruction::Xor, CLHS->getType(),
1641 if (Constant *CLHS = dyn_cast<Constant>(LHS)) {
1643 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.TD, Q.TLI);
2410 if (Constant *CLHS = dyn_cast<Constant>(LHS)) {
2412 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.TD, Q.TLI);
2698 if (Constant *CLHS = dyn_cast<Constant>(LHS))
2700 Constant *COps[] = {CLHS, CRHS};