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:
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:
- public classof
- public getDirectory
- public getFile
- public getFilename
- public getName
- public getRawFile
- public getScope
- public getSource
Inherited from DINode:
- public classof
- protected getCanonicalMDString
- public getFlag
- public getFlagString
- protected getOperandAs
- protected getStringOperand
- public getTag
- protected setTag
- public splitFlags
Inherited from MDNode:
- public classof
- public clone
- public concatenate
- public deleteTemporary
- protected dropAllReferences
- public dumpTree
- public dumpTree
- public get
- public getContext
- public getDistinct
- public getIfExists
- public getMostGenericAliasScope
- public getMostGenericAlignmentOrDereferenceable
- public getMostGenericFPMath
- public getMostGenericRange
- public getMostGenericTBAA
- public getNumOperands
- protected getNumUnresolved
- public getOperand
- public getTemporary
- public intersect
- public isDistinct
- public isResolved
- public isTBAAVtableAccess
- public isTemporary
- public isUniqued
- protected mutable_begin
- protected mutable_end
- protected mutable_operands
- public op_begin
- public op_end
- public operands
- public printTree
- public printTree
- public replaceAllUsesWith
- public replaceOperandWith
- public replaceWithDistinct
- public replaceWithPermanent
- public replaceWithUniqued
- protected resize
- public resolve
- public resolveCycles
- protected setNumUnresolved
- protected setOperand
- protected storeDistinctInContext
- protected storeImpl
- protected storeImpl
Inherited from Metadata:
- public dump
- public dump
- public getMetadataID
- protected handleChangedOperand
- public print
- public print
- public printAsOperand
- public printAsOperand
Methods
¶DIModule(llvm::LLVMContext& Context,
llvm::Metadata::StorageType Storage,
unsigned int LineNo,
bool IsDecl,
ArrayRef<llvm::Metadata*> Ops)
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)
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
llvm::TempDIModule clone() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2356
¶llvm::TempDIModule cloneImpl() const
llvm::TempDIModule cloneImpl() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2334
¶llvm::StringRef getAPINotesFile() const
llvm::StringRef getAPINotesFile() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2362
¶llvm::StringRef getConfigurationMacros() const
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)
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)
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
llvm::StringRef getIncludePath() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2361
¶bool getIsDecl() const
bool getIsDecl() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2364
¶unsigned int getLineNo() const
unsigned int getLineNo() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2363
¶llvm::StringRef getName() const
llvm::StringRef getName() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2359
¶llvm::MDString* getRawAPINotesFile() const
llvm::MDString* getRawAPINotesFile() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2372
¶llvm::MDString* getRawConfigurationMacros() const
llvm::MDString* getRawConfigurationMacros() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2368
¶llvm::MDString* getRawIncludePath() const
llvm::MDString* getRawIncludePath() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2371
¶llvm::MDString* getRawName() const
llvm::MDString* getRawName() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2367
¶llvm::Metadata* getRawScope() const
llvm::Metadata* getRawScope() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2366
¶llvm::DIScope* getScope() const
llvm::DIScope* getScope() const
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2358
¶~DIModule()
~DIModule()
Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2315