LLVM 24.0.0git
llvm::FLSrcLoc Struct Reference

Unique FLMD. More...

#include "llvm/IR/FunctionLocalMetadata.h"

Public Member Functions

 FLSrcLoc ()=default
 FLSrcLoc (uint32_t Line, uint16_t Column, FLIndex< FLScope > ScopeIdx)
uint64_t asRawInt () const
bool operator== (const FLSrcLoc &Other) const

Public Attributes

uint32_t Line
uint16_t Column
FLIndex< FLScope > ScopeIdx

Friends

hash_code hash_value (const FLSrcLoc &SrcLoc)

Detailed Description

Unique FLMD.

Stores source location information.

Definition at line 161 of file FunctionLocalMetadata.h.

Constructor & Destructor Documentation

◆ FLSrcLoc() [1/2]

llvm::FLSrcLoc::FLSrcLoc ( )
default

Referenced by hash_value, and operator==().

◆ FLSrcLoc() [2/2]

llvm::FLSrcLoc::FLSrcLoc ( uint32_t Line,
uint16_t Column,
FLIndex< FLScope > ScopeIdx )
inline

Definition at line 166 of file FunctionLocalMetadata.h.

References assert(), Column, Line, and ScopeIdx.

Member Function Documentation

◆ asRawInt()

uint64_t llvm::FLSrcLoc::asRawInt ( ) const
inline

Definition at line 170 of file FunctionLocalMetadata.h.

References uint64_t.

Referenced by hash_value, and operator==().

◆ operator==()

bool llvm::FLSrcLoc::operator== ( const FLSrcLoc & Other) const
inline

Definition at line 176 of file FunctionLocalMetadata.h.

References asRawInt(), FLSrcLoc(), and llvm::Other.

◆ hash_value

hash_code hash_value ( const FLSrcLoc & SrcLoc)
friend

Definition at line 179 of file FunctionLocalMetadata.h.

References asRawInt(), FLSrcLoc(), and hash_value.

Referenced by hash_value.

Member Data Documentation

◆ Column

uint16_t llvm::FLSrcLoc::Column

Definition at line 163 of file FunctionLocalMetadata.h.

Referenced by FLSrcLoc().

◆ Line

uint32_t llvm::FLSrcLoc::Line

Definition at line 162 of file FunctionLocalMetadata.h.

Referenced by FLSrcLoc().

◆ ScopeIdx

FLIndex<FLScope> llvm::FLSrcLoc::ScopeIdx

Definition at line 164 of file FunctionLocalMetadata.h.

Referenced by FLSrcLoc().


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