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

UndefValueOperation class. More...

#include <operators.hpp>

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

Public Member Functions

 ~UndefValueOperation () noexcept override
 
 UndefValueOperation (std::shared_ptr< const jlm::rvsdg::Type > type)
 
 UndefValueOperation (const UndefValueOperation &)=default
 
UndefValueOperationoperator= (const UndefValueOperation &)=delete
 
UndefValueOperationoperator= (UndefValueOperation &&)=delete
 
bool operator== (const Operation &other) const noexcept override
 
std::string debug_string () const override
 
std::unique_ptr< Operation > copy () const override
 
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 jlm::rvsdg::OutputCreate (rvsdg::Region &region, std::shared_ptr< const jlm::rvsdg::Type > type)
 
static std::unique_ptr< llvm::ThreeAddressCodeCreate (std::shared_ptr< const jlm::rvsdg::Type > type)
 
static std::unique_ptr< llvm::ThreeAddressCodeCreate (std::shared_ptr< const jlm::rvsdg::Type > type, const std::string &name)
 
static std::unique_ptr< llvm::ThreeAddressCodeCreate (std::unique_ptr< ThreeAddressCodeVariable > result)
 

Detailed Description

UndefValueOperation class.

This operator is the Jlm equivalent of LLVM's UndefValue constant.

Definition at line 991 of file operators.hpp.

Constructor & Destructor Documentation

◆ ~UndefValueOperation()

jlm::llvm::UndefValueOperation::~UndefValueOperation ( )
overridedefaultnoexcept

◆ UndefValueOperation() [1/2]

jlm::llvm::UndefValueOperation::UndefValueOperation ( std::shared_ptr< const jlm::rvsdg::Type type)
inlineexplicit

Definition at line 996 of file operators.hpp.

◆ UndefValueOperation() [2/2]

jlm::llvm::UndefValueOperation::UndefValueOperation ( const UndefValueOperation )
default

Member Function Documentation

◆ copy()

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

Implements jlm::rvsdg::Operation.

Definition at line 516 of file operators.cpp.

◆ Create() [1/4]

static jlm::rvsdg::Output* jlm::llvm::UndefValueOperation::Create ( rvsdg::Region region,
std::shared_ptr< const jlm::rvsdg::Type type 
)
inlinestatic

Definition at line 1024 of file operators.hpp.

◆ Create() [2/4]

static std::unique_ptr<llvm::ThreeAddressCode> jlm::llvm::UndefValueOperation::Create ( std::shared_ptr< const jlm::rvsdg::Type type)
inlinestatic

Definition at line 1030 of file operators.hpp.

◆ Create() [3/4]

static std::unique_ptr<llvm::ThreeAddressCode> jlm::llvm::UndefValueOperation::Create ( std::shared_ptr< const jlm::rvsdg::Type type,
const std::string &  name 
)
inlinestatic

Definition at line 1037 of file operators.hpp.

◆ Create() [4/4]

static std::unique_ptr<llvm::ThreeAddressCode> jlm::llvm::UndefValueOperation::Create ( std::unique_ptr< ThreeAddressCodeVariable result)
inlinestatic

Definition at line 1044 of file operators.hpp.

◆ debug_string()

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

Implements jlm::rvsdg::Operation.

Definition at line 510 of file operators.cpp.

◆ GetType()

const rvsdg::Type& jlm::llvm::UndefValueOperation::GetType ( ) const
inlinenoexcept

Definition at line 1018 of file operators.hpp.

◆ operator=() [1/2]

UndefValueOperation& jlm::llvm::UndefValueOperation::operator= ( const UndefValueOperation )
delete

◆ operator=() [2/2]

UndefValueOperation& jlm::llvm::UndefValueOperation::operator= ( UndefValueOperation &&  )
delete

◆ operator==()

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

Definition at line 503 of file operators.cpp.


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