Home
last modified time | relevance | path

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

/src/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 …]
/src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp1066 ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(opr0); in fold_pow() local
1068 if (!CDV) { in fold_pow()
1072 assert ((int)CDV->getNumElements() == getVecSize(FInfo) && in fold_pow()
1077 double V = CDV->getElementAsAPFloat(i).convertToDouble(); in fold_pow()
/src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DNumericalStabilitySanitizer.cpp1848 } else if (auto *CDV = dyn_cast<ConstantDataVector>(C)) { in propagateNonFTStore() local
1850 cast<VectorType>(CDV->getType())->getElementCount().getFixedValue(); in propagateNonFTStore()
1851 switch (CDV->getType()->getScalarSizeInBits()) { in propagateNonFTStore()
/src/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp254 auto *CDV = dyn_cast<ConstantDataVector>(Amt); in simplifyX86immShift() local
255 if (!CDV) in simplifyX86immShift()
268 auto *SubElt = cast<ConstantInt>(CDV->getElementAsConstant(SubEltIdx)); in simplifyX86immShift()
/src/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp1771 if (auto *CDV = dyn_cast<ConstantDataVector>(this)) { in toConstantRange() local
1773 for (unsigned I = 0, E = CDV->getNumElements(); I < E; ++I) in toConstantRange()
1774 CR = CR.unionWith(CDV->getElementAsAPInt(I)); in toConstantRange()
/src/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp2070 if (const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(V)) { in computeKnownBits() local
2075 for (unsigned i = 0, e = CDV->getNumElements(); i != e; ++i) { in computeKnownBits()
2078 APInt Elt = CDV->getElementAsAPInt(i); in computeKnownBits()