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

Public Member Functions

 ~Context () noexcept=default
 
 Context ()=default
 
 Context (const Context &)=delete
 
 Context (Context &&)=delete
 
Contextoperator= (const Context &)=delete
 
Contextoperator= (Context &&)=delete
 
void IncrementOperationsReducedCount (const rvsdg::ThetaNode &theta)
 
const std::unordered_map< const rvsdg::ThetaNode *, size_t > & GetOperationsReducedMap () const
 

Static Public Member Functions

static std::unique_ptr< ContextCreate ()
 

Public Attributes

size_t NumArithmeticCandidates = 0
 
size_t NumGEPCandidates = 0
 
size_t NumArithmeticOperationsReduced = 0
 
size_t NumGEPOperationsReduced = 0
 

Private Attributes

std::unordered_map< const rvsdg::ThetaNode *, size_t > OperationsReducedMap_
 

Detailed Description

Definition at line 20 of file LoopStrengthReduction.cpp.

Constructor & Destructor Documentation

◆ ~Context()

jlm::llvm::LoopStrengthReduction::Context::~Context ( )
defaultnoexcept

◆ Context() [1/3]

jlm::llvm::LoopStrengthReduction::Context::Context ( )
default

◆ Context() [2/3]

jlm::llvm::LoopStrengthReduction::Context::Context ( const Context )
delete

◆ Context() [3/3]

jlm::llvm::LoopStrengthReduction::Context::Context ( Context &&  )
delete

Member Function Documentation

◆ Create()

static std::unique_ptr<Context> jlm::llvm::LoopStrengthReduction::Context::Create ( )
inlinestatic

Definition at line 38 of file LoopStrengthReduction.cpp.

◆ GetOperationsReducedMap()

const std::unordered_map<const rvsdg::ThetaNode *, size_t>& jlm::llvm::LoopStrengthReduction::Context::GetOperationsReducedMap ( ) const
inline

Definition at line 50 of file LoopStrengthReduction.cpp.

◆ IncrementOperationsReducedCount()

void jlm::llvm::LoopStrengthReduction::Context::IncrementOperationsReducedCount ( const rvsdg::ThetaNode theta)
inline

Definition at line 44 of file LoopStrengthReduction.cpp.

◆ operator=() [1/2]

Context& jlm::llvm::LoopStrengthReduction::Context::operator= ( const Context )
delete

◆ operator=() [2/2]

Context& jlm::llvm::LoopStrengthReduction::Context::operator= ( Context &&  )
delete

Member Data Documentation

◆ NumArithmeticCandidates

size_t jlm::llvm::LoopStrengthReduction::Context::NumArithmeticCandidates = 0

Definition at line 55 of file LoopStrengthReduction.cpp.

◆ NumArithmeticOperationsReduced

size_t jlm::llvm::LoopStrengthReduction::Context::NumArithmeticOperationsReduced = 0

Definition at line 57 of file LoopStrengthReduction.cpp.

◆ NumGEPCandidates

size_t jlm::llvm::LoopStrengthReduction::Context::NumGEPCandidates = 0

Definition at line 56 of file LoopStrengthReduction.cpp.

◆ NumGEPOperationsReduced

size_t jlm::llvm::LoopStrengthReduction::Context::NumGEPOperationsReduced = 0

Definition at line 58 of file LoopStrengthReduction.cpp.

◆ OperationsReducedMap_

std::unordered_map<const rvsdg::ThetaNode *, size_t> jlm::llvm::LoopStrengthReduction::Context::OperationsReducedMap_
private

Definition at line 61 of file LoopStrengthReduction.cpp.


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