class DIModule

Declaration

class DIModule : public DIScope { /* full declaration omitted */ };

Description

Represents a module in the programming language, for example, a Clang module, or a Fortran module.

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2307

Inherits from: DIScope

Member Variables

private unsigned int LineNo
private bool IsDecl

Inherited from Metadata:

protected Storage
protected SubclassData1
protected SubclassData16 = 0
protected SubclassData32 = 0

Method Overview

  • private DIModule(llvm::LLVMContext & Context, llvm::Metadata::StorageType Storage, unsigned int LineNo, bool IsDecl, ArrayRef<llvm::Metadata *> Ops)
  • public static bool classof(const llvm::Metadata * MD)
  • public llvm::TempDIModule clone() const
  • private llvm::TempDIModule cloneImpl() const
  • public llvm::StringRef getAPINotesFile() const
  • public llvm::StringRef getConfigurationMacros() const
  • private static llvm::DIModule * getImpl(llvm::LLVMContext & Context, llvm::DIFile * File, llvm::DIScope * Scope, llvm::StringRef Name, llvm::StringRef ConfigurationMacros, llvm::StringRef IncludePath, llvm::StringRef APINotesFile, unsigned int LineNo, bool IsDecl, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
  • private static llvm::DIModule * getImpl(llvm::LLVMContext & Context, llvm::Metadata * File, llvm::Metadata * Scope, llvm::MDString * Name, llvm::MDString * ConfigurationMacros, llvm::MDString * IncludePath, llvm::MDString * APINotesFile, unsigned int LineNo, bool IsDecl, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
  • public llvm::StringRef getIncludePath() const
  • public bool getIsDecl() const
  • public unsigned int getLineNo() const
  • public llvm::StringRef getName() const
  • public llvm::MDString * getRawAPINotesFile() const
  • public llvm::MDString * getRawConfigurationMacros() const
  • public llvm::MDString * getRawIncludePath() const
  • public llvm::MDString * getRawName() const
  • public llvm::Metadata * getRawScope() const
  • public llvm::DIScope * getScope() const
  • private ~DIModule()

Inherited from DIScope:

Inherited from DINode:

Inherited from MDNode:

Inherited from Metadata:

Methods

DIModule(llvm::LLVMContext& Context,
         llvm::Metadata::StorageType Storage,
         unsigned int LineNo,
         bool IsDecl,
         ArrayRef<llvm::Metadata*> Ops)

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2313

Parameters

llvm::LLVMContext& Context
llvm::Metadata::StorageType Storage
unsigned int LineNo
bool IsDecl
ArrayRef<llvm::Metadata*> Ops

static bool classof(const llvm::Metadata* MD)

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2374

Parameters

const llvm::Metadata* MD

llvm::TempDIModule clone() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2356

llvm::TempDIModule cloneImpl() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2334

llvm::StringRef getAPINotesFile() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2362

llvm::StringRef getConfigurationMacros() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2360

static llvm::DIModule* getImpl(
    llvm::LLVMContext& Context,
    llvm::DIFile* File,
    llvm::DIScope* Scope,
    llvm::StringRef Name,
    llvm::StringRef ConfigurationMacros,
    llvm::StringRef IncludePath,
    llvm::StringRef APINotesFile,
    unsigned int LineNo,
    bool IsDecl,
    llvm::Metadata::StorageType Storage,
    bool ShouldCreate = true)

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2317

Parameters

llvm::LLVMContext& Context
llvm::DIFile* File
llvm::DIScope* Scope
llvm::StringRef Name
llvm::StringRef ConfigurationMacros
llvm::StringRef IncludePath
llvm::StringRef APINotesFile
unsigned int LineNo
bool IsDecl
llvm::Metadata::StorageType Storage
bool ShouldCreate = true

static llvm::DIModule* getImpl(
    llvm::LLVMContext& Context,
    llvm::Metadata* File,
    llvm::Metadata* Scope,
    llvm::MDString* Name,
    llvm::MDString* ConfigurationMacros,
    llvm::MDString* IncludePath,
    llvm::MDString* APINotesFile,
    unsigned int LineNo,
    bool IsDecl,
    llvm::Metadata::StorageType Storage,
    bool ShouldCreate = true)

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2328

Parameters

llvm::LLVMContext& Context
llvm::Metadata* File
llvm::Metadata* Scope
llvm::MDString* Name
llvm::MDString* ConfigurationMacros
llvm::MDString* IncludePath
llvm::MDString* APINotesFile
unsigned int LineNo
bool IsDecl
llvm::Metadata::StorageType Storage
bool ShouldCreate = true

llvm::StringRef getIncludePath() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2361

bool getIsDecl() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2364

unsigned int getLineNo() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2363

llvm::StringRef getName() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2359

llvm::MDString* getRawAPINotesFile() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2372

llvm::MDString* getRawConfigurationMacros() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2368

llvm::MDString* getRawIncludePath() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2371

llvm::MDString* getRawName() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2367

llvm::Metadata* getRawScope() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2366

llvm::DIScope* getScope() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2358

~DIModule()

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2315