Home
last modified time | relevance | path

Searched defs:simplify_type (Results 1 – 2 of 2) sorted by relevance

/external/llvm/include/llvm/Support/
DCasting.h32 template<typename From> struct simplify_type { struct
39 template<typename From> struct simplify_type<const From> { argument
/external/llvm/unittests/Support/
DCasting.cpp69 template <> struct simplify_type<foo> { struct
70 typedef int SimpleType;
71 static SimpleType getSimplifiedValue(foo &Val) { return 0; } in getSimplifiedValue()
262 template <> struct simplify_type<pointer_wrappers::PTy> { struct
263 typedef pointer_wrappers::Base *SimpleType;
264 static SimpleType getSimplifiedValue(pointer_wrappers::PTy &P) { in getSimplifiedValue()
268 template <> struct simplify_type<const pointer_wrappers::PTy> { struct
269 typedef pointer_wrappers::Base *SimpleType;
270 static SimpleType getSimplifiedValue(const pointer_wrappers::PTy &P) { in getSimplifiedValue()