Home
last modified time | relevance | path

Searched refs:Unsigned (Results 1 – 25 of 123) sorted by relevance

12345

/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A DBitfields.h99 using Unsigned = std::make_unsigned_t<T>; member
100 static_assert(sizeof(Unsigned) == sizeof(T), "Types must have same size");
102 static constexpr unsigned TypeBits = sizeof(Unsigned) * CHAR_BIT;
106 static constexpr Unsigned AllZeros = Unsigned(0); // 00000000
107 static constexpr Unsigned AllOnes = ~Unsigned(0); // 11111111
108 static constexpr Unsigned Umin = AllZeros; // 00000000
109 static constexpr Unsigned Umax = AllOnes >> (TypeBits - Bits); // 00111111
110 static constexpr Unsigned SignBitMask = Unsigned(1) << (Bits - 1); // 00100000
111 static constexpr Unsigned Smax = Umax >> 1U; // 00011111
112 static constexpr Unsigned Smin = ~Smax; // 11100000
[all …]
H A DAPSInt.h303 static APSInt getMaxValue(uint32_t numBits, bool Unsigned) { in getMaxValue() argument
304 return APSInt(Unsigned ? APInt::getMaxValue(numBits) in getMaxValue()
306 Unsigned); in getMaxValue()
311 static APSInt getMinValue(uint32_t numBits, bool Unsigned) { in getMinValue() argument
312 return APSInt(Unsigned ? APInt::getMinValue(numBits) in getMinValue()
314 Unsigned); in getMinValue()
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParser.cpp66 num_elements = form_value.Unsigned(); in ParseChildArrayInfo()
70 array_info.bit_stride = form_value.Unsigned(); in ParseChildArrayInfo()
74 array_info.byte_stride = form_value.Unsigned(); in ParseChildArrayInfo()
78 lower_bound = form_value.Unsigned(); in ParseChildArrayInfo()
83 upper_bound = form_value.Unsigned(); in ParseChildArrayInfo()
H A DDWARFDebugInfoEntry.cpp216 ? unit.FindRnglistFromIndex(value.Unsigned()) in GetRangesOrReportError()
217 : unit.FindRnglistFromOffset(value.Unsigned()); in GetRangesOrReportError()
227 value.Unsigned(), toString(expected_ranges.takeError()).c_str()); in GetRangesOrReportError()
285 hi_pc = form_value.Unsigned(); in GetDIENamesAndRanges()
319 decl_file = form_value.Unsigned(); in GetDIENamesAndRanges()
324 decl_line = form_value.Unsigned(); in GetDIENamesAndRanges()
329 decl_column = form_value.Unsigned(); in GetDIENamesAndRanges()
334 call_file = form_value.Unsigned(); in GetDIENamesAndRanges()
339 call_line = form_value.Unsigned(); in GetDIENamesAndRanges()
344 call_column = form_value.Unsigned(); in GetDIENamesAndRanges()
[all …]
H A DDWARFASTParserClang.cpp282 accessibility = DWARFASTParser::GetAccessTypeFromDWARF(form_value.Unsigned()); in ParsedDWARFTypeAttributes()
290 bit_stride = form_value.Unsigned(); in ParsedDWARFTypeAttributes()
294 byte_size = form_value.Unsigned(); in ParsedDWARFTypeAttributes()
298 byte_stride = form_value.Unsigned(); in ParsedDWARFTypeAttributes()
302 calling_convention = form_value.Unsigned(); in ParsedDWARFTypeAttributes()
312 attributes.CompileUnitAtIndex(i)->GetFile(form_value.Unsigned())); in ParsedDWARFTypeAttributes()
315 decl.SetLine(form_value.Unsigned()); in ParsedDWARFTypeAttributes()
318 decl.SetColumn(form_value.Unsigned()); in ParsedDWARFTypeAttributes()
326 encoding = form_value.Unsigned(); in ParsedDWARFTypeAttributes()
338 if (form_value.Unsigned()) in ParsedDWARFTypeAttributes()
[all …]
H A DDWARFUnit.cpp383 SetAddrBase(form_value.Unsigned()); in AddUnitDIE()
395 SetLoclistsBase(form_value.Unsigned()); in AddUnitDIE()
398 SetRangesBase(form_value.Unsigned()); in AddUnitDIE()
401 SetStrOffsetsBase(form_value.Unsigned()); in AddUnitDIE()
412 m_line_table_offset = form_value.Unsigned(); in AddUnitDIE()
415 m_gnu_addr_base = form_value.Unsigned(); in AddUnitDIE()
418 m_gnu_ranges_base = form_value.Unsigned(); in AddUnitDIE()
421 m_dwo_id = form_value.Unsigned(); in AddUnitDIE()
H A DHashedNameToDIE.cpp282 ? form_value.Unsigned() in Read()
287 hash_data.tag = (dw_tag_t)form_value.Unsigned(); in Read()
291 hash_data.type_flags = (uint32_t)form_value.Unsigned(); in Read()
295 hash_data.qualified_name_hash = form_value.Unsigned(); in Read()
H A DDWARFFormValue.h64 uint64_t Unsigned() const { return m_value.value.uval; } in Unsigned() function
H A DDWARFFormValue.cpp336 uint64_t uvalue = Unsigned(); in Dump()
489 return Unsigned(); in Address()
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAPSIntType.h24 constexpr APSIntType(uint32_t Width, bool Unsigned) in APSIntType() argument
25 : BitWidth(Width), IsUnsigned(Unsigned) {} in APSIntType()
/openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/Dynamic/
H A DVariantValue.h265 VariantValue(unsigned Unsigned);
290 void setUnsigned(unsigned Unsigned);
343 unsigned Unsigned; member
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DScaledNumber.h435 uint64_t Unsigned = N == INT64_MIN ? UINT64_C(1) << 63 : uint64_t(-N); in splitSigned() local
436 return std::make_pair(Unsigned, true); in splitSigned()
660 std::pair<uint64_t, bool> Unsigned = splitSigned(N); in scale() local
661 return joinSigned(scale(Unsigned.first), Unsigned.second); in scale()
664 std::pair<uint64_t, bool> Unsigned = splitSigned(N); in scaleByInverse() local
665 return joinSigned(scaleByInverse(Unsigned.first), Unsigned.second); in scaleByInverse()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMatInt.cpp110 bool Unsigned = false; in generateInstSeqImpl() local
130 Unsigned = true; in generateInstSeqImpl()
140 Unsigned = true; in generateInstSeqImpl()
148 unsigned Opc = Unsigned ? RISCV::SLLI_UW : RISCV::SLLI; in generateInstSeqImpl()
/openbsd-src/gnu/llvm/clang/lib/ASTMatchers/Dynamic/
H A DVariantValue.cpp267 VariantValue::VariantValue(unsigned Unsigned) : Type(VT_Nothing) { in VariantValue() argument
268 setUnsigned(Unsigned); in VariantValue()
371 return Value.Unsigned; in getUnsigned()
377 Value.Unsigned = NewValue; in setUnsigned()
/openbsd-src/gnu/llvm/lldb/tools/debugserver/source/
H A DJSON.cpp51 case DataType::Unsigned: in GetAsUnsigned()
62 case DataType::Unsigned: in GetAsSigned()
73 case DataType::Unsigned: in GetAsDouble()
84 case DataType::Unsigned: in Write()
H A DJSON.h87 : JSONValue(JSONValue::Kind::Number), m_data_type(DataType::Unsigned) { in JSONNumber()
124 enum class DataType : uint8_t { Unsigned, Signed, Double } m_data_type; enumerator
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DConstantRange.cpp296 bool Unsigned = NoWrapKind == OBO::NoUnsignedWrap; in makeGuaranteedNoWrapRegion() local
304 if (Unsigned) in makeGuaranteedNoWrapRegion()
315 if (Unsigned) in makeGuaranteedNoWrapRegion()
326 if (Unsigned) in makeGuaranteedNoWrapRegion()
346 if (Unsigned) in makeGuaranteedNoWrapRegion()
503 if (Type == ConstantRange::Unsigned) { in getPreferredRange()
1179 return Res.intersectWith(unionWith(Other, Unsigned), Unsigned); in umax()
1207 return Res.intersectWith(unionWith(Other, Unsigned), Unsigned); in umin()
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DREADME_P9.txt11 - Vector Extract Unsigned: vextractub vextractuh vextractuw vextractd
19 - Vector Extract Unsigned Byte Left/Right-Indexed:
131 - Vector Multiply-by-10 (& Write Carry) Unsigned Quadword:
137 - Vector Multiply-by-10 Extended (& Write Carry) Unsigned Quadword:
158 - Decimal Shift/Unsigned-Shift/Shift-and-Round: bcds. bcdus. bcdsr.
166 - Decimal (Unsigned) Truncate: bcdtrunc. bcdutrunc.
413 - Vector Extract Unsigned Word: xxextractuw
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_leb128_test.cpp70 TYPED_TEST(Leb128Test, Unsigned) { in TYPED_TEST() argument
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTX.h117 Unsigned = 0, enumerator
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMInstrMVE.td269 bit Unsigned = unsigned;
631 def "" : MVE_VABAV<VTI.Suffix, VTI.Unsigned, VTI.Size>;
636 (i32 VTI.Unsigned),
643 (i32 VTI.Unsigned),
692 0b1, VTI.Unsigned, VTI.Size>;
695 0b0, VTI.Unsigned, VTI.Size>;
701 if VTI.Unsigned then {
740 (i32 VTI.Unsigned),
744 (i32 VTI.Unsigned),
798 0b1, VTI.Unsigned>;
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A Darm_neon.td808 // Signed Saturating Accumulated of Unsigned Value
812 // Unsigned Saturating Accumulated of Signed Value
1324 // Signed/Unsigned Shift Right (Immediate)
1326 // Signed/Unsigned Rounding Shift Right (Immediate)
1329 // Signed/Unsigned Shift Right and Accumulate (Immediate)
1331 // Signed/Unsigned Rounding Shift Right and Accumulate (Immediate)
1336 // Signed/Unsigned Saturating Shift Left (Immediate)
1338 // Signed Saturating Shift Left Unsigned (Immediate)
1347 // Signed/Unsigned Saturating Shift Right Narrow (Immediate)
1349 // Signed/Unsigned Saturating Rounded Shift Right Narrow (Immediate)
[all …]
H A DSpecifiers.h47 enum class TypeSpecifierSign { Unspecified, Signed, Unsigned }; enumerator
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.h211 void addConstantValue(DIE &Die, const APInt &Val, bool Unsigned);
213 void addConstantValue(DIE &Die, bool Unsigned, uint64_t Val);
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMips16InstrInfo.td526 // Purpose: Add Immediate Unsigned Word (2-Operand, Extended)
547 // Purpose: Add Immediate Unsigned Word (3-Operand, PC-Relative, Extended)
554 // Purpose: Add Immediate Unsigned Word (2-Operand, SP-Relative, Extended)
572 // Purpose: Add Unsigned Word (3-Operand)
729 // Purpose: Divide Unsigned Word
796 // Purpose: Load Byte Unsigned (Extended)
928 // Purpose: Multiply Unsigned Word
1190 // Purpose: Set on Less Than Immediate Unsigned
1200 // Purpose: Set on Less Than Immediate Unsigned (Extended)
1209 // Purpose: Set on Less Than Immediate Unsigned (Extended)
[all …]

12345