Home
last modified time | relevance | path

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

/llvm-project/llvm/include/llvm/Support/
H A DCasting.h34 template <typename From> struct simplify_type { struct
41 template <typename From> struct simplify_type<const From> { argument
[all...]
/llvm-project/llvm/unittests/Support/
H A DCasting.cpp77 template <> struct simplify_type<foo> { struct
78 typedef int SimpleType;
79 static SimpleType getSimplifiedValue(foo &Val) { return 0; } in getSimplifiedValue()
462 template <> struct simplify_type<pointer_wrappers::PTy> { struct
463 typedef pointer_wrappers::Base *SimpleType;
464 static SimpleType getSimplifiedValue(pointer_wrappers::PTy &P) { in getSimplifiedValue()
468 template <> struct simplify_type<const pointer_wrappers::PTy> { struct
469 typedef pointer_wrappers::Base *SimpleType;
470 static SimpleType getSimplifiedValue(const pointer_wrappers::PTy &P) { in getSimplifiedValue()