Definition at line 56 of file UdfCompiler.cpp.
anonymous_namespace{UdfCompiler.cpp}::FunctionDeclVisitor::FunctionDeclVisitor |
( |
llvm::raw_fd_ostream & |
ast_file, |
|
|
SourceManager & |
s_manager, |
|
|
ASTContext & |
context |
|
) |
| |
|
inline |
Definition at line 58 of file UdfCompiler.cpp.
SourceManager & source_manager_
llvm::raw_fd_ostream & ast_file_
std::string anonymous_namespace{UdfCompiler.cpp}::FunctionDeclVisitor::getFuncDeclFileName |
( |
FunctionDecl * |
f | ) |
const |
|
inlineprivate |
Definition at line 88 of file UdfCompiler.cpp.
92 return std::string(p_loc.getFilename());
SourceManager & source_manager_
torch::Tensor f(torch::Tensor x, torch::Tensor W_target, torch::Tensor b_target)
std::string anonymous_namespace{UdfCompiler.cpp}::FunctionDeclVisitor::getMainFileName |
( |
| ) |
const |
|
inlineprivate |
Definition at line 83 of file UdfCompiler.cpp.
85 return f_entry->getName().str();
SourceManager & source_manager_
bool anonymous_namespace{UdfCompiler.cpp}::FunctionDeclVisitor::VisitFunctionDecl |
( |
FunctionDecl * |
f | ) |
|
|
inline |
Definition at line 65 of file UdfCompiler.cpp.
69 auto printing_policy =
context_.getPrintingPolicy();
70 printing_policy.FullyQualifiedName = 1;
71 printing_policy.UseVoidForZeroParams = 1;
72 printing_policy.PolishForDeclaration = 1;
73 printing_policy.TerseOutput = 1;
std::string getFuncDeclFileName(FunctionDecl *f) const
std::string getMainFileName() const
torch::Tensor f(torch::Tensor x, torch::Tensor W_target, torch::Tensor b_target)
llvm::raw_fd_ostream & ast_file_
llvm::raw_fd_ostream& anonymous_namespace{UdfCompiler.cpp}::FunctionDeclVisitor::ast_file_ |
|
private |
ASTContext& anonymous_namespace{UdfCompiler.cpp}::FunctionDeclVisitor::context_ |
|
private |
SourceManager& anonymous_namespace{UdfCompiler.cpp}::FunctionDeclVisitor::source_manager_ |
|
private |
The documentation for this class was generated from the following file: