CIRCT  20.0.0git
Functions
Naming.cpp File Reference
#include "circt/Support/Naming.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "mlir/IR/Operation.h"
#include "llvm/ADT/StringRef.h"
Include dependency graph for Naming.cpp:

Go to the source code of this file.

Functions

static bool isNameBetter (StringRef a, StringRef b)
 
static StringAttr getNameOrHint (Operation *a)
 

Function Documentation

◆ getNameOrHint()

static StringAttr getNameOrHint ( Operation *  a)
static

Definition at line 59 of file Naming.cpp.

Referenced by circt::chooseName().

◆ isNameBetter()

static bool isNameBetter ( StringRef  a,
StringRef  b 
)
static

Definition at line 27 of file Naming.cpp.

References circt::isUselessName().

Referenced by circt::chooseName().