Searched refs:CDV (Results 1 – 7 of 7) sorted by relevance
401 Constant *CDV = ConstantArray::get(ArrayTy, Vals); in TEST() local402 ASSERT_TRUE(dyn_cast<ConstantDataArray>(CDV) != nullptr) in TEST()410 Constant *CDV = ConstantArray::get(ArrayTy, Vals); in TEST() local411 ASSERT_TRUE(dyn_cast<ConstantDataArray>(CDV) != nullptr) in TEST()423 Constant *CDV = ConstantVector::get(Vals); in TEST() local424 ASSERT_TRUE(dyn_cast<ConstantDataVector>(CDV) != nullptr) in TEST()431 Constant *CDV = ConstantVector::get(Vals); in TEST() local432 ASSERT_TRUE(dyn_cast<ConstantDataVector>(CDV) != nullptr) in TEST()
920 const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(C); in getConstantValue() local924 if (CDV) { in getConstantValue()925 elemNum = CDV->getNumElements(); in getConstantValue()926 ElemTy = CDV->getElementType(); in getConstantValue()952 if(CDV) in getConstantValue()954 Result.AggregateVal[i].FloatVal = CDV->getElementAsFloat(i); in getConstantValue()974 if(CDV) in getConstantValue()976 Result.AggregateVal[i].DoubleVal = CDV->getElementAsDouble(i); in getConstantValue()1000 if(CDV) in getConstantValue()1003 CDV->getElementType()->getPrimitiveSizeInBits(), in getConstantValue()[all …]
80 ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(C); in FoldBitCast() local81 if (!CDV) in FoldBitCast()91 Result |= CDV->getElementAsInteger(NumSrcElts-i-1); in FoldBitCast()93 Result |= CDV->getElementAsInteger(i); in FoldBitCast()
252 auto CDV = dyn_cast<ConstantDataVector>(Arg1); in SimplifyX86immshift() local254 if (!CAZ && !CDV && !CInt) in SimplifyX86immshift()258 if (CDV) { in SimplifyX86immshift()261 auto VT = cast<VectorType>(CDV->getType()); in SimplifyX86immshift()269 auto SubElt = cast<ConstantInt>(CDV->getElementAsConstant(SubEltIdx)); in SimplifyX86immshift()
2235 10299 "CDV"
2469 11881 "CDV"
3236 15377 "CDV"