| /llvm-project-15.0.7/llvm/test/ObjectYAML/wasm/ |
| H A D | multiple-tables.yaml | 20 Limits: 28 Limits: 32 Limits: 36 Limits: 81 # CHECK-NEXT: Limits: 89 # CHECK-NEXT: Limits: 93 # CHECK-NEXT: Limits: 97 # CHECK-NEXT: Limits:
|
| H A D | table_section.yaml | 10 Limits: 23 # CHECK: Limits:
|
| H A D | import_section.yaml | 37 Limits: 69 # CHECK: Limits:
|
| H A D | elem_section.yaml | 10 Limits:
|
| /llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/ |
| H A D | WasmTraits.h | 72 static unsigned getHashValue(const wasm::WasmLimits &Limits) { 73 unsigned Hash = hash_value(Limits.Flags); 74 Hash = hash_combine(Hash, Limits.Minimum); 75 if (Limits.Flags & llvm::wasm::WASM_LIMITS_FLAG_HAS_MAX) { 76 Hash = hash_combine(Hash, Limits.Maximum); 99 DenseMapInfo<wasm::WasmLimits, void>::getHashValue(TableType.Limits));
|
| H A D | Wasm.h | 85 WasmLimits Limits; member 471 return LHS.ElemType == RHS.ElemType && LHS.Limits == RHS.Limits;
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| H A D | WebAssemblyTargetStreamer.cpp | 83 bool HasMaximum = Type.Limits.Flags & wasm::WASM_LIMITS_FLAG_HAS_MAX; in emitTableType() 84 if (Type.Limits.Minimum != 0 || HasMaximum) { in emitTableType() 85 OS << ", " << Type.Limits.Minimum; in emitTableType() 87 OS << ", " << Type.Limits.Maximum; in emitTableType()
|
| /llvm-project-15.0.7/libcxx/test/libcxx/type_traits/ |
| H A D | convert_to_integral.pass.cpp | 38 typedef std::numeric_limits<From> Limits; in check_integral_types() typedef 39 const From max = Limits::max(); in check_integral_types() 40 const From min = Limits::min(); in check_integral_types()
|
| /llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/ |
| H A D | WasmYAML.h | 47 struct Limits { struct 55 Limits TableLimits; argument 97 Limits Memory; 333 std::vector<Limits> Memories; 431 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::Limits) in LLVM_YAML_IS_SEQUENCE_VECTOR() 503 template <> struct MappingTraits<WasmYAML::Limits> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 504 static void mapping(IO &IO, WasmYAML::Limits &Limits); in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/ |
| H A D | CodeViewRecordIO.cpp | 24 Limits.push_back(Limit); in beginRecord() 29 assert(!Limits.empty() && "Not in a record!"); in endRecord() 30 Limits.pop_back(); in endRecord() 63 assert(!Limits.empty() && "Not in a record!"); in maxFieldLength() 70 Optional<uint32_t> Min = Limits.front().bytesRemaining(Offset); in maxFieldLength() 71 for (auto X : makeArrayRef(Limits).drop_front()) { in maxFieldLength()
|
| /llvm-project-15.0.7/llvm/tools/obj2yaml/ |
| H A D | wasm2yaml.cpp | 34 static WasmYAML::Limits makeLimits(const wasm::WasmLimits &Limits) { in makeLimits() argument 35 WasmYAML::Limits L; in makeLimits() 36 L.Flags = Limits.Flags; in makeLimits() 37 L.Minimum = Limits.Minimum; in makeLimits() 38 L.Maximum = Limits.Maximum; in makeLimits() 47 T.TableLimits = makeLimits(Type.Limits); in makeTable()
|
| /llvm-project-15.0.7/lld/test/wasm/ |
| H A D | multi-table.s | 56 # CHECK-NEXT: Limits: 68 # CHECK-NEXT: Limits: 72 # CHECK-NEXT: Limits: 76 # CHECK-NEXT: Limits:
|
| H A D | duplicate-table-imports.s | 58 # CHECK-NEXT: Limits: 66 # CHECK-NEXT: Limits:
|
| H A D | growable-table.test | 11 # CHECK-NEXT: Limits:
|
| H A D | export-table.test | 11 # CHECK-NEXT: Limits:
|
| H A D | import-table.test | 23 # CHECK-NEXT: Limits:
|
| H A D | export-table-explicit.test | 14 # CHECK-NEXT: Limits:
|
| /llvm-project-15.0.7/llvm/test/MC/WebAssembly/ |
| H A D | tables.s | 126 # BIN-NEXT: Limits: 130 # BIN-NEXT: Limits: 134 # BIN-NEXT: Limits: 138 # BIN-NEXT: Limits:
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | SIInsertWaitcnts.cpp | 186 : ST(SubTarget), Limits(Limits), Encoding(Encoding) {} in WaitcntBrackets() 191 return Limits.VmcntMax; in getWaitCountMax() 193 return Limits.LgkmcntMax; in getWaitCountMax() 195 return Limits.ExpcntMax; in getWaitCountMax() 197 return Limits.VscntMax; in getWaitCountMax() 330 HardwareLimits Limits = {}; member in __anon87474e610211::WaitcntBrackets 1777 HardwareLimits Limits = {}; in runOnMachineFunction() local 1778 Limits.VmcntMax = AMDGPU::getVmcntBitMask(IV); in runOnMachineFunction() 1779 Limits.ExpcntMax = AMDGPU::getExpcntBitMask(IV); in runOnMachineFunction() 1780 Limits.LgkmcntMax = AMDGPU::getLgkmcntBitMask(IV); in runOnMachineFunction() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/ |
| H A D | MCSymbolWasm.h | 146 wasm::WasmLimits Limits = {wasm::WASM_LIMITS_FLAG_NONE, 0, 0}; in setTableType() local 147 setTableType({uint8_t(VT), Limits}); in setTableType()
|
| /llvm-project-15.0.7/llvm/lib/ObjectYAML/ |
| H A D | WasmYAML.cpp | 368 void MappingTraits<WasmYAML::Limits>::mapping(IO &IO, in mapping() 369 WasmYAML::Limits &Limits) { in mapping() argument 370 IO.mapOptional("Flags", Limits.Flags, 0); in mapping() 371 IO.mapRequired("Minimum", Limits.Minimum); in mapping() 372 if (!IO.outputting() || Limits.Flags & wasm::WASM_LIMITS_FLAG_HAS_MAX) in mapping() 373 IO.mapOptional("Maximum", Limits.Maximum); in mapping()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/Utils/ |
| H A D | WebAssemblyUtilities.cpp | 158 wasm::WasmLimits Limits = {0, 1, 1}; in getOrCreateFuncrefCallTableSymbol() local 159 wasm::WasmTableType TableType = {wasm::WASM_TYPE_FUNCREF, Limits}; in getOrCreateFuncrefCallTableSymbol()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/AsmParser/ |
| H A D | WebAssemblyAsmParser.cpp | 482 bool parseLimits(wasm::WasmLimits *Limits) { in parseLimits() argument 488 Limits->Minimum = Val; in parseLimits() 492 Limits->Flags |= wasm::WASM_LIMITS_FLAG_HAS_MAX; in parseLimits() 498 Limits->Maximum = Val; in parseLimits() 842 wasm::WasmLimits Limits = DefaultLimits(); in ParseDirective() local 843 if (isNext(AsmToken::Comma) && parseLimits(&Limits)) in ParseDirective() 850 wasm::WasmTableType Type = {uint8_t(*ElemType), Limits}; in ParseDirective()
|
| /llvm-project-15.0.7/libc/src/__support/CPP/ |
| H A D | CMakeLists.txt | 50 Limits.h
|
| /llvm-project-15.0.7/llvm/test/Object/ |
| H A D | wasm-relocs-and-producers.yaml | 34 Limits:
|