Searched defs:simplify_type (Results 1 - 11 of 11) sorted by relevance

/external/llvm/include/llvm/Support/
H A DCasting.h32 template<typename From> struct simplify_type { struct in namespace:llvm
39 template<typename From> struct simplify_type<const From> { struct in namespace:llvm
40 typedef typename simplify_type<From>::SimpleType NonConstSimpleType;
46 return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
110 // the simplify_type template.
113 typename simplify_type<SimpleFrom>::SimpleType>::doit(
114 simplify_type<const From>::getSimplifiedValue(Val));
134 typename simplify_type<const Y>::SimpleType>::doit(Val);
183 typename simplify_type<From>::SimpleType>::ret_type ret_type;
186 // Ensure the non-simple values are converted using the simplify_type templat
[all...]
/external/llvm/include/llvm/IR/
H A DUse.h40 template <typename> struct simplify_type;
159 template <> struct simplify_type<Use> { struct in namespace:llvm
163 template <> struct simplify_type<const Use> { struct in namespace:llvm
H A DValueHandle.h23 template<typename From> struct simplify_type;
164 // Specialize simplify_type to allow WeakVH to participate in
166 template<> struct simplify_type<WeakVH> { struct in namespace:llvm
/external/llvm/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h268 template<class T> struct simplify_type<IntrusiveRefCntPtr<T> > { struct in namespace:llvm
275 template<class T> struct simplify_type<const IntrusiveRefCntPtr<T> > { struct in namespace:llvm
H A Dilist.h272 template<typename From> struct simplify_type;
274 template<typename NodeTy> struct simplify_type<ilist_iterator<NodeTy> > { struct in namespace:llvm
281 template<typename NodeTy> struct simplify_type<const ilist_iterator<NodeTy> > { struct in namespace:llvm
/external/llvm/unittests/Support/
H A DCasting.cpp69 template <> struct simplify_type<foo> { struct in namespace:llvm
79 // Test the peculiar behavior of Use in simplify_type.
80 static_assert(std::is_same<simplify_type<Use>::SimpleType, Value *>::value,
82 static_assert(std::is_same<simplify_type<Use *>::SimpleType, Value *>::value,
86 static_assert(std::is_same<simplify_type<foo>::SimpleType, int>::value,
87 "Unexpected simplify_type result!");
88 static_assert(std::is_same<simplify_type<foo *>::SimpleType, foo *>::value,
89 "Unexpected simplify_type result!");
/external/clang/include/clang/AST/
H A DCanonicalType.h349 /// Implement simplify_type for CanQual<T>, so that we can dyn_cast from
353 struct simplify_type< ::clang::CanQual<T> > { struct in namespace:llvm
H A DType.h998 /// Implement simplify_type for QualType, so that we can dyn_cast from QualType
1000 template<> struct simplify_type< ::clang::QualType> { struct in namespace:llvm
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h1022 template<class T> struct simplify_type< clang::ento::CallEventRef<T> > { struct in namespace:llvm
/external/clang/include/clang/Analysis/
H A DCFG.h991 /// Implement simplify_type for CFGTerminator, so that we can dyn_cast from
993 template <> struct simplify_type< ::clang::CFGTerminator> { struct in namespace:clang::llvm
/external/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h50 template <typename T> struct simplify_type;
227 /// simplify_type specializations - Allow casting operators to work directly on
229 template<> struct simplify_type<SDValue> { struct in namespace:llvm
235 template<> struct simplify_type<const SDValue> { struct in namespace:llvm
326 /// simplify_type specializations - Allow casting operators to work directly on
328 template<> struct simplify_type<SDUse> { struct in namespace:llvm

Completed in 379 milliseconds