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

#include <MemCpy.hpp>

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

Public Member Functions

 ~MemCpyNonVolatileOperation () override
 
 MemCpyNonVolatileOperation (std::shared_ptr< const rvsdg::Type > lengthType, size_t numMemoryStates)
 
bool operator== (const Operation &other) const noexcept override
 
std::string debug_string () const override
 
std::unique_ptr< Operation > copy () const override
 
size_t NumMemoryStates () const noexcept override
 
- Public Member Functions inherited from jlm::llvm::MemCpyOperation
const rvsdg::BitTypeLengthType () 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< llvm::ThreeAddressCodecreate (const Variable *destination, const Variable *source, const Variable *length, const std::vector< const Variable * > &memoryStates)
 
static rvsdg::SimpleNodecreateNode (rvsdg::Output &destination, rvsdg::Output &source, rvsdg::Output &length, const std::vector< rvsdg::Output * > &memoryStates)
 
static std::vector< rvsdg::Output * > create (rvsdg::Output *destination, rvsdg::Output *source, rvsdg::Output *length, const std::vector< rvsdg::Output * > &memoryStates)
 
- Static Public Member Functions inherited from jlm::llvm::MemCpyOperation
static rvsdg::InputdestinationInput (const rvsdg::Node &node) noexcept
 
static rvsdg::InputsourceInput (const rvsdg::Node &node) noexcept
 
static rvsdg::InputcountInput (const rvsdg::Node &node) noexcept
 
static rvsdg::InputmapMemoryStateOutputToInput (const rvsdg::Output &output)
 
static rvsdg::OutputmapMemoryStateInputToOutput (const rvsdg::Input &input)
 

Static Private Member Functions

static std::vector< std::shared_ptr< const rvsdg::Type > > CreateOperandTypes (std::shared_ptr< const rvsdg::Type > length, size_t numMemoryStates)
 
static std::vector< std::shared_ptr< const rvsdg::Type > > CreateResultTypes (size_t numMemoryStates)
 

Additional Inherited Members

- Protected Member Functions inherited from jlm::llvm::MemCpyOperation
 MemCpyOperation (const std::vector< std::shared_ptr< const rvsdg::Type >> &operandTypes, const std::vector< std::shared_ptr< const rvsdg::Type >> &resultTypes)
 

Detailed Description

Represents a non-volatile LLVM memcpy intrinsic.

See also
MemCpyVolatileOperation

Definition at line 149 of file MemCpy.hpp.

Constructor & Destructor Documentation

◆ ~MemCpyNonVolatileOperation()

jlm::llvm::MemCpyNonVolatileOperation::~MemCpyNonVolatileOperation ( )
overridedefault

◆ MemCpyNonVolatileOperation()

jlm::llvm::MemCpyNonVolatileOperation::MemCpyNonVolatileOperation ( std::shared_ptr< const rvsdg::Type lengthType,
size_t  numMemoryStates 
)
inline

Definition at line 154 of file MemCpy.hpp.

Member Function Documentation

◆ copy()

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

Implements jlm::rvsdg::Operation.

Definition at line 28 of file MemCpy.cpp.

◆ create() [1/2]

static std::unique_ptr<llvm::ThreeAddressCode> jlm::llvm::MemCpyNonVolatileOperation::create ( const Variable destination,
const Variable source,
const Variable length,
const std::vector< const Variable * > &  memoryStates 
)
inlinestatic

Definition at line 173 of file MemCpy.hpp.

◆ create() [2/2]

static std::vector<rvsdg::Output *> jlm::llvm::MemCpyNonVolatileOperation::create ( rvsdg::Output destination,
rvsdg::Output source,
rvsdg::Output length,
const std::vector< rvsdg::Output * > &  memoryStates 
)
inlinestatic

Definition at line 204 of file MemCpy.hpp.

◆ createNode()

static rvsdg::SimpleNode& jlm::llvm::MemCpyNonVolatileOperation::createNode ( rvsdg::Output destination,
rvsdg::Output source,
rvsdg::Output length,
const std::vector< rvsdg::Output * > &  memoryStates 
)
inlinestatic

Definition at line 188 of file MemCpy.hpp.

◆ CreateOperandTypes()

static std::vector<std::shared_ptr<const rvsdg::Type> > jlm::llvm::MemCpyNonVolatileOperation::CreateOperandTypes ( std::shared_ptr< const rvsdg::Type length,
size_t  numMemoryStates 
)
inlinestaticprivate

Definition at line 221 of file MemCpy.hpp.

◆ CreateResultTypes()

static std::vector<std::shared_ptr<const rvsdg::Type> > jlm::llvm::MemCpyNonVolatileOperation::CreateResultTypes ( size_t  numMemoryStates)
inlinestaticprivate

Definition at line 230 of file MemCpy.hpp.

◆ debug_string()

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

Implements jlm::rvsdg::Operation.

Definition at line 22 of file MemCpy.cpp.

◆ NumMemoryStates()

size_t jlm::llvm::MemCpyNonVolatileOperation::NumMemoryStates ( ) const
overridevirtualnoexcept

Implements jlm::llvm::MemCpyOperation.

Definition at line 34 of file MemCpy.cpp.

◆ operator==()

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

Definition at line 14 of file MemCpy.cpp.


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