Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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
/llvm-project-15.0.7/llvm/unittests/Support/
H A DCasting.cpp73 template <> struct simplify_type<foo> { struct
74 typedef int SimpleType;
75 static SimpleType getSimplifiedValue(foo &Val) { return 0; } in getSimplifiedValue()
431 template <> struct simplify_type<pointer_wrappers::PTy> { struct
432 typedef pointer_wrappers::Base *SimpleType;
433 static SimpleType getSimplifiedValue(pointer_wrappers::PTy &P) { in getSimplifiedValue()
437 template <> struct simplify_type<const pointer_wrappers::PTy> { struct
438 typedef pointer_wrappers::Base *SimpleType;
439 static SimpleType getSimplifiedValue(const pointer_wrappers::PTy &P) { in getSimplifiedValue()