[block-freq] Add the APInt method extractBit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197271 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Michael Gottesman
2013-12-13 20:47:34 +00:00
parent a23bd2e761
commit 5bb504f4ea
3 changed files with 37 additions and 0 deletions

View File

@@ -1244,6 +1244,9 @@ public:
/// as "bitPosition".
void flipBit(unsigned bitPosition);
/// \brief Returns true if the bit in bitPosition is set.
bool extractBit(unsigned bitPosition) const;
/// @}
/// \name Value Characterization Functions
/// @{