Introspection.h File Reference
#include <iostream>
#include <stdint.h>
#include <string>

Go to the source code of this file.


struct  HalideIntrospectionCanary::A
class  HalideIntrospectionCanary::A::B


 This file defines the class FunctionDAG, which is our representation of a Halide pipeline, and contains methods to using Halide's bounds tools to query properties of it.




std::string Halide::Internal::Introspection::get_variable_name (const void *, const std::string &expected_type)
 Get the name of a stack variable from its address. More...
void Halide::Internal::Introspection::register_heap_object (const void *obj, size_t size, const void *helper)
 Register an untyped heap object. More...
void Halide::Internal::Introspection::deregister_heap_object (const void *obj, size_t size)
 Deregister a heap object. More...
bool Halide::Internal::Introspection::dump_stack_frame ()
 Dump the contents of the stack frame of the calling function. More...
template<typename T >
const void * Halide::Internal::Introspection::get_introspection_helper ()
 Return the address of a global with type T *. More...
std::string Halide::Internal::Introspection::get_source_location ()
 Get the source location in the call stack, skipping over calls in the Halide namespace. More...
void Halide::Internal::Introspection::test_compilation_unit (bool(*test)(bool(*)(const void *, const std::string &)), bool(*test_a)(const void *, const std::string &), void(*calib)())

Detailed Description

Defines methods for introspecting in C++. Relies on DWARF debugging metadata, so the compilation unit that uses this must be compiled with -g.

Definition in file Introspection.h.

Macro Definition Documentation


{ \
(void)check; \

Definition at line 39 of file Introspection.h.

bool dump_stack_frame()
Dump the contents of the stack frame of the calling function.