/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | ProfileSummary.h | 52 uint64_t TotalCount, MaxCount, MaxInternalCount, MaxFunctionCount; variable 61 uint64_t TotalCount, uint64_t MaxCount, in ProfileSummary() argument 65 TotalCount(TotalCount), MaxCount(MaxCount), in ProfileSummary() 79 uint64_t getMaxCount() { return MaxCount; } in getMaxCount()
|
/external/llvm/include/llvm/IR/ |
D | ProfileSummary.h | 55 uint64_t TotalCount, MaxCount, MaxInternalCount, MaxFunctionCount; variable 63 uint64_t TotalCount, uint64_t MaxCount, in ProfileSummary() argument 67 TotalCount(TotalCount), MaxCount(MaxCount), in ProfileSummary() 80 uint64_t getMaxCount() { return MaxCount; } in getMaxCount()
|
/external/llvm/include/llvm/ProfileData/ |
D | ProfileCommon.h | 57 : DetailedSummaryCutoffs(std::move(Cutoffs)), TotalCount(0), MaxCount(0), in ProfileSummaryBuilder() 62 uint64_t TotalCount, MaxCount, MaxFunctionCount; variable 94 if (Count > MaxCount) in addCount() 95 MaxCount = Count; in addCount()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/ |
D | ProfileCommon.h | 51 uint64_t MaxCount = 0; variable 94 if (Count > MaxCount) in addCount() 95 MaxCount = Count; in addCount()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/ |
D | Instrumentation.h | 194 static inline uint64_t calculateCountScale(uint64_t MaxCount) { in calculateCountScale() argument 195 return MaxCount < std::numeric_limits<uint32_t>::max() in calculateCountScale() 197 : MaxCount / std::numeric_limits<uint32_t>::max() + 1; in calculateCountScale()
|
/external/llvm/include/llvm/Transforms/ |
D | Instrumentation.h | 174 static inline uint64_t calculateCountScale(uint64_t MaxCount) { in calculateCountScale() argument 175 return MaxCount < UINT32_MAX ? 1 : MaxCount / UINT32_MAX + 1; in calculateCountScale()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | PGOMemOPSizeOpt.cpp | 276 uint64_t MaxCount = 0; in perform() local 297 if (C > MaxCount) in perform() 298 MaxCount = C; in perform() 313 if (RemainCount > MaxCount) in perform() 314 MaxCount = RemainCount; in perform() 396 setProfMetadata(Func.getParent(), SI, CaseCounts, MaxCount); in perform()
|
D | PGOInstrumentation.cpp | 939 void markFunctionAttributes(uint64_t EntryCount, uint64_t MaxCount) { in markFunctionAttributes() argument 948 else if (MaxCount <= ColdFunctionThreshold.scale(ProgramMaxCount)) in markFunctionAttributes() 1178 uint64_t MaxCount = 0; in setBranchWeights() local 1187 if (EdgeCount > MaxCount) in setBranchWeights() 1188 MaxCount = EdgeCount; in setBranchWeights() 1191 setProfMetadata(M, TI, EdgeCounts, MaxCount); in setBranchWeights() 1245 uint64_t MaxCount = std::max(SCounts[0], SCounts[1]); in annotateOneSelectInst() local 1246 if (MaxCount) in annotateOneSelectInst() 1247 setProfMetadata(F.getParent(), &SI, SCounts, MaxCount); in annotateOneSelectInst() 1582 uint64_t MaxCount) { in setProfMetadata() argument [all …]
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Marshallers.h | 586 VariadicOperatorMatcherDescriptor(unsigned MinCount, unsigned MaxCount, 588 : MinCount(MinCount), MaxCount(MaxCount), Op(Op), 594 if (Args.size() < MinCount || MaxCount < Args.size()) { 596 (MaxCount == UINT_MAX ? "" : Twine(MaxCount)).str(); 634 const unsigned MaxCount; 723 template <unsigned MinCount, unsigned MaxCount> 726 MinCount, MaxCount> Func, 728 return new VariadicOperatorMatcherDescriptor(MinCount, MaxCount, Func.Op,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | ProfileSummary.cpp | 160 uint64_t NumCounts, TotalCount, NumFunctions, MaxFunctionCount, MaxCount, in getFromMD() local 165 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(2)), "MaxCount", MaxCount)) in getFromMD() 183 MaxCount, MaxInternalCount, MaxFunctionCount, in getFromMD()
|
/external/llvm/lib/ProfileData/ |
D | ProfileSummaryBuilder.cpp | 94 ProfileSummary::PSK_Sample, DetailedSummary, TotalCount, MaxCount, 0, in getSummary() 101 ProfileSummary::PSK_Instr, DetailedSummary, TotalCount, MaxCount, in getSummary()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/ |
D | ProfileSummaryBuilder.cpp | 93 ProfileSummary::PSK_Sample, DetailedSummary, TotalCount, MaxCount, 0, in getSummary() 100 ProfileSummary::PSK_Instr, DetailedSummary, TotalCount, MaxCount, in getSummary()
|
/external/llvm/lib/IR/ |
D | ProfileSummary.cpp | 166 uint64_t NumCounts, TotalCount, NumFunctions, MaxFunctionCount, MaxCount, in getFromMD() local 171 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(2)), "MaxCount", MaxCount)) in getFromMD() 188 return new ProfileSummary(SummaryKind, Summary, TotalCount, MaxCount, in getFromMD()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | PGOInstrumentation.cpp | 519 void markFunctionAttributes(uint64_t EntryCount, uint64_t MaxCount) { in markFunctionAttributes() argument 528 else if (MaxCount <= ColdFunctionThreshold.scale(ProgramMaxCount)) in markFunctionAttributes() 727 uint64_t MaxCount = 0; in setBranchWeights() local 736 if (EdgeCount > MaxCount) in setBranchWeights() 737 MaxCount = EdgeCount; in setBranchWeights() 740 assert(MaxCount > 0 && "Bad max count"); in setBranchWeights() 741 uint64_t Scale = calculateCountScale(MaxCount); in setBranchWeights()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LoopUnrollPass.cpp | 184 UP.MaxCount = std::numeric_limits<unsigned>::max(); in gatherUnrollingPreferences() 215 UP.MaxCount = UnrollMaxCount; in gatherUnrollingPreferences() 830 if (UP.Count > UP.MaxCount) in computeUnrollCount() 831 UP.Count = UP.MaxCount; in computeUnrollCount() 859 if (UP.Count > UP.MaxCount) in computeUnrollCount() 860 UP.Count = UP.MaxCount; in computeUnrollCount() 953 if (UP.Count > UP.MaxCount) in computeUnrollCount() 954 UP.Count = UP.MaxCount; in computeUnrollCount()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnrollPass.cpp | 123 UP.MaxCount = UINT_MAX; in gatherUnrollingPreferences() 151 UP.MaxCount = UnrollMaxCount; in gatherUnrollingPreferences() 796 if (UP.Count > UP.MaxCount) in computeUnrollCount() 797 UP.Count = UP.MaxCount; in computeUnrollCount() 889 if (UP.Count > UP.MaxCount) in computeUnrollCount() 890 UP.Count = UP.MaxCount; in computeUnrollCount()
|
/external/ImageMagick/coders/ |
D | pict.c | 584 #define MaxCount 128 in EncodeImage() macro 633 if (count == MaxCount) in EncodeImage() 635 *q++=(unsigned char) (MaxCount-1); in EncodeImage() 636 count-=MaxCount; in EncodeImage() 665 if (count == MaxCount) in EncodeImage() 667 *q++=(unsigned char) (MaxCount-1); in EncodeImage() 668 count-=MaxCount; in EncodeImage() 1662 #define MaxCount 128 in WritePICTImage() macro 1790 (row_bytes+2*MaxCount),sizeof(*packed_scanline)); in WritePICTImage() 1806 (void) memset(packed_scanline,0,(size_t) (row_bytes+2*MaxCount)* in WritePICTImage()
|
/external/llvm/test/Analysis/ProfileSummary/ |
D | basic.ll | 30 !5 = !{!"MaxCount", i64 10}
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/ProfileSummary/ |
D | basic.ll | 30 !5 = !{!"MaxCount", i64 10}
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Instrumentation/ |
D | PGOInstrumentation.h | 69 uint64_t MaxCount);
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/PGOProfile/ |
D | icp_sample.ll | 21 !7 = !{!"MaxCount", i64 0}
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopUnroll/ |
D | unroll-maxcount.ll | 2 ; Checks that unroll MaxCount is honored.
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/Inline/ |
D | inline-cold-callsite-samplepgo.ll | 38 !5 = !{!"MaxCount", i64 1000}
|
/external/llvm/test/Transforms/Inline/ |
D | inline-cold-callee.ll | 43 !5 = !{!"MaxCount", i64 1000}
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/CodeGenPrepare/ |
D | section-samplepgo.ll | 44 !5 = !{!"MaxCount", i64 1000}
|