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

#include <BitManipulationIntrinsicOperations.hpp>

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

Public Member Functions

 ~CttzOperation () noexcept override
 
 CttzOperation (const std::shared_ptr< const rvsdg::Type > &type)
 
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::TypegetType () 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 &operand, const Variable &isZeroPoison)
 
static rvsdg::SimpleNodecreateNode (rvsdg::Output &operand, rvsdg::Output &isZeroPoison)
 

Static Private Member Functions

static void checkType (const std::shared_ptr< const rvsdg::Type > &type)
 

Detailed Description

Represents LLVM's llvm.cttz.* intrinsic

See LLVM Language Reference Manual for more details.

Definition at line 173 of file BitManipulationIntrinsicOperations.hpp.

Constructor & Destructor Documentation

◆ ~CttzOperation()

jlm::llvm::CttzOperation::~CttzOperation ( )
overridedefaultnoexcept

◆ CttzOperation()

jlm::llvm::CttzOperation::CttzOperation ( const std::shared_ptr< const rvsdg::Type > &  type)
inlineexplicit

Definition at line 178 of file BitManipulationIntrinsicOperations.hpp.

Member Function Documentation

◆ checkType()

void jlm::llvm::CttzOperation::checkType ( const std::shared_ptr< const rvsdg::Type > &  type)
staticprivate

Definition at line 136 of file BitManipulationIntrinsicOperations.cpp.

◆ copy()

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

Implements jlm::rvsdg::Operation.

Definition at line 130 of file BitManipulationIntrinsicOperations.cpp.

◆ createNode()

static rvsdg::SimpleNode & jlm::llvm::CttzOperation::createNode ( rvsdg::Output operand,
rvsdg::Output isZeroPoison 
)
inlinestatic

Definition at line 207 of file BitManipulationIntrinsicOperations.hpp.

◆ createTac()

static std::unique_ptr< ThreeAddressCode > jlm::llvm::CttzOperation::createTac ( const Variable operand,
const Variable isZeroPoison 
)
inlinestatic

Definition at line 200 of file BitManipulationIntrinsicOperations.hpp.

◆ debug_string()

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

Implements jlm::rvsdg::Operation.

Definition at line 124 of file BitManipulationIntrinsicOperations.cpp.

◆ getType()

std::shared_ptr< const rvsdg::Type > jlm::llvm::CttzOperation::getType ( ) const
inlinenoexcept

Definition at line 194 of file BitManipulationIntrinsicOperations.hpp.

◆ operator==()

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

Definition at line 117 of file BitManipulationIntrinsicOperations.cpp.


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