Tensorium
Loading...
Searching...
No Matches
TensoriumDispatchPlugin.cpp File Reference
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Basic/TokenKinds.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Frontend/FrontendPluginRegistry.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Tooling/Tooling.h"
#include "llvm/Support/MemoryBuffer.h"
Include dependency graph for TensoriumDispatchPlugin.cpp:

Classes

class  TensoriumASTConsumer
 AST consumer that matches specific patterns in the AST related to Tensorium usage. More...
 
class  TensoriumASTConsumer::AlignedChecker
 Callback for handling matches from the AST. More...
 

Functions

static FrontendPluginRegistry::Add< TensoriumPluginAction > X ("tensorium-dispatch", "Handle #pragma tensorium directives")
 Register the plugin under the name "tensorium-dispatch".
 

Function Documentation

◆ X()

static FrontendPluginRegistry::Add< TensoriumPluginAction > X ( "tensorium-dispatch" ,
"Handle #pragma tensorium directives"  )
static

Register the plugin under the name "tensorium-dispatch".

Referenced by tensorium_RG::ChristoffelSym< T >::__attribute__(), tensorium_RG::autodiff_rank0(), tensorium_RG::autodiff_rank1(), tensorium_RG::autodiff_rank2_first(), tensorium_RG::autodiff_scalar_second(), tensorium_RG::Metric< T >::BSSN(), tensorium_RG::BSSNContractedGamma< T >::compute(), tensorium_RG::RiemannTensor< T >::compute(), tensorium::SpectalChebyshev< T >::compute(), tensorium::compute_christoffel(), tensorium_RG::BSSNContractedGamma< T >::compute_contracted_christoffel(), tensorium_RG::RicciTildeTensor< T >::compute_dGamma_term(), tensorium_RG::Metric< T >::compute_flrw(), tensorium_RG::Metric< T >::compute_kerr(), tensorium_RG::Metric< T >::compute_kerr_schild(), tensorium_RG::RicciTildeTensor< T >::compute_laplacian_term(), tensorium_RG::compute_partial_derivatives_scalar(), tensorium_RG::compute_partial_derivatives_tensor2D(), tensorium_RG::compute_partial_derivatives_vector(), tensorium_RG::RicciTildeTensor< T >::compute_Ricci_Tilde_tensor(), tensorium::compute_riemann_tensor(), tensorium_RG::Metric< T >::compute_schwarzschild(), tensorium_RG::compute_second_derivatives_scalar(), tensorium_RG::compute_second_derivatives_tensor2D(), tensorium_RG::covariant_scalar(), tensorium_RG::covariant_scalar_second(), tensorium_RG::covariant_scalar_second_3D(), tensorium_RG::covariant_tensor2(), tensorium_RG::covariant_tensor2_second(), tensorium_RG::covariant_vector(), tensorium_RG::generate_conformal_metric_field(), tensorium::generate_metric(), tensorium_RG::BSSN< T >::init_BSSN(), tensorium_RG::Metric< T >::operator()(), tensorium_RG::partial_scalar(), tensorium_RG::partial_tensor2(), tensorium_RG::partial_vector(), tensorium_RG::populate_tensor3D_component(), tensorium::setup_BSSN(), and tensorium_RG::spectral_partial_tensor2().

Here is the caller graph for this function: