Home
last modified time | relevance | path

Searched refs:simplify_type (Results 1 – 15 of 15) sorted by relevance

/minix/external/bsd/llvm/dist/llvm/include/llvm/Support/
H A DCasting.h32 template<typename From> struct simplify_type { struct
39 template<typename From> struct simplify_type<const From> { argument
40 typedef typename simplify_type<From>::SimpleType NonConstSimpleType;
46 return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
113 typename simplify_type<SimpleFrom>::SimpleType>::doit(
114 simplify_type<const From>::getSimplifiedValue(Val));
193 typename simplify_type<SimpleFrom>::SimpleType>::doit(
194 simplify_type<From>::getSimplifiedValue(Val));
209 std::is_same<X, typename simplify_type<X>::SimpleType>::value;
225 X, const Y, typename simplify_type<const Y>::SimpleType>::doit(Val);
[all …]
/minix/external/bsd/llvm/dist/llvm/unittests/Support/
H A DCasting.cpp69 template <> struct simplify_type<foo> { struct
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,
88 static_assert(std::is_same<simplify_type<foo *>::SimpleType, foo *>::value,
262 template <> struct simplify_type<pointer_wrappers::PTy> { struct
268 template <> struct simplify_type<const pointer_wrappers::PTy> { struct
/minix/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DUse.h40 template <typename> struct simplify_type;
159 template <> struct simplify_type<Use> {
163 template <> struct simplify_type<const Use> {
H A DTrackingMDRef.h142 template <> struct simplify_type<TrackingMDRef> {
147 template <> struct simplify_type<const TrackingMDRef> {
154 template <class T> struct simplify_type<TypedTrackingMDRef<T>> {
161 template <class T> struct simplify_type<const TypedTrackingMDRef<T>> {
H A DUser.h176 template<> struct simplify_type<User::op_iterator> {
182 template<> struct simplify_type<User::const_op_iterator> {
H A DValueHandle.h23 template<typename From> struct simplify_type;
162 template<> struct simplify_type<WeakVH> {
H A DMetadata.h573 template <> struct simplify_type<MDOperand> {
578 template <> struct simplify_type<const MDOperand> {
/minix/external/bsd/llvm/dist/llvm/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h277 template<class T> struct simplify_type<IntrusiveRefCntPtr<T> > {
284 template<class T> struct simplify_type<const IntrusiveRefCntPtr<T> > {
H A Dilist.h272 template<typename From> struct simplify_type;
274 template<typename NodeTy> struct simplify_type<ilist_iterator<NodeTy> > {
281 template<typename NodeTy> struct simplify_type<const ilist_iterator<NodeTy> > {
/minix/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h50 template <typename T> struct simplify_type;
235 template<> struct simplify_type<SDValue> {
241 template<> struct simplify_type<const SDValue> {
334 template<> struct simplify_type<SDUse> {
/minix/external/bsd/llvm/dist/clang/include/clang/AST/
H A DCanonicalType.h353 struct simplify_type< ::clang::CanQual<T> > {
H A DType.h1016 template<> struct simplify_type< ::clang::QualType> {
/minix/external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h1022 template<class T> struct simplify_type< clang::ento::CallEventRef<T> > {
/minix/external/bsd/llvm/dist/llvm/docs/
H A DHowToSetUpLLVMStyleRTTI.rst383 ``simplify_type``. However, those two need reference documentation in
/minix/external/bsd/llvm/dist/clang/include/clang/Analysis/
H A DCFG.h992 template <> struct simplify_type< ::clang::CFGTerminator> {