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 556 of file Value.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Definition at line 564 of file Value.h.

Member Function Documentation

◆ getAsVoidPointer()

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

Definition at line 558 of file Value.h.

References mlir::Value::getAsOpaquePointer().

◆ getFromVoidPointer()

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

Definition at line 561 of file Value.h.

References mlir::Value::getFromOpaquePointer().

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