MLIR  16.0.0git
Public Types | Static Public Member Functions | List of all members
llvm::PointerLikeTypeTraits< mlir::Value > Struct Template 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

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

Allow stealing the low bits of a value.

Definition at line 506 of file Value.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NumLowBitsAvailable 

Definition at line 514 of file Value.h.

Member Function Documentation

◆ getAsVoidPointer()

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

Definition at line 508 of file Value.h.

References mlir::Value::getAsOpaquePointer().

◆ getFromVoidPointer()

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

Definition at line 511 of file Value.h.

References mlir::Value::getFromOpaquePointer().


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