/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | BumpPtrListTest.cpp | 19 static unsigned NumCalls; member 20 ~CountsDestructors() { ++NumCalls; } in ~CountsDestructors() 22 unsigned CountsDestructors::NumCalls = 0; member in __anon18575cfd0111::CountsDestructors 173 CountsDestructors::NumCalls = 0; in TEST() 180 EXPECT_EQ(0u, CountsDestructors::NumCalls); in TEST() 182 EXPECT_EQ(1u, CountsDestructors::NumCalls); in TEST() 184 EXPECT_EQ(3u, CountsDestructors::NumCalls); in TEST() 198 CountsDestructors::NumCalls = 0; in TEST() 201 EXPECT_EQ(0u, CountsDestructors::NumCalls); in TEST() 203 EXPECT_EQ(1u, CountsDestructors::NumCalls); in TEST() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | CodeMetrics.h | 51 unsigned NumCalls; member 68 NumInsts(0), NumBlocks(0), NumCalls(0), in CodeMetrics()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | InlineCost.cpp | 93 ++NumCalls; in analyzeBasicBlock() 299 Bonus -= CalleeFI->Metrics.NumCalls * InlineConstants::CallPenalty; in getSpecializationBonus() 415 InlineCost += CalleeFI->Metrics.NumCalls * InlineConstants::CallPenalty; in getInlineSize() 611 if (CallerMetrics.NumCalls > 0) in growCachedCostInfo() 612 --CallerMetrics.NumCalls; in growCachedCostInfo() 638 CallerMetrics.NumCalls += CalleeMetrics.NumCalls; in growCachedCostInfo()
|
/external/llvm/lib/Analysis/ |
D | CodeMetrics.cpp | 134 ++NumCalls; in analyzeBasicBlock() 139 ++NumCalls; in analyzeBasicBlock()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | CodeMetrics.cpp | 147 ++NumCalls; in analyzeBasicBlock() 152 ++NumCalls; in analyzeBasicBlock()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LoopUnrollPass.cpp | 111 static unsigned ApproximateLoopSize(const Loop *L, unsigned &NumCalls, in ApproximateLoopSize() argument 117 NumCalls = Metrics.NumInlineCandidates; in ApproximateLoopSize()
|
/external/llvm/include/llvm/Analysis/ |
D | CodeMetrics.h | 72 unsigned NumCalls = false; member
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | CodeMetrics.h | 72 unsigned NumCalls = false; member
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
D | UnrollLoop.h | 118 unsigned ApproximateLoopSize(const Loop *L, unsigned &NumCalls,
|
/external/llvm/lib/ProfileData/ |
D | SampleProfReader.cpp | 317 auto NumCalls = readNumber<uint32_t>(); in readProfile() local 318 if (std::error_code EC = NumCalls.getError()) in readProfile() 321 for (uint32_t J = 0; J < *NumCalls; ++J) { in readProfile()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/ |
D | SampleProfReader.cpp | 378 auto NumCalls = readNumber<uint32_t>(); in readProfile() local 379 if (std::error_code EC = NumCalls.getError()) in readProfile() 382 for (uint32_t J = 0; J < *NumCalls; ++J) { in readProfile()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnrollPass.cpp | 529 static unsigned ApproximateLoopSize(const Loop *L, unsigned &NumCalls, in ApproximateLoopSize() argument 539 NumCalls = Metrics.NumInlineCandidates; in ApproximateLoopSize()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LoopUnrollPass.cpp | 621 const Loop *L, unsigned &NumCalls, bool &NotDuplicatable, bool &Convergent, in ApproximateLoopSize() argument 627 NumCalls = Metrics.NumInlineCandidates; in ApproximateLoopSize()
|