ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Node.h File Reference
#include "loco/ADT/AnnotatedItem.h"
#include "loco/IR/Use.h"
#include "loco/IR/Dialect.h"
#include "loco/IR/NodePool.forward.h"
#include "loco/IR/Graph.forward.h"
#include "loco/IR/CastHelpers.h"
#include <array>
#include <memory>
#include <set>

Go to the source code of this file.

Data Structures

struct  loco::NodeAnnotation
 Extensible Node Metadata. More...
 
class  loco::Node
 Logical unit of computation. More...
 
class  loco::Subst< SubstQualifier::Default >
 A helper for below "replace" helper. More...
 

Namespaces

namespace  loco
 

Enumerations

enum class  loco::SubstQualifier { loco::Default }
 

Functions

std::set< Node * > loco::preds (const Node *node)
 Enumerate all the predecessors of a given node.
 
std::set< Node * > loco::succs (const Node *node)
 Enumerate all the successors of a given node.
 
Subst< SubstQualifier::Defaultloco::replace (Node *node)
 
template<typename T >
loco::must_cast (Node *node)
 A helper dynamic_cast that throws when failed.
 
template<typename T >
loco::must_cast (const Node *node)