Home
last modified time | relevance | path

Searched refs:NumBlocks (Results 1 – 25 of 60) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/MSF/
DMSFCommonTest.cpp34 SB.NumBlocks = 12; in TEST()
36 SB.NumBlocks = SB.BlockSize; in TEST()
38 SB.NumBlocks = SB.BlockSize + 1; in TEST()
40 SB.NumBlocks = SB.BlockSize * 8; in TEST()
42 SB.NumBlocks = SB.BlockSize * 8 + 1; in TEST()
45 SB.NumBlocks = 12; in TEST()
47 SB.NumBlocks = SB.BlockSize; in TEST()
49 SB.NumBlocks = SB.BlockSize * 8; in TEST()
105 SB.NumBlocks = 8000; in TEST()
117 SB.NumBlocks = SB.BlockSize * 8 + 1; in TEST()
[all …]
DMSFBuilderTest.cpp27 SB.NumBlocks = 1000; in initializeSimpleSuperBlock()
39 SB.NumBlocks = 2; // one for the Super Block, one for the directory in initializeSuperBlock()
89 uint32_t NumBlocks = msf::getMinimumBlockCount() + Blocks.size() + 10; in TEST_F() local
90 auto ExpectedMsf = MSFBuilder::create(Allocator, 4096, NumBlocks); in TEST_F()
102 for (uint32_t I = FreeBlockStart; I < NumBlocks; ++I) { in TEST_F()
296 EXPECT_EQ(ExpectedNumBlocks, L.SB->NumBlocks); in TEST_F()
322 EXPECT_EQ(msf::getMinimumBlockCount() + 2, L.SB->NumBlocks); in TEST_F()
/external/ltp/testcases/kernel/io/writetest/
Dwritetest.c55 off_t NumBlocks = 1; variable
193 NumBlocks = strtoul(optarg, NULL, 0); in parse_args()
232 tst_resm(TINFO, "Blocks: %lld\n", (long long int)NumBlocks); in main()
237 (long long int)NumBlocks, BLOCKSIZE, Filename); in main()
239 rv = write_file(NumBlocks, Filename); in main()
247 (long long int)NumBlocks, Filename); in main()
249 rv = verify_file(NumBlocks, Filename); in main()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/MSF/
DMSFCommon.h43 support::ulittle32_t NumBlocks; member
133 inline uint32_t getNumFpmIntervals(uint32_t BlockSize, uint32_t NumBlocks, in getNumFpmIntervals() argument
141 return divideCeil(NumBlocks - FpmNumber, BlockSize); in getNumFpmIntervals()
146 return divideCeil(NumBlocks, 8 * BlockSize); in getNumFpmIntervals()
152 return getNumFpmIntervals(L.SB->BlockSize, L.SB->NumBlocks,
/external/scudo/standalone/tests/
Dquarantine_test.cpp126 const scudo::uptr NumBlocks = scudo::QuarantineBatch::MaxCount - 1; in TEST() local
133 for (scudo::uptr I = 0; I < NumBlocks; ++I) { in TEST()
138 EXPECT_EQ(BlockSize * NumBlocks * 2 + sizeof(scudo::QuarantineBatch) * 2, in TEST()
146 EXPECT_EQ(BlockSize * NumBlocks * 2 + sizeof(scudo::QuarantineBatch) * 2, in TEST()
155 const scudo::uptr NumBlocks = in TEST() local
157 const scudo::uptr NumBatchesBeforeMerge = NumBlocks; in TEST()
162 for (scudo::uptr I = 0; I < NumBlocks; ++I) { in TEST()
169 EXPECT_EQ(BlockSize * NumBlocks + in TEST()
178 EXPECT_EQ(BlockSize * NumBlocks + in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/MSF/
DMSFBuilder.cpp102 Error MSFBuilder::allocateBlocks(uint32_t NumBlocks, in allocateBlocks() argument
104 if (NumBlocks == 0) in allocateBlocks()
108 if (NumFreeBlocks < NumBlocks) { in allocateBlocks()
112 uint32_t AllocBlocks = NumBlocks - NumFreeBlocks; in allocateBlocks()
141 } while (--NumBlocks > 0); in allocateBlocks()
285 SB->NumBlocks = FreeBlocks.size(); in generateLayout()
325 while (BI < Layout.SB->NumBlocks) { in commitFpm()
329 (BI < Layout.SB->NumBlocks) ? Layout.FreePageMap.test(BI) : true; in commitFpm()
347 uint64_t FileSize = Layout.SB->BlockSize * Layout.SB->NumBlocks; in commit()
DMSFCommon.cpp51 if (SB.BlockMapAddr >= SB.NumBlocks) in validateSuperBlock()
80 FL.Length = divideCeil(Msf.SB->NumBlocks, 8); in getFpmStreamLayout()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyExceptionInfo.cpp100 unsigned NumBlocks = 0; in discoverAndMapException() local
128 NumBlocks += SubE->getBlocksVector().capacity(); in discoverAndMapException()
141 ++NumBlocks; in discoverAndMapException()
150 WE->reserveBlocks(NumBlocks); in discoverAndMapException()
/external/clang/include/clang/Analysis/Analyses/
DConsumed.h210 ConsumedBlockInfo(unsigned int NumBlocks, PostOrderCFGView *SortedGraph) in ConsumedBlockInfo() argument
211 : StateMapsArray(NumBlocks), VisitOrder(NumBlocks, 0) { in ConsumedBlockInfo()
/external/llvm/lib/Target/SystemZ/
DSystemZLongBranch.cpp266 unsigned NumBlocks = MF->size(); in initMBBInfo() local
269 MBBs.resize(NumBlocks); in initMBBInfo()
272 Terminators.reserve(NumBlocks); in initMBBInfo()
275 for (unsigned I = 0; I < NumBlocks; ++I) { in initMBBInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZLongBranch.cpp271 unsigned NumBlocks = MF->size(); in initMBBInfo() local
274 MBBs.resize(NumBlocks); in initMBBInfo()
277 Terminators.reserve(NumBlocks); in initMBBInfo()
280 for (unsigned I = 0; I < NumBlocks; ++I) { in initMBBInfo()
/external/clang/lib/StaticAnalyzer/Checkers/
DAnalyzerStatsChecker.cpp29 STATISTIC(NumBlocks,
106 NumBlocks += total; in checkEndAnalysis()
/external/clang/lib/Analysis/
DThreadSafetyTIL.cpp313 int NumBlocks = Exit->topologicalFinalSort(Blocks, 0); in computeNormalForm() local
314 assert(static_cast<size_t>(NumBlocks) == Blocks.size()); in computeNormalForm()
315 (void) NumBlocks; in computeNormalForm()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DLegalizer.cpp82 const size_t NumBlocks = MF.size(); in runOnMachineFunction() local
177 if (MF.size() != NumBlocks) { in runOnMachineFunction()
DInstructionSelect.cpp96 const size_t NumBlocks = MF.size(); in runOnMachineFunction() local
211 if (MF.size() != NumBlocks) { in runOnMachineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Windows/
DMemory.inc90 const size_t NumBlocks = (NumBytes+Granularity-1)/Granularity;
104 NumBlocks*Granularity,
117 Result.Size = NumBlocks*Granularity;
/external/llvm/lib/DebugInfo/PDB/Raw/
DPDBFileBuilder.cpp77 uint32_t NumBlocks = File->bytesToBlocks(Size, File->getBlockSize()); in generateSimpleStreamMap() local
79 for (uint32_t I = 0; I < NumBlocks;) { in generateSimpleStreamMap()
/external/llvm/lib/ProfileData/
DSampleProfReader.cpp434 auto NumBlocks = readNumber<uint64_t>(); in readSummaryEntry() local
435 if (std::error_code EC = NumBlocks.getError()) in readSummaryEntry()
438 Entries.emplace_back(*Cutoff, *MinBlockCount, *NumBlocks); in readSummaryEntry()
455 auto NumBlocks = readNumber<uint64_t>(); in readSummary() local
456 if (std::error_code EC = NumBlocks.getError()) in readSummary()
475 *MaxFunctionCount, *NumBlocks, *NumFunctions); in readSummary()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DCodeMetrics.h66 unsigned NumBlocks = false; member
/external/llvm/include/llvm/Analysis/
DCodeMetrics.h66 unsigned NumBlocks = false; member
DLoopInfoImpl.h351 unsigned NumBlocks = 0; in discoverAndMapSubloop() local
367 ++NumBlocks; in discoverAndMapSubloop()
387 NumBlocks += Subloop->getBlocks().capacity(); in discoverAndMapSubloop()
402 L->reserveBlocks(NumBlocks); in discoverAndMapSubloop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/
DSampleProfReader.cpp527 auto NumBlocks = readNumber<uint64_t>(); in readSummaryEntry() local
528 if (std::error_code EC = NumBlocks.getError()) in readSummaryEntry()
531 Entries.emplace_back(*Cutoff, *MinBlockCount, *NumBlocks); in readSummaryEntry()
548 auto NumBlocks = readNumber<uint64_t>(); in readSummary() local
549 if (std::error_code EC = NumBlocks.getError()) in readSummary()
568 *MaxFunctionCount, *NumBlocks, *NumFunctions); in readSummary()
/external/llvm/lib/Support/Windows/
DMemory.inc90 const size_t NumBlocks = (NumBytes+Granularity-1)/Granularity;
104 NumBlocks*Granularity,
117 Result.Size = NumBlocks*Granularity;
/external/tensorflow/tensorflow/lite/experimental/ruy/
Dblock_map.h153 inline int NumBlocks(const BlockMap& block_map) { in NumBlocks() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DGVNSink.cpp196 unsigned NumBlocks; member
205 unsigned SplitEdgeCost = (NumOrigBlocks > NumBlocks) ? 2 : 0; in calculateCost()
206 Cost = (NumInstructions * (NumBlocks - 1)) - in calculateCost()
219 OS << "<Candidate Cost=" << C.Cost << " #Blocks=" << C.NumBlocks in operator <<()
744 Cand.NumBlocks = ActivePreds.size(); in analyzeInstructionForSinking()

123