Searched refs:CDV (Results 1 – 5 of 5) sorted by relevance
917 const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(C); in getConstantValue() local921 if (CDV) { in getConstantValue()922 elemNum = CDV->getNumElements(); in getConstantValue()923 ElemTy = CDV->getElementType(); in getConstantValue()949 if(CDV) in getConstantValue()951 Result.AggregateVal[i].FloatVal = CDV->getElementAsFloat(i); in getConstantValue()971 if(CDV) in getConstantValue()973 Result.AggregateVal[i].DoubleVal = CDV->getElementAsDouble(i); in getConstantValue()997 if(CDV) in getConstantValue()1000 CDV->getElementType()->getPrimitiveSizeInBits(), in getConstantValue()[all …]
826 ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(opr1); in fold_pow() local829 CF = CDV ? dyn_cast_or_null<ConstantFP>(CDV->getSplatValue()) : nullptr; in fold_pow()830 CINT = CDV ? dyn_cast_or_null<ConstantInt>(CDV->getSplatValue()) : nullptr; in fold_pow()977 ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(opr0); in fold_pow() local979 if (!CDV) { in fold_pow()983 assert ((int)CDV->getNumElements() == getVecSize(FInfo) && in fold_pow()989 ? (double)CDV->getElementAsFloat(i) in fold_pow()990 : CDV->getElementAsDouble(i); in fold_pow()1022 if (const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(opr1)) { in fold_pow() local1025 ? (double)CDV->getElementAsFloat(i) in fold_pow()[all …]
457 auto *CDV = cast<ConstantDataVector>(CV); in TEST() local459 CDV->getRawDataValues(), CDV->getNumElements(), CDV->getElementType()); in TEST()468 auto *CDV = cast<ConstantDataVector>(CV); in TEST() local470 CDV->getRawDataValues(), CDV->getNumElements(), CDV->getElementType()); in TEST()
252 auto *CDV = dyn_cast<ConstantDataVector>(Amt); in simplifyX86immShift() local253 if (!CDV) in simplifyX86immShift()266 auto *SubElt = cast<ConstantInt>(CDV->getElementAsConstant(SubEltIdx)); in simplifyX86immShift()
1964 if (const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(V)) { in computeKnownBits() local1968 for (unsigned i = 0, e = CDV->getNumElements(); i != e; ++i) { in computeKnownBits()1971 APInt Elt = CDV->getElementAsAPInt(i); in computeKnownBits()