reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/MC/MCCodeView.h
   79     assert(column <= UINT16_MAX);
include/llvm/MC/MCDwarf.h
  126     assert(column <= UINT16_MAX);
include/llvm/MC/MCInstrItineraries.h
  127     return ((Itineraries[ItinClassIndx].FirstStage == UINT16_MAX) &&
  128             (Itineraries[ItinClassIndx].LastStage == UINT16_MAX));
include/llvm/Object/COFF.h
  456            NumberOfRelocations == UINT16_MAX;
lib/AsmParser/LLParser.cpp
 3815   ColumnField() : MDUnsignedField(0, UINT16_MAX) {}
lib/BinaryFormat/MsgPackWriter.cpp
   72   if (u <= UINT16_MAX) {
  109   } else if (Size <= UINT16_MAX) {
  129   } else if (Size <= UINT16_MAX) {
  147   if (Size <= UINT16_MAX) {
  163   if (Size <= UINT16_MAX) {
  196     } else if (Size <= UINT16_MAX) {
lib/CodeGen/StackMaps.cpp
  503     if (CSLocs.size() > UINT16_MAX || LiveOuts.size() > UINT16_MAX) {
  503     if (CSLocs.size() > UINT16_MAX || LiveOuts.size() > UINT16_MAX) {
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
 1815   return Priority == UINT16_MAX ?
lib/DebugInfo/GSYM/GsymCreator.cpp
   84   else if (AddrDelta <= UINT16_MAX)
lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp
  200   uint16_t ModiCount = std::min<uint32_t>(UINT16_MAX, ModiList.size());
  201   uint16_t FileCount = std::min<uint32_t>(UINT16_MAX, SourceFileNames.size());
  369     Entry.SecName = UINT16_MAX;
  370     Entry.ClassName = UINT16_MAX;
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
  389     assert(static_cast<int64_t>(Result) >= INT16_MIN && Result < UINT16_MAX);
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h
  190       assert(static_cast<uint32_t>(RE.SectionID) <= UINT16_MAX &&
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h
  217       assert(static_cast<uint32_t>(RE.SectionID) <= UINT16_MAX &&
lib/IR/DebugInfoMetadata.cpp
  777   assert(Arg <= UINT16_MAX && "Expected argument number to fit in 16-bits");
lib/MC/WasmObjectWriter.cpp
 1529     uint16_t Priority = UINT16_MAX;
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
 1764       unsigned ANDIMask = (Mask & UINT16_MAX), ANDISMask = Mask >> 16;
 1897       unsigned ANDIMask = (Mask & UINT16_MAX), ANDISMask = Mask >> 16;
 2118       unsigned ANDIMask = (Mask & UINT16_MAX),
 2119                ANDISMask = (Mask >> 16) & UINT16_MAX;
 2320       unsigned ANDIMask = (Mask & UINT16_MAX),
 2321                ANDISMask = (Mask >> 16) & UINT16_MAX;
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp
   68     assert(Binary <= UINT16_MAX && "Several-byte opcodes not supported yet");
lib/Target/WebAssembly/WebAssemblyLowerGlobalDtors.cpp
   90     uint16_t PriorityValue = Priority->getLimitedValue(UINT16_MAX);
  140               (Priority != UINT16_MAX ? (Twine(".") + Twine(Priority))
  156               (Priority != UINT16_MAX ? (Twine(".") + Twine(Priority))
lib/Target/X86/X86ISelDAGToDAG.cpp
  632              Imm->getAPIntValue() == UINT16_MAX ||
 3778       if (ShiftedVal == UINT8_MAX || ShiftedVal == UINT16_MAX)
lib/TextAPI/MachO/PackedVersion.cpp
   39   if (Num > UINT16_MAX)
tools/clang/tools/diagtool/TreeView.cpp
   81     if (RootGroup.size() > UINT16_MAX) {
tools/lldb/include/lldb/Core/Opcode.h
   95   uint16_t GetOpcode16(uint16_t invalid_opcode = UINT16_MAX) const {
tools/lldb/include/lldb/DataFormatters/TypeCategory.h
   75   static const uint16_t ALL_ITEM_TYPES = UINT16_MAX;
tools/lldb/include/lldb/Utility/RegisterValue.h
  119   uint16_t GetAsUInt16(uint16_t fail_value = UINT16_MAX,
tools/lldb/source/Host/common/Socket.cpp
  295     if (ok && port <= UINT16_MAX) {
  311   if (to_integer(host_and_port, port, 10) && port < UINT16_MAX) {
tools/lldb/source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.cpp
 1669             reg_ctx->ReadRegisterAsUnsigned(r0_reg_info, 0) & UINT16_MAX);
 1672             reg_ctx->ReadRegisterAsUnsigned(r0_reg_info, 0) & UINT16_MAX);
tools/lldb/source/Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.cpp
 2344               value.GetScalar() = (int16_t)(raw_value & UINT16_MAX);
 2346               value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX);
tools/lldb/source/Plugins/ABI/SysV-arm/ABISysV_arm.cpp
 1614             reg_ctx->ReadRegisterAsUnsigned(r0_reg_info, 0) & UINT16_MAX);
 1617             reg_ctx->ReadRegisterAsUnsigned(r0_reg_info, 0) & UINT16_MAX);
tools/lldb/source/Plugins/ABI/SysV-arm64/ABISysV_arm64.cpp
 2316               value.GetScalar() = (int16_t)(raw_value & UINT16_MAX);
 2318               value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX);
tools/lldb/source/Plugins/ABI/SysV-i386/ABISysV_i386.cpp
  558           value.GetScalar() = (int16_t)(raw_value & UINT16_MAX);
  560           value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX);
tools/lldb/source/Plugins/ABI/SysV-mips/ABISysV_mips.cpp
  836             reg_ctx->ReadRegisterAsUnsigned(r2_reg_info, 0) & UINT16_MAX);
  839             reg_ctx->ReadRegisterAsUnsigned(r2_reg_info, 0) & UINT16_MAX);
tools/lldb/source/Plugins/ABI/SysV-mips64/ABISysV_mips64.cpp
  797           value.GetScalar() = (int16_t)(raw_value & UINT16_MAX);
  799           value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX);
tools/lldb/source/Plugins/ABI/SysV-ppc/ABISysV_ppc.cpp
  556           value.GetScalar() = (int16_t)(raw_value & UINT16_MAX);
  558           value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX);
tools/lldb/source/Plugins/ABI/SysV-ppc64/ABISysV_ppc64.cpp
  612         value_sp->GetScalar() = (int16_t)(raw_value & UINT16_MAX);
  614         value_sp->GetScalar() = (uint16_t)(raw_value & UINT16_MAX);
tools/lldb/source/Plugins/ABI/SysV-s390x/ABISysV_s390x.cpp
  537           value.GetScalar() = (int16_t)(raw_value & UINT16_MAX);
  539           value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX);
tools/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp
  589           value.GetScalar() = (int16_t)(raw_value & UINT16_MAX);
  591           value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX);
tools/lldb/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp
 1423           value.GetScalar() = (int16_t)(raw_value & UINT16_MAX);
 1425           value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX);
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
 2682              UINT16_MAX &&
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
   93   if (port == UINT16_MAX)
  173   uint16_t port = UINT16_MAX;
  476   return UINT16_MAX;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
   46   lldbassert(abbr_idx <= UINT16_MAX);
tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
  899   lldbassert(index < UINT16_MAX);
  900   if (index >= UINT16_MAX)
tools/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h
  171       dqo_version = UINT16_MAX;
  172       dqo_flags = UINT16_MAX;
  173       dqo_serialnum = UINT16_MAX;
  174       dqo_label = UINT16_MAX;
  175       dqo_width = UINT16_MAX;
  176       dqo_running = UINT16_MAX;
  177       dqo_suspend_cnt = UINT16_MAX;
  178       dqo_target_queue = UINT16_MAX;
  179       dqo_target_queue = UINT16_MAX;
  180       dqo_priority = UINT16_MAX;
  183     bool IsValid() { return dqo_version != UINT16_MAX; }
  185     bool LabelIsValid() { return dqo_label != UINT16_MAX; }
  196         : vo_version(UINT16_MAX), vo_activity_ids_count(UINT16_MAX),
  196         : vo_version(UINT16_MAX), vo_activity_ids_count(UINT16_MAX),
  197           vo_activity_ids_count_size(UINT16_MAX),
  198           vo_activity_ids_array(UINT16_MAX),
  199           vo_activity_ids_array_entry_size(UINT16_MAX) {}
  201     bool IsValid() { return vo_version != UINT16_MAX; }
  211         : dti_version(UINT16_MAX), dti_queue_index(UINT64_MAX),
  214     bool IsValid() { return dti_version != UINT16_MAX; }
  224         : plo_version(UINT16_MAX), plo_pthread_tsd_base_offset(UINT16_MAX),
  224         : plo_version(UINT16_MAX), plo_pthread_tsd_base_offset(UINT16_MAX),
  225           plo_pthread_tsd_base_address_offset(UINT16_MAX),
  226           plo_pthread_tsd_entry_size(UINT16_MAX) {}
  228     bool IsValid() { return plo_version != UINT16_MAX; }
unittests/BinaryFormat/MsgPackReaderTest.cpp
  280   EXPECT_EQ(Obj.UInt, static_cast<uint16_t>(UINT16_MAX));
  450   std::string Result(UINT16_MAX, 'a');
  482   std::string Result(static_cast<uint32_t>(UINT16_MAX) + 1, 'a');
  546   std::string Result(UINT16_MAX, 'a');
  578   std::string Result(static_cast<uint32_t>(UINT16_MAX) + 1, 'a');
  646   EXPECT_EQ(Obj.Length, static_cast<uint16_t>(UINT16_MAX));
  737   EXPECT_EQ(Obj.Length, static_cast<uint16_t>(UINT16_MAX));
  869   std::string Result(UINT16_MAX, 'a');
  881   std::string Result(static_cast<uint32_t>(UINT16_MAX) + 1, 'a');
unittests/BinaryFormat/MsgPackWriterTest.cpp
   79   uint64_t u = UINT16_MAX;
   85   uint64_t u = static_cast<uint64_t>(UINT16_MAX) + 1;
  273   std::string s(UINT16_MAX, 'a');
  279   std::string s(static_cast<uint64_t>(UINT16_MAX) + 1, 'a');
  321   std::string s(UINT16_MAX, 'a');
  327   std::string s(static_cast<uint64_t>(UINT16_MAX) + 1, 'a');
  366   MPWriter.writeArraySize(UINT16_MAX);
  371   MPWriter.writeArraySize(static_cast<uint64_t>(UINT16_MAX) + 1);
  413   MPWriter.writeMapSize(UINT16_MAX);
  418   MPWriter.writeMapSize(static_cast<uint64_t>(UINT16_MAX) + 1);
  495   std::string s(UINT16_MAX, 'a');
  501   std::string s(static_cast<uint32_t>(UINT16_MAX) + 1, 'a');
unittests/IR/ConstantRangeTest.cpp
  234   EXPECT_EQ(Full.getUnsignedMax(), APInt(16, UINT16_MAX));
  237   EXPECT_EQ(Wrap.getUnsignedMax(), APInt(16, UINT16_MAX));
unittests/IR/MetadataTest.cpp
 2311   unsigned Max = UINT16_MAX;
unittests/Support/ScaledNumberTest.cpp
   88   EXPECT_EQ(SP32(UINT16_MAX / 3 * UINT16_MAX / 5 * 2, 0),
   88   EXPECT_EQ(SP32(UINT16_MAX / 3 * UINT16_MAX / 5 * 2, 0),
   89             getProduct32(UINT16_MAX / 3, UINT16_MAX / 5 * 2));
   89             getProduct32(UINT16_MAX / 3, UINT16_MAX / 5 * 2));
  116   EXPECT_EQ(SP32(UINT16_MAX / 3 * UINT16_MAX / 5 * 2, 0),
  116   EXPECT_EQ(SP32(UINT16_MAX / 3 * UINT16_MAX / 5 * 2, 0),
  117             getProduct32(UINT16_MAX / 5 * 2, UINT16_MAX / 3));
  117             getProduct32(UINT16_MAX / 5 * 2, UINT16_MAX / 3));
utils/TableGen/RegisterInfoEmitter.cpp
 1467     else if (RegisterClasses.size() < UINT16_MAX)