MLIR  19.0.0git
Public Types | Static Public Member Functions | List of all members
llvm::PointerLikeTypeTraits< mlir::Value > Struct Reference

Allow stealing the low bits of a value. More...

#include "mlir/IR/Value.h"

+ Inheritance diagram for llvm::PointerLikeTypeTraits< mlir::Value >:

Public Types

enum  { NumLowBitsAvailable }
 

Static Public Member Functions

static void * getAsVoidPointer (mlir::Value value)
 
static mlir::Value getFromVoidPointer (void *pointer)
 

Detailed Description

Allow stealing the low bits of a value.

Definition at line 552 of file Value.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NumLowBitsAvailable 

Definition at line 560 of file Value.h.

Member Function Documentation

◆ getAsVoidPointer()

static void* llvm::PointerLikeTypeTraits< mlir::Value >::getAsVoidPointer ( mlir::Value  value)
inlinestatic

Definition at line 554 of file Value.h.

References mlir::Value::getAsOpaquePointer().

◆ getFromVoidPointer()

static mlir::Value llvm::PointerLikeTypeTraits< mlir::Value >::getFromVoidPointer ( void *  pointer)
inlinestatic

Definition at line 557 of file Value.h.

References mlir::Value::getFromOpaquePointer().


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