Home
last modified time | relevance | path

Searched refs:CmpZero (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp1588 ConstantInt *CmpZero = dyn_cast<ConstantInt>(Cond->getOperand(1)); in matchCondition() local
1589 if (!CmpZero || !CmpZero->isZero()) in matchCondition()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp4658 bool CmpZero = N1C->getAPIntValue().isZero(); in SimplifySetCC() local
4660 if ((CmpZero || CmpNegOne) && N0.hasOneUse()) { in SimplifySetCC()
4696 DAG.getNode(CmpZero ? ISD::OR : ISD::AND, dl, OpVT, Lo, HiMask); in SimplifySetCC()
4697 SDValue NewN1 = CmpZero ? DAG.getConstant(0, dl, OpVT) : LoBits; in SimplifySetCC()