Home
last modified time | relevance | path

Searched refs:ConstantDataVector (Results 1 – 25 of 34) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DConstant.h586 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 DValues.def32 DEF_CONST(ConstantDataVector, ConstantDataVector)
H A DValue.h176 friend class ConstantDataVector; // For `Val` variable
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp838 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 DX86FixupVectorConstants.cpp218 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 DX86InstCombineIntrinsic.cpp43 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 DConstants.cpp556 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 DConstants.h776 class ConstantDataVector final : public ConstantDataSequential {
779 explicit ConstantDataVector(Type *ty, const char *Data)
788 ConstantDataVector(const ConstantDataVector &) = delete;
H A DValue.def83 HANDLE_CONSTANT(ConstantDataVector)
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILDataScalarization.cpp361 } else if (ConstantDataVector *ConstDataVecInit = in transformInitializer()
362 llvm::dyn_cast<llvm::ConstantDataVector>(Init)) { in transformInitializer()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DContext.cpp368 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 DConstantFolding.cpp167 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 DTargetTransformInfo.cpp944 } else if (isa<ConstantVector>(V) || isa<ConstantDataVector>(V)) { in getOperandInfo()
H A DValueTracking.cpp577 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 DExecutionEngine.cpp934 const ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(C); in getConstantValue()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp3372 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 DSPIRVPreLegalizer.cpp71 if (auto *ConstVec = dyn_cast<ConstantDataVector>(Const)) { in addConstantsToTrack()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h1150 if (isa<ConstantDataVector>(Val) || isa<ConstantVector>(Val)) { in minRequiredElementSize()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp3195 return ConstantDataVector::get(IRB.getContext(), OrderingTable); in makeAddAcquireOrderingTable()
3238 return ConstantDataVector::get(IRB.getContext(), OrderingTable); in makeAddReleaseOrderingTable()
H A DNumericalStabilitySanitizer.cpp1905 } else if (auto *CDV = dyn_cast<ConstantDataVector>(C)) { in propagateNonFTStore()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DComplexDeinterleavingPass.cpp2005 if (isa<ConstantDataVector>(V)) in identifySplat()
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h1889 macro(ConstantDataVector) \
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1451 if (ConstantDataVector *C = dyn_cast<ConstantDataVector>(V)) in dyn_castNegVal()
H A DInstCombineMulDivRem.cpp2512 if (isa<ConstantVector>(Op1) || isa<ConstantDataVector>(Op1)) { in visitSRem()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1265 isa<ConstantDataVector>(V) || isa<UndefValue>(V); in AddAliasScopeMetadata()

12