Home
last modified time | relevance | path

Searched refs:NumBlocks (Results 1 – 25 of 58) 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/swiftshader/third_party/LLVM/lib/Analysis/
DInlineCost.cpp58 ++NumBlocks; in analyzeBasicBlock()
285 if (CalleeFI->Metrics.NumBlocks == 0) in getSpecializationBonus()
375 if (CalleeFI->Metrics.NumBlocks == 0) in getInlineSize()
428 if (CalleeFI->Metrics.NumBlocks == 0) in getInlineBonuses()
496 if (CalleeFI->Metrics.NumBlocks == 0) in getInlineCost()
515 if (CallerFI.Metrics.NumBlocks == 0) { in getInlineCost()
554 if (CalleeFI->Metrics.NumBlocks == 0) in getSpecializationCost()
580 if (CalleeFI.Metrics.NumBlocks == 0) in getInlineFudgeFactor()
585 if (CalleeFI.Metrics.NumBlocks == 1) in getInlineFudgeFactor()
604 if (CallerMetrics.NumBlocks < 10 && CallerMetrics.NumInsts < 1000) { in growCachedCostInfo()
[all …]
/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/swiftshader/third_party/LLVM/include/llvm/Analysis/
DCodeMetrics.h45 unsigned NumInsts, NumBlocks; member
68 NumInsts(0), NumBlocks(0), NumCalls(0), in CodeMetrics()
/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/Support/Windows/
DMemory.inc90 const size_t NumBlocks = (NumBytes+Granularity-1)/Granularity;
104 NumBlocks*Granularity,
117 Result.Size = NumBlocks*Granularity;
/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/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/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/include/llvm/Analysis/
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()
DCodeMetrics.h66 unsigned NumBlocks = false; member
/external/llvm/lib/Support/Windows/
DMemory.inc90 const size_t NumBlocks = (NumBytes+Granularity-1)/Granularity;
104 NumBlocks*Granularity,
117 Result.Size = NumBlocks*Granularity;
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DCodeMetrics.h66 unsigned NumBlocks = false; member

123