[llvm] r197839 - BlockFrequencyInfo: Readded getEntryFreq.
Michael Gottesman
mgottesman at apple.com
Fri Dec 20 21:09:08 PST 2013
It was never there in the first place so readded is a misnomer (but I digress). Thanks!
Michael
On Dec 20, 2013, at 2:11 PM, Yuchen Wu <yuchenericwu at hotmail.com> wrote:
> Author: ywu
> Date: Fri Dec 20 16:11:11 2013
> New Revision: 197839
>
> URL: http://llvm.org/viewvc/llvm-project?rev=197839&view=rev
> Log:
> BlockFrequencyInfo: Readded getEntryFreq.
>
> Modified:
> llvm/trunk/include/llvm/Analysis/BlockFrequencyInfo.h
> llvm/trunk/lib/Analysis/BlockFrequencyInfo.cpp
>
> Modified: llvm/trunk/include/llvm/Analysis/BlockFrequencyInfo.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/BlockFrequencyInfo.h?rev=197839&r1=197838&r2=197839&view=diff
> ==============================================================================
> --- llvm/trunk/include/llvm/Analysis/BlockFrequencyInfo.h (original)
> +++ llvm/trunk/include/llvm/Analysis/BlockFrequencyInfo.h Fri Dec 20 16:11:11 2013
> @@ -59,6 +59,8 @@ public:
> // BB and print it to OS.
> raw_ostream &printBlockFreq(raw_ostream &OS, const BasicBlock *BB) const;
>
> + uint64_t getEntryFreq() const;
> +
> };
>
> }
>
> Modified: llvm/trunk/lib/Analysis/BlockFrequencyInfo.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/BlockFrequencyInfo.cpp?rev=197839&r1=197838&r2=197839&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Analysis/BlockFrequencyInfo.cpp (original)
> +++ llvm/trunk/lib/Analysis/BlockFrequencyInfo.cpp Fri Dec 20 16:11:11 2013
> @@ -170,3 +170,7 @@ BlockFrequencyInfo::printBlockFreq(raw_o
> const BasicBlock *BB) const {
> return BFI->printBlockFreq(OS, BB);
> }
> +
> +uint64_t BlockFrequencyInfo::getEntryFreq() const {
> + return BFI->getEntryFreq();
> +}
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list