Jlm
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Static Private Member Functions | List of all members
jlm::llvm::PtrMaskOperation Class Referencefinal

#include <GeneralIntrinsicOperations.hpp>

Inheritance diagram for jlm::llvm::PtrMaskOperation:
Inheritance graph
[legend]
Collaboration diagram for jlm::llvm::PtrMaskOperation:
Collaboration graph
[legend]

Public Member Functions

 ~PtrMaskOperation () noexcept override
 
 PtrMaskOperation (const std::shared_ptr< const rvsdg::Type > &ptrOperandType, const std::shared_ptr< const rvsdg::Type > &maskOperandType)
 
bool operator== (const Operation &other) const noexcept override
 
std::string debug_string () const override
 
std::unique_ptr< Operation > copy () const override
 
std::shared_ptr< const rvsdg::TypegetPtrOperandType () const noexcept
 
std::shared_ptr< const rvsdg::TypegetMaskOperandType () const noexcept
 
- Public Member Functions inherited from jlm::rvsdg::SimpleOperation
 ~SimpleOperation () noexcept override
 
 SimpleOperation (std::vector< std::shared_ptr< const jlm::rvsdg::Type > > operands, std::vector< std::shared_ptr< const jlm::rvsdg::Type > > results)
 
size_t narguments () const noexcept
 
const std::shared_ptr< const rvsdg::Type > & argument (size_t index) const noexcept
 
size_t nresults () const noexcept
 
const std::shared_ptr< const rvsdg::Type > & result (size_t index) const noexcept
 
- Public Member Functions inherited from jlm::rvsdg::Operation
virtual ~Operation () noexcept
 
virtual bool operator== (const Operation &other) const noexcept=0
 
bool operator!= (const Operation &other) const noexcept
 

Static Public Member Functions

static std::unique_ptr< ThreeAddressCodecreateTac (const Variable &ptrOperand, const Variable &maskOperand)
 
static rvsdg::SimpleNodecreateNode (rvsdg::Output &ptrOperand, rvsdg::Output &maskOperand)
 

Static Private Member Functions

static void checkOperandTypes (const std::shared_ptr< const rvsdg::Type > &ptrType, const std::shared_ptr< const rvsdg::Type > &maskType)
 

Detailed Description

Represents LLVM's llvm.ptrmask intrinsic

See LLVM Language Reference Manual for more details.

Definition at line 67 of file GeneralIntrinsicOperations.hpp.

Constructor & Destructor Documentation

◆ ~PtrMaskOperation()

jlm::llvm::PtrMaskOperation::~PtrMaskOperation ( )
overridedefaultnoexcept

◆ PtrMaskOperation()

jlm::llvm::PtrMaskOperation::PtrMaskOperation ( const std::shared_ptr< const rvsdg::Type > &  ptrOperandType,
const std::shared_ptr< const rvsdg::Type > &  maskOperandType 
)
inlineexplicit

Definition at line 72 of file GeneralIntrinsicOperations.hpp.

Member Function Documentation

◆ checkOperandTypes()

void jlm::llvm::PtrMaskOperation::checkOperandTypes ( const std::shared_ptr< const rvsdg::Type > &  ptrType,
const std::shared_ptr< const rvsdg::Type > &  maskType 
)
staticprivate

Definition at line 55 of file GeneralIntrinsicOperations.cpp.

◆ copy()

std::unique_ptr< rvsdg::Operation > jlm::llvm::PtrMaskOperation::copy ( ) const
overridevirtual

Implements jlm::rvsdg::Operation.

Definition at line 49 of file GeneralIntrinsicOperations.cpp.

◆ createNode()

static rvsdg::SimpleNode & jlm::llvm::PtrMaskOperation::createNode ( rvsdg::Output ptrOperand,
rvsdg::Output maskOperand 
)
inlinestatic

Definition at line 107 of file GeneralIntrinsicOperations.hpp.

◆ createTac()

static std::unique_ptr< ThreeAddressCode > jlm::llvm::PtrMaskOperation::createTac ( const Variable ptrOperand,
const Variable maskOperand 
)
inlinestatic

Definition at line 100 of file GeneralIntrinsicOperations.hpp.

◆ debug_string()

std::string jlm::llvm::PtrMaskOperation::debug_string ( ) const
overridevirtual

Implements jlm::rvsdg::Operation.

Definition at line 43 of file GeneralIntrinsicOperations.cpp.

◆ getMaskOperandType()

std::shared_ptr< const rvsdg::Type > jlm::llvm::PtrMaskOperation::getMaskOperandType ( ) const
inlinenoexcept

Definition at line 94 of file GeneralIntrinsicOperations.hpp.

◆ getPtrOperandType()

std::shared_ptr< const rvsdg::Type > jlm::llvm::PtrMaskOperation::getPtrOperandType ( ) const
inlinenoexcept

Definition at line 88 of file GeneralIntrinsicOperations.hpp.

◆ operator==()

bool jlm::llvm::PtrMaskOperation::operator== ( const Operation &  other) const
overridenoexcept

Definition at line 35 of file GeneralIntrinsicOperations.cpp.


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