Tensorium
Loading...
Searching...
No Matches
TensoriumASTConsumer Class Reference

AST consumer that matches specific patterns in the AST related to Tensorium usage. More...

Inheritance diagram for TensoriumASTConsumer:
Collaboration diagram for TensoriumASTConsumer:

Classes

class  AlignedChecker
 Callback for handling matches from the AST. More...
 

Public Member Functions

 TensoriumASTConsumer (CompilerInstance &CI)
 Constructor.
 
void HandleTranslationUnit (ASTContext &Context) override
 Called once AST is fully parsed; sets up matchers.
 

Private Attributes

CompilerInstance & CI
 

Detailed Description

AST consumer that matches specific patterns in the AST related to Tensorium usage.

Constructor & Destructor Documentation

◆ TensoriumASTConsumer()

TensoriumASTConsumer::TensoriumASTConsumer ( CompilerInstance & CI)
inlineexplicit

Constructor.

Parameters
CIThe Clang compiler instance

Member Function Documentation

◆ HandleTranslationUnit()

void TensoriumASTConsumer::HandleTranslationUnit ( ASTContext & Context)
inlineoverride

Called once AST is fully parsed; sets up matchers.

Parameters
ContextASTContext of the parsed translation unit

References CI.

Member Data Documentation

◆ CI

CompilerInstance& TensoriumASTConsumer::CI
private

Referenced by HandleTranslationUnit().


The documentation for this class was generated from the following file: