Home
last modified time | relevance | path

Searched refs:Limits (Results 1 – 25 of 58) sorted by relevance

123

/llvm-project-15.0.7/llvm/test/ObjectYAML/wasm/
H A Dmultiple-tables.yaml20 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 Dtable_section.yaml10 Limits:
23 # CHECK: Limits:
H A Dimport_section.yaml37 Limits:
69 # CHECK: Limits:
H A Delem_section.yaml10 Limits:
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DWasmTraits.h72 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 DWasm.h85 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 DWebAssemblyTargetStreamer.cpp83 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 Dconvert_to_integral.pass.cpp38 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 DWasmYAML.h47 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 DCodeViewRecordIO.cpp24 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 Dwasm2yaml.cpp34 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 Dmulti-table.s56 # CHECK-NEXT: Limits:
68 # CHECK-NEXT: Limits:
72 # CHECK-NEXT: Limits:
76 # CHECK-NEXT: Limits:
H A Dduplicate-table-imports.s58 # CHECK-NEXT: Limits:
66 # CHECK-NEXT: Limits:
H A Dgrowable-table.test11 # CHECK-NEXT: Limits:
H A Dexport-table.test11 # CHECK-NEXT: Limits:
H A Dimport-table.test23 # CHECK-NEXT: Limits:
H A Dexport-table-explicit.test14 # CHECK-NEXT: Limits:
/llvm-project-15.0.7/llvm/test/MC/WebAssembly/
H A Dtables.s126 # 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 DSIInsertWaitcnts.cpp186 : 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 DMCSymbolWasm.h146 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 DWasmYAML.cpp368 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 DWebAssemblyUtilities.cpp158 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 DWebAssemblyAsmParser.cpp482 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 DCMakeLists.txt50 Limits.h
/llvm-project-15.0.7/llvm/test/Object/
H A Dwasm-relocs-and-producers.yaml34 Limits:

123