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

#include <BitManipulationIntrinsicOperations.hpp>

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

Public Member Functions

 ~CtpopOperation () noexcept override
 
 CtpopOperation (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::UnaryOperation
 ~UnaryOperation () noexcept override
 
 UnaryOperation (std::shared_ptr< const Type > operand, std::shared_ptr< const Type > result)
 
- 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)
 
static rvsdg::SimpleNodecreateNode (rvsdg::Output &operand)
 

Static Private Member Functions

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

Detailed Description

Represents LLVM's llvm.ctpop.* intrinsic

See LLVM Language Reference Manual for more details.

Definition at line 223 of file BitManipulationIntrinsicOperations.hpp.

Constructor & Destructor Documentation

◆ ~CtpopOperation()

jlm::llvm::CtpopOperation::~CtpopOperation ( )
overridedefaultnoexcept

◆ CtpopOperation()

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

Definition at line 228 of file BitManipulationIntrinsicOperations.hpp.

Member Function Documentation

◆ checkType()

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

Definition at line 166 of file BitManipulationIntrinsicOperations.cpp.

◆ copy()

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

Implements jlm::rvsdg::Operation.

Definition at line 160 of file BitManipulationIntrinsicOperations.cpp.

◆ createNode()

static rvsdg::SimpleNode & jlm::llvm::CtpopOperation::createNode ( rvsdg::Output operand)
inlinestatic

Definition at line 257 of file BitManipulationIntrinsicOperations.hpp.

◆ createTac()

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

Definition at line 250 of file BitManipulationIntrinsicOperations.hpp.

◆ debug_string()

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

Implements jlm::rvsdg::Operation.

Definition at line 154 of file BitManipulationIntrinsicOperations.cpp.

◆ getType()

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

Definition at line 244 of file BitManipulationIntrinsicOperations.hpp.

◆ operator==()

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

Definition at line 147 of file BitManipulationIntrinsicOperations.cpp.


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