[PSI] Add the isCold query support with a given percentile value.
authorHiroshi Yamauchi <yamauchi@google.com>
Thu, 27 Feb 2020 18:49:04 +0000 (10:49 -0800)
committerHiroshi Yamauchi <yamauchi@google.com>
Mon, 2 Mar 2020 20:50:15 +0000 (12:50 -0800)
commit4d6f3ee2ba5b3ea6d9f80e7baf9a746848c790aa
tree79bf95d73ecb51077b1246b69748270f0e766e46
parent7e77cf473ac9d8f8b65db017d660892f1c8f4b75
[PSI] Add the isCold query support with a given percentile value.

Summary: This follows up D67377 that added the isHot side.

Reviewers: davidxl

Subscribers: eraman, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D75283
llvm/include/llvm/Analysis/ProfileSummaryInfo.h
llvm/lib/Analysis/ProfileSummaryInfo.cpp
llvm/unittests/Analysis/ProfileSummaryInfoTest.cpp