CIRCT  18.0.0git
Classes | Functions
circt::msft Namespace Reference


class  PrimitiveDB
 A data structure to contain locations of the primitives on the device. More...
class  PlacementDB
 A data structure to contain both the locations of the primitives on the device and instance assignments to said primitives locations, aka placements. More...
class  TclEmitter
 Instantiate for all Tcl emissions. More...
struct  PassCommon
 A set of methods which are broadly useful in a number of dialects. More...
struct  RemoveOpLowering
 Generic pattern for removing an op during pattern conversion. More...


LogicalResult parseOptionalRegLoc (SmallVectorImpl< PhysLocationAttr > &locs, AsmParser &p)
 Parse and append a PhysLocAttr. More...
void printOptionalRegLoc (PhysLocationAttr loc, AsmPrinter &p)
 Print out the above. More...
LogicalResult verifyDynInstData (Operation *)
std::unique_ptr< mlir::Pass > createLowerInstancesPass ()
std::unique_ptr< mlir::Pass > createLowerConstructsPass ()
std::unique_ptr< mlir::Pass > createExportTclPass ()
SmallVector< unsigned > makeSequentialRange (unsigned size)
 Utility for creating {0, 1, 2, ..., size}. More...
StringRef getValueName (Value v, const SymbolCache &syms, std::string &buff)
 Try to get a "good" name for the given Value. More...

Function Documentation

◆ createExportTclPass()

std::unique_ptr< Pass > circt::msft::createExportTclPass ( )

Definition at line 93 of file MSFTExportTcl.cpp.

◆ createLowerConstructsPass()

std::unique_ptr< Pass > circt::msft::createLowerConstructsPass ( )

Definition at line 206 of file MSFTLowerConstructs.cpp.

◆ createLowerInstancesPass()

std::unique_ptr< Pass > circt::msft::createLowerInstancesPass ( )

Definition at line 121 of file MSFTLowerInstances.cpp.

◆ getValueName()

StringRef circt::msft::getValueName ( Value  v,
const SymbolCache syms,
std::string &  buff 

Try to get a "good" name for the given Value.

Definition at line 24 of file PassCommon.cpp.

References assert(), and circt::SymbolCache::getDefinition().

◆ makeSequentialRange()

SmallVector< unsigned > circt::msft::makeSequentialRange ( unsigned  size)

Utility for creating {0, 1, 2, ..., size}.

Definition at line 17 of file PassCommon.cpp.

References size().

◆ parseOptionalRegLoc()

LogicalResult circt::msft::parseOptionalRegLoc ( SmallVectorImpl< PhysLocationAttr > &  locs,
AsmParser &  p 

Parse and append a PhysLocAttr.

Options are '*' for null location, <x, y, num> for a location which is implicitily a FF, or a full phys location attribute.

Definition at line 88 of file MSFTAttributes.cpp.

◆ printOptionalRegLoc()

void circt::msft::printOptionalRegLoc ( PhysLocationAttr  loc,
AsmPrinter &  p 

Print out the above.

Definition at line 112 of file MSFTAttributes.cpp.

◆ verifyDynInstData()

LogicalResult circt::msft::verifyDynInstData ( Operation *  op)

Definition at line 15 of file MSFTOpInterfaces.cpp.