Lines Matching refs:CastOp
8607 Instruction::CastOps *CastOp) { in lookThroughCast() argument
8612 *CastOp = Cast1->getOpcode(); in lookThroughCast()
8616 if (*CastOp == Cast2->getOpcode() && SrcTy == Cast2->getSrcTy()) in lookThroughCast()
8627 switch (*CastOp) { in lookThroughCast()
8694 ConstantFoldCastOperand(*CastOp, CastedTo, C->getType(), DL); in lookThroughCast()
8702 Instruction::CastOps *CastOp, in matchSelectPattern() argument
8717 CastOp, Depth); in matchSelectPattern()
8722 Instruction::CastOps *CastOp, unsigned Depth) { in matchDecomposedSelectPattern() argument
8735 if (CastOp && CmpLHS->getType() != TrueVal->getType()) { in matchDecomposedSelectPattern()
8736 if (Value *C = lookThroughCast(CmpI, TrueVal, FalseVal, CastOp)) { in matchDecomposedSelectPattern()
8739 if (*CastOp == Instruction::FPToSI || *CastOp == Instruction::FPToUI) in matchDecomposedSelectPattern()
8745 if (Value *C = lookThroughCast(CmpI, FalseVal, TrueVal, CastOp)) { in matchDecomposedSelectPattern()
8748 if (*CastOp == Instruction::FPToSI || *CastOp == Instruction::FPToUI) in matchDecomposedSelectPattern()