summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Analysis/BlockFrequencyInfoTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove every uses of getGlobalContext() in LLVM (but the C API)Mehdi Amini2016-04-141-1/+1
| | | | | | | | | | | At the same time, fixes InstructionsTest::CastInst unittest: yes you can leave the IR in an invalid state and exit when you don't destroy the context (like the global one), no longer now. This is the first part of http://reviews.llvm.org/D19094 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 266379
* Add getBlockProfileCount method to BlockFrequencyInfoEaswaran Raman2016-03-231-0/+86
Differential Revision: http://reviews.llvm.org/D18233 llvm-svn: 264179
OpenPOWER on IntegriCloud