Jlm
Loading...
Searching...
No Matches
Classes | Functions
jlm::mlir Namespace Reference

Classes

class  ComparisonTest
 ComparisonTest class. More...
 
class  ConstantDeltaTest
 ConstantDeltaTest class. More...
 
class  FloatBinaryTest
 FloatBinaryTest class. More...
 
class  FloatConversionTest
 FloatConversionTest class. More...
 
class  GlobalArrayTest
 GlobalArrayTest class. More...
 
class  IntegerConversionTest
 IntegerConversionTest class. More...
 
class  IOBarrierTest
 IOBarrierTest class. More...
 
class  JlmToMlirConverter
 
class  LoadNonVolatileTest
 LoadNonVolatileTest class. More...
 
class  LoadVolatileTest
 LoadVolatileTest class. More...
 
class  MemoryHoistBarrierTest
 MemoryHoistBarrierTest class. More...
 
class  MlirToJlmConverter
 
class  RootRegionNodesTest
 RootRegionNodesTest class. More...
 
class  StoreNonVolatileTest
 StoreNonVolatileTest class. More...
 
class  StoreVolatileTest
 StoreVolatileTest class. More...
 
class  WideMemoryNodesTest
 WideMemoryNodesTest class. More...
 

Functions

::mlir::ArrayAttr memoryNodeIndicesToArrayAttr (::mlir::MLIRContext *context, const std::vector< llvm::MemoryNodeId > &memoryNodeIndices)
 
static std::vector< llvm::MemoryNodeId > arrayAttrToMemoryNodeIds (::mlir::ArrayAttr arrayAttr)
 
const util::BijectiveMap<::mlir::arith::CmpFPredicate, llvm::fpcmp > & GetFpCmpPredicateMap ()
 

Function Documentation

◆ arrayAttrToMemoryNodeIds()

static std::vector< llvm::MemoryNodeId > jlm::mlir::arrayAttrToMemoryNodeIds ( ::mlir::ArrayAttr  arrayAttr)
static

Definition at line 450 of file MlirToJlmConverter.cpp.

◆ GetFpCmpPredicateMap()

const util::BijectiveMap<::mlir::arith::CmpFPredicate, llvm::fpcmp > & jlm::mlir::GetFpCmpPredicateMap ( )

Get a bijective mapping between MLIR floating-point comparison predicates and JLM fpcmp values.

Returns
A reference to the static mapping between MLIR CmpFPredicate and JLM fpcmp

Definition at line 13 of file MLIRConverterCommon.cpp.

◆ memoryNodeIndicesToArrayAttr()

::mlir::ArrayAttr jlm::mlir::memoryNodeIndicesToArrayAttr ( ::mlir::MLIRContext *  context,
const std::vector< llvm::MemoryNodeId > &  memoryNodeIndices 
)
static

Converts a list of memory node ids into an ArrayAttr, containing one IntegerAttr for each memory node id.

Parameters
contextthe MLIR context
memoryNodeIndicesthe list of indices to convert into an ArrayAttr
Returns
the created ArrayAttr

Definition at line 435 of file JlmToMlirConverter.cpp.