Searched refs:CDV (Results 1 – 4 of 4) sorted by relevance
875 ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(opr1); in fold_pow() local878 CF = CDV ? dyn_cast_or_null<ConstantFP>(CDV->getSplatValue()) : nullptr; in fold_pow()879 CINT = CDV ? dyn_cast_or_null<ConstantInt>(CDV->getSplatValue()) : nullptr; in fold_pow()1026 ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(opr0); in fold_pow() local1028 if (!CDV) { in fold_pow()1032 assert ((int)CDV->getNumElements() == getVecSize(FInfo) && in fold_pow()1038 ? (double)CDV->getElementAsFloat(i) in fold_pow()1039 : CDV->getElementAsDouble(i); in fold_pow()1071 if (const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(opr1)) { in fold_pow() local1074 ? (double)CDV->getElementAsFloat(i) in fold_pow()[all …]
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 …]
252 auto *CDV = dyn_cast<ConstantDataVector>(Amt); in simplifyX86immShift() local253 if (!CDV) in simplifyX86immShift()266 auto *SubElt = cast<ConstantInt>(CDV->getElementAsConstant(SubEltIdx)); in simplifyX86immShift()
1891 if (const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(V)) { in computeKnownBits() local1895 for (unsigned i = 0, e = CDV->getNumElements(); i != e; ++i) { in computeKnownBits()1898 APInt Elt = CDV->getElementAsAPInt(i); in computeKnownBits()