Revert "Move function to obtain branch weights into the BranchInst class. NFC."
[oota-llvm.git] / include / llvm / IR / Instructions.h
index 5157ca6f447c55693feb14e62fc0eb91470bb335..dcf19e0972d16b261d681e104a78120ee3a70ec9 100644 (file)
@@ -2535,10 +2535,6 @@ public:
   /// continues to map correctly to each operand.
   void swapSuccessors();
 
-  /// \brief Retrieve the probabilities of a conditional branch. Returns true on
-  /// success, or returns false if no or invalid metadata was found.
-  bool getBranchWeights(uint64_t &TrueWeight, uint64_t &FalseWeight) const;
-
   // Methods for support type inquiry through isa, cast, and dyn_cast:
   static inline bool classof(const Instruction *I) {
     return (I->getOpcode() == Instruction::Br);