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

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

#include "mlir/IR/Location.h"

Static Public Member Functions

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

Static Public Attributes

static constexpr int NumLowBitsAvailable
 

Detailed Description

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

Definition at line 224 of file Location.h.

Member Function Documentation

◆ getAsVoidPointer()

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

Definition at line 226 of file Location.h.

References mlir::Location::getAsOpaquePointer().

◆ getFromVoidPointer()

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

Definition at line 229 of file Location.h.

References mlir::Location::getFromOpaquePointer().

Member Data Documentation

◆ NumLowBitsAvailable

constexpr int llvm::PointerLikeTypeTraits< mlir::Location >::NumLowBitsAvailable
staticconstexpr

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