| /llvm-project-15.0.7/llvm/unittests/DebugInfo/MSF/ |
| H A D | MSFCommonTest.cpp | 33 SB.NumBlocks = 12; in TEST() 35 SB.NumBlocks = SB.BlockSize; in TEST() 37 SB.NumBlocks = SB.BlockSize + 1; in TEST() 39 SB.NumBlocks = SB.BlockSize * 8; in TEST() 41 SB.NumBlocks = SB.BlockSize * 8 + 1; in TEST() 44 SB.NumBlocks = 12; in TEST() 46 SB.NumBlocks = SB.BlockSize; in TEST() 48 SB.NumBlocks = SB.BlockSize * 8; in TEST() 104 SB.NumBlocks = 8000; in TEST() 116 SB.NumBlocks = SB.BlockSize * 8 + 1; in TEST() [all …]
|
| H A D | MSFBuilderTest.cpp | 26 SB.NumBlocks = 1000; in initializeSimpleSuperBlock() 38 SB.NumBlocks = 2; // one for the Super Block, one for the directory in initializeSuperBlock() 88 uint32_t NumBlocks = msf::getMinimumBlockCount() + Blocks.size() + 10; in TEST_F() local 89 auto ExpectedMsf = MSFBuilder::create(Allocator, 4096, NumBlocks); in TEST_F() 101 for (uint32_t I = FreeBlockStart; I < NumBlocks; ++I) { in TEST_F() 295 EXPECT_EQ(ExpectedNumBlocks, L.SB->NumBlocks); in TEST_F() 321 EXPECT_EQ(msf::getMinimumBlockCount() + 2, L.SB->NumBlocks); in TEST_F()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/MSF/ |
| H A D | MSFCommon.h | 42 support::ulittle32_t NumBlocks; member 155 inline uint32_t getNumFpmIntervals(uint32_t BlockSize, uint32_t NumBlocks, in getNumFpmIntervals() argument 163 return divideCeil(NumBlocks - FpmNumber, BlockSize); in getNumFpmIntervals() 168 return divideCeil(NumBlocks, 8 * BlockSize); in getNumFpmIntervals() 174 return getNumFpmIntervals(L.SB->BlockSize, L.SB->NumBlocks,
|
| H A D | MSFBuilder.h | 125 Error allocateBlocks(uint32_t NumBlocks, MutableArrayRef<uint32_t> Blocks);
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | quarantine_test.cpp | 126 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()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SampleProfileInference.cpp | 613 for (uint64_t I = 0; I < NumBlocks(); I++) { in joinIsolatedComponents() 750 return BaseDistance * NumBlocks(); in jumpDistance() 1037 uint64_t NumBlocks = Func.Blocks.size(); in initializeNetwork() local 1048 uint64_t S = 3 * NumBlocks; in initializeNetwork() 1053 Network.initialize(3 * NumBlocks + 4, S1, T1); in initializeNetwork() 1056 for (uint64_t B = 0; B < NumBlocks; B++) { in initializeNetwork() 1133 uint64_t NumBlocks = Func.Blocks.size(); in extractWeights() local 1176 const uint64_t NumBlocks = Func.Blocks.size(); in verifyWeights() local 1186 for (uint64_t I = 0; I < NumBlocks; I++) { in verifyWeights() 1213 auto Visited = BitVector(NumBlocks, false); in verifyWeights() [all …]
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/MSF/ |
| H A D | MSFBuilder.cpp | 102 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() 283 SB->NumBlocks = FreeBlocks.size(); in generateLayout() 323 while (BI < Layout.SB->NumBlocks) { in commitFpm() 327 (BI < Layout.SB->NumBlocks) ? Layout.FreePageMap.test(BI) : true; in commitFpm() 345 uint64_t FileSize = uint64_t(Layout.SB->BlockSize) * Layout.SB->NumBlocks; in commit()
|
| H A D | MSFCommon.cpp | 50 if (SB.BlockMapAddr >= SB.NumBlocks) in validateSuperBlock() 79 FL.Length = divideCeil(Msf.SB->NumBlocks, 8); in getFpmStreamLayout()
|
| /llvm-project-15.0.7/bolt/include/bolt/Passes/ |
| H A D | StokeInfo.h | 44 uint64_t NumBlocks; member 63 Offset = Size = NumInstrs = NumBlocks = 0; in reset() 87 << "," << NumBlocks << "," << IsLoopFree << "," << NumLoops << "," in printData()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | CFIFixup.cpp | 104 const unsigned NumBlocks = MF.getNumBlockIDs(); in runOnMachineFunction() local 105 if (NumBlocks < 2) in runOnMachineFunction() 114 SmallVector<BlockFlags, 32> BlockInfo(NumBlocks, {false, false, false, false}); in runOnMachineFunction()
|
| H A D | LiveRangeCalc.cpp | 42 unsigned NumBlocks = MF->getNumBlockIDs(); in resetLiveOutMap() local 44 Seen.resize(NumBlocks); in resetLiveOutMap() 46 Map.resize(NumBlocks); in resetLiveOutMap()
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/Analyses/ |
| H A D | Consumed.h | 213 ConsumedBlockInfo(unsigned int NumBlocks, PostOrderCFGView *SortedGraph) in ConsumedBlockInfo() argument 214 : StateMapsArray(NumBlocks), VisitOrder(NumBlocks, 0) { in ConsumedBlockInfo()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyExceptionInfo.cpp | 283 unsigned NumBlocks = 0; in discoverAndMapException() local 301 NumBlocks += SubE->getBlocksVector().capacity(); in discoverAndMapException() 314 ++NumBlocks; in discoverAndMapException() 323 WE->reserveBlocks(NumBlocks); in discoverAndMapException()
|
| /llvm-project-15.0.7/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerDataFlowTrace.cpp | 64 uint32_t NumBlocks = CoveredBlocks.back(); in AppendCoverage() local 67 if (BB >= NumBlocks) return false; in AppendCoverage() 71 ? Functions.insert({FunctionId, std::vector<uint32_t>(NumBlocks)}) in AppendCoverage() 75 if (Counters.size() != NumBlocks) return false; // wrong number of blocks. in AppendCoverage()
|
| /llvm-project-15.0.7/bolt/lib/Passes/ |
| H A D | CacheMetrics.cpp | 254 size_t NumBlocks = 0; in printAll() local 269 NumBlocks++; in printAll() 287 outs() << format(" There are %zu basic blocks;", NumBlocks) in printAll() 289 100.0 * NumHotBlocks / NumBlocks); in printAll()
|
| /llvm-project-15.0.7/llvm/test/tools/yaml2obj/ELF/ |
| H A D | bb-addr-map.yaml | 50 # Case 6: Override the NumBlocks field. 106 ## 6) We can override the NumBlocks field with a value different from the 113 NumBlocks: 2
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZLongBranch.cpp | 286 unsigned NumBlocks = MF->size(); in initMBBInfo() local 289 MBBs.resize(NumBlocks); in initMBBInfo() 292 Terminators.reserve(NumBlocks); in initMBBInfo() 295 for (unsigned I = 0; I < NumBlocks; ++I) { in initMBBInfo()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | AnalyzerStatsChecker.cpp | 28 STATISTIC(NumBlocks, 104 NumBlocks += total; in checkEndAnalysis()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ThreadSafetyTIL.cpp | 309 unsigned NumBlocks = Exit->topologicalFinalSort(Blocks, 0); in computeNormalForm() local 310 assert(static_cast<size_t>(NumBlocks) == Blocks.size()); in computeNormalForm() 311 (void) NumBlocks; in computeNormalForm()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | CodeMetrics.h | 55 unsigned NumBlocks = false; member
|
| H A D | LoopInfoImpl.h | 431 unsigned NumBlocks = 0; in discoverAndMapSubloop() local 447 ++NumBlocks; in discoverAndMapSubloop() 465 NumBlocks += Subloop->getBlocksVector().capacity(); in discoverAndMapSubloop() 478 L->reserveBlocks(NumBlocks); in discoverAndMapSubloop()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | GVNSink.cpp | 193 unsigned NumBlocks; member 202 unsigned SplitEdgeCost = (NumOrigBlocks > NumBlocks) ? 2 : 0; in calculateCost() 203 Cost = (NumInstructions * (NumBlocks - 1)) - in calculateCost() 216 OS << "<Candidate Cost=" << C.Cost << " #Blocks=" << C.NumBlocks in operator <<() 760 Cand.NumBlocks = ActivePreds.size(); in analyzeInstructionForSinking()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | InstructionSelect.cpp | 128 const size_t NumBlocks = MF.size(); in runOnMachineFunction() local 280 if (MF.size() != NumBlocks) { in runOnMachineFunction()
|
| H A D | Legalizer.cpp | 315 const size_t NumBlocks = MF.size(); in runOnMachineFunction() local 350 if (MF.size() != NumBlocks) { in runOnMachineFunction()
|
| /llvm-project-15.0.7/llvm/test/tools/obj2yaml/ELF/ |
| H A D | bb-addr-map.yaml | 64 NumBlocks: [[NUMBLOCKS=<none>]] 148 ## when an invalid 'NumBlocks' field is specified.
|