Lines Matching refs:SrcI
923 BinaryOperator *SrcI = dyn_cast<BinaryOperator>(Src); in visitZExt() local
924 if (SrcI && SrcI->getOpcode() == Instruction::Or) { in visitZExt()
927 ICmpInst *LHS = dyn_cast<ICmpInst>(SrcI->getOperand(0)); in visitZExt()
928 ICmpInst *RHS = dyn_cast<ICmpInst>(SrcI->getOperand(1)); in visitZExt()
941 if (SrcI && in visitZExt()
942 match(SrcI, m_OneUse(m_And(m_Trunc(m_Value(X)), m_Constant(C)))) && in visitZExt()
948 if (SrcI && match(SrcI, m_OneUse(m_Xor(m_Value(And), m_Constant(C)))) && in visitZExt()
956 if (SrcI && SrcI->hasOneUse() && in visitZExt()
957 SrcI->getType()->getScalarType()->isIntegerTy(1) && in visitZExt()
958 match(SrcI, m_Not(m_Value(X))) && (!X->hasOneUse() || !isa<CmpInst>(X))) { in visitZExt()
1428 Value *SrcI = OpI->getOperand(0); in FoldItoFPtoI() local
1431 Type *SrcTy = SrcI->getType(); in FoldItoFPtoI()
1451 return new SExtInst(SrcI, FITy); in FoldItoFPtoI()
1452 return new ZExtInst(SrcI, FITy); in FoldItoFPtoI()
1455 return new TruncInst(SrcI, FITy); in FoldItoFPtoI()
1457 return replaceInstUsesWith(FI, SrcI); in FoldItoFPtoI()
1458 return new BitCastInst(SrcI, FITy); in FoldItoFPtoI()