Home
last modified time | relevance | path

Searched refs:Signed (Results 1 – 25 of 468) sorted by relevance

12345678910>>...19

/external/llvm-project/clang/test/SemaCXX/
Dbitfield.cpp7 typedef signed Signed; typedef
12 typedef __typeof__(+t.n) Signed; // ... but promotes to signed. typedef
14 typedef __typeof__(t.n + 0) Signed; // Arithmetic promotes. typedef
19 typedef __typeof__(+(t.n = 0)) Signed; // ... which is a bit-field. typedef
20 typedef __typeof__(+(t.n += 0)) Signed; typedef
21 typedef __typeof__(+(t.n *= 0)) Signed; typedef
25 typedef __typeof__(+(++t.n)) Signed; typedef
26 typedef __typeof__(+(--t.n)) Signed; typedef
/external/clang/test/SemaCXX/
Dbitfield.cpp7 typedef signed Signed; typedef
12 typedef __typeof__(+t.n) Signed; // ... but promotes to signed. typedef
14 typedef __typeof__(t.n + 0) Signed; // Arithmetic promotes. typedef
19 typedef __typeof__(+(t.n = 0)) Signed; // ... which is a bit-field. typedef
20 typedef __typeof__(+(t.n += 0)) Signed; typedef
21 typedef __typeof__(+(t.n *= 0)) Signed; typedef
25 typedef __typeof__(+(++t.n)) Signed; typedef
26 typedef __typeof__(+(--t.n)) Signed; typedef
/external/clang/test/Sema/
Dbitfield.c63 typedef signed Signed; typedef
68 typedef __typeof__(+t5.n) Signed; // ... but promotes to signed. typedef
70 typedef __typeof__(t5.n + 0) Signed; // Arithmetic promotes. typedef
72 typedef __typeof__(+(t5.n = 0)) Signed; // FIXME: Assignment should not; the result typedef
73 typedef __typeof__(+(t5.n += 0)) Signed; // is a non-bit-field lvalue of type unsigned. typedef
74 typedef __typeof__(+(t5.n *= 0)) Signed; typedef
76 typedef __typeof__(+(++t5.n)) Signed; // FIXME: Increment is equivalent to compound-assignment. typedef
77 typedef __typeof__(+(--t5.n)) Signed; // This should not promote to signed. typedef
/external/llvm-project/clang/test/Sema/
Dbitfield.c63 typedef signed Signed; typedef
68 typedef __typeof__(+t5.n) Signed; // ... but promotes to signed. typedef
70 typedef __typeof__(t5.n + 0) Signed; // Arithmetic promotes. typedef
72 typedef __typeof__(+(t5.n = 0)) Signed; // FIXME: Assignment should not; the result typedef
73 typedef __typeof__(+(t5.n += 0)) Signed; // is a non-bit-field lvalue of type unsigned. typedef
74 typedef __typeof__(+(t5.n *= 0)) Signed; typedef
76 typedef __typeof__(+(++t5.n)) Signed; // FIXME: Increment is equivalent to compound-assignment. typedef
77 typedef __typeof__(+(--t5.n)) Signed; // This should not promote to signed. typedef
/external/llvm-project/clang/utils/TableGen/
DSveEmitter.cpp68 bool Float, Signed, Immediate, Void, Constant, Pointer, BFloat; member in __anon33e5c4fd0111::SVEType
76 : TS(TS), Float(false), Signed(true), Immediate(false), Void(false), in SVEType()
87 bool isSigned() const { return Signed; } in isSigned()
392 if (Signed) in builtin_str()
394 else if (!Signed) in builtin_str()
396 } else if (!isVoidPointer() && !Signed) { in builtin_str()
430 if (!Signed && !isFloatingPoint()) in str()
466 Signed = false; in applyTypespec()
530 Signed = false; in applyModifier()
540 Signed = false; in applyModifier()
[all …]
/external/rust/crates/num-traits/src/
Dsign.rs8 pub trait Signed: Sized + Num + Neg<Output = Self> { interface
46 impl Signed for $t { impl
80 impl<T: Signed> Signed for Wrapping<T>
112 impl Signed for $t { impl
165 pub fn abs<T: Signed>(value: T) -> T { in abs()
174 pub fn abs_sub<T: Signed>(x: T, y: T) -> T { in abs_sub()
192 pub fn signum<T: Signed>(value: T) -> T { in signum()
/external/llvm-project/clang/lib/AST/Interp/
DIntegral.h41 template <unsigned Bits, bool Signed> struct Repr;
56 template <unsigned Bits, bool Signed> class Integral {
61 using T = typename Repr<Bits, Signed>::Type;
107 return APSInt(APInt(Bits, static_cast<uint64_t>(V), Signed), !Signed);
110 if (Signed)
111 return APSInt(toAPSInt().sextOrTrunc(NumBits), !Signed);
113 return APSInt(toAPSInt().zextOrTrunc(NumBits), !Signed);
127 bool isMinusOne() const { return Signed && V == T(-1); }
129 constexpr static bool isSigned() { return Signed; }
146 return Integral((V & BitMask) | (Signed && (V & SignBit) ? ExtMask : 0));
[all …]
/external/pdfium/third_party/libtiff/
D0000-build-config.patch122 +/* Signed 8-bit type */
128 +/* Signed 16-bit type */
134 +/* Signed 32-bit type */
140 +/* Signed 32-bit type formatter */
148 +/* Signed 64-bit type formatter */
154 +/* Signed 64-bit type */
164 +/* Signed 64-bit type formatter */
170 +/* Signed 64-bit type */
175 +/* Signed 64-bit type formatter */
181 +/* Signed 64-bit type */
[all …]
/external/llvm/unittests/ADT/
DStringRefTest.cpp442 } Signed[] = variable
508 for (size_t i = 0; i < array_lengthof(Signed); ++i) { in TEST()
509 bool S8Success = StringRef(Signed[i].Str).getAsInteger(0, S8); in TEST()
510 if (static_cast<int8_t>(Signed[i].Expected) == Signed[i].Expected) { in TEST()
512 EXPECT_EQ(S8, Signed[i].Expected); in TEST()
516 bool S16Success = StringRef(Signed[i].Str).getAsInteger(0, S16); in TEST()
517 if (static_cast<int16_t>(Signed[i].Expected) == Signed[i].Expected) { in TEST()
519 EXPECT_EQ(S16, Signed[i].Expected); in TEST()
523 bool S32Success = StringRef(Signed[i].Str).getAsInteger(0, S32); in TEST()
524 if (static_cast<int32_t>(Signed[i].Expected) == Signed[i].Expected) { in TEST()
[all …]
/external/clang/test/CodeGenCXX/
Dms-inline-asm-fields.cpp32 template <bool Signed>
42 template <bool Signed>
44 typedef typename make_storage_type<Signed>::type storage_type;
/external/llvm-project/clang/test/CodeGenCXX/
Dms-inline-asm-fields.cpp32 template <bool Signed>
42 template <bool Signed>
44 typedef typename make_storage_type<Signed>::type storage_type;
/external/llvm-project/llvm/test/CodeGen/AVR/
Ddiv.ll13 ; Signed 8-bit division
33 ; Signed 16-bit division
54 ; Signed 32-bit division
74 ; Signed 64-bit division
92 ; Signed 128-bit division
Drem.ll13 ; Signed 8-bit remision
32 ; Signed 16-bit remision
50 ; Signed 32-bit remision
/external/llvm-project/llvm/include/llvm/Support/
DCheckedArithmetic.h30 checkedOp(T LHS, T RHS, F Op, bool Signed = true) {
31 llvm::APInt ALHS(sizeof(T) * 8, LHS, Signed);
32 llvm::APInt ARHS(sizeof(T) * 8, RHS, Signed);
37 return Signed ? Out.getSExtValue() : Out.getZExtValue();
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DCheckedArithmetic.h30 checkedOp(T LHS, T RHS, F Op, bool Signed = true) {
31 llvm::APInt ALHS(/*BitSize=*/sizeof(T) * 8, LHS, Signed);
32 llvm::APInt ARHS(/*BitSize=*/sizeof(T) * 8, RHS, Signed);
37 return Signed ? Out.getSExtValue() : Out.getZExtValue();
/external/llvm-project/mlir/test/mlir-tblgen/
Dtypedefs.td112 Signed, /// Signed integer
122 bool isSigned() const { return getSignedness() == Signed; }
130 // DECL-NEXT: Signed, /// Signed integer
139 // DECL-NEXT: bool isSigned() const { return getSignedness() == Signed; }
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUHSAMetadataStreamer.cpp133 auto Signed = !TypeName.startswith("u"); in getValueType() local
136 return Signed ? ValueType::I8 : ValueType::U8; in getValueType()
138 return Signed ? ValueType::I16 : ValueType::U16; in getValueType()
140 return Signed ? ValueType::I32 : ValueType::U32; in getValueType()
142 return Signed ? ValueType::I64 : ValueType::U64; in getValueType()
162 std::string MetadataStreamerV2::getTypeName(Type *Ty, bool Signed) const { in getTypeName()
165 if (!Signed) in getTypeName()
192 return (Twine(getTypeName(ElTy, Signed)) + Twine(NumElements)).str(); in getTypeName()
579 auto Signed = !TypeName.startswith("u"); in getValueType() local
582 return Signed ? "i8" : "u8"; in getValueType()
[all …]
/external/angle/src/common/
Duniform_type_info_autogen.cpp87 {GL_INT_SAMPLER_2D, GL_INT, GL_TEXTURE_2D, GL_NONE, GL_NONE, SamplerFormat::Signed, 1, 1, 1,
89 {GL_INT_SAMPLER_2D_ARRAY, GL_INT, GL_TEXTURE_2D_ARRAY, GL_NONE, GL_NONE, SamplerFormat::Signed,
92 SamplerFormat::Signed, 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true,
95 GL_NONE, SamplerFormat::Signed, 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1,
97 {GL_INT_SAMPLER_3D, GL_INT, GL_TEXTURE_3D, GL_NONE, GL_NONE, SamplerFormat::Signed, 1, 1, 1,
99 {GL_INT_SAMPLER_CUBE, GL_INT, GL_TEXTURE_CUBE_MAP, GL_NONE, GL_NONE, SamplerFormat::Signed, 1,
102 SamplerFormat::Signed, 1, 1, 1, sizeof(GLint), sizeof(GLint) * 4, sizeof(GLint) * 1, true,
104 {GL_INT_SAMPLER_BUFFER, GL_INT, GL_TEXTURE_BUFFER, GL_NONE, GL_NONE, SamplerFormat::Signed, 1,
/external/llvm-project/llvm/unittests/ADT/
DStringRefTest.cpp596 } Signed[] = variable
662 for (size_t i = 0; i < array_lengthof(Signed); ++i) { in TEST()
663 bool S8Success = StringRef(Signed[i].Str).getAsInteger(0, S8); in TEST()
664 if (static_cast<int8_t>(Signed[i].Expected) == Signed[i].Expected) { in TEST()
666 EXPECT_EQ(S8, Signed[i].Expected); in TEST()
670 bool S16Success = StringRef(Signed[i].Str).getAsInteger(0, S16); in TEST()
671 if (static_cast<int16_t>(Signed[i].Expected) == Signed[i].Expected) { in TEST()
673 EXPECT_EQ(S16, Signed[i].Expected); in TEST()
677 bool S32Success = StringRef(Signed[i].Str).getAsInteger(0, S32); in TEST()
678 if (static_cast<int32_t>(Signed[i].Expected) == Signed[i].Expected) { in TEST()
[all …]
/external/llvm/test/MC/Disassembler/AArch64/
Dneon-instructions.txt142 # Vector Absolute Difference and Accumulate (Signed, Unsigned)
143 # Vector Absolute Difference (Signed, Unsigned)
252 # Vector Compare Mask Greater Than or Equal to Zero (Signed Integer)
258 # Vector Compare Mask Greater Than Zero (Signed Integer)
264 # Vector Compare Mask Less Than or Equal To Zero (Signed Integer)
270 # Vector Compare Mask Less Than Zero (Signed Integer)
307 # Vector Integer Halving Add (Signed)
309 # Vector Integer Halving Sub (Signed)
326 # Vector Integer Rouding Halving Add (Signed)
343 # Vector Integer Saturating Add (Signed)
[all …]
/external/llvm-project/llvm/test/MC/Disassembler/AArch64/
Dneon-instructions.txt142 # Vector Absolute Difference and Accumulate (Signed, Unsigned)
143 # Vector Absolute Difference (Signed, Unsigned)
252 # Vector Compare Mask Greater Than or Equal to Zero (Signed Integer)
258 # Vector Compare Mask Greater Than Zero (Signed Integer)
264 # Vector Compare Mask Less Than or Equal To Zero (Signed Integer)
270 # Vector Compare Mask Less Than Zero (Signed Integer)
307 # Vector Integer Halving Add (Signed)
309 # Vector Integer Halving Sub (Signed)
326 # Vector Integer Rouding Halving Add (Signed)
343 # Vector Integer Saturating Add (Signed)
[all …]
/external/vixl/doc/aarch64/
Dsupported-instructions-aarch64.md2303 Signed bitfield insert with zero at right.
2313 Signed bitfield move.
2323 Signed bitfield extract.
2333 Signed integer divide.
2354 Signed long multiply and accumulate: 32 x 32 + 64 -> 64-bit.
2364 Signed long multiply and subtract: 64 - (32 x 32) -> 64-bit.
2374 Signed multiply high: 64 x 64 -> 64-bit <127:64>.
2381 Signed long multiply: 32 x 32 -> 64-bit.
3026 Signed extend byte.
3033 Signed extend halfword.
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFExpression.cpp135 unsigned Signed = Size & Operation::SignBit; in extract() local
143 if (Signed) in extract()
148 if (Signed) in extract()
153 if (Signed) in extract()
180 if (Signed) in extract()
259 unsigned Signed = Size & Operation::SignBit; in print() local
279 if (Signed) in print()
/external/llvm/test/Transforms/GlobalOpt/
D2005-09-27-Crash.ll4 %arraytype.Signed = type { i32, [0 x i32] }
6 %structtype.test = type { i32, %arraytype.Signed }
/external/llvm-project/llvm/test/Transforms/GlobalOpt/
D2005-09-27-Crash.ll4 %arraytype.Signed = type { i32, [0 x i32] }
6 %structtype.test = type { i32, %arraytype.Signed }

12345678910>>...19