CIRCT 22.0.0git
Loading...
Searching...
No Matches
Macros | Functions
SimOps.cpp File Reference
#include "circt/Dialect/Sim/SimOps.h"
#include "circt/Dialect/HW/ModuleImplementation.h"
#include "circt/Dialect/SV/SVOps.h"
#include "circt/Support/CustomDirectiveImpl.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/Interfaces/FunctionImplementation.h"
#include "llvm/ADT/MapVector.h"
#include "circt/Dialect/Sim/Sim.cpp.inc"
Include dependency graph for SimOps.cpp:

Go to the source code of this file.

Macros

#define GET_OP_CLASSES
 

Functions

static StringAttr formatIntegersByRadix (MLIRContext *ctx, unsigned radix, const Attribute &value, bool isUpperCase, bool isLeftAligned, char paddingChar, std::optional< unsigned > specifierWidth, bool isSigned=false)
 
static StringAttr formatFloatsBySpecifier (MLIRContext *ctx, Attribute value, bool isLeftAligned, std::optional< unsigned > fieldWidth, std::optional< unsigned > fracDigits, std::string formatSpecifier)
 
static StringAttr concatLiterals (MLIRContext *ctxt, ArrayRef< StringRef > lits)
 

Macro Definition Documentation

◆ GET_OP_CLASSES

#define GET_OP_CLASSES

Definition at line 500 of file SimOps.cpp.

Function Documentation

◆ concatLiterals()

static StringAttr concatLiterals ( MLIRContext *  ctxt,
ArrayRef< StringRef >  lits 
)
static

Definition at line 281 of file SimOps.cpp.

References assert().

◆ formatFloatsBySpecifier()

static StringAttr formatFloatsBySpecifier ( MLIRContext *  ctx,
Attribute  value,
bool  isLeftAligned,
std::optional< unsigned >  fieldWidth,
std::optional< unsigned >  fracDigits,
std::string  formatSpecifier 
)
static

Definition at line 77 of file SimOps.cpp.

◆ formatIntegersByRadix()

static StringAttr formatIntegersByRadix ( MLIRContext *  ctx,
unsigned  radix,
const Attribute &  value,
bool  isUpperCase,
bool  isLeftAligned,
char  paddingChar,
std::optional< unsigned >  specifierWidth,
bool  isSigned = false 
)
static

Definition at line 26 of file SimOps.cpp.