Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp935 const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(C); in getConstantValue() local
939 if (CDV) { in getConstantValue()
940 elemNum = CDV->getNumElements(); in getConstantValue()
941 ElemTy = CDV->getElementType(); in getConstantValue()
967 if(CDV) in getConstantValue()
969 Result.AggregateVal[i].FloatVal = CDV->getElementAsFloat(i); in getConstantValue()
989 if(CDV) in getConstantValue()
991 Result.AggregateVal[i].DoubleVal = CDV->getElementAsDouble(i); in getConstantValue()
1015 if(CDV) in getConstantValue()
1018 CDV->getElementType()->getPrimitiveSizeInBits(), in getConstantValue()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp584 if (const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(V)) { in isKnownIntegral() local
585 for (unsigned i = 0, e = CDV->getNumElements(); i != e; ++i) { in isKnownIntegral()
586 Constant *ConstElt = CDV->getElementAsConstant(i); in isKnownIntegral()
1053 ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(opr0); in fold_pow() local
1055 if (!CDV) { in fold_pow()
1059 assert ((int)CDV->getNumElements() == getVecSize(FInfo) && in fold_pow()
1064 double V = CDV->getElementAsAPFloat(i).convertToDouble(); in fold_pow()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp253 auto *CDV = dyn_cast<ConstantDataVector>(Amt); in simplifyX86immShift() local
254 if (!CDV) in simplifyX86immShift()
267 auto *SubElt = cast<ConstantInt>(CDV->getElementAsConstant(SubEltIdx)); in simplifyX86immShift()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp1784 if (const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(V)) { in computeKnownBits() local
1789 for (unsigned i = 0, e = CDV->getNumElements(); i != e; ++i) { in computeKnownBits()
1792 APInt Elt = CDV->getElementAsAPInt(i); in computeKnownBits()