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 …]
827 ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(opr1); in fold_pow() local830 CF = CDV ? dyn_cast_or_null<ConstantFP>(CDV->getSplatValue()) : nullptr; in fold_pow()831 CINT = CDV ? dyn_cast_or_null<ConstantInt>(CDV->getSplatValue()) : nullptr; in fold_pow()978 ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(opr0); in fold_pow() local980 if (!CDV) { in fold_pow()984 assert ((int)CDV->getNumElements() == getVecSize(FInfo) && in fold_pow()990 ? (double)CDV->getElementAsFloat(i) in fold_pow()991 : CDV->getElementAsDouble(i); in fold_pow()1023 if (const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(opr1)) { in fold_pow() local1026 ? (double)CDV->getElementAsFloat(i) in fold_pow()[all …]
253 auto *CDV = dyn_cast<ConstantDataVector>(Amt); in simplifyX86immShift() local254 if (!CDV) in simplifyX86immShift()267 auto *SubElt = cast<ConstantInt>(CDV->getElementAsConstant(SubEltIdx)); in simplifyX86immShift()
1974 if (const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(V)) { in computeKnownBits() local1979 for (unsigned i = 0, e = CDV->getNumElements(); i != e; ++i) { in computeKnownBits()1982 APInt Elt = CDV->getElementAsAPInt(i); in computeKnownBits()
302 CDV:Cordova, Alaska, USA