Home
last modified time | relevance | path

Searched refs:Table (Results 1 – 25 of 392) sorted by relevance

12345678910>>...16

/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRuntimeLibcallSignatures.cpp113 Table[RTLIB::MUL_I8] = i8_func_i8_i8; in RuntimeLibcallSignatureTable()
121 Table[RTLIB::SDIV_I8] = i8_func_i8_i8; in RuntimeLibcallSignatureTable()
126 Table[RTLIB::UDIV_I8] = i8_func_i8_i8; in RuntimeLibcallSignatureTable()
131 Table[RTLIB::SREM_I8] = i8_func_i8_i8; in RuntimeLibcallSignatureTable()
151 Table[RTLIB::NEG_I32] = i32_func_i32; in RuntimeLibcallSignatureTable()
152 Table[RTLIB::NEG_I64] = i64_func_i64; in RuntimeLibcallSignatureTable()
183 Table[RTLIB::LOG_F32] = f32_func_f32; in RuntimeLibcallSignatureTable()
184 Table[RTLIB::LOG_F64] = f64_func_f64; in RuntimeLibcallSignatureTable()
192 Table[RTLIB::EXP_F32] = f32_func_f32; in RuntimeLibcallSignatureTable()
529 auto &Table = getRuntimeLibcallSignatures().Table; in getLibcallSignature() local
[all …]
/llvm-project-15.0.7/llvm/unittests/DebugInfo/PDB/
H A DHashTableTest.cpp46 HashTableInternals<> Table; in TEST() local
53 ASSERT_NE(Table.end(), Table.find_as(3u, Traits)); in TEST()
58 HashTableInternals<> Table; in TEST() local
72 ASSERT_NE(Table.end(), Table.find_as(N1, Traits)); in TEST()
73 ASSERT_NE(Table.end(), Table.find_as(N2, Traits)); in TEST()
88 ASSERT_NE(Table.end(), Table.find_as(1u, Traits)); in TEST()
89 ASSERT_NE(Table.end(), Table.find_as(3u, Traits)); in TEST()
112 ASSERT_NE(Table.end(), Table.find_as(N1, Traits)); in TEST()
113 ASSERT_NE(Table.end(), Table.find_as(N2, Traits)); in TEST()
114 ASSERT_NE(Table.end(), Table.find_as(N3, Traits)); in TEST()
[all …]
H A DStringTableBuilderTest.cpp57 PDBStringTable Table; in TEST() local
58 EXPECT_THAT_ERROR(Table.reload(Reader), Succeeded()); in TEST()
60 EXPECT_EQ(6U, Table.getNameCount()); in TEST()
61 EXPECT_EQ(1U, Table.getHashVersion()); in TEST()
63 EXPECT_THAT_EXPECTED(Table.getStringForID(FooID), HasValue("foo")); in TEST()
64 EXPECT_THAT_EXPECTED(Table.getStringForID(BarID), HasValue("bar")); in TEST()
65 EXPECT_THAT_EXPECTED(Table.getStringForID(BazID), HasValue("baz")); in TEST()
66 EXPECT_THAT_EXPECTED(Table.getStringForID(BuzzID), HasValue("buzz")); in TEST()
70 EXPECT_THAT_EXPECTED(Table.getIDForString("foo"), HasValue(FooID)); in TEST()
71 EXPECT_THAT_EXPECTED(Table.getIDForString("bar"), HasValue(BarID)); in TEST()
[all …]
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp320 IndexName = Table.Name; in emitLookupFunction()
321 IndexRows = Table.Entries; in emitLookupFunction()
487 if (Table.PrimaryKey) { in emitGenericTable()
488 emitLookupDeclaration(Table, *Table.PrimaryKey, OS); in emitGenericTable()
501 OS << "constexpr " << Table.CppTypeName << " " << Table.Name << "[] = {\n"; in emitGenericTable()
518 if (Table.PrimaryKey) in emitGenericTable()
519 emitLookupFunction(Table, *Table.PrimaryKey, true, OS); in emitGenericTable()
652 std::copy(Table.Fields.begin(), Table.Fields.end(), in collectTableEntries()
723 Table->PrimaryKey = in run()
748 Table.Indices.push_back( in run()
[all …]
H A DGlobalISelEmitter.cpp665 Table.push_back(Value); in operator <<()
666 return Table; in operator <<()
690 Rule->emit(Table); in buildTable()
2379 }, Table, Rule); in emitPredicateOpcodes()
2390 }, Table, Rule); in emitPredicateOpcodes()
3456 if (Table.isWithCoverage()) in emit()
5975 const MatchTable Table = in run() local
5979 Table.emitDeclaration(OS); in run()
5981 Table.emitUse(OS); in run()
6157 M->emit(Table); in emit()
[all …]
H A DDecoderEmitter.cpp93 DecoderTable Table; member
696 DecoderTable &Table = TableInfo.Table; in emitTableEntry() local
711 resolveTableFixups(Table, CurScope, Table.size()); in emitTableEntry()
719 Table.insert(Table.end(), Buffer, Buffer + Len); in emitTableEntry()
723 Table.push_back(0); in emitTableEntry()
724 Table.push_back(0); in emitTableEntry()
725 Table.push_back(0); in emitTableEntry()
1343 TableInfo.Table.push_back(0); in emitPredicateTableEntry()
1344 TableInfo.Table.push_back(0); in emitPredicateTableEntry()
1345 TableInfo.Table.push_back(0); in emitPredicateTableEntry()
[all …]
/llvm-project-15.0.7/clang-tools-extra/pseudo/lib/grammar/
H A DLRTableBuild.cpp22 LRTable Table; in build() local
32 Table.StartStates = std::move(StartStates); in build()
55 Table.ReduceOffset.reserve(NumStates + 1); in build()
58 Table.ReduceOffset.push_back(Table.Reduces.size()); in build()
62 Table.Reduces.insert(Table.Reduces.end(), It->second.begin(), in build()
64 llvm::sort(Table.Reduces.begin() + Table.ReduceOffset.back(), in build()
65 Table.Reduces.end()); in build()
67 Table.ReduceOffset.push_back(Table.Reduces.size()); in build()
74 Table.Recoveries.reserve(Recoveries.size()); in build()
80 Table.RecoveryOffset[State] = SortedIndex; in build()
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-dwarfdump/X86/
H A Ddebug_rnglists_invalid.s42 # Table 1 (good)
43 .long 30 # Table length
58 .long 7 # Table length
65 .long 8 # Table length
72 .long 8 # Table length
79 .long 8 # Table length
86 .long 8 # Table length
93 .long 21 # Table length
105 .long 18 # Table length
117 .long 26 # Table length
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DBase64.h22 static const char Table[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" in encodeBase64() local
33 Buffer[j + 0] = Table[(x >> 18) & 63]; in encodeBase64()
34 Buffer[j + 1] = Table[(x >> 12) & 63]; in encodeBase64()
35 Buffer[j + 2] = Table[(x >> 6) & 63]; in encodeBase64()
36 Buffer[j + 3] = Table[x & 63]; in encodeBase64()
40 Buffer[j + 0] = Table[(x >> 18) & 63]; in encodeBase64()
41 Buffer[j + 1] = Table[(x >> 12) & 63]; in encodeBase64()
47 Buffer[j + 0] = Table[(x >> 18) & 63]; in encodeBase64()
48 Buffer[j + 1] = Table[(x >> 12) & 63]; in encodeBase64()
49 Buffer[j + 2] = Table[(x >> 6) & 63]; in encodeBase64()
/llvm-project-15.0.7/llvm/lib/Target/X86/MCTargetDesc/
H A DX86InstrRelaxTables.cpp95 lookupRelaxTableImpl(ArrayRef<X86InstrRelaxTableEntry> Table, in lookupRelaxTableImpl() argument
110 const X86InstrRelaxTableEntry *Data = llvm::lower_bound(Table, ShortOp); in lookupRelaxTableImpl()
111 if (Data != Table.end() && Data->KeyOp == ShortOp) in lookupRelaxTableImpl()
126 SmallVector<X86InstrRelaxTableEntry, 0> Table; member
130 Table.push_back({Entry.DstOp, Entry.KeyOp}); in X86ShortFormTable()
132 llvm::sort(Table); in X86ShortFormTable()
135 assert(std::adjacent_find(Table.begin(), Table.end()) == Table.end() && in X86ShortFormTable()
143 auto &Table = ShortTable.Table; in lookupShortTable() local
144 auto I = llvm::lower_bound(Table, RelaxOp); in lookupShortTable()
145 if (I != Table.end() && I->KeyOp == RelaxOp) in lookupShortTable()
/llvm-project-15.0.7/llvm/test/tools/llvm-dwp/X86/
H A Dincompatible_tu_index_version.s42 ## Hash Table of Signatures:
45 ## Parallel Table of Indexes:
48 ## Table of Section Offsets:
55 ## Table of Section Sizes:
66 ## Hash Table of Signatures:
69 ## Parallel Table of Indexes:
72 ## Table of Section Offsets:
79 ## Table of Section Sizes:
H A Dunknown-section-id.s88 ## Hash Table of Signatures:
91 ## Parallel Table of Indexes:
94 ## Table of Section Offsets:
105 ## Table of Section Sizes:
117 ## Hash Table of Signatures:
120 ## Parallel Table of Indexes:
123 ## Table of Section Offsets:
134 ## Table of Section Sizes:
H A Dincompatible_cu_index_versions.s22 ## Hash Table of Signatures:
25 ## Parallel Table of Indexes:
28 ## Table of Section Offsets:
35 ## Table of Section Sizes:
/llvm-project-15.0.7/llvm/test/TableGen/
H A Dsearchabletables-intrinsic.td51 class Table<Intrinsic intr, int payload> : SearchableTable {
83 def : Table<int_abc, 0x0>;
84 def : Table<int_xyz, 0x1>;
85 def : Table<int_gtarget_def, 0x10>;
86 def : Table<int_gtarget_defg, 0x11>;
87 def : Table<int_gtarget_uvw, 0x12>;
88 def : Table<int_ftarget_ghi, 0x20>;
89 def : Table<int_ftarget_ghi_x, 0x21>;
90 def : Table<int_ftarget_rst, 0x22>;
/llvm-project-15.0.7/openmp/libomptarget/plugins/remote/lib/
H A DUtils.cpp152 void freeTargetTable(__tgt_target_table *Table) { in freeTargetTable() argument
153 for (auto *Entry = Table->EntriesBegin; Entry != Table->EntriesEnd; Entry++) in freeTargetTable()
156 delete[] Table->EntriesBegin; in freeTargetTable()
159 void loadTargetTable(__tgt_target_table *Table, TargetTable &TableResponse, in loadTargetTable() argument
162 for (__tgt_offload_entry *CurEntry = Table->EntriesBegin; in loadTargetTable()
163 CurEntry != Table->EntriesEnd; CurEntry++, ImageEntry++) { in loadTargetTable()
176 TargetTable &TableResponse, __tgt_target_table *Table, in unloadTargetTable() argument
180 auto *CurEntry = Table->EntriesBegin; in unloadTargetTable()
187 Table->EntriesEnd = CurEntry; in unloadTargetTable()
266 void dump(__tgt_target_table *Table) { in dump() argument
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/Utils/
H A DAMDKernelCodeTUtils.cpp26 static StringRef const Table[] = { in get_amd_kernel_code_t_FldNames() local
32 return makeArrayRef(Table); in get_amd_kernel_code_t_FldNames()
36 static StringRef const Table[] = { in get_amd_kernel_code_t_FldAltNames() local
42 return makeArrayRef(Table); in get_amd_kernel_code_t_FldAltNames()
88 static const PrintFx Table[] = { in getPrinterTable() local
93 return makeArrayRef(Table); in getPrinterTable()
158 static const ParseFx Table[] = { in getParserTable() local
163 return makeArrayRef(Table); in getParserTable()
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerUtil.cpp156 static const char Table[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" in Base64() local
166 Buffer[j + 0] = Table[(x >> 18) & 63]; in Base64()
167 Buffer[j + 1] = Table[(x >> 12) & 63]; in Base64()
168 Buffer[j + 2] = Table[(x >> 6) & 63]; in Base64()
169 Buffer[j + 3] = Table[x & 63]; in Base64()
173 Buffer[j + 0] = Table[(x >> 18) & 63]; in Base64()
174 Buffer[j + 1] = Table[(x >> 12) & 63]; in Base64()
179 Buffer[j + 0] = Table[(x >> 18) & 63]; in Base64()
180 Buffer[j + 1] = Table[(x >> 12) & 63]; in Base64()
181 Buffer[j + 2] = Table[(x >> 6) & 63]; in Base64()
/llvm-project-15.0.7/llvm/test/tools/llvm-readobj/COFF/
H A Dresources.test14 ZERO-NEXT: Base Table Address: 0x188
18 ZERO-NEXT: Table Offset: 0x18
22 ZERO-NEXT: Table Offset: 0x30
52 TEST_RES-NEXT: Table Offset: 0x30
56 TEST_RES-NEXT: Table Offset: 0xA8
76 TEST_RES-NEXT: Table Offset: 0xC0
97 TEST_RES-NEXT: Table Offset: 0x50
101 TEST_RES-NEXT: Table Offset: 0xD8
121 TEST_RES-NEXT: Table Offset: 0xF0
142 TEST_RES-NEXT: Table Offset: 0x70
[all …]
/llvm-project-15.0.7/clang/lib/Serialization/
H A DMultiOnDiskHashTable.h64 HashTable Table; member
70 Table(NumBuckets, NumEntries, Buckets, Payload, Base, InfoObj) {} in OnDiskTable()
78 using Table = llvm::PointerUnion<OnDiskTable *, MergedTable *>; variable
96 return Table::getFromOpaqueValue(P).template get<OnDiskTable *>(); in operator()
115 return Tables.empty() ? nullptr : Table::getFromOpaqueValue(*Tables.begin()) in getMergedTable()
133 auto *ODT = Table::getFromOpaqueValue(T).template get<OnDiskTable *>(); in removeOverriddenTables()
153 auto &HT = ODT->Table; in condense()
172 Tables.push_back(Table(Merged).getOpaqueValue()); in condense()
221 Table NewTable = new OnDiskTable(File, NumBucketsAndEntries.first,
249 auto &HT = ODT->Table; in find()
[all …]
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/DIA/
H A DDIATable.cpp15 DIATable::DIATable(CComPtr<IDiaTable> DiaTable) : Table(DiaTable) {} in DIATable()
19 return (S_OK == Table->get_Count(&Count)) ? Count : 0; in getItemCount()
23 return invokeBstrMethod(*Table, &IDiaTable::get_name); in getName()
28 if (S_OK != Table->get_name(&Name16)) in getTableType()
/llvm-project-15.0.7/llvm/test/Transforms/MergeFunc/
H A Dself-referential-global.ll7 ; Table refers to itself via GEP
8Table = internal global [3 x %LL] [%LL { %S { void (%S*, i32)* @B }, %LL* getelementptr inbounds (…
/llvm-project-15.0.7/llvm/test/DebugInfo/X86/
H A Ddebug-cu-index-unknown-section.s18 ## Hash Table of Signatures:
21 ## Parallel Table of Indexes:
24 ## Table of Section Offsets:
31 ## Table of Section Sizes:
H A Ddwp-v2-tu-index.s21 ## Hash Table of Signatures:
24 ## Parallel Table of Indexes:
27 ## Table of Section Offsets:
38 ## Table of Section Sizes:
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DDWARFEmitter.cpp675 if (Table.Length) in emitDebugStrOffsets()
676 Length = *Table.Length; in emitDebugStrOffsets()
680 4 + Table.Offsets.size() * (Table.Format == dwarf::DWARF64 ? 8 : 4); in emitDebugStrOffsets()
686 for (uint64_t Offset : Table.Offsets) in emitDebugStrOffsets()
919 if (Table.AddrSize) in writeDWARFLists()
920 AddrSize = *Table.AddrSize; in writeDWARFLists()
957 if (Table.OffsetEntryCount) in writeDWARFLists()
960 OffsetEntryCount = Table.Offsets ? Table.Offsets->size() : Offsets.size(); in writeDWARFLists()
967 if (Table.Length) in writeDWARFLists()
968 Length = *Table.Length; in writeDWARFLists()
[all …]
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DPDBStringTableBuilder.cpp25 StringTableHashTraits::StringTableHashTraits(PDBStringTableBuilder &Table) in StringTableHashTraits() argument
26 : Table(&Table) {} in StringTableHashTraits()
35 return static_cast<uint16_t>(Table->getIdForString(S)); in hashLookupKey()
39 return Table->getStringForId(Offset); in storageKeyToLookupKey()
43 return Table->insert(S); in lookupKeyToStorageKey()

12345678910>>...16