LLVM 22.0.0git
llvm::MDNodeSubsetEqualImpl< DIDerivedType > Struct Reference

#include "IR/LLVMContextImpl.h"

Inheritance diagram for llvm::MDNodeSubsetEqualImpl< DIDerivedType >:
[legend]

Public Types

using KeyTy = MDNodeKeyImpl<DIDerivedType>

Static Public Member Functions

static bool isSubsetEqual (const KeyTy &LHS, const DIDerivedType *RHS)
static bool isSubsetEqual (const DIDerivedType *LHS, const DIDerivedType *RHS)
static bool isODRMember (unsigned Tag, const Metadata *Scope, const MDString *Name, const DIDerivedType *RHS)
 Subprograms compare equal if they declare the same function in an ODR type.

Detailed Description

Definition at line 736 of file LLVMContextImpl.h.

Member Typedef Documentation

◆ KeyTy

Member Function Documentation

◆ isODRMember()

bool llvm::MDNodeSubsetEqualImpl< DIDerivedType >::isODRMember ( unsigned Tag,
const Metadata * Scope,
const MDString * Name,
const DIDerivedType * RHS )
inlinestatic

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

Definition at line 751 of file LLVMContextImpl.h.

References llvm::dyn_cast_or_null(), RHS, and llvm::Tag.

Referenced by isSubsetEqual(), and isSubsetEqual().

◆ isSubsetEqual() [1/2]

bool llvm::MDNodeSubsetEqualImpl< DIDerivedType >::isSubsetEqual ( const DIDerivedType * LHS,
const DIDerivedType * RHS )
inlinestatic

Definition at line 743 of file LLVMContextImpl.h.

References isODRMember(), LHS, and RHS.

◆ isSubsetEqual() [2/2]

bool llvm::MDNodeSubsetEqualImpl< DIDerivedType >::isSubsetEqual ( const KeyTy & LHS,
const DIDerivedType * RHS )
inlinestatic

Definition at line 739 of file LLVMContextImpl.h.

References isODRMember(), LHS, and RHS.


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