/llvm-project/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/llvm/include/llvm/DebugInfo/MSF/ |
H A D | MSFCommon.h | 40 // practice, NumBlocks * BlockSize is equivalent to the size of the MSF 42 support::ulittle32_t NumBlocks; member 146 /// \p NumBlocks - the total number of blocks in the MSF 155 inline uint32_t getNumFpmIntervals(uint32_t BlockSize, uint32_t NumBlocks, in getNumFpmIntervals() argument 160 // BlockSize * k + N appears in the range [0, NumBlocks). We only need to in getNumFpmIntervals() 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,
|
/llvm-project/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/llvm/lib/Transforms/Utils/ |
H A D | SampleProfileInference.cpp | 621 auto Visited = BitVector(NumBlocks(), false); in joinIsolatedComponents() 625 for (uint64_t I = 0; I < NumBlocks(); I++) { in joinIsolatedComponents() 691 auto Distance = std::vector<int64_t>(NumBlocks(), INF); in findShortestPath() 692 auto Parent = std::vector<FlowJump *>(NumBlocks(), nullptr); in findShortestPath() 721 for (uint64_t I = 0; I < NumBlocks(); I++) { in findShortestPath() 759 Params.CostUnlikely / (2 * (NumBlocks() + 1)))); in jumpDistance() 762 return 2 * BaseDistance * (NumBlocks() + 1); in jumpDistance() 765 uint64_t NumBlocks() const { return Func.Blocks.size(); } in NumBlocks() function in __anon36fa3ec30111::FlowAdjuster 828 auto Visited = BitVector(NumBlocks(), false); in findUnknownSubgraph() 926 auto LocalInDegree = std::vector<uint64_t>(NumBlocks(), 0); in isAcyclicSubgraph() [all …]
|
/llvm-project/llvm/lib/DebugInfo/MSF/ |
H A D | MSFBuilder.cpp | 103 Error MSFBuilder::allocateBlocks(uint32_t NumBlocks, in allocateBlocks() argument 105 if (NumBlocks == 0) in allocateBlocks() 109 if (NumFreeBlocks < NumBlocks) { in allocateBlocks() 113 uint32_t AllocBlocks = NumBlocks - NumFreeBlocks; in allocateBlocks() 142 } while (--NumBlocks > 0); in allocateBlocks() 286 SB->NumBlocks = FreeBlocks.size(); in generateLayout() 326 while (BI < Layout.SB->NumBlocks) { in commitFpm() 330 (BI < Layout.SB->NumBlocks) ? Layout.FreePageMap.test(BI) : true; in commitFpm() 350 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/bolt/include/bolt/Passes/ |
H A D | StokeInfo.h | 44 uint64_t NumBlocks; member 63 Offset = Size = NumInstrs = NumBlocks = 0; in reset() 74 Outfile << "FuncName,Offset,Size,NumInstrs,NumBlocks," in printCsvHeader() 87 << "," << NumBlocks << "," << IsLoopFree << "," << NumLoops << "," in printData()
|
/llvm-project/offload/DeviceRTL/src/ |
H A D | Workshare.cpp | 700 Ty NumBlocks, Ty BId, Ty NumThreads, in NormalizedLoopNestNoChunk() argument 703 Ty KernelIteration = NumBlocks * NumThreads; in NormalizedLoopNestNoChunk() 730 Ty BlockChunk, Ty NumBlocks, Ty BId, in NormalizedLoopNestChunked() argument 734 Ty KernelIteration = NumBlocks * BlockChunk; in NormalizedLoopNestChunked() 785 Ty NumBlocks = 1; in For() local 801 NormalizedLoopNestChunked(LoopBody, Arg, BlockChunk, NumBlocks, BId, in For() 805 NormalizedLoopNestNoChunk(LoopBody, Arg, NumBlocks, BId, NumThreads, TId, in For() 827 Ty NumBlocks = mapping::getNumberOfBlocksInKernel(); in Distribute() local 838 ASSERT(NumBlocks >= NumIters, "Broken assumption"); in Distribute() 843 NormalizedLoopNestChunked(LoopBody, Arg, BlockChunk, NumBlocks, BI in Distribute() 874 Ty NumBlocks = mapping::getNumberOfBlocksInKernel(); DistributeFor() local [all...] |
/llvm-project/llvm/test/tools/yaml2obj/ELF/ |
H A D | bb-addr-map.yaml | 50 # Case 6: Override the NumBlocks field. 125 ## 6) We can override the NumBlocks field with a value different from the 133 NumBlocks: 2
|
H A D | bb-addr-map-pgo-analysis-map.yaml | 60 NumBlocks: 2
|
/llvm-project/llvm/test/tools/obj2yaml/ELF/ |
H A D | bb-addr-map.yaml | 75 NumBlocks: [[NUMBLOCKS=<none>]] 165 ## when an invalid 'NumBlocks' or 'NumBBRanges` field is specified.
|
/llvm-project/mlir/include/mlir/IR/ |
H A D | OpBase.td | 207 class SizedRegion<int numBlocks> : Region< 208 CPred<"::llvm::hasNItems($_self, " # numBlocks # ")">, 209 "region with " # numBlocks # " blocks"> { 210 int blocks = numBlocks; 214 class MinSizedRegion<int numBlocks> : Region< 215 CPred<"::llvm::hasNItemsOrMore($_self, " # numBlocks # ")">, 216 "region with at least " # numBlocks # " blocks">; 219 class MaxSizedRegion<int numBlocks> : Region< 220 CPred<"::llvm::hasNItemsOrLess($_self, " # numBlocks # ")">, 221 "region with at most " # numBlocks # " block [all...] |
/llvm-project/bolt/lib/Passes/ |
H A D | CacheMetrics.cpp | 221 size_t NumBlocks = 0; in printAll() local 236 NumBlocks++; in printAll() 254 OS << format(" There are %zu basic blocks;", NumBlocks) in printAll() 256 100.0 * NumHotBlocks / NumBlocks); in printAll()
|
H A D | SplitFunctions.cpp | 619 const DiffT NumBlocks = End - Start; in fragment() local 620 assert(NumBlocks > 0 && "Cannot fragment empty function"); in fragment() 623 const auto LastSplitPoint = std::max<DiffT>(NumBlocks - 1, 1); in fragment() 631 NumBlocks - SplitPoint, End - Start)); in fragment() 646 const DiffT NumBlocks = End - Start; in fragment() local 647 assert(NumBlocks > 0 && "Cannot fragment empty function"); in fragment() 650 const DiffT MaximumSplits = NumBlocks - 1; in fragment() 668 Lottery.push_back(NumBlocks); in fragment()
|
/llvm-project/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/clang/include/clang/Analysis/Analyses/ |
H A D | Consumed.h | 217 ConsumedBlockInfo(unsigned int NumBlocks, PostOrderCFGView *SortedGraph) in ConsumedBlockInfo() argument 218 : StateMapsArray(NumBlocks), VisitOrder(NumBlocks, 0) { in ConsumedBlockInfo()
|
/llvm-project/llvm/docs/PDB/ |
H A D | MsfFile.rst | 59 ulittle32_t NumBlocks; 76 - **NumBlocks** - The total number of blocks in the file. ``NumBlocks *
|
/llvm-project/llvm/lib/CodeGen/ |
H A D | CFIFixup.cpp | 189 const unsigned NumBlocks = MF.getNumBlockIDs(); in runOnMachineFunction() 190 if (NumBlocks < 2) in runOnMachineFunction() 206 SmallVector<BlockFlags, 32> BlockInfo(NumBlocks, in runOnMachineFunction() 124 const unsigned NumBlocks = MF.getNumBlockIDs(); runOnMachineFunction() local
|
/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyExceptionInfo.cpp | 285 unsigned NumBlocks = 0; in discoverAndMapException() 303 NumBlocks += SubE->getBlocksVector().capacity(); in discoverAndMapException() 316 ++NumBlocks; in discoverAndMapException() 325 WE->reserveBlocks(NumBlocks); in discoverAndMapException() 286 unsigned NumBlocks = 0; discoverAndMapException() local
|
/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | AnalyzerStatsChecker.cpp | 30 STATISTIC(NumBlocks, 105 NumBlocks += total; in checkEndAnalysis()
|
/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZLongBranch.cpp | 289 unsigned NumBlocks = MF->size(); in initMBBInfo() 292 MBBs.resize(NumBlocks); in initMBBInfo() 295 Terminators.reserve(NumBlocks); in initMBBInfo() 298 for (unsigned I = 0; I < NumBlocks; ++I) { in initMBBInfo() 286 unsigned NumBlocks = MF->size(); initMBBInfo() local
|
/llvm-project/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/llvm/lib/Support/Windows/ |
H A D | Memory.inc | 119 size_t NumBlocks = (NumBytes + Granularity - 1) / Granularity; 132 size_t AllocSize = NumBlocks * Granularity;
|
/llvm-project/bolt/test/X86/ |
H A D | bb-with-two-tail-calls.s | 24 # CHECK-BAT: NumBlocks: 5
|