MLIR 23.0.0git
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 voidgetAsVoidPointer (mlir::Value value)
static mlir::Value getFromVoidPointer (void *pointer)

Detailed Description

Allow stealing the low bits of a value.

Definition at line 553 of file Value.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NumLowBitsAvailable 

Definition at line 561 of file Value.h.

Member Function Documentation

◆ getAsVoidPointer()

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

Definition at line 555 of file Value.h.

References mlir::Value::getAsOpaquePointer().

◆ getFromVoidPointer()

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

Definition at line 558 of file Value.h.

References mlir::Value::getFromOpaquePointer().


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