Home
last modified time | relevance | path

Searched refs:DISubrange (Results 1 – 19 of 19) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DDebugInfoMetadata.cpp380 DISubrange::DISubrange(LLVMContext &C, StorageType Storage, in DISubrange() function in DISubrange
383 DISubrange *DISubrange::getImpl(LLVMContext &Context, int64_t Count, int64_t Lo, in getImpl()
393 DISubrange *DISubrange::getImpl(LLVMContext &Context, Metadata *CountNode, in getImpl()
402 DISubrange *DISubrange::getImpl(LLVMContext &Context, Metadata *CountNode, in getImpl()
405 DEFINE_GETIMPL_LOOKUP(DISubrange, (CountNode, LB, UB, Stride)); in getImpl()
407 DEFINE_GETIMPL_STORE_NO_CONSTRUCTOR_ARGS(DISubrange, Ops); in getImpl()
410 DISubrange::BoundType DISubrange::getCount() const { in getCount()
431 DISubrange::BoundType DISubrange::getLowerBound() const { in getLowerBound()
452 DISubrange::BoundType DISubrange::getUpperBound() const { in getUpperBound()
473 DISubrange::BoundType DISubrange::getStride() const { in getStride()
H A DDIBuilder.cpp700 DISubrange *DIBuilder::getOrCreateSubrange(int64_t Lo, int64_t Count) { in getOrCreateSubrange()
705 return DISubrange::get(VMContext, CountNode, LB, nullptr, nullptr); in getOrCreateSubrange()
708 DISubrange *DIBuilder::getOrCreateSubrange(int64_t Lo, Metadata *CountNode) { in getOrCreateSubrange()
711 return DISubrange::get(VMContext, CountNode, LB, nullptr, nullptr); in getOrCreateSubrange()
714 DISubrange *DIBuilder::getOrCreateSubrange(Metadata *CountNode, Metadata *LB, in getOrCreateSubrange()
716 return DISubrange::get(VMContext, CountNode, LB, UB, Stride); in getOrCreateSubrange()
H A DLLVMContextImpl.h363 template <> struct MDNodeKeyImpl<DISubrange> {
373 MDNodeKeyImpl(const DISubrange *N)
377 bool isKeyOf(const DISubrange *RHS) const {
H A DAsmWriter.cpp1885 static void writeDISubrange(raw_ostream &Out, const DISubrange *N, in writeDISubrange()
H A DVerifier.cpp1032 void Verifier::visitDISubrange(const DISubrange &N) { in visitDISubrange()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DDIBuilder.h652 DISubrange *getOrCreateSubrange(int64_t Lo, int64_t Count);
653 DISubrange *getOrCreateSubrange(int64_t Lo, Metadata *CountNode);
654 DISubrange *getOrCreateSubrange(Metadata *Count, Metadata *LowerBound,
H A DMetadata.def87 HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DISubrange)
H A DDebugInfoMetadata.h337 class DISubrange : public DINode {
341 DISubrange(LLVMContext &C, StorageType Storage, ArrayRef<Metadata *> Ops);
343 ~DISubrange() = default;
345 static DISubrange *getImpl(LLVMContext &Context, int64_t Count,
349 static DISubrange *getImpl(LLVMContext &Context, Metadata *CountNode,
353 static DISubrange *getImpl(LLVMContext &Context, Metadata *CountNode,
364 DEFINE_MDNODE_GET(DISubrange, (int64_t Count, int64_t LowerBound = 0),
367 DEFINE_MDNODE_GET(DISubrange, (Metadata * CountNode, int64_t LowerBound = 0),
370 DEFINE_MDNODE_GET(DISubrange,
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.h322 void constructSubrangeDIE(DIE &Buffer, const DISubrange *SR, DIE *IndexTy);
H A DDwarfUnit.cpp1352 void DwarfUnit::constructSubrangeDIE(DIE &Buffer, const DISubrange *SR, in constructSubrangeDIE()
1364 DISubrange::BoundType Bound) -> void { in constructSubrangeDIE()
1463 const auto Subrange = cast<DISubrange>(Elements[0]); in hasVectorBeenPadded()
1541 constructSubrangeDIE(Buffer, cast<DISubrange>(Element), IdxTy); in constructArrayTypeDIE()
H A DCodeViewDebug.cpp1713 const DISubrange *Subrange = cast<DISubrange>(Element); in lowerTypeArray()
H A DDwarfCompileUnit.cpp930 if (auto *Subrange = dyn_cast<DISubrange>(El)) { in dependencies()
/openbsd-src/gnu/llvm/llvm/lib/Target/BPF/
H A DBPFAbstractMemberAccess.cpp340 const DISubrange *SR = cast<DISubrange>(Element); in calcArraySize()
H A DBTFDebug.cpp706 const DISubrange *SR = cast<DISubrange>(Element); in visitArrayType()
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp1363 Val = GET_OR_DISTINCT(DISubrange, in parseOneMetadata()
1367 Val = GET_OR_DISTINCT(DISubrange, (Context, getMDOrNull(Record[1]), in parseOneMetadata()
1372 DISubrange, (Context, getMDOrNull(Record[1]), getMDOrNull(Record[2]), in parseOneMetadata()
/openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp229 void writeDISubrange(const DISubrange *N, SmallVectorImpl<uint64_t> &Record,
1405 static uint64_t rotateSign(DISubrange::BoundType Val) { in rotateSign()
1409 void DXILBitcodeWriter::writeDISubrange(const DISubrange *N, in writeDISubrange()
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp301 void writeDISubrange(const DISubrange *N, SmallVectorImpl<uint64_t> &Record,
1646 void ModuleBitcodeWriter::writeDISubrange(const DISubrange *N, in writeDISubrange()
/openbsd-src/gnu/llvm/llvm/docs/
H A DLangRef.rst5613 descriptors <DISubrange>`, each representing the range of subscripts at that
5642 DISubrange subsubsection
5645 ``DISubrange`` nodes are the elements for ``DW_TAG_array_type`` variants of
5654 !0 = !DISubrange(count: 5, lowerBound: 0) ; array counting from 0
5655 !1 = !DISubrange(count: 5, lowerBound: 1) ; array counting from 1
5656 !2 = !DISubrange(count: -1) ; empty array.
5666 !11 = !DISubrange(count: !10, lowerBound: 0)
5670 !13 = !DISubrange(count: !12, lowerBound: 0)
/openbsd-src/gnu/llvm/llvm/lib/AsmParser/
H A DLLParser.cpp4842 Result = GET_OR_DISTINCT(DISubrange, in parseDISubrange()