Home
last modified time | relevance | path

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

1234

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DBitfields.h99 using Unsigned = typename std::make_unsigned<T>::type; 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.h282 static APSInt getMaxValue(uint32_t numBits, bool Unsigned) { in getMaxValue() argument
283 return APSInt(Unsigned ? APInt::getMaxValue(numBits) in getMaxValue()
284 : APInt::getSignedMaxValue(numBits), Unsigned); in getMaxValue()
289 static APSInt getMinValue(uint32_t numBits, bool Unsigned) { in getMinValue() argument
290 return APSInt(Unsigned ? APInt::getMinValue(numBits) in getMinValue()
291 : APInt::getSignedMinValue(numBits), Unsigned); in getMinValue()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugInfoEntry.cpp212 ? unit.FindRnglistFromIndex(value.Unsigned()) in GetRangesOrReportError()
213 : unit.FindRnglistFromOffset(value.Unsigned()); in GetRangesOrReportError()
280 hi_pc = form_value.Unsigned(); in GetDIENamesAndRanges()
314 decl_file = form_value.Unsigned(); in GetDIENamesAndRanges()
319 decl_line = form_value.Unsigned(); in GetDIENamesAndRanges()
324 decl_column = form_value.Unsigned(); in GetDIENamesAndRanges()
329 call_file = form_value.Unsigned(); in GetDIENamesAndRanges()
334 call_line = form_value.Unsigned(); in GetDIENamesAndRanges()
339 call_column = form_value.Unsigned(); in GetDIENamesAndRanges()
544 return form_value.Unsigned(); in GetAttributeValueAsUnsigned()
[all …]
H A DDWARFASTParserClang.cpp324 bit_stride = form_value.Unsigned(); in ParsedDWARFTypeAttributes()
328 byte_size = form_value.Unsigned(); in ParsedDWARFTypeAttributes()
332 byte_stride = form_value.Unsigned(); in ParsedDWARFTypeAttributes()
349 decl.SetLine(form_value.Unsigned()); in ParsedDWARFTypeAttributes()
352 decl.SetColumn(form_value.Unsigned()); in ParsedDWARFTypeAttributes()
360 encoding = form_value.Unsigned(); in ParsedDWARFTypeAttributes()
372 if (form_value.Unsigned()) in ParsedDWARFTypeAttributes()
1877 uval64 = form_value.Unsigned(); in ParseTemplateDIE()
2177 form_value.Unsigned())); in ParseChildEnumerators()
2377 bit_size = form_value.Unsigned(); in ParseSingleMember()
[all …]
H A DDWARFUnit.cpp311 addr_base = form_value.Unsigned(); in AddUnitDIE()
324 SetLoclistsBase(form_value.Unsigned()); in AddUnitDIE()
327 SetRangesBase(form_value.Unsigned()); in AddUnitDIE()
330 SetStrOffsetsBase(form_value.Unsigned()); in AddUnitDIE()
341 m_line_table_offset = form_value.Unsigned(); in AddUnitDIE()
344 gnu_addr_base = form_value.Unsigned(); in AddUnitDIE()
347 gnu_ranges_base = form_value.Unsigned(); in AddUnitDIE()
350 m_dwo_id = form_value.Unsigned(); in AddUnitDIE()
H A DHashedNameToDIE.cpp280 ? form_value.Unsigned() in Read()
285 hash_data.tag = (dw_tag_t)form_value.Unsigned(); in Read()
289 hash_data.type_flags = (uint32_t)form_value.Unsigned(); in Read()
293 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.cpp334 uint64_t uvalue = Unsigned(); in Dump()
487 return Unsigned(); in Address()
/freebsd-13.1/contrib/libcbor/doc/source/api/
H A Dtype_4.rst22 0x01 Unsigned integer 1
28 0x20 Unsigned integer 32
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAPSIntType.h24 APSIntType(uint32_t Width, bool Unsigned) in APSIntType() argument
25 : BitWidth(Width), IsUnsigned(Unsigned) {} in APSIntType()
/freebsd-13.1/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-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DVariantValue.cpp266 VariantValue::VariantValue(unsigned Unsigned) : Type(VT_Nothing) { in VariantValue() argument
267 setUnsigned(Unsigned); in VariantValue()
370 return Value.Unsigned; in getUnsigned()
376 Value.Unsigned = NewValue; in setUnsigned()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp242 bool Unsigned = NoWrapKind == OBO::NoUnsignedWrap; in makeGuaranteedNoWrapRegion() local
250 if (Unsigned) in makeGuaranteedNoWrapRegion()
262 if (Unsigned) in makeGuaranteedNoWrapRegion()
273 if (Unsigned) in makeGuaranteedNoWrapRegion()
293 if (Unsigned) in makeGuaranteedNoWrapRegion()
451 if (Type == ConstantRange::Unsigned) { in getPreferredRange()
1082 return Res.intersectWith(unionWith(Other, Unsigned), Unsigned); in umax()
1110 return Res.intersectWith(unionWith(Other, Unsigned), Unsigned); in umin()
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTX.h116 Unsigned = 0, enumerator
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMInstrMVE.td276 bit Unsigned = unsigned;
642 (i32 VTI.Unsigned),
649 (i32 VTI.Unsigned),
707 if VTI.Unsigned then {
804 0b1, VTI.Unsigned>;
807 0b0, VTI.Unsigned>;
2751 InVTI.Unsigned, top>;
3057 (i32 OutVTI.Unsigned), (i32 InVTI.Unsigned), (i32 top));
3282 let Inst{28} = VTI_.Unsigned;
3289 let unsignedFlag = (? (i32 VTI.Unsigned));
[all …]
H A DMVEGatherScatterLowering.cpp487 unsigned Unsigned = 1; in tryCreateMaskedGatherOffset() local
504 Unsigned = 0; in tryCreateMaskedGatherOffset()
548 Builder.getInt32(Scale), Builder.getInt32(Unsigned), Mask}); in tryCreateMaskedGatherOffset()
554 Builder.getInt32(Scale), Builder.getInt32(Unsigned)}); in tryCreateMaskedGatherOffset()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A Darm_neon.td810 // Signed Saturating Accumulated of Unsigned Value
814 // Unsigned Saturating Accumulated of Signed Value
1325 // Signed/Unsigned Shift Right (Immediate)
1327 // Signed/Unsigned Rounding Shift Right (Immediate)
1330 // Signed/Unsigned Shift Right and Accumulate (Immediate)
1337 // Signed/Unsigned Saturating Shift Left (Immediate)
1339 // Signed Saturating Shift Left Unsigned (Immediate)
1428 // Scalar Unsigned Integer Convert To Floating-point
1528 // Scalar Signed Saturating Accumulated of Unsigned Value
1548 // Scalar Signed Saturating Extract Unsigned Narrow
[all …]
H A DSpecifiers.h38 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-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.h213 void addConstantValue(DIE &Die, const APInt &Val, bool Unsigned);
215 void addConstantValue(DIE &Die, bool Unsigned, uint64_t Val);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips16InstrInfo.td526 // Purpose: Add Immediate Unsigned Word (2-Operand, Extended)
546 // Purpose: Add Immediate Unsigned Word (3-Operand, PC-Relative, Extended)
571 // Purpose: Add Unsigned Word (3-Operand)
728 // Purpose: Divide Unsigned Word
794 // Purpose: Load Byte Unsigned (Extended)
923 // Purpose: Multiply Unsigned Word
1183 // Purpose: Set on Less Than Immediate Unsigned
1193 // Purpose: Set on Less Than Immediate Unsigned (Extended)
1202 // Purpose: Set on Less Than Immediate Unsigned (Extended)
1219 // Purpose: Set on Less Than Unsigned
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantRange.h292 enum PreferredRangeType { Smallest, Unsigned, Signed }; enumerator
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXInstPrinter.cpp254 else if (Imm == NVPTX::PTXLdStInstCode::Unsigned) in printLdStCode()

1234