Lines Matching defs:CLHS

96   Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1);
97 if (CPred == Pred && CLHS == LHS && CRHS == RHS)
99 return CPred == CmpInst::getSwappedPredicate(Pred) && CLHS == RHS &&
530 if (Constant *CLHS = dyn_cast<Constant>(Op0)) {
532 Constant *Ops[] = { CLHS, CRHS };
533 return ConstantFoldInstOperands(Instruction::Add, CLHS->getType(), Ops,
662 if (Constant *CLHS = dyn_cast<Constant>(Op0))
664 Constant *Ops[] = { CLHS, CRHS };
665 return ConstantFoldInstOperands(Instruction::Sub, CLHS->getType(),
789 if (Constant *CLHS = dyn_cast<Constant>(Op0)) {
791 Constant *Ops[] = { CLHS, CRHS };
792 return ConstantFoldInstOperands(Instruction::FAdd, CLHS->getType(),
831 if (Constant *CLHS = dyn_cast<Constant>(Op0)) {
833 Constant *Ops[] = { CLHS, CRHS };
834 return ConstantFoldInstOperands(Instruction::FSub, CLHS->getType(),
869 if (Constant *CLHS = dyn_cast<Constant>(Op0)) {
871 Constant *Ops[] = { CLHS, CRHS };
872 return ConstantFoldInstOperands(Instruction::FMul, CLHS->getType(),
895 if (Constant *CLHS = dyn_cast<Constant>(Op0)) {
897 Constant *Ops[] = { CLHS, CRHS };
898 return ConstantFoldInstOperands(Instruction::Mul, CLHS->getType(),
1560 if (Constant *CLHS = dyn_cast<Constant>(Op0)) {
1562 Constant *Ops[] = { CLHS, CRHS };
1563 return ConstantFoldInstOperands(Instruction::And, CLHS->getType(),
1719 if (Constant *CLHS = dyn_cast<Constant>(Op0)) {
1721 Constant *Ops[] = { CLHS, CRHS };
1722 return ConstantFoldInstOperands(Instruction::Or, CLHS->getType(),
1855 if (Constant *CLHS = dyn_cast<Constant>(Op0)) {
1857 Constant *Ops[] = { CLHS, CRHS };
1858 return ConstantFoldInstOperands(Instruction::Xor, CLHS->getType(),
2132 if (Constant *CLHS = dyn_cast<Constant>(LHS)) {
2134 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI);
3108 if (Constant *CLHS = dyn_cast<Constant>(LHS)) {
3110 return ConstantFoldCompareInstOperands(Pred, CLHS, CRHS, Q.DL, Q.TLI);
3732 if (Constant *CLHS = dyn_cast<Constant>(LHS))
3734 Constant *COps[] = {CLHS, CRHS};