Home
last modified time | relevance | path

Searched refs:NumStrings (Results 1 – 17 of 17) sorted by relevance

/external/libcxx/benchmarks/
Dstring.bench.cpp153 static constexpr size_t NumStrings = 1024; in StringCopyAndDestroy() local
155 std::aligned_storage<sizeof(std::string)>::type Storage[NumStrings]; in StringCopyAndDestroy()
157 while (state.KeepRunningBatch(NumStrings)) { in StringCopyAndDestroy()
160 for (size_t I = 0; I < NumStrings; ++I) { in StringCopyAndDestroy()
167 for (size_t I = 0; I < NumStrings; ++I) { in StringCopyAndDestroy()
277 static constexpr size_t NumStrings = in run() local
281 static_assert((NumStrings & (NumStrings - 1)) == 0, in run()
284 std::vector<std::string> Values(NumStrings, makeString(Length())); in run()
289 I = (I + 17) % NumStrings; in run()
/external/llvm-project/libcxx/benchmarks/
Dstring.bench.cpp172 static constexpr size_t NumStrings = 1024; in StringCopyAndDestroy() local
174 std::aligned_storage<sizeof(std::string)>::type Storage[NumStrings]; in StringCopyAndDestroy()
176 while (state.KeepRunningBatch(NumStrings)) { in StringCopyAndDestroy()
179 for (size_t I = 0; I < NumStrings; ++I) { in StringCopyAndDestroy()
186 for (size_t I = 0; I < NumStrings; ++I) { in StringCopyAndDestroy()
495 static constexpr size_t NumStrings = in run() local
499 static_assert((NumStrings & (NumStrings - 1)) == 0, in run()
502 std::vector<std::string> Values(NumStrings, makeString(Length())); in run()
507 I = (I + 17) % NumStrings; in run()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DPDBStringTableBuilder.cpp58 static uint32_t computeBucketCount(uint32_t NumStrings) { in computeBucketCount() argument
127 auto Entry = StringsToBuckets.lower_bound(NumStrings); in computeBucketCount()
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/
DPDBStringTableBuilder.cpp58 static uint32_t computeBucketCount(uint32_t NumStrings) { in computeBucketCount() argument
127 auto Entry = StringsToBuckets.lower_bound(NumStrings); in computeBucketCount()
/external/llvm/lib/Target/
DTargetRecip.cpp43 unsigned NumStrings = llvm::array_lengthof(RecipOps); in TargetRecip() local
44 for (unsigned i = 0; i < NumStrings; ++i) in TargetRecip()
/external/llvm/tools/llvm-bcanalyzer/
Dllvm-bcanalyzer.cpp431 unsigned NumStrings = Record[0]; in decodeMetadataStringsBlob() local
433 outs() << " num-strings = " << NumStrings << " {\n"; in decodeMetadataStringsBlob()
456 } while (--NumStrings); in decodeMetadataStringsBlob()
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.h96 unsigned NumStrings = 0; member
DValueEnumerator.cpp758 ++R.NumStrings; in organizeMetadata()
768 NumMDStrings = R.NumStrings; in incorporateFunctionMetadata()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/
DValueEnumerator.h100 unsigned NumStrings = 0; member
DValueEnumerator.cpp789 ++R.NumStrings; in organizeMetadata()
799 NumMDStrings = R.NumStrings; in incorporateFunctionMetadata()
/external/llvm-project/llvm/lib/Bitcode/Writer/
DValueEnumerator.h98 unsigned NumStrings = 0; member
DValueEnumerator.cpp832 ++R.NumStrings; in organizeMetadata()
842 NumMDStrings = R.NumStrings; in incorporateFunctionMetadata()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeAnalyzer.cpp512 unsigned NumStrings = Record[0]; in decodeMetadataStringsBlob() local
514 OS << " num-strings = " << NumStrings << " {\n"; in decodeMetadataStringsBlob()
534 } while (--NumStrings); in decodeMetadataStringsBlob()
DMetadataLoader.cpp722 unsigned NumStrings = Record[0]; in lazyLoadModuleMetadataBlock() local
723 MDStringRef.reserve(NumStrings); in lazyLoadModuleMetadataBlock()
1932 unsigned NumStrings = Record[0]; in parseMetadataStrings() local
1934 if (!NumStrings) in parseMetadataStrings()
1956 } while (--NumStrings); in parseMetadataStrings()
/external/llvm-project/llvm/lib/Bitcode/Reader/
DBitcodeAnalyzer.cpp519 unsigned NumStrings = Record[0]; in decodeMetadataStringsBlob() local
521 OS << " num-strings = " << NumStrings << " {\n"; in decodeMetadataStringsBlob()
541 } while (--NumStrings); in decodeMetadataStringsBlob()
DMetadataLoader.cpp735 unsigned NumStrings = Record[0]; in lazyLoadModuleMetadataBlock() local
736 MDStringRef.reserve(NumStrings); in lazyLoadModuleMetadataBlock()
2092 unsigned NumStrings = Record[0]; in parseMetadataStrings() local
2094 if (!NumStrings) in parseMetadataStrings()
2116 } while (--NumStrings); in parseMetadataStrings()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2044 unsigned NumStrings = Record[0]; in parseMetadataStrings() local
2046 if (!NumStrings) in parseMetadataStrings()
2071 } while (--NumStrings); in parseMetadataStrings()