Lines Matching refs:ICmp
366 if (const ICmpInst *ICmp = dyn_cast<ICmpInst>(V)) in getRegForI1Value() local
367 if (const ConstantInt *C = dyn_cast<ConstantInt>(ICmp->getOperand(1))) in getRegForI1Value()
368 if (ICmp->isEquality() && C->isZero() && C->getType()->isIntegerTy(32)) { in getRegForI1Value()
369 Not = ICmp->isTrueWhenEqual(); in getRegForI1Value()
370 return getRegForValue(ICmp->getOperand(0)); in getRegForI1Value()
819 const ICmpInst *ICmp = cast<ICmpInst>(I); in selectICmp() local
821 bool I32 = getSimpleType(ICmp->getOperand(0)->getType()) != MVT::i64; in selectICmp()
824 switch (ICmp->getPredicate()) { in selectICmp()
862 unsigned LHS = getRegForPromotedValue(ICmp->getOperand(0), isSigned); in selectICmp()
866 unsigned RHS = getRegForPromotedValue(ICmp->getOperand(1), isSigned); in selectICmp()
874 updateValueMap(ICmp, ResultReg); in selectICmp()
1165 case Instruction::ICmp: return selectICmp(I); in fastSelectInstruction()