Searched refs:CDV (Results 1 – 4 of 4) sorted by relevance
935 const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(C); in getConstantValue() local939 if (CDV) { in getConstantValue()940 elemNum = CDV->getNumElements(); in getConstantValue()941 ElemTy = CDV->getElementType(); in getConstantValue()967 if(CDV) in getConstantValue()969 Result.AggregateVal[i].FloatVal = CDV->getElementAsFloat(i); in getConstantValue()989 if(CDV) in getConstantValue()991 Result.AggregateVal[i].DoubleVal = CDV->getElementAsDouble(i); in getConstantValue()1015 if(CDV) in getConstantValue()1018 CDV->getElementType()->getPrimitiveSizeInBits(), in getConstantValue()[all …]
584 if (const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(V)) { in isKnownIntegral() local585 for (unsigned i = 0, e = CDV->getNumElements(); i != e; ++i) { in isKnownIntegral()586 Constant *ConstElt = CDV->getElementAsConstant(i); in isKnownIntegral()1053 ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(opr0); in fold_pow() local1055 if (!CDV) { in fold_pow()1059 assert ((int)CDV->getNumElements() == getVecSize(FInfo) && in fold_pow()1064 double V = CDV->getElementAsAPFloat(i).convertToDouble(); in fold_pow()
253 auto *CDV = dyn_cast<ConstantDataVector>(Amt); in simplifyX86immShift() local254 if (!CDV) in simplifyX86immShift()267 auto *SubElt = cast<ConstantInt>(CDV->getElementAsConstant(SubEltIdx)); in simplifyX86immShift()
1784 if (const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(V)) { in computeKnownBits() local1789 for (unsigned i = 0, e = CDV->getNumElements(); i != e; ++i) { in computeKnownBits()1792 APInt Elt = CDV->getElementAsAPInt(i); in computeKnownBits()