LLVM 24.0.0git
llvm::ubi::Pointer Class Reference

#include "llvm/UBAwareInterpreter/Value.h"

Public Member Functions

 Pointer (const APInt &Address)
 Pointer (IntrusiveRefCntPtr< Provenance > Prov, const APInt &Address)
Pointer getWithNewAddr (const APInt &NewAddr) const
Pointer getWithNewProvenance (IntrusiveRefCntPtr< Provenance > NewProv) const
LLVM_ABI bool isNullPtr (unsigned AS, const DataLayout &DL) const
LLVM_ABI void print (raw_ostream &OS) const
const APInt & address () const
Provenance & provenance () const

Static Public Member Functions

static LLVM_ABI AnyValue null (unsigned AS, const DataLayout &DL)

Detailed Description

Definition at line 224 of file Value.h.

Constructor & Destructor Documentation

◆ Pointer() [1/2]

llvm::ubi::Pointer::Pointer ( const APInt & Address)
inlineexplicit

Definition at line 232 of file Value.h.

Referenced by getWithNewAddr(), and getWithNewProvenance().

◆ Pointer() [2/2]

llvm::ubi::Pointer::Pointer ( IntrusiveRefCntPtr< Provenance > Prov,
const APInt & Address )
inlineexplicit

Definition at line 234 of file Value.h.

References assert(), and llvm::move().

Member Function Documentation

◆ address()

◆ getWithNewAddr()

Pointer llvm::ubi::Pointer::getWithNewAddr ( const APInt & NewAddr) const
inline

Definition at line 238 of file Value.h.

References Pointer(), and llvm::ubi::Pointer.

◆ getWithNewProvenance()

Pointer llvm::ubi::Pointer::getWithNewProvenance ( IntrusiveRefCntPtr< Provenance > NewProv) const
inline

Definition at line 241 of file Value.h.

References Pointer(), and llvm::ubi::Pointer.

◆ isNullPtr()

bool llvm::ubi::Pointer::isNullPtr ( unsigned AS,
const DataLayout & DL ) const

Definition at line 60 of file Value.cpp.

References DL.

Referenced by llvm::ubi::InstExecutor::callIntrinsic().

◆ null()

AnyValue llvm::ubi::Pointer::null ( unsigned AS,
const DataLayout & DL )
static

Definition at line 56 of file Value.cpp.

References DL, llvm::ubi::Provenance::nullary(), and llvm::ubi::Pointer.

Referenced by llvm::ubi::AnyValue::getNullValue().

◆ print()

void llvm::ubi::Pointer::print ( raw_ostream & OS) const

Definition at line 34 of file Value.cpp.

References llvm::ubi::Alive, and llvm::ubi::Dead.

Referenced by llvm::ubi::ByteValue::print().

◆ provenance()

Provenance & llvm::ubi::Pointer::provenance ( ) const
inline

Definition at line 248 of file Value.h.

Referenced by llvm::ubi::Context::checkProvenance().


The documentation for this class was generated from the following files: