LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
Casting.h File Reference
#include "llvm/Support/type_traits.h"
#include <cassert>
Include dependency graph for Casting.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  llvm::simplify_type< From >
 
struct  llvm::simplify_type< const From >
 
struct  llvm::isa_impl< To, From, Enabler >
 
struct  llvm::isa_impl< To, From, typename enable_if< llvm::is_base_of< To, From > >::type >
 Always allow upcasts, and perform no dynamic check for them. More...
 
struct  llvm::isa_impl_cl< To, From >
 
struct  llvm::isa_impl_cl< To, const From >
 
struct  llvm::isa_impl_cl< To, From * >
 
struct  llvm::isa_impl_cl< To, From *const >
 
struct  llvm::isa_impl_cl< To, const From * >
 
struct  llvm::isa_impl_cl< To, const From *const >
 
struct  llvm::isa_impl_wrap< To, From, SimpleFrom >
 
struct  llvm::isa_impl_wrap< To, FromTy, FromTy >
 
struct  llvm::cast_retty< To, From >
 
struct  llvm::cast_retty_impl< To, From >
 
struct  llvm::cast_retty_impl< To, const From >
 
struct  llvm::cast_retty_impl< To, From * >
 
struct  llvm::cast_retty_impl< To, const From * >
 
struct  llvm::cast_retty_impl< To, const From *const >
 
struct  llvm::cast_retty_wrap< To, From, SimpleFrom >
 
struct  llvm::cast_retty_wrap< To, FromTy, FromTy >
 
struct  llvm::cast_retty< To, From >
 
struct  llvm::cast_convert_val< To, From, SimpleFrom >
 
struct  llvm::cast_convert_val< To, FromTy, FromTy >
 
struct  llvm::is_simple_type< X >
 

Namespaces

 llvm
 List of target independent CodeGen pass IDs.
 

Functions

template<class X , class Y >
bool llvm::isa (const Y &Val)
 
template<class X , class Y >
enable_if_c<!is_simple_type< Y >
::value, typename cast_retty
< X, const Y >::ret_type >
::type 
llvm::cast (const Y &Val)
 
template<class X , class Y >
cast_retty< X, Y >::ret_type llvm::cast (Y &Val)
 
template<class X , class Y >
cast_retty< X, Y * >::ret_type llvm::cast (Y *Val)
 
template<class X , class Y >
cast_retty< X, Y * >::ret_type llvm::cast_or_null (Y *Val)
 
template<class X , class Y >
enable_if_c<!is_simple_type< Y >
::value, typename cast_retty
< X, const Y >::ret_type >
::type 
llvm::dyn_cast (const Y &Val)
 
template<class X , class Y >
cast_retty< X, Y >::ret_type llvm::dyn_cast (Y &Val)
 
template<class X , class Y >
cast_retty< X, Y * >::ret_type llvm::dyn_cast (Y *Val)
 
template<class X , class Y >
cast_retty< X, Y * >::ret_type llvm::dyn_cast_or_null (Y *Val)