Searched refs:getKeyLength (Results 1 – 10 of 10) sorted by relevance
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | StringMapEntry.h | 32 size_t getKeyLength() const { return keyLength; } in getKeyLength() function 106 return StringRef(getKeyData(), this->getKeyLength()); in getKey() 117 return StringRef(getKeyData(), this->getKeyLength()); in first() 141 size_t AllocSize = sizeof(StringMapEntry) + this->getKeyLength() + 1; in Destroy()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | StringMap.cpp | 121 if (Name == StringRef(ItemStr, BucketItem->getKeyLength())) { in LookupBucketFor() 164 if (Key == StringRef(ItemStr, BucketItem->getKeyLength())) { in FindKey() 183 StringMapEntryBase *V2 = RemoveKey(StringRef(VStr, V->getKeyLength())); in RemoveKey()
|
| /llvm-project-15.0.7/llvm/lib/Target/ |
| H A D | TargetIntrinsicInfo.cpp | 26 return lookupName(ValName->getKeyData(), ValName->getKeyLength()); in getIntrinsicID()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfStringPool.cpp | 107 StringRef(Entry->getKeyData(), Entry->getKeyLength() + 1)); in emit()
|
| H A D | DwarfDebug.cpp | 2490 Asm->OutStreamer->emitBytes(StringRef(Name, GI.getKeyLength() + 1)); in emitDebugPubSection()
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | StringMapTest.cpp | 613 EXPECT_EQ(LargeValue, LargeBase.getKeyLength()); in TEST() 619 EXPECT_EQ(LargeValue, LargerBase.getKeyLength()); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | DbiStreamBuilder.cpp | 175 Size += F.getKeyLength() + 1; // Names[I]; in calculateNamesBufferSize()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | IdentifierTable.h | 192 unsigned getLength() const { return Entry->getKeyLength(); } in alignas()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | IdentifierTable.cpp | 393 unsigned IdLen = I->getKeyLength(); in PrintStats()
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILBitcodeWriter.cpp | 2594 for (const char *C = Name.getKeyData(), *E = C + Name.getKeyLength(); in writeFunctionLevelValueSymbolTable() 2623 *E = Name.getKeyData() + Name.getKeyLength(); in writeFunctionLevelValueSymbolTable()
|