Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParser.cpp68 num_elements = form_value.Unsigned(); in ParseChildArrayInfo()
72 array_info.bit_stride = form_value.Unsigned(); in ParseChildArrayInfo()
76 array_info.byte_stride = form_value.Unsigned(); in ParseChildArrayInfo()
80 lower_bound = form_value.Unsigned(); in ParseChildArrayInfo()
85 upper_bound = form_value.Unsigned(); in ParseChildArrayInfo()
H A DDWARFDebugInfoEntry.cpp91 ? unit.FindRnglistFromIndex(value.Unsigned()) in GetRangesOrReportError()
92 : unit.FindRnglistFromOffset(value.Unsigned()); in GetRangesOrReportError()
102 value.Unsigned(), toString(expected_ranges.takeError()).c_str()); in GetRangesOrReportError()
167 hi_pc = form_value.Unsigned(); in GetDIENamesAndRanges()
201 decl_file = form_value.Unsigned(); in GetDIENamesAndRanges()
206 decl_line = form_value.Unsigned(); in GetDIENamesAndRanges()
211 decl_column = form_value.Unsigned(); in GetDIENamesAndRanges()
216 call_file = form_value.Unsigned(); in GetDIENamesAndRanges()
221 call_line = form_value.Unsigned(); in GetDIENamesAndRanges()
226 call_column = form_value.Unsigned(); in GetDIENamesAndRanges()
[all …]
H A DDWARFUnit.cpp389 SetAddrBase(form_value.Unsigned()); in AddUnitDIE()
403 SetLoclistsBase(form_value.Unsigned()); in AddUnitDIE()
406 SetRangesBase(form_value.Unsigned()); in AddUnitDIE()
409 SetStrOffsetsBase(form_value.Unsigned()); in AddUnitDIE()
420 m_line_table_offset = form_value.Unsigned(); in AddUnitDIE()
423 m_gnu_addr_base = form_value.Unsigned(); in AddUnitDIE()
426 m_gnu_ranges_base = form_value.Unsigned(); in AddUnitDIE()
429 m_dwo_id = form_value.Unsigned(); in AddUnitDIE()
H A DDWARFASTParserClang.cpp299 DWARFASTParser::GetAccessTypeFromDWARF(form_value.Unsigned()); in ParsedDWARFTypeAttributes()
307 bit_stride = form_value.Unsigned(); in ParsedDWARFTypeAttributes()
311 byte_size = form_value.Unsigned(); in ParsedDWARFTypeAttributes()
315 alignment = form_value.Unsigned(); in ParsedDWARFTypeAttributes()
319 byte_stride = form_value.Unsigned(); in ParsedDWARFTypeAttributes()
323 calling_convention = form_value.Unsigned(); in ParsedDWARFTypeAttributes()
333 attributes.CompileUnitAtIndex(i)->GetFile(form_value.Unsigned())); in ParsedDWARFTypeAttributes()
336 decl.SetLine(form_value.Unsigned()); in ParsedDWARFTypeAttributes()
339 decl.SetColumn(form_value.Unsigned()); in ParsedDWARFTypeAttributes()
347 encoding = form_value.Unsigned(); in ParsedDWARFTypeAttributes()
[all …]
H A DDWARFFormValue.h71 uint64_t Unsigned() const { return m_value.value.uval; }
64 uint64_t Unsigned() const { return m_value.value.uval; } Unsigned() function
H A DDWARFFormValue.cpp336 uint64_t uvalue = Unsigned(); in Dump()
489 return Unsigned(); in Address()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/
H A DVariantValue.h265 VariantValue(unsigned Unsigned);
290 void setUnsigned(unsigned Unsigned);
343 unsigned Unsigned; member
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DScaledNumber.h436 uint64_t Unsigned = N == INT64_MIN ? UINT64_C(1) << 63 : uint64_t(-N); in splitSigned() local
437 return std::make_pair(Unsigned, true); in splitSigned()
661 std::pair<uint64_t, bool> Unsigned = splitSigned(N); in scale() local
662 return joinSigned(scale(Unsigned.first), Unsigned.second); in scale()
665 std::pair<uint64_t, bool> Unsigned = splitSigned(N); in scaleByInverse() local
666 return joinSigned(scaleByInverse(Unsigned.first), Unsigned.second); in scaleByInverse()
/freebsd/contrib/libcbor/doc/source/api/
H A Dtype_4.rst27 0x01 Unsigned integer 1
33 0x20 Unsigned integer 32
H A Dtype_5.rst32 0x01 Unsigned integer 1 (key)
33 0x02 Unsigned integer 2 (value)
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMatInt.cpp110 bool Unsigned = false; in generateInstSeqImpl() local
132 Unsigned = true; in generateInstSeqImpl()
142 Unsigned = true; in generateInstSeqImpl()
150 unsigned Opc = Unsigned ? RISCV::SLLI_UW : RISCV::SLLI; in generateInstSeqImpl()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp325 bool Unsigned = NoWrapKind == OBO::NoUnsignedWrap; in makeGuaranteedNoWrapRegion() local
333 if (Unsigned) in makeGuaranteedNoWrapRegion()
344 if (Unsigned) in makeGuaranteedNoWrapRegion()
355 if (Unsigned) in makeGuaranteedNoWrapRegion()
379 if (Unsigned) in makeGuaranteedNoWrapRegion()
563 if (Type == ConstantRange::Unsigned) { in getPreferredRange()
1291 return Res.intersectWith(unionWith(Other, Unsigned), Unsigned); in umax()
1319 return Res.intersectWith(unionWith(Other, Unsigned), Unsigned); in umin()
1560 CR = CR.intersectWith(Other.sub(*this), PreferredRangeType::Unsigned); in binaryXor()
1562 CR = CR.intersectWith(this->sub(Other), PreferredRangeType::Unsigned); in binaryXor()
/freebsd/contrib/llvm-project/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
/freebsd/contrib/llvm-project/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...]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A Darm_neon.td808 // Signed Saturating Accumulated of Unsigned Value
812 // Unsigned Saturating Accumulated of Signed Value
1329 // Signed/Unsigned Shift Right (Immediate)
1331 // Signed/Unsigned Rounding Shift Right (Immediate)
1334 // Signed/Unsigned Shift Right and Accumulate (Immediate)
1336 // Signed/Unsigned Rounding Shift Right and Accumulate (Immediate)
1341 // Signed/Unsigned Saturating Shift Left (Immediate)
1343 // Signed Saturating Shift Left Unsigned (Immediate)
1352 // Signed/Unsigned Saturating Shift Right Narrow (Immediate)
1354 // Signed/Unsigned Saturating Rounded Shift Right Narrow (Immediate)
[all …]
H A DSpecifiers.h50 enum class TypeSpecifierSign { Unspecified, Signed, Unsigned }; enumerator
H A Darm_mve_defs.td319 // Unsigned<t> expects t to be a scalar type, and expands to the unsigned
322 class Unsigned<Type t>: ComplexType<(CTO_CopyKind t, u32)>;
327 def UScalar: Unsigned<Scalar>;
340 def UHalfScalar: Unsigned<HalfSize<Scalar>>;
577 list<Type> Unsigned = [u8, u16, u32];
578 list<Type> Int = Signed # Unsigned;
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTX.h119 Unsigned = 0, enumerator
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.h225 void addConstantValue(DIE &Die, const APInt &Val, bool Unsigned);
227 void addConstantValue(DIE &Die, bool Unsigned, uint64_t Val);
/freebsd/contrib/llvm-project/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 …]
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXIL.td335 "Unsigned integer maximum. UMax(a,b) = a > b ? a : b">;
337 "Unsigned integer minimum. UMin(a,b) = a < b ? a : b">;
343 … "Unsigned integer arithmetic multiply/add operation. umad(m,a,b) = m * a + b.">;

1234