Target-independent support for TargetFlags on BlockAddress operands,
[oota-llvm.git] / lib / Target / X86 / X86Subtarget.h
index 23f2841a8c2b4ebdace4de86b2ffb1079cb2d1d7..fb457ddd88056b0f50bf4c24a3a27b67ab668aa6 100644 (file)
@@ -199,6 +199,11 @@ public:
   unsigned char ClassifyGlobalReference(const GlobalValue *GV,
                                         const TargetMachine &TM)const;
 
+  /// ClassifyBlockAddressReference - Classify a blockaddress reference for the
+  /// current subtarget according to how we should reference it in a non-pcrel
+  /// context.
+  unsigned char ClassifyBlockAddressReference() const;
+
   /// IsLegalToCallImmediateAddr - Return true if the subtarget allows calls
   /// to immediate address.
   bool IsLegalToCallImmediateAddr(const TargetMachine &TM) const;