Home | History | Annotate | Download | only in IR

Lines Matching defs:CV

46 static Constant *BitCastConstantVector(Constant *CV, VectorType *DstTy) {
48 if (CV->isAllOnesValue()) return Constant::getAllOnesValue(DstTy);
49 if (CV->isNullValue()) return Constant::getNullValue(DstTy);
55 if (NumElts != CV->getType()->getVectorNumElements())
61 Type *Ty = IntegerType::get(CV->getContext(), 32);
64 ConstantExpr::getExtractElement(CV, ConstantInt::get(Ty, i));
939 const APInt *CV;
941 if (match(C1, m_APInt(CV)) || match(C2, m_APInt(CV)))
942 if ((*CV)[0])