MLIR  16.0.0git
Static Public Member Functions | Static Public Attributes | List of all members
llvm::PointerLikeTypeTraits< mlir::Location > Struct Template Reference

We align LocationStorage by 8, so allow LLVM to steal the low bits. More...

#include "mlir/IR/Location.h"

+ Collaboration diagram for llvm::PointerLikeTypeTraits< mlir::Location >:

Static Public Member Functions

static voidgetAsVoidPointer (mlir::Location I)
 
static mlir::Location getFromVoidPointer (void *P)
 

Static Public Attributes

static constexpr int NumLowBitsAvailable
 

Detailed Description

template<>
struct llvm::PointerLikeTypeTraits< mlir::Location >

We align LocationStorage by 8, so allow LLVM to steal the low bits.

Definition at line 160 of file Location.h.

Member Function Documentation

◆ getAsVoidPointer()

static void* llvm::PointerLikeTypeTraits< mlir::Location >::getAsVoidPointer ( mlir::Location  I)
inlinestatic

Definition at line 162 of file Location.h.

References mlir::Location::getAsOpaquePointer().

◆ getFromVoidPointer()

static mlir::Location llvm::PointerLikeTypeTraits< mlir::Location >::getFromVoidPointer ( void P)
inlinestatic

Definition at line 165 of file Location.h.

References mlir::Location::getFromOpaquePointer().

Member Data Documentation

◆ NumLowBitsAvailable

constexpr int llvm::PointerLikeTypeTraits< mlir::Location >::NumLowBitsAvailable
static
Initial value:

Definition at line 168 of file Location.h.


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