Home
last modified time | relevance | path

Searched refs:allSameType (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dtraits.d7872 template allSameType(T...)
7876 enum bool allSameType = true;
7880 enum bool allSameType = is(T[0] == T[1]) && allSameType!(T[1..$]);
7887 static assert(allSameType!(int, int));
7888 static assert(allSameType!(int, int, int));
7889 static assert(allSameType!(float, float, float));
7890 static assert(!allSameType!(int, double));
7891 static assert(!allSameType!(int, float, double));
7892 static assert(!allSameType!(int, float, double, real));
7893 static assert(!allSameType!(short, int, float, double, real));
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dtraits.d8896 enum bool allSameType(Ts...) =
8908 static assert(allSameType!());
8909 static assert(allSameType!(int));
8910 static assert(allSameType!(int, int));
8911 static assert(allSameType!(int, int, int));
8912 static assert(allSameType!(float, float, float));
8913 static assert(!allSameType!(int, double));
8914 static assert(!allSameType!(int, float, double));
8915 static assert(!allSameType!(int, float, double, real));
8916 static assert(!allSameType!(short, int, float, double, real));
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/range/
H A Dpackage.d915 enum bool allSameType = allSatisfy!(sameET, R); member
918 static if (allSameType)
926 static if (allSameType && allSatisfy!(hasLvalueElements, R))
1004 static if (allSameType && allSatisfy!(hasAssignableElements, R))
1069 static if (allSameType && allSatisfy!(hasAssignableElements, R))
1140 static if (allSameType && allSatisfy!(hasAssignableElements, R))
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp459 static bool allSameType(ArrayRef<Value *> VL) { in allSameType() function
2603 if (!allSameType(Roots)) in buildTree()
2665 assert((allConstant(VL) || allSameType(VL)) && "Invalid types!"); in buildTree_rec()
3698 allSameType(VL) && allSameBlock(VL)) { in getEntryCost()
3734 assert(E->getOpcode() && allSameType(VL) && allSameBlock(VL) && "Invalid VL"); in getEntryCost()
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/range/
H A Dpackage.d910 enum bool allSameType = allSatisfy!(sameET, R); member
913 static if (allSameType && allSatisfy!(hasLvalueElements, R))
1002 static if (allSameType && allSatisfy!(hasAssignableElements, R))
1068 static if (allSameType && allSatisfy!(hasAssignableElements, R))
1139 static if (allSameType && allSatisfy!(hasAssignableElements, R))