Home
last modified time | relevance | path

Searched refs:CommonType (Results 1 – 25 of 38) sorted by relevance

12

/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DTypeBasedAliasAnalysis.cpp587 const MDNode *CommonType, in mayBeAccessToSubobjectOf() argument
593 BaseTag.getAccessType() == CommonType) { in mayBeAccessToSubobjectOf()
595 *GenericTag = createAccessTag(CommonType); in mayBeAccessToSubobjectOf()
621 createAccessTag(CommonType); in mayBeAccessToSubobjectOf()
644 *GenericTag = createAccessTag(CommonType); in mayBeAccessToSubobjectOf()
677 const MDNode *CommonType = getLeastCommonType(TagA.getAccessType(), in matchAccessTags() local
682 if (!CommonType) { in matchAccessTags()
692 CommonType, GenericTag, MayAlias) || in matchAccessTags()
694 CommonType, GenericTag, MayAlias)) in matchAccessTags()
699 *GenericTag = createAccessTag(CommonType); in matchAccessTags()
/netbsd/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dcomplex.d51 return Complex!(CommonType!(R, I))(re, im);
241 Complex!(CommonType!(T,R)) opBinary(string op, R)(Complex!R z) const
249 Complex!(CommonType!(T,R)) opBinary(string op, R)(R r) const
258 Complex!(CommonType!(T, R)) opBinaryRight(string op, R)(R r) const
265 Complex!(CommonType!(T, R)) opBinaryRight(string op, R)(R r) const
272 Complex!(CommonType!(T, R)) opBinaryRight(string op, R)(R r) const
298 Complex!(CommonType!(T, R)) opBinaryRight(string op, R)(R lhs) const
302 Unqual!(CommonType!(T, R)) ab = void, ar = void;
799 Complex!(CommonType!(T, U)) fromPolar(T, U)(T modulus, U argument)
803 return Complex!(CommonType!(T,U))
H A Dnumeric.d1456 alias R = Unqual!(CommonType!(ReturnType!DF, T));
1638 CommonType!(ElementType!(Range1), ElementType!(Range2))
1655 CommonType!(ElementType!(Range1), ElementType!(Range2))
1698 CommonType!(ElementType!(Range1), ElementType!(Range2))
1715 CommonType!(F1, F2)
1796 CommonType!(ElementType!(Range1), ElementType!(Range2))
1957 !is(CommonType!(ElementType!Range, F) == void))
1995 CommonType!(ElementType!Range1, ElementType!Range2)
2043 CommonType!(ElementType!Range1, ElementType!Range2)
2046 is(CommonType!(ElementType!Range1, ElementType!Range2)))
[all …]
H A Drandom.d1382 if (!is(CommonType!(T1, T2) == void))
1431 if (isFloatingPoint!(CommonType!(T1, T2)) && isUniformRNG!UniformRandomNumberGenerator)
1435 alias NumberType = Unqual!(CommonType!(T1, T2));
1529 if ((isIntegral!(CommonType!(T1, T2)) || isSomeChar!(CommonType!(T1, T2))) &&
1534 alias ResultType = Unqual!(CommonType!(T1, T2));
1977 static assert(is(CommonType!(double, int) == double));
H A Dtraits.d4493 template CommonType(T...)
4497 alias CommonType = void;
4503 alias CommonType = typeof(T[0]);
4507 alias CommonType = T[0];
4512 alias CommonType = CommonType!(U, T[2 .. $]);
4515 alias CommonType = void;
4521 alias X = CommonType!(int, long, short);
4523 alias Y = CommonType!(int, char[], short);
4528 static assert(is(CommonType!(3) == int));
4529 static assert(is(CommonType!(double, 4, float) == double));
[all …]
H A Dfunctional.d427 import std.traits : CommonType;
428 alias T = CommonType!(ElementType1, ElementType2);
/netbsd/external/gpl3/gcc/dist/libphobos/src/std/
H A Dnumeric.d1755 alias R = Unqual!(CommonType!(ReturnType!DF, T));
1937 CommonType!(ElementType!(Range1), ElementType!(Range2))
1954 CommonType!(ElementType!(Range1), ElementType!(Range2))
1998 CommonType!(ElementType!(Range1), ElementType!(Range2))
2015 CommonType!(F1, F2)
2121 CommonType!(ElementType!(Range1), ElementType!(Range2))
2283 !is(CommonType!(ElementType!Range, F) == void))
2321 CommonType!(ElementType!Range1, ElementType!Range2)
2369 CommonType!(ElementType!Range1, ElementType!Range2)
2396 CommonType!(ElementType!Range1, ElementType!Range2)
[all …]
H A Dcomplex.d60 return Complex!(CommonType!(R, I))(re, im);
249 Complex!(CommonType!(T,R)) opBinary(string op, R)(Complex!R z) const
257 Complex!(CommonType!(T,R)) opBinary(string op, R)(const R r) const
266 Complex!(CommonType!(T, R)) opBinaryRight(string op, R)(const R r) const
273 Complex!(CommonType!(T, R)) opBinaryRight(string op, R)(const R r) const
280 Complex!(CommonType!(T, R)) opBinaryRight(string op, R)(const R r) const
322 Complex!(CommonType!(T, R)) opBinaryRight(string op, R)(const R lhs) const
328 Unqual!(CommonType!(T, R)) ab = void, ar = void;
923 Complex!(CommonType!(T, U)) fromPolar(T, U)(const T modulus, const U argument)
927 return Complex!(CommonType!(T,U))
H A Drandom.d2050 if (!is(CommonType!(T1, T2) == void))
2122 if (isFloatingPoint!(CommonType!(T1, T2)) && isUniformRNG!UniformRandomNumberGenerator)
2126 alias NumberType = Unqual!(CommonType!(T1, T2));
2220 if ((isIntegral!(CommonType!(T1, T2)) || isSomeChar!(CommonType!(T1, T2))) &&
2225 alias ResultType = Unqual!(CommonType!(T1, T2));
H A Dsumtype.d237 import std.traits : CommonType, DeducedParameterType;
693 if (!is(CommonType!(This, Rhs) == void))
710 alias CommonSumType = CommonType!(This, Rhs);
H A Dtraits.d4866 template CommonType(T...)
4869 alias CommonType = typeof(T[0].init);
4871 alias CommonType = CommonType!(U, T[2 .. $]);
4873 alias CommonType = void;
4879 alias X = CommonType!(int, long, short);
4881 alias Y = CommonType!(int, char[], short);
4888 static assert(is(CommonType!(3) == int));
4889 static assert(is(CommonType!(double, 4, float) == double));
4890 static assert(is(CommonType!(string, char[]) == const(char)[]));
4891 static assert(is(CommonType!(3, 3U) == uint));
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBTF.h99 struct CommonType { struct
H A DBTFDebug.h44 struct BTF::CommonType BTFType;
/netbsd/external/gpl3/gcc/dist/libphobos/src/std/math/
H A Dalgebraic.d32 import std.traits : CommonType, isFloatingPoint, isIntegral, isSigned, Unqual;
527 Unqual!(CommonType!(T1, T2)) poly(T1, T2)(T1 x, in T2[] A) @trusted pure nothrow @nogc
546 Unqual!(CommonType!(T1, T2)) poly(T1, T2, int N)(T1 x, ref const T2[N] A) @safe pure nothrow @nogc
585 private Unqual!(CommonType!(T1, T2)) polyImplBase(T1, T2)(T1 x, in T2[] A) @trusted pure nothrow @n…
H A Doperations.d29 import std.traits : CommonType, isFloatingPoint, isIntegral, Unqual;
1225 bool isClose(T, U, V = CommonType!(FloatingPointBaseType!T,FloatingPointBaseType!U))
1449 …enum CommonType!(baseT, baseU) CommonDefaultFor = 10.0L ^^ -((min(baseT.dig, baseU.dig) + 1) / 2 +… in CommonDefaultFor()
/netbsd/external/gpl3/gcc/dist/libphobos/src/std/algorithm/
H A Dcomparison.d105 if (!is(CommonType!(Value, values) == void))
1628 if (T.length >= 2 && !is(CommonType!T == void))
1655 alias Result = CommonType!(T0, T1);
1735 if (T.length >= 2 && !is(CommonType!T == void))
1765 alias Result = CommonType!(T0, T1);
2261 int[CommonType!(E1, E2)] counts;
2437 CommonType!(T, Ts) either(alias pred = a => a, T, Ts...)(T first, lazy Ts alternatives)
2439 !is(CommonType!(T, Ts) == void) &&
H A Dsetops.d1178 !is(CommonType!(staticMap!(ElementType, Rs)) == void))
1183 alias ElementType = CommonType!(staticMap!(.ElementType, Rs));
1273 !is(CommonType!(staticMap!(ElementType, Rs)) == void))
H A Diteration.d6629 is(CommonType!(Range, Needles) == void));
6683 import std.traits : CommonType;
6692 if (isInputRange!Value || !is(CommonType!(Value, typeof(substs[0])) == void))
6696 static if (!is(CommonType!(ElementType!Value, typeof(substs[0])) == void))
6702 !is(CommonType!(ElementType!Value, ElementType!(typeof(substs[0]))) == void))
6730 if (isInputRange!R && Substs.length >= 2 && !is(CommonType!(Substs) == void))
6734 import std.traits : CommonType;
6741 static if (!is(CommonType!(ElementType!R, Substs) == void))
6768 else static if (!is(CommonType!(ElementType!R, ElementType!(Substs[0])) == void) &&
6786 static if (is(CommonType!(ReturnA, ReturnB) == void))
[all …]
/netbsd/external/gpl3/gcc.old/dist/libphobos/src/std/algorithm/
H A Dcomparison.d105 if (!is(CommonType!(Value, values) == void))
970 alias MaxType = CommonType!T;
1466 alias MinType = CommonType!T;
1922 int[CommonType!(E1, E2)] counts;
2098 CommonType!(T, Ts) either(alias pred = a => a, T, Ts...)(T first, lazy Ts alternatives)
2100 !is(CommonType!(T, Ts) == void) &&
H A Dsetops.d1127 !is(CommonType!(staticMap!(ElementType, Rs)) == void))
1132 alias ElementType = CommonType!(staticMap!(.ElementType, Rs));
1221 !is(CommonType!(staticMap!(ElementType, Rs)) == void))
H A Dsearching.d1293 !is(CommonType!(ElementType!Range, RangeElementType) == void) &&
1300 alias CommonElement = CommonType!(Element, RangeElementType);
1350 !is(CommonType!(ElementType!Range, RangeElementType) == void) &&
1354 alias CommonElement = CommonType!(Element, RangeElementType);
3370 !is(CommonType!(ElementType!Range, RangeElementType) == void))
3379 !is(CommonType!(ElementType!Range, RangeElementType) == void))
3484 !is(CommonType!(ElementType!Range, RangeElementType) == void))
3493 !is(CommonType!(ElementType!Range, RangeElementType) == void))
/netbsd/external/gpl3/gcc.old/dist/libphobos/src/std/range/
H A Dpackage.d5037 CommonType!(State)[State.length] state;
5301 if ((isIntegral!(CommonType!(B, E)) || isPointer!(CommonType!(B, E)))
5411 if (isFloatingPoint!(CommonType!(B, E)))
5418 if (isIntegral!(CommonType!(B, E)) || isPointer!(CommonType!(B, E)))
5497 if (isFloatingPoint!(CommonType!(B, E, S)))
5505 alias Value = Unqual!(CommonType!(B, E, S));
5871 if (!isIntegral!(CommonType!(B, E)) &&
5872 !isFloatingPoint!(CommonType!(B, E)) &&
5873 !isPointer!(CommonType!(B, E)) &&
11746 !is(CommonType!(ElementType!R, E) == void)
[all …]
/netbsd/external/gpl3/gcc/dist/libphobos/src/std/range/
H A Dpackage.d5977 CommonType!(State)[State.length] state;
6243 if ((isIntegral!(CommonType!(B, E)) || isPointer!(CommonType!(B, E)))
6353 if (isFloatingPoint!(CommonType!(B, E)))
6360 if (isIntegral!(CommonType!(B, E)) || isPointer!(CommonType!(B, E)))
6458 if (isFloatingPoint!(CommonType!(B, E, S)))
6833 if (!isIntegral!(CommonType!(B, E)) &&
6834 !isFloatingPoint!(CommonType!(B, E)) &&
6835 !isPointer!(CommonType!(B, E)) &&
9776 CommonType!Values front() @property
9788 CommonType!Values back() @property
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp3418 void destroyNewNodes(Type *CommonType) { in destroyNewNodes() argument
3420 auto *Dummy = UndefValue::get(CommonType); in destroyNewNodes()
3450 Type *CommonType; member in __anoncc06d3f90c11::AddressingModeCombiner
3460 : CommonType(nullptr), SQ(_SQ), Original(OriginalValue) {} in AddressingModeCombiner()
3569 if (CommonType && CommonType != Type) in initializeMap()
3571 CommonType = Type; in initializeMap()
3577 assert(CommonType && "At least one non-null value must be!"); in initializeMap()
3579 Map[V] = Constant::getNullValue(CommonType); in initializeMap()
3625 ST.destroyNewNodes(CommonType); in findCommon()
3632 ST.destroyNewNodes(CommonType); in findCommon()
[all …]
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGExprConstant.cpp415 llvm::Type *CommonType = Elems[0]->getType(); in buildFrom() local
416 llvm::Constant *Filler = llvm::Constant::getNullValue(CommonType); in buildFrom()
425 if (Elems[I]->getType() != CommonType || in buildFrom()
435 return EmitArrayConstant(CGM, ATy, CommonType, ATy->getNumElements(), in buildFrom()

12