Searched refs:Unsigned (Results 1 - 25 of 36) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DBitfields.h95 /// Bit patterns are forged using the equivalent `Unsigned` type because of
99 using Unsigned = typename std::make_unsigned<T>::type;
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 Uma
[all...]
H A DAPSInt.h287 static APSInt getMaxValue(uint32_t numBits, bool Unsigned) { argument
288 return APSInt(Unsigned ? APInt::getMaxValue(numBits)
289 : APInt::getSignedMaxValue(numBits), Unsigned);
294 static APSInt getMinValue(uint32_t numBits, bool Unsigned) { argument
295 return APSInt(Unsigned ? APInt::getMinValue(numBits)
296 : APInt::getSignedMinValue(numBits), Unsigned);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAPSIntType.h24 APSIntType(uint32_t Width, bool Unsigned) argument
25 : BitWidth(Width), IsUnsigned(Unsigned) {}
97 /// Unsigned integers are considered to be better conversion types than
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugInfoEntry.cpp209 ? unit.FindRnglistFromIndex(value.Unsigned())
210 : unit.FindRnglistFromOffset(value.Unsigned());
217 die.GetOffset(), value.Unsigned(),
276 hi_pc = form_value.Unsigned();
310 decl_file = form_value.Unsigned();
315 decl_line = form_value.Unsigned();
320 decl_column = form_value.Unsigned();
325 call_file = form_value.Unsigned();
330 call_line = form_value.Unsigned();
335 call_column = form_value.Unsigned();
[all...]
H A DDWARFFormValue.h63 uint64_t Unsigned() const { return m_value.value.uval; } function in class:DWARFFormValue
H A DDWARFASTParserClang.cpp273 accessibility = DW_ACCESS_to_AccessType(form_value.Unsigned());
281 bit_stride = form_value.Unsigned();
285 byte_size = form_value.Unsigned();
289 byte_stride = form_value.Unsigned();
293 calling_convention = form_value.Unsigned();
301 decl.SetFile(die.GetCU()->GetFile(form_value.Unsigned()));
304 decl.SetLine(form_value.Unsigned());
307 decl.SetColumn(form_value.Unsigned());
315 encoding = form_value.Unsigned();
327 if (form_value.Unsigned())
[all...]
H A DDWARFUnit.cpp305 addr_base = form_value.Unsigned();
318 SetLoclistsBase(form_value.Unsigned());
321 ranges_base = form_value.Unsigned();
325 SetStrOffsetsBase(form_value.Unsigned());
336 m_line_table_offset = form_value.Unsigned();
339 gnu_addr_base = form_value.Unsigned();
342 gnu_ranges_base = form_value.Unsigned();
H A DHashedNameToDIE.cpp281 ? form_value.Unsigned()
286 hash_data.tag = (dw_tag_t)form_value.Unsigned();
290 hash_data.type_flags = (uint32_t)form_value.Unsigned();
294 hash_data.qualified_name_hash = form_value.Unsigned();
H A DDWARFFormValue.cpp333 uint64_t uvalue = Unsigned();
485 return Unsigned();
H A DSymbolFileDWARF.cpp3133 form_value.Unsigned()));
3136 decl.SetLine(form_value.Unsigned());
3139 decl.SetColumn(form_value.Unsigned());
3166 uint32_t block_length = form_value.Unsigned();
3182 form_value.Unsigned();
3221 uint32_t block_length = form_value.Unsigned();
3227 dw_offset_t offset = form_value.Unsigned();
3251 // DW_ACCESS_to_AccessType(form_value.Unsigned()); break;
3448 location.UpdateValue(const_value.Unsigned(),
3662 uint32_t block_length = form_value.Unsigned();
[all...]
H A DManualDWARFIndex.cpp193 is_declaration = form_value.Unsigned() != 0;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTX.h97 Unsigned = 0, enumerator in enum:llvm::NVPTX::PTXLdStInstCode::FromType
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/
H A DVariantValue.h259 VariantValue(unsigned Unsigned);
280 /// Unsigned value functions.
283 void setUnsigned(unsigned Unsigned);
331 unsigned Unsigned; member in union:clang::ast_matchers::dynamic::VariantValue::AllValues
/freebsd-13-stable/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DVariantValue.cpp258 VariantValue::VariantValue(unsigned Unsigned) : Type(VT_Nothing) { argument
259 setUnsigned(Unsigned);
352 return Value.Unsigned;
358 Value.Unsigned = NewValue;
446 case VT_Unsigned: return "Unsigned";
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DScaledNumber.h435 uint64_t Unsigned = N == INT64_MIN ? UINT64_C(1) << 63 : uint64_t(-N);
436 return std::make_pair(Unsigned, true);
660 std::pair<uint64_t, bool> Unsigned = splitSigned(N); local
661 return joinSigned(scale(Unsigned.first), Unsigned.second);
664 std::pair<uint64_t, bool> Unsigned = splitSigned(N); local
665 return joinSigned(scaleByInverse(Unsigned.first), Unsigned.second);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.h201 void addConstantValue(DIE &Die, const APInt &Val, bool Unsigned);
203 void addConstantValue(DIE &Die, bool Unsigned, uint64_t Val);
H A DDwarfUnit.cpp552 void DwarfUnit::addConstantValue(DIE &Die, bool Unsigned, uint64_t Val) { argument
556 Unsigned ? dwarf::DW_FORM_udata : dwarf::DW_FORM_sdata, Val);
563 void DwarfUnit::addConstantValue(DIE &Die, const APInt &Val, bool Unsigned) { argument
566 addConstantValue(Die, Unsigned,
567 Unsigned ? Val.getZExtValue() : Val.getSExtValue());
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantRange.h272 enum PreferredRangeType { Smallest, Unsigned, Signed }; enumerator in enum:llvm::ConstantRange::PreferredRangeType
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXInstPrinter.cpp254 else if (Imm == NVPTX::PTXLdStInstCode::Unsigned)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp236 bool Unsigned = NoWrapKind == OBO::NoUnsignedWrap; local
244 if (Unsigned)
256 if (Unsigned)
267 if (Unsigned)
287 if (Unsigned)
430 if (Type == ConstantRange::Unsigned) {
951 // Unsigned range first.
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp398 unsigned Unsigned = 1; local
411 Unsigned = 0;
451 Builder.getInt32(Scale), Builder.getInt32(Unsigned), Mask});
457 Builder.getInt32(Scale), Builder.getInt32(Unsigned)});
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DFileCheck.cpp33 case Kind::Unsigned:
47 case Kind::Unsigned:
74 case Kind::Unsigned:
488 Name, ExpressionFormat(ExpressionFormat::Kind::Unsigned));
737 ExplicitFormat = ExpressionFormat(ExpressionFormat::Kind::Unsigned);
816 Format = ExpressionFormat(ExpressionFormat::Kind::Unsigned);
1660 LineName, ExpressionFormat(ExpressionFormat::Kind::Unsigned));
H A DFileCheckImpl.h45 Unsigned, member in class:llvm::ExpressionFormat::Kind
/freebsd-13-stable/contrib/googletest/googletest/test/
H A Dgoogletest-output-test_.cc852 INSTANTIATE_TYPED_TEST_CASE_P(Unsigned, TypedTestP, UnsignedTypes);
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp9919 bool Signed = false, Unsigned = false; local
9934 assert(!Unsigned && "Can't use both 'S' and 'U' modifiers!");
9940 assert(!Unsigned && "Can't use 'U' modifier multiple times!");
9941 Unsigned = true;
10017 assert(HowLong == 0 && !Signed && !Unsigned &&
10022 assert(HowLong == 0 && !Signed && !Unsigned &&
10027 assert(HowLong == 0 && !Signed && !Unsigned &&
10032 assert(HowLong == 0 && !Signed && !Unsigned &&
10037 assert(HowLong < 3 && !Signed && !Unsigned &&
10048 if (Unsigned)
[all...]

Completed in 341 milliseconds

12