GCC Middle and Back End API Reference
|
#include <opt-problem.h>
Public Types | |
typedef PtrType_t | wrapped_pointer_t |
typedef PtrType_t | wrapped_t |
Public Member Functions | |
static opt_pointer_wrapper< wrapped_pointer_t > | if (dump_enabled_p()) |
return | opt_pointer_wrapper (NULL, problem) |
wrapped_pointer_t | operator-> () const |
operator wrapped_t () const | |
wrapped_t | get_result () const |
opt_problem * | get_problem () const |
Static Public Member Functions | |
static opt_pointer_wrapper< wrapped_pointer_t > | success (wrapped_pointer_t ptr) |
static opt_pointer_wrapper< wrapped_pointer_t > | failure_at (const dump_location_t &loc, const char *fmt,...) ATTRIBUTE_GCC_DUMP_PRINTF(2 |
template<typename S > | |
static opt_pointer_wrapper< wrapped_pointer_t > | propagate_failure (opt_wrapper< S > other) |
Private Member Functions | |
opt_pointer_wrapper (wrapped_pointer_t result, opt_problem *problem) | |
Private Attributes | |
wrapped_t | m_result |
Subclass of opt_wrapper<T> where T is a pointer type, for tracking success/failure, where: - a non-NULL value signifies "success", and - a NULL value signifies "failure", whilst effectively propagating an opt_problem * describing any failure back up the call stack.
PtrType_t opt_pointer_wrapper< PtrType_t >::wrapped_pointer_t |
|
inherited |
return opt_pointer_wrapper< PtrType_t >::opt_pointer_wrapper | ( | NULL | , |
problem | ) |
|
inlineprivate |
|
static |
References NULL.
Referenced by vect_analyze_loop().
|
inlineinherited |
|
inlineinherited |
Referenced by opt_pointer_wrapper< PtrType_t >::operator->().
|
inline |
References ap.
|
inlineinherited |
|
inline |
References opt_wrapper< PtrType_t >::get_result().
|
inlinestatic |
References opt_wrapper< T >::get_problem(), NULL, and opt_pointer_wrapper< PtrType_t >::opt_pointer_wrapper().
Referenced by vect_analyze_loop(), and vect_analyze_loop_1().
|
inlinestatic |
References NULL, and opt_pointer_wrapper< PtrType_t >::opt_pointer_wrapper().
Referenced by vect_analyze_loop(), and vect_analyze_loop_1().
|
privateinherited |