Searched refs:CDV (Results 1 – 3 of 3) sorted by relevance
883 ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(opr1); in fold_pow() local886 CF = CDV ? dyn_cast_or_null<ConstantFP>(CDV->getSplatValue()) : nullptr; in fold_pow()887 CINT = CDV ? dyn_cast_or_null<ConstantInt>(CDV->getSplatValue()) : nullptr; in fold_pow()1033 ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(opr0); in fold_pow() local1035 if (!CDV) { in fold_pow()1039 assert ((int)CDV->getNumElements() == getVecSize(FInfo) && in fold_pow()1045 ? (double)CDV->getElementAsFloat(i) in fold_pow()1046 : CDV->getElementAsDouble(i); in fold_pow()1078 if (const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(opr1)) { in fold_pow() local1081 ? (double)CDV->getElementAsFloat(i) in fold_pow()[all …]
921 const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(C); in getConstantValue() local925 if (CDV) { in getConstantValue()926 elemNum = CDV->getNumElements(); in getConstantValue()927 ElemTy = CDV->getElementType(); in getConstantValue()953 if(CDV) in getConstantValue()955 Result.AggregateVal[i].FloatVal = CDV->getElementAsFloat(i); in getConstantValue()975 if(CDV) in getConstantValue()977 Result.AggregateVal[i].DoubleVal = CDV->getElementAsDouble(i); in getConstantValue()1001 if(CDV) in getConstantValue()1004 CDV->getElementType()->getPrimitiveSizeInBits(), in getConstantValue()[all …]
341 auto CDV = dyn_cast<ConstantDataVector>(Arg1); in simplifyX86immShift() local343 if (!CAZ && !CDV && !CInt) in simplifyX86immShift()347 if (CDV) { in simplifyX86immShift()350 auto VT = cast<VectorType>(CDV->getType()); in simplifyX86immShift()358 auto SubElt = cast<ConstantInt>(CDV->getElementAsConstant(SubEltIdx)); in simplifyX86immShift()