Lines Matching refs:CmpI
3989 static Value *lookThroughCast(CmpInst *CmpI, Value *V1, Value *V2, in lookThroughCast() argument
4009 if (isa<SExtInst>(CI) && CmpI->isSigned()) { in lookThroughCast()
4017 if (isa<ZExtInst>(CI) && CmpI->isUnsigned()) in lookThroughCast()
4021 return ConstantExpr::getIntegerCast(C, CI->getSrcTy(), CmpI->isSigned()); in lookThroughCast()
4050 CmpInst *CmpI = dyn_cast<CmpInst>(SI->getCondition()); in matchSelectPattern() local
4051 if (!CmpI) return {SPF_UNKNOWN, SPNB_NA, false}; in matchSelectPattern()
4053 CmpInst::Predicate Pred = CmpI->getPredicate(); in matchSelectPattern()
4054 Value *CmpLHS = CmpI->getOperand(0); in matchSelectPattern()
4055 Value *CmpRHS = CmpI->getOperand(1); in matchSelectPattern()
4059 if (isa<FPMathOperator>(CmpI)) in matchSelectPattern()
4060 FMF = CmpI->getFastMathFlags(); in matchSelectPattern()
4063 if (CmpI->isEquality()) in matchSelectPattern()
4068 if (Value *C = lookThroughCast(CmpI, TrueVal, FalseVal, CastOp)) in matchSelectPattern()
4072 if (Value *C = lookThroughCast(CmpI, FalseVal, TrueVal, CastOp)) in matchSelectPattern()