LLVM  14.0.0git
NativeTypeArray.h
Go to the documentation of this file.
1 //===- NativeTypeArray.h ------------------------------------------ C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPEARRAY_H
10 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPEARRAY_H
11 
13 
16 
17 namespace llvm {
18 namespace pdb {
19 
20 class NativeSession;
21 
23 public:
26  ~NativeTypeArray() override;
27 
28  void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields,
29  PdbSymbolIdField RecurseIdFields) const override;
30 
31  SymIndexId getArrayIndexTypeId() const override;
32 
33  bool isConstType() const override;
34  bool isUnalignedType() const override;
35  bool isVolatileType() const override;
36 
37  uint32_t getCount() const override;
38  SymIndexId getTypeId() const override;
39  uint64_t getLength() const override;
40 
41 protected:
44 };
45 
46 } // namespace pdb
47 } // namespace llvm
48 
49 #endif
llvm
This file implements support for optimizing divisions by a constant.
Definition: AllocatorList.h:23
llvm::pdb::NativeTypeArray::~NativeTypeArray
~NativeTypeArray() override
Definition: NativeTypeArray.cpp:24
llvm::pdb::NativeTypeArray::isConstType
bool isConstType() const override
Definition: NativeTypeArray.cpp:49
llvm::pdb::NativeTypeArray::getCount
uint32_t getCount() const override
Definition: NativeTypeArray.cpp:55
llvm::pdb::NativeTypeArray::isVolatileType
bool isVolatileType() const override
Definition: NativeTypeArray.cpp:53
llvm::pdb::NativeTypeArray::isUnalignedType
bool isUnalignedType() const override
Definition: NativeTypeArray.cpp:51
llvm::pdb::NativeTypeArray::NativeTypeArray
NativeTypeArray(NativeSession &Session, SymIndexId Id, codeview::TypeIndex TI, codeview::ArrayRecord Record)
Definition: NativeTypeArray.cpp:19
llvm::raw_ostream
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition: raw_ostream.h:53
PDBTypes.h
llvm::pdb::NativeTypeArray::getLength
uint64_t getLength() const override
Definition: NativeTypeArray.cpp:66
llvm::pdb::NativeTypeArray::Record
codeview::ArrayRecord Record
Definition: NativeTypeArray.h:42
llvm::pdb::NativeTypeArray::dump
void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override
Definition: NativeTypeArray.cpp:26
uint64_t
TypeRecord.h
llvm::pdb::NativeTypeArray::getArrayIndexTypeId
SymIndexId getArrayIndexTypeId() const override
Definition: NativeTypeArray.cpp:45
llvm::pdb::NativeTypeArray::getTypeId
SymIndexId getTypeId() const override
Definition: NativeTypeArray.cpp:61
llvm::Record
Definition: Record.h:1472
llvm::pdb::NativeTypeArray::Index
codeview::TypeIndex Index
Definition: NativeTypeArray.h:43
uint32_t
llvm::pdb::NativeTypeArray
Definition: NativeTypeArray.h:22
NativeRawSymbol.h
llvm::pdb::NativeSession
Definition: NativeSession.h:28
llvm::pdb::PdbSymbolIdField
PdbSymbolIdField
Definition: IPDBRawSymbol.h:24
llvm::codeview::ArrayRecord
Definition: TypeRecord.h:395
llvm::codeview::TypeIndex
A 32-bit type reference.
Definition: TypeIndex.h:96
llvm::pdb::NativeRawSymbol::Session
NativeSession & Session
Definition: NativeRawSymbol.h:232
llvm::AMDGPU::VGPRIndexMode::Id
Id
Definition: SIDefines.h:231
llvm::pdb::NativeRawSymbol
Definition: NativeRawSymbol.h:21