Home
last modified time | relevance | path

Searched refs:Unsigned (Results 1 – 25 of 98) 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.h304 static APSInt getMaxValue(uint32_t numBits, bool Unsigned) { in getMaxValue() argument
305 return APSInt(Unsigned ? APInt::getMaxValue(numBits) in getMaxValue()
307 Unsigned); in getMaxValue()
312 static APSInt getMinValue(uint32_t numBits, bool Unsigned) { in getMinValue() argument
313 return APSInt(Unsigned ? APInt::getMinValue(numBits) in getMinValue()
315 Unsigned); in getMinValue()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugInfoEntry.cpp88 ? unit.FindRnglistFromIndex(value.Unsigned()) in GetRanges()
89 : unit.FindRnglistFromOffset(value.Unsigned()); in GetRanges()
153 hi_pc = form_value.Unsigned(); in GetDIENamesAndRanges()
172 form_value.Unsigned(), fmt_consume(r.takeError())); in GetDIENamesAndRanges()
197 decl_file = form_value.Unsigned(); in GetDIENamesAndRanges()
202 decl_line = form_value.Unsigned(); in GetDIENamesAndRanges()
207 decl_column = form_value.Unsigned(); in GetDIENamesAndRanges()
212 call_file = form_value.Unsigned(); in GetDIENamesAndRanges()
217 call_line = form_value.Unsigned(); in GetDIENamesAndRanges()
222 call_column = form_value.Unsigned(); in GetDIENamesAndRanges()
[all …]
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 DDWARFASTParserClang.cpp181 object_pointer_index = form_value.Unsigned(); in GetObjectParameter()
393 DWARFASTParser::GetAccessTypeFromDWARF(form_value.Unsigned()); in ParsedDWARFTypeAttributes()
401 bit_stride = form_value.Unsigned(); in ParsedDWARFTypeAttributes()
405 byte_size = form_value.Unsigned(); in ParsedDWARFTypeAttributes()
409 alignment = form_value.Unsigned(); in ParsedDWARFTypeAttributes()
413 byte_stride = form_value.Unsigned(); in ParsedDWARFTypeAttributes()
417 calling_convention = form_value.Unsigned(); in ParsedDWARFTypeAttributes()
427 attributes.CompileUnitAtIndex(i)->GetFile(form_value.Unsigned())); in ParsedDWARFTypeAttributes()
430 decl.SetLine(form_value.Unsigned()); in ParsedDWARFTypeAttributes()
433 decl.SetColumn(form_value.Unsigned()); in ParsedDWARFTypeAttributes()
[all …]
H A DDWARFUnit.cpp392 SetAddrBase(form_value.Unsigned()); in AddUnitDIE()
406 SetLoclistsBase(form_value.Unsigned()); in AddUnitDIE()
409 SetRangesBase(form_value.Unsigned()); in AddUnitDIE()
412 SetStrOffsetsBase(form_value.Unsigned()); in AddUnitDIE()
423 m_line_table_offset = form_value.Unsigned(); in AddUnitDIE()
426 m_gnu_addr_base = form_value.Unsigned(); in AddUnitDIE()
429 m_gnu_ranges_base = form_value.Unsigned(); in AddUnitDIE()
432 m_dwo_id = form_value.Unsigned(); in AddUnitDIE()
H A DDWARFFormValue.h61 uint64_t Unsigned() const { return m_value.uval; } in Unsigned() function
H A DDWARFFormValue.cpp334 uint64_t uvalue = Unsigned(); in Dump()
483 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.h439 uint64_t Unsigned = N == INT64_MIN ? UINT64_C(1) << 63 : uint64_t(-N); in splitSigned() local
440 return std::make_pair(Unsigned, true); in splitSigned()
664 std::pair<uint64_t, bool> Unsigned = splitSigned(N); in scale() local
665 return joinSigned(scale(Unsigned.first), Unsigned.second); in scale()
668 std::pair<uint64_t, bool> Unsigned = splitSigned(N); in scaleByInverse() local
669 return joinSigned(scaleByInverse(Unsigned.first), Unsigned.second); in scaleByInverse()
/freebsd/contrib/libcbor/doc/source/api/
H A Dtype_4_arrays.rst27 0x01 Unsigned integer 1
33 0x20 Unsigned integer 32
H A Dtype_5_maps.rst32 0x01 Unsigned integer 1 (key)
33 0x02 Unsigned integer 2 (value)
/freebsd/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/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMatInt.cpp140 bool Unsigned = false; in generateInstSeqImpl() local
162 Unsigned = true; in generateInstSeqImpl()
172 Unsigned = true; in generateInstSeqImpl()
180 unsigned Opc = Unsigned ? RISCV::SLLI_UW : RISCV::SLLI; in generateInstSeqImpl()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.h173 bool Unsigned);
231 void addConstantValue(DIE &Die, const APInt &Val, bool Unsigned);
233 void addConstantValue(DIE &Die, bool Unsigned, uint64_t Val);
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp336 bool Unsigned = NoWrapKind == OBO::NoUnsignedWrap; in makeGuaranteedNoWrapRegion() local
344 if (Unsigned) in makeGuaranteedNoWrapRegion()
355 if (Unsigned) in makeGuaranteedNoWrapRegion()
366 if (Unsigned) in makeGuaranteedNoWrapRegion()
390 if (Unsigned) in makeGuaranteedNoWrapRegion()
574 if (Type == ConstantRange::Unsigned) { in getPreferredRange()
1315 return Res.intersectWith(unionWith(Other, Unsigned), Unsigned); in umax()
1343 return Res.intersectWith(unionWith(Other, Unsigned), Unsigned); in umin()
1642 CR = CR.intersectWith(Other.sub(*this), PreferredRangeType::Unsigned); in binaryXor()
1644 CR = CR.intersectWith(this->sub(Other), PreferredRangeType::Unsigned); in binaryXor()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitNonSemanticDI.cpp63 Unsigned = 6, enumerator
282 AttributeEncoding = BaseTypeAttributeEncoding::Unsigned; in emitGlobalDI()
/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.td270 bit Unsigned = unsigned;
632 def "" : MVE_VABAV<VTI.Suffix, VTI.Unsigned, VTI.Size>;
637 (i32 VTI.Unsigned),
644 (i32 VTI.Unsigned),
693 0b1, VTI.Unsigned, VTI.Size>;
696 0b0, VTI.Unsigned, VTI.Size>;
702 if VTI.Unsigned then {
741 (i32 VTI.Unsigned),
745 (i32 VTI.Unsigned),
799 0b1, VTI.Unsigned>;
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A Darm_neon.td865 // Signed Saturating Accumulated of Unsigned Value
869 // Unsigned Saturating Accumulated of Signed Value
1340 // Signed/Unsigned Shift Right (Immediate)
1343 // Signed/Unsigned Rounding Shift Right (Immediate)
1347 // Signed/Unsigned Shift Right and Accumulate (Immediate)
1350 // Signed/Unsigned Rounding Shift Right and Accumulate (Immediate)
1357 // Signed/Unsigned Saturating Shift Left (Immediate)
1360 // Signed Saturating Shift Left Unsigned (Immediate)
1372 // Signed/Unsigned Saturating Shift Right Narrow (Immediate)
1375 // Signed/Unsigned Saturating Rounded Shift Right Narrow (Immediate)
[all …]
H A DSpecifiers.h50 enum class TypeSpecifierSign { Unspecified, Signed, Unsigned }; enumerator
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoXAndes.td73 bits<1> Unsigned = U;
82 let Fields = ["Masked", "Unsigned", "Log2SEW", "LMUL", "Pseudo"];
83 let PrimaryKey = ["Masked", "Unsigned", "Log2SEW", "LMUL"];
456 RISCVNDSVLN</*Masked*/0, /*Unsigned*/U, !logtwo(8), VLMul> {
472 RISCVNDSVLN</*Masked*/1, /*Unsigned*/U, !logtwo(8), VLMul> {
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenOpenACC.cpp49 : mlir::IntegerType::SignednessSemantics::Unsigned); in emitOpenACCIntExpr()
/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 …]

1234