Home
last modified time | relevance | path

Searched refs:CDV (Results 1 – 4 of 4) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULibCalls.cpp875 ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(opr1); in fold_pow() local
878 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() local
1028 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() local
1074 ? (double)CDV->getElementAsFloat(i) in fold_pow()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp917 const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(C); in getConstantValue() local
921 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 …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
DX86InstCombineIntrinsic.cpp252 auto *CDV = dyn_cast<ConstantDataVector>(Amt); in simplifyX86immShift() local
253 if (!CDV) in simplifyX86immShift()
266 auto *SubElt = cast<ConstantInt>(CDV->getElementAsConstant(SubEltIdx)); in simplifyX86immShift()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DValueTracking.cpp1891 if (const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(V)) { in computeKnownBits() local
1895 for (unsigned i = 0, e = CDV->getNumElements(); i != e; ++i) { in computeKnownBits()
1898 APInt Elt = CDV->getElementAsAPInt(i); in computeKnownBits()