LLVM 19.0.0git
Public Types | Static Public Member Functions | List of all members
llvm::MDNodeSubsetEqualImpl< DISubprogram > Struct Reference

#include "IR/LLVMContextImpl.h"

Public Types

using KeyTy = MDNodeKeyImpl< DISubprogram >
 

Static Public Member Functions

static bool isSubsetEqual (const KeyTy &LHS, const DISubprogram *RHS)
 
static bool isSubsetEqual (const DISubprogram *LHS, const DISubprogram *RHS)
 
static bool isDeclarationOfODRMember (bool IsDefinition, const Metadata *Scope, const MDString *LinkageName, const Metadata *TemplateParams, const DISubprogram *RHS)
 Subprograms compare equal if they declare the same function in an ODR type.
 

Detailed Description

Definition at line 844 of file LLVMContextImpl.h.

Member Typedef Documentation

◆ KeyTy

Definition at line 845 of file LLVMContextImpl.h.

Member Function Documentation

◆ isDeclarationOfODRMember()

static bool llvm::MDNodeSubsetEqualImpl< DISubprogram >::isDeclarationOfODRMember ( bool  IsDefinition,
const Metadata Scope,
const MDString LinkageName,
const Metadata TemplateParams,
const DISubprogram RHS 
)
inlinestatic

Subprograms compare equal if they declare the same function in an ODR type.

Definition at line 860 of file LLVMContextImpl.h.

References llvm::LinkageName, and RHS.

◆ isSubsetEqual() [1/2]

static bool llvm::MDNodeSubsetEqualImpl< DISubprogram >::isSubsetEqual ( const DISubprogram LHS,
const DISubprogram RHS 
)
inlinestatic

Definition at line 852 of file LLVMContextImpl.h.

References LHS, and RHS.

◆ isSubsetEqual() [2/2]

static bool llvm::MDNodeSubsetEqualImpl< DISubprogram >::isSubsetEqual ( const KeyTy LHS,
const DISubprogram RHS 
)
inlinestatic

Definition at line 847 of file LLVMContextImpl.h.

References LHS, and RHS.


The documentation for this struct was generated from the following file: