| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Constant.h | 586 From->getSubclassID() == ClassID::ConstantDataVector; in classof() 669 class ConstantDataVector final : public ConstantDataSequential { 670 ConstantDataVector(llvm::ConstantDataVector *C, Context &Ctx) in ConstantDataVector() function 671 : ConstantDataSequential(ClassID::ConstantDataVector, C, Ctx) {} in ConstantDataVector() 677 return From->getSubclassID() == ClassID::ConstantDataVector; in classof() 683 auto *NewLLVMC = llvm::ConstantDataVector::get(Ctx.LLVMCtx, Elts); in get() 687 auto *NewLLVMC = llvm::ConstantDataVector::get(Ctx.LLVMCtx, Elts); in get() 691 auto *NewLLVMC = llvm::ConstantDataVector::get(Ctx.LLVMCtx, Elts); in get() 695 auto *NewLLVMC = llvm::ConstantDataVector::get(Ctx.LLVMCtx, Elts); in get() 699 auto *NewLLVMC = llvm::ConstantDataVector::get(Ctx.LLVMCtx, Elts); in get() [all …]
|
| H A D | Values.def | 32 DEF_CONST(ConstantDataVector, ConstantDataVector)
|
| H A D | Value.h | 176 friend class ConstantDataVector; // For `Val` variable
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibCalls.cpp | 838 if (ConstantDataVector *CV = dyn_cast<ConstantDataVector>(opr0)) { in TDOFold() 864 nval = ConstantDataVector::get(context, tmp); in TDOFold() 867 nval = ConstantDataVector::get(context, tmp); in TDOFold() 925 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow() 949 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow() 998 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow() 1016 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow() 1064 ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(opr0); in fold_pow() 1085 cnval = ConstantDataVector::get(M->getContext(), tmp); in fold_pow() 1088 cnval = ConstantDataVector::get(M->getContext(), tmp); in fold_pow() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FixupVectorConstants.cpp | 218 return ConstantDataVector::get(Ctx, RawBits); in rebuildConstant() 226 return ConstantDataVector::getFP(SclTy, RawBits); in rebuildConstant() 227 return ConstantDataVector::get(Ctx, RawBits); in rebuildConstant() 235 return ConstantDataVector::getFP(SclTy, RawBits); in rebuildConstant() 236 return ConstantDataVector::get(Ctx, RawBits); in rebuildConstant() 245 return ConstantDataVector::getFP(SclTy, RawBits); in rebuildConstant() 246 return ConstantDataVector::get(Ctx, RawBits); in rebuildConstant()
|
| H A D | X86InstCombineIntrinsic.cpp | 43 if (auto *ConstantMask = dyn_cast<ConstantDataVector>(Mask)) in getBoolVecFromMask() 248 auto *CDV = dyn_cast<ConstantDataVector>(Amt); in simplifyX86immShift() 2887 if (auto *ConstantMask = dyn_cast<ConstantDataVector>(Mask)) { in instCombineIntrinsic()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 556 delete static_cast<ConstantDataVector *>(C); in deleteConstant() 1467 return getSequenceIfElementsMatch<ConstantDataVector>(C, V); in getImpl() 1490 return ConstantDataVector::getSplat(EC.getKnownMinValue(), V); in getSplat() 1722 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) in getSplatValue() 1803 if (auto *CDV = dyn_cast<ConstantDataVector>(this)) { in toConstantRange() 2904 Entry->reset(new ConstantDataVector(Ty, Slot.first().data())); in getImpl() 2986 Constant *ConstantDataVector::get(LLVMContext &Context, ArrayRef<uint8_t> Elts){ in get() 2991 Constant *ConstantDataVector::get(LLVMContext &Context, ArrayRef<uint16_t> Elts){ in get() 2996 Constant *ConstantDataVector::get(LLVMContext &Context, ArrayRef<uint32_t> Elts){ in get() 3001 Constant *ConstantDataVector::get(LLVMContext &Context, ArrayRef<uint64_t> Elts){ in get() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constants.h | 776 class ConstantDataVector final : public ConstantDataSequential { 779 explicit ConstantDataVector(Type *ty, const char *Data) 788 ConstantDataVector(const ConstantDataVector &) = delete;
|
| H A D | Value.def | 83 HANDLE_CONSTANT(ConstantDataVector)
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILDataScalarization.cpp | 361 } else if (ConstantDataVector *ConstDataVecInit = in transformInitializer() 362 llvm::dyn_cast<llvm::ConstantDataVector>(Init)) { in transformInitializer()
|
| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | Context.cpp | 368 It->second = std::unique_ptr<ConstantDataVector>( in getOrCreateValueInternal() 369 new ConstantDataVector(cast<llvm::ConstantDataVector>(LLVMC), *this)); in getOrCreateValueInternal()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 167 if (!isa<ConstantDataVector>(C) && !isa<ConstantVector>(C) && in FoldBitCast() 211 isa<ConstantDataVector>(C) || isa<ConstantInt>(C)) && in FoldBitCast() 1415 if (const auto *CDV = dyn_cast<ConstantDataVector>(Operand)) { in FlushFPConstant() 2027 if (!isa<ConstantVector>(Op) && !isa<ConstantDataVector>(Op)) in constantFoldVectorReduce() 2837 isa<ConstantDataVector>(Operands[0]) || in ConstantFoldScalarCall1() 3370 isa<ConstantDataVector>(Operands[0])) && in ConstantFoldIntrinsicCall2()
|
| H A D | TargetTransformInfo.cpp | 944 } else if (isa<ConstantVector>(V) || isa<ConstantDataVector>(V)) { in getOperandInfo()
|
| H A D | ValueTracking.cpp | 577 auto *VC = dyn_cast<ConstantDataVector>(RHS); in cmpExcludesZero() 2243 if (const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(V)) { in computeKnownBits() 8148 if (auto *C = dyn_cast<ConstantDataVector>(V)) { in isKnownNonNaN() 8168 if (auto *C = dyn_cast<ConstantDataVector>(V)) { in isKnownNonZero()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 934 const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(C); in getConstantValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 3372 V = ConstantDataVector::get(Context, Elts); in parseConstants() 3378 V = ConstantDataVector::get(Context, Elts); in parseConstants() 3384 V = ConstantDataVector::get(Context, Elts); in parseConstants() 3390 V = ConstantDataVector::get(Context, Elts); in parseConstants() 3396 V = ConstantDataVector::getFP(EltTy, Elts); in parseConstants() 3402 V = ConstantDataVector::getFP(EltTy, Elts); in parseConstants() 3408 V = ConstantDataVector::getFP(EltTy, Elts); in parseConstants() 3414 V = ConstantDataVector::getFP(EltTy, Elts); in parseConstants()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVPreLegalizer.cpp | 71 if (auto *ConstVec = dyn_cast<ConstantDataVector>(Const)) { in addConstantsToTrack()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 1150 if (isa<ConstantDataVector>(Val) || isa<ConstantVector>(Val)) { in minRequiredElementSize()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | DataFlowSanitizer.cpp | 3195 return ConstantDataVector::get(IRB.getContext(), OrderingTable); in makeAddAcquireOrderingTable() 3238 return ConstantDataVector::get(IRB.getContext(), OrderingTable); in makeAddReleaseOrderingTable()
|
| H A D | NumericalStabilitySanitizer.cpp | 1905 } else if (auto *CDV = dyn_cast<ConstantDataVector>(C)) { in propagateNonFTStore()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ComplexDeinterleavingPass.cpp | 2005 if (isa<ConstantDataVector>(V)) in identifySplat()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | Core.h | 1889 macro(ConstantDataVector) \
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 1451 if (ConstantDataVector *C = dyn_cast<ConstantDataVector>(V)) in dyn_castNegVal()
|
| H A D | InstCombineMulDivRem.cpp | 2512 if (isa<ConstantVector>(Op1) || isa<ConstantDataVector>(Op1)) { in visitSRem()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 1265 isa<ConstantDataVector>(V) || isa<UndefValue>(V); in AddAliasScopeMetadata()
|