| Casting.h | 9 // This file defines the isa<X>(), cast<X>(), dyn_cast<X>(), cast_or_null<X>(), 246 // on failure. It does not allow a null argument (use cast_or_null for that). 284 // cast_or_null<X> - Functionally identical to cast, except that a null value is 290 cast_or_null(const Y &Val) { function in namespace:llvm 293 assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!"); 300 cast_or_null(Y &Val) { function in namespace:llvm 303 assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!"); 309 cast_or_null(Y *Val) { function in namespace:llvm 311 assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!"); 317 cast_or_null(std::unique_ptr<Y> &&Val) function in namespace:llvm [all...] |