| /openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyRuntimeLibcallSignatures.cpp | 97 std::vector<RuntimeLibcallSignature> Table; member 100 RuntimeLibcallSignatureTable() : Table(RTLIB::UNKNOWN_LIBCALL, unsupported) { in RuntimeLibcallSignatureTable() 102 Table[RTLIB::SHL_I16] = i16_func_i16_i16; in RuntimeLibcallSignatureTable() 103 Table[RTLIB::SHL_I32] = i32_func_i32_i32; in RuntimeLibcallSignatureTable() 104 Table[RTLIB::SHL_I64] = i64_func_i64_i64; in RuntimeLibcallSignatureTable() 105 Table[RTLIB::SHL_I128] = i64_i64_func_i64_i64_i32; in RuntimeLibcallSignatureTable() 106 Table[RTLIB::SRL_I16] = i16_func_i16_i16; in RuntimeLibcallSignatureTable() 107 Table[RTLIB::SRL_I32] = i32_func_i32_i32; in RuntimeLibcallSignatureTable() 108 Table[RTLIB::SRL_I64] = i64_func_i64_i64; in RuntimeLibcallSignatureTable() 109 Table[RTLIB::SRL_I128] = i64_i64_func_i64_i64_i32; in RuntimeLibcallSignatureTable() [all …]
|
| /openbsd-src/gnu/llvm/llvm/utils/TableGen/ |
| H A D | SearchableTableEmitter.cpp | 153 std::string searchableFieldType(const GenericTable &Table, in searchableFieldType() argument 172 PrintFatalError(Index.Loc, Twine("In table '") + Table.Name + in searchableFieldType() 179 Twine("In table '") + Table.Name + "' lookup method '" + in searchableFieldType() 184 void emitGenericTable(const GenericTable &Table, raw_ostream &OS); 186 void emitLookupDeclaration(const GenericTable &Table, 188 void emitLookupFunction(const GenericTable &Table, const SearchIndex &Index, 194 parseSearchIndex(GenericTable &Table, const RecordVal *RecVal, StringRef Name, 199 void collectTableEntries(GenericTable &Table, 305 void SearchableTableEmitter::emitLookupFunction(const GenericTable &Table, in emitLookupFunction() argument 310 emitLookupDeclaration(Table, Index, OS); in emitLookupFunction() [all …]
|
| H A D | GlobalISelEmitter.cpp | 494 const MatchTable &Table) const; 633 const MatchTable &Table) const { in emit() 644 OS << ": @" << Table.getLabelIndex(LabelID); in emit() 652 OS << Table.getLabelIndex(LabelID); in emit() 665 MatchTable &operator<<(MatchTable &Table, const MatchTableRecord &Value) { in operator <<() argument 666 Table.push_back(Value); in operator <<() 667 return Table; in operator <<() 680 virtual void emit(MatchTable &Table) = 0; 689 MatchTable Table(WithCoverage); in buildTable() local 691 Rule->emit(Table); in buildTable() [all …]
|
| H A D | DecoderEmitter.cpp | 93 DecoderTable Table; member 134 void emitTable(formatted_raw_ostream &o, DecoderTable &Table, 652 static void resolveTableFixups(DecoderTable &Table, const FixupList &Fixups, in resolveTableFixups() argument 668 Table[FixupIdx] = (uint8_t)Delta; in resolveTableFixups() 669 Table[FixupIdx + 1] = (uint8_t)(Delta >> 8); in resolveTableFixups() 670 Table[FixupIdx + 2] = (uint8_t)(Delta >> 16); in resolveTableFixups() 677 TableInfo.Table.push_back(MCD::OPC_ExtractField); in emitTableEntry() 678 TableInfo.Table.push_back(StartBit); in emitTableEntry() 679 TableInfo.Table.push_back(NumBits); in emitTableEntry() 684 DecoderTable &Table = TableInfo.Table; in emitTableEntry() local [all …]
|
| H A D | DFAEmitter.cpp | 121 SequenceToOffsetTable<DfaTransitionInfo> Table; in emit() local 124 Table.add(T.second.second); in emit() 125 Table.layout(); in emit() 126 OS << "const std::array<NfaStatePair, " << Table.size() << "> " << Name in emit() 128 Table.emit( in emit() 156 unsigned InfoIdx = Table.get(KV.second.second); in emit()
|
| H A D | X86EVEX2VEXTablesEmitter.cpp | 53 void printTable(const std::vector<Entry> &Table, raw_ostream &OS); 59 void X86EVEX2VEXTablesEmitter::printTable(const std::vector<Entry> &Table, in printTable() argument 61 StringRef Size = (Table == EVEX2VEX128) ? "128" : "256"; in printTable() 71 for (const auto &Pair : Table) { in printTable()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | Base64.h | 24 static const char Table[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" in encodeBase64() local 35 Buffer[j + 0] = Table[(x >> 18) & 63]; in encodeBase64() 36 Buffer[j + 1] = Table[(x >> 12) & 63]; in encodeBase64() 37 Buffer[j + 2] = Table[(x >> 6) & 63]; in encodeBase64() 38 Buffer[j + 3] = Table[x & 63]; in encodeBase64() 42 Buffer[j + 0] = Table[(x >> 18) & 63]; in encodeBase64() 43 Buffer[j + 1] = Table[(x >> 12) & 63]; in encodeBase64() 49 Buffer[j + 0] = Table[(x >> 18) & 63]; in encodeBase64() 50 Buffer[j + 1] = Table[(x >> 12) & 63]; in encodeBase64() 51 Buffer[j + 2] = Table[(x >> 6) & 63]; in encodeBase64()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86InstrRelaxTables.cpp | 95 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDKernelCodeTUtils.cpp | 26 static StringRef const Table[] = { in get_amd_kernel_code_t_FldNames() local 32 return ArrayRef(Table); in get_amd_kernel_code_t_FldNames() 36 static StringRef const Table[] = { in get_amd_kernel_code_t_FldAltNames() local 42 return ArrayRef(Table); in get_amd_kernel_code_t_FldAltNames() 88 static const PrintFx Table[] = { in getPrinterTable() local 93 return ArrayRef(Table); in getPrinterTable() 158 static const ParseFx Table[] = { in getParserTable() local 163 return ArrayRef(Table); in getParserTable()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerUtil.cpp | 156 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()
|
| /openbsd-src/gnu/llvm/clang/lib/Serialization/ |
| H A D | MultiOnDiskHashTable.h | 64 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 …]
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/DIA/ |
| H A D | DIATable.cpp | 15 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/ |
| H A D | DWARFEmitter.cpp | 108 for (const DWARFYAML::Abbrev &AbbrevDecl : DebugAbbrev[Index].Table) { in getAbbrevTableContentByIndex() 285 DI.DebugAbbrev[AbbrevTableInfoOrErr->Index].Table); in writeDIE() 674 for (const DWARFYAML::StringOffsetsTable &Table : *DI.DebugStrOffsets) { in emitDebugStrOffsets() 676 if (Table.Length) in emitDebugStrOffsets() 677 Length = *Table.Length; in emitDebugStrOffsets() 681 4 + Table.Offsets.size() * (Table.Format == dwarf::DWARF64 ? 8 : 4); in emitDebugStrOffsets() 683 writeInitialLength(Table.Format, Length, OS, DI.IsLittleEndian); in emitDebugStrOffsets() 684 writeInteger((uint16_t)Table.Version, OS, DI.IsLittleEndian); in emitDebugStrOffsets() 685 writeInteger((uint16_t)Table.Padding, OS, DI.IsLittleEndian); in emitDebugStrOffsets() 687 for (uint64_t Offset : Table.Offsets) in emitDebugStrOffsets() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | PDBStringTableBuilder.cpp | 25 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()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | CostTable.h | 48 CostTableLookup(const CostTblEntryT<CostType> (&Table)[N], int ISD, MVT Ty) { in CostTableLookup() 50 return CostTableLookup<CostType>(Table, ISD, Ty); in CostTableLookup() 81 ConvertCostTableLookup(const TypeConversionCostTblEntryT<CostType> (&Table)[N], in ConvertCostTableLookup() 84 return ConvertCostTableLookup<CostType>(Table, ISD, Dst, Src); in ConvertCostTableLookup()
|
| /openbsd-src/gnu/llvm/clang/lib/Basic/ |
| H A D | Builtins.cpp | 128 void Builtin::Context::initializeBuiltins(IdentifierTable &Table, in initializeBuiltins() argument 133 Table.get(BuiltinInfo[i].Name).setBuiltinID(i); in initializeBuiltins() 139 Table.get(TSRecords[i].Name).setBuiltinID(i + Builtin::FirstTSBuiltin); in initializeBuiltins() 143 Table.get(AuxTSRecords[i].Name) in initializeBuiltins() 149 auto NameIt = Table.find(Name); in initializeBuiltins() 150 if (NameIt != Table.end()) { in initializeBuiltins() 154 Table.get(Name).setBuiltinID(Builtin::NotBuiltin); in initializeBuiltins()
|
| H A D | IdentifierTable.cpp | 253 const LangOptions &LangOpts, IdentifierTable &Table) { in AddKeyword() argument 260 Table.get(Keyword, AddResult == KS_Future ? tok::identifier : TokenCode); in AddKeyword() 269 IdentifierTable &Table) { in AddCXXOperatorKeyword() argument 270 IdentifierInfo &Info = Table.get(Keyword, TokenCode); in AddCXXOperatorKeyword() 278 IdentifierTable &Table) { in AddObjCKeyword() argument 279 Table.get(Name).setObjCKeywordID(ObjCID); in AddObjCKeyword() 746 llvm::FoldingSet<MultiKeywordSelector> Table; member 796 SelTabImpl.Table.FindNodeOrInsertPos(ID, InsertPos)) in getSelector() 806 SelTabImpl.Table.InsertNode(SI, InsertPos); in getSelector()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DebugCheckers.cpp | 260 typedef AnalyzerOptions::ConfigTable Table; typedef in __anon7339f5540a11::ConfigDumper 262 static int compareEntry(const Table::MapEntryTy *const *LHS, in compareEntry() 263 const Table::MapEntryTy *const *RHS) { in compareEntry() 271 const Table &Config = mgr.options.Config; in checkEndOfTranslationUnit() 273 SmallVector<const Table::MapEntryTy *, 32> Keys; in checkEndOfTranslationUnit() 274 for (Table::const_iterator I = Config.begin(), E = Config.end(); I != E; in checkEndOfTranslationUnit()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/DWARFLinker/ |
| H A D | DWARFStreamer.h | 142 void emitDebugNames(AccelTable<DWARF5AccelTableStaticData> &Table) override; 146 AccelTable<AppleAccelTableStaticOffsetData> &Table) override; 150 emitAppleNames(AccelTable<AppleAccelTableStaticOffsetData> &Table) override; 154 emitAppleObjc(AccelTable<AppleAccelTableStaticOffsetData> &Table) override; 158 emitAppleTypes(AccelTable<AppleAccelTableStaticTypeData> &Table) override;
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86InstrFMA3Info.cpp | 159 ArrayRef<X86InstrFMA3Group> Table; in getFMA3Group() local 161 Table = ArrayRef(RoundGroups); in getFMA3Group() 163 Table = ArrayRef(BroadcastGroups); in getFMA3Group() 165 Table = ArrayRef(Groups); in getFMA3Group() 172 auto I = partition_point(Table, [=](const X86InstrFMA3Group &Group) { in getFMA3Group() 175 assert(I != Table.end() && I->Opcodes[FormIndex] == Opcode && in getFMA3Group()
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/bfd/doc/ |
| H A D | hash.texi | 23 * Creating and Freeing a Hash Table:: 25 * Traversing a Hash Table:: 26 * Deriving a New Hash Table Type:: 29 @node Creating and Freeing a Hash Table, Looking Up or Entering a String, Hash Tables, Hash Tables 45 a New Hash Table Type}, for why you would want to use a 62 @node Looking Up or Entering a String, Traversing a Hash Table, Creating and Freeing a Hash Table, … 89 @node Traversing a Hash Table, Deriving a New Hash Table Type, Looking Up or Entering a String, Has… 105 @node Deriving a New Hash Table Type, , Traversing a Hash Table, Hash Tables 131 …, Write the Derived Creation Routine, Deriving a New Hash Table Type, Deriving a New Hash Table Ty… 151 …outine, Write Other Derived Routines, Define the Derived Structures, Deriving a New Hash Table Type [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/bfd/doc/ |
| H A D | hash.texi | 23 * Creating and Freeing a Hash Table:: 25 * Traversing a Hash Table:: 26 * Deriving a New Hash Table Type:: 29 @node Creating and Freeing a Hash Table, Looking Up or Entering a String, Hash Tables, Hash Tables 45 a New Hash Table Type}, for why you would want to use a 58 @node Looking Up or Entering a String, Traversing a Hash Table, Creating and Freeing a Hash Table, … 85 @node Traversing a Hash Table, Deriving a New Hash Table Type, Looking Up or Entering a String, Has… 101 @node Deriving a New Hash Table Type, , Traversing a Hash Table, Hash Tables 127 …, Write the Derived Creation Routine, Deriving a New Hash Table Type, Deriving a New Hash Table Ty… 147 …outine, Write Other Derived Routines, Define the Derived Structures, Deriving a New Hash Table Type [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/ |
| H A D | PDBContext.cpp | 81 DILineInfoTable Table; in getLineInfoForAddressRange() local 84 return Table; in getLineInfoForAddressRange() 89 Table.push_back(std::make_pair(LineInfo->getVirtualAddress(), LineEntry)); in getLineInfoForAddressRange() 91 return Table; in getLineInfoForAddressRange()
|
| /openbsd-src/gnu/llvm/llvm/lib/Object/ |
| H A D | WindowsResource.cpp | 390 const coff_resource_dir_table &Table, in addChildren() argument 395 for (int i = 0; i < Table.NumberOfNameEntries + Table.NumberOfIDEntries; in addChildren() 397 UNWRAP_REF_OR_RETURN(Entry, RSR.getTableEntry(Table, i)); in addChildren() 403 if (i < Table.NumberOfNameEntries) { in addChildren() 422 if (Table.NumberOfNameEntries > 0) in addChildren() 430 bool Added = Node.addDataChild(Entry.Identifier.ID, Table.MajorVersion, in addChildren() 431 Table.MinorVersion, Table.Characteristics, in addChildren() 884 auto *Table = reinterpret_cast<coff_resource_dir_table *>(BufferStart + in writeDirectoryTree() local 886 Table->Characteristics = CurrentNode->getCharacteristics(); in writeDirectoryTree() 887 Table->TimeDateStamp = 0; in writeDirectoryTree() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/DWARFLinker/ |
| H A D | DWARFStreamer.cpp | 249 AccelTable<DWARF5AccelTableStaticData> &Table) { in emitDebugNames() argument 265 Asm.get(), Table, CompUnits, in emitDebugNames() 272 AccelTable<AppleAccelTableStaticOffsetData> &Table) { in emitAppleNamespaces() argument 276 emitAppleAccelTable(Asm.get(), Table, "namespac", SectionBegin); in emitAppleNamespaces() 280 AccelTable<AppleAccelTableStaticOffsetData> &Table) { in emitAppleNames() argument 284 emitAppleAccelTable(Asm.get(), Table, "names", SectionBegin); in emitAppleNames() 288 AccelTable<AppleAccelTableStaticOffsetData> &Table) { in emitAppleObjc() argument 292 emitAppleAccelTable(Asm.get(), Table, "objc", SectionBegin); in emitAppleObjc() 296 AccelTable<AppleAccelTableStaticTypeData> &Table) { in emitAppleTypes() argument 300 emitAppleAccelTable(Asm.get(), Table, "types", SectionBegin); in emitAppleTypes() [all …]
|