LLVM  14.0.0git
NativeTypeBuiltin.h
Go to the documentation of this file.
1 //===- NativeTypeBuiltin.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_NATIVETYPEBUILTIN_H
10 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPEBUILTIN_H
11 
13 
15 
16 namespace llvm {
17 namespace pdb {
18 
19 class NativeSession;
20 
22 public:
25  uint64_t L);
26  ~NativeTypeBuiltin() override;
27 
28  void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields,
29  PdbSymbolIdField RecurseIdFields) const override;
30 
31  PDB_SymType getSymTag() const override;
32 
33  PDB_BuiltinType getBuiltinType() const override;
34  bool isConstType() const override;
35  uint64_t getLength() const override;
36  bool isUnalignedType() const override;
37  bool isVolatileType() const override;
38 
39 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::codeview::ModifierOptions
ModifierOptions
Equivalent to CV_modifier_t.
Definition: CodeView.h:302
T
#define T
Definition: Mips16ISelLowering.cpp:341
llvm::pdb::PDB_SymType
PDB_SymType
These values correspond to the SymTagEnum enumeration, and are documented here: https://msdn....
Definition: PDBTypes.h:243
llvm::pdb::NativeTypeBuiltin::~NativeTypeBuiltin
~NativeTypeBuiltin() override
Definition: NativeTypeBuiltin.cpp:22
llvm::pdb::NativeTypeBuiltin::isVolatileType
bool isVolatileType() const override
Definition: NativeTypeBuiltin.cpp:44
llvm::pdb::NativeTypeBuiltin::Mods
codeview::ModifierOptions Mods
Definition: NativeTypeBuiltin.h:41
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::NativeTypeBuiltin::getLength
uint64_t getLength() const override
Definition: NativeTypeBuiltin.cpp:38
uint64_t
llvm::pdb::NativeTypeBuiltin::getBuiltinType
PDB_BuiltinType getBuiltinType() const override
Definition: NativeTypeBuiltin.cpp:32
llvm::pdb::NativeTypeBuiltin::dump
void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override
Definition: NativeTypeBuiltin.cpp:24
llvm::pdb::NativeTypeBuiltin::NativeTypeBuiltin
NativeTypeBuiltin(NativeSession &PDBSession, SymIndexId Id, codeview::ModifierOptions Mods, PDB_BuiltinType T, uint64_t L)
Definition: NativeTypeBuiltin.cpp:16
llvm::pdb::NativeTypeBuiltin::Length
uint64_t Length
Definition: NativeTypeBuiltin.h:43
uint32_t
llvm::pdb::PDB_BuiltinType
PDB_BuiltinType
These values correspond to the Basictype enumeration, and are documented here: https://msdn....
Definition: PDBTypes.h:335
llvm::pdb::NativeTypeBuiltin::Session
NativeSession & Session
Definition: NativeTypeBuiltin.h:40
llvm::pdb::NativeTypeBuiltin
Definition: NativeTypeBuiltin.h:21
llvm::pdb::NativeTypeBuiltin::isUnalignedType
bool isUnalignedType() const override
Definition: NativeTypeBuiltin.cpp:40
NativeRawSymbol.h
llvm::pdb::NativeSession
Definition: NativeSession.h:28
llvm::pdb::PdbSymbolIdField
PdbSymbolIdField
Definition: IPDBRawSymbol.h:24
llvm::AMDGPU::VGPRIndexMode::Id
Id
Definition: SIDefines.h:231
llvm::pdb::NativeTypeBuiltin::isConstType
bool isConstType() const override
Definition: NativeTypeBuiltin.cpp:34
llvm::pdb::NativeTypeBuiltin::getSymTag
PDB_SymType getSymTag() const override
Definition: NativeTypeBuiltin.cpp:28
llvm::pdb::NativeTypeBuiltin::Type
PDB_BuiltinType Type
Definition: NativeTypeBuiltin.h:42
llvm::pdb::NativeRawSymbol
Definition: NativeRawSymbol.h:21