Searched refs:LHSCst (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | Utils.cpp | 1030 auto LHSCst = getIConstantVRegVal(LHS, MRI); in ConstantFoldICmp() local 1032 if (!LHSCst || !RHSCst) in ConstantFoldICmp() 1037 return APInt(/*numBits=*/1, LHSCst->eq(*RHSCst)); in ConstantFoldICmp() 1039 return APInt(/*numBits=*/1, LHSCst->ne(*RHSCst)); in ConstantFoldICmp() 1041 return APInt(/*numBits=*/1, LHSCst->ugt(*RHSCst)); in ConstantFoldICmp() 1043 return APInt(/*numBits=*/1, LHSCst->uge(*RHSCst)); in ConstantFoldICmp() 1045 return APInt(/*numBits=*/1, LHSCst->ult(*RHSCst)); in ConstantFoldICmp() 1047 return APInt(/*numBits=*/1, LHSCst->ule(*RHSCst)); in ConstantFoldICmp() 1049 return APInt(/*numBits=*/1, LHSCst->sgt(*RHSCst)); in ConstantFoldICmp() 1051 return APInt(/*numBits=*/1, LHSCst->sge(*RHSCst)); in ConstantFoldICmp() [all …]
|
H A D | CombinerHelper.cpp | 5651 const auto LHSCst = Ty.isVector() in matchFsubToFneg() local 5654 if (!LHSCst) in matchFsubToFneg() 5658 if (LHSCst->Value.isNegZero()) in matchFsubToFneg() 5662 if (LHSCst->Value.isPosZero()) in matchFsubToFneg()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 3607 if (const auto *LHSCst = dyn_cast<SCEVConstant>(Mul->getOperand(0))) { in getUDivExactExpr() local 3608 if (LHSCst == RHSCst) { in getUDivExactExpr() 3616 APInt Factor = gcd(LHSCst, RHSCst); in getUDivExactExpr() 3618 LHSCst = in getUDivExactExpr() 3619 cast<SCEVConstant>(getConstant(LHSCst->getAPInt().udiv(Factor))); in getUDivExactExpr() 3623 Operands.push_back(LHSCst); in getUDivExactExpr()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 396 if (auto *LHSCst = dyn_cast<ConstantSDNode>(LHS)) in matchBinaryPredicate() local 398 return Match(LHSCst, RHSCst); in matchBinaryPredicate() 412 auto *LHSCst = dyn_cast<ConstantSDNode>(LHSOp); in matchBinaryPredicate() local 414 if ((!LHSCst && !LHSUndef) || (!RHSCst && !RHSUndef)) in matchBinaryPredicate() 419 if (!Match(LHSCst, RHSCst)) in matchBinaryPredicate()
|