Lines Matching refs:CastOp0
4836 auto *CastOp0 = cast<CastInst>(ICmp.getOperand(0)); in foldICmpWithZextOrSext() local
4838 if (!match(CastOp0, m_ZExtOrSExt(m_Value(X)))) in foldICmpWithZextOrSext()
4841 bool IsSignedExt = CastOp0->getOpcode() == Instruction::SExt; in foldICmpWithZextOrSext()
4899 Type *SrcTy = CastOp0->getSrcTy(); in foldICmpWithZextOrSext()
4900 Type *DestTy = CastOp0->getDestTy(); in foldICmpWithZextOrSext()
4902 Constant *Res2 = ConstantExpr::getCast(CastOp0->getOpcode(), Res1, DestTy); in foldICmpWithZextOrSext()
4949 auto *CastOp0 = dyn_cast<CastInst>(ICmp.getOperand(0)); in foldICmpWithCastOp() local
4950 if (!CastOp0) in foldICmpWithCastOp()
4955 Value *Op0Src = CastOp0->getOperand(0); in foldICmpWithCastOp()
4956 Type *SrcTy = CastOp0->getSrcTy(); in foldICmpWithCastOp()
4957 Type *DestTy = CastOp0->getDestTy(); in foldICmpWithCastOp()
4968 if (CastOp0->getOpcode() == Instruction::PtrToInt && in foldICmpWithCastOp()