LLVM: llvm::MDNodeSubsetEqualImpl< DISubprogram > Struct Reference (original) (raw)
#include "[IR/LLVMContextImpl.h](LLVMContextImpl%5F8h%5Fsource.html)"
Inheritance diagram for llvm::MDNodeSubsetEqualImpl< DISubprogram >:
[legend]
| 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 1008 of file LLVMContextImpl.h.
Member Typedef Documentation
◆ KeyTy
using llvm::MDNodeSubsetEqualImpl< DISubprogram >::KeyTy = MDNodeKeyImpl<DISubprogram>
Definition at line 1009 of file LLVMContextImpl.h.
Member Function Documentation
◆ isDeclarationOfODRMember()
| 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 1024 of file LLVMContextImpl.h.
References llvm::dyn_cast_or_null(), llvm::LinkageName, and RHS.
Referenced by isSubsetEqual(), and isSubsetEqual().
◆ isSubsetEqual() [1/2]
| bool llvm::MDNodeSubsetEqualImpl< DISubprogram >::isSubsetEqual ( const DISubprogram * LHS, const DISubprogram * RHS ) | inlinestatic |
|---|
Definition at line 1016 of file LLVMContextImpl.h.
References isDeclarationOfODRMember(), LHS, and RHS.
◆ isSubsetEqual() [2/2]
| bool llvm::MDNodeSubsetEqualImpl< DISubprogram >::isSubsetEqual ( const KeyTy & LHS, const DISubprogram * RHS ) | inlinestatic |
|---|
Definition at line 1011 of file LLVMContextImpl.h.
References isDeclarationOfODRMember(), LHS, and RHS.
The documentation for this struct was generated from the following file:
- lib/IR/LLVMContextImpl.h