Jlm
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
jlm::llvm::IntegerConstantOperation Class Referencefinal

#include <IntegerOperations.hpp>

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

Public Member Functions

 ~IntegerConstantOperation () override
 
 IntegerConstantOperation (IntegerValueRepresentation representation)
 
std::unique_ptr< Operation > copy () const override
 
std::string debug_string () const override
 
bool operator== (const Operation &other) const noexcept override
 
const IntegerValueRepresentationRepresentation () const noexcept
 
- Public Member Functions inherited from jlm::rvsdg::NullaryOperation
 ~NullaryOperation () noexcept override
 
 NullaryOperation (std::shared_ptr< const Type > resultType)
 
- 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 rvsdg::NodeCreate (rvsdg::Region &region, IntegerValueRepresentation representation)
 
static rvsdg::NodeCreate (rvsdg::Region &region, std::size_t numBits, std::int64_t value)
 

Private Attributes

IntegerValueRepresentation Representation_
 

Detailed Description

Represents an LLVM integer constant

Definition at line 24 of file IntegerOperations.hpp.

Constructor & Destructor Documentation

◆ ~IntegerConstantOperation()

jlm::llvm::IntegerConstantOperation::~IntegerConstantOperation ( )
overridedefault

◆ IntegerConstantOperation()

jlm::llvm::IntegerConstantOperation::IntegerConstantOperation ( IntegerValueRepresentation  representation)
inlineexplicit

Definition at line 29 of file IntegerOperations.hpp.

Member Function Documentation

◆ copy()

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

Implements jlm::rvsdg::Operation.

Definition at line 14 of file IntegerOperations.cpp.

◆ Create() [1/2]

static rvsdg::Node& jlm::llvm::IntegerConstantOperation::Create ( rvsdg::Region region,
IntegerValueRepresentation  representation 
)
inlinestatic

Definition at line 50 of file IntegerOperations.hpp.

◆ Create() [2/2]

static rvsdg::Node& jlm::llvm::IntegerConstantOperation::Create ( rvsdg::Region region,
std::size_t  numBits,
std::int64_t  value 
)
inlinestatic

Definition at line 56 of file IntegerOperations.hpp.

◆ debug_string()

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

Implements jlm::rvsdg::Operation.

Definition at line 20 of file IntegerOperations.cpp.

◆ operator==()

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

Definition at line 29 of file IntegerOperations.cpp.

◆ Representation()

const IntegerValueRepresentation& jlm::llvm::IntegerConstantOperation::Representation ( ) const
inlinenoexcept

Definition at line 44 of file IntegerOperations.hpp.

Member Data Documentation

◆ Representation_

IntegerValueRepresentation jlm::llvm::IntegerConstantOperation::Representation_
private

Definition at line 62 of file IntegerOperations.hpp.


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