Forgot this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50993 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2008-05-12 20:08:05 +00:00
parent 18e4e8500f
commit f86f211ec2

View File

@ -32,18 +32,19 @@
#include <vector>
namespace llvm {
class Value;
class Function;
class TargetMachine;
class TargetData;
class TargetRegisterClass;
class MachineBasicBlock;
class MachineFrameInfo;
class MachineInstr;
class SDNode;
class SDOperand;
class SelectionDAG;
class MachineBasicBlock;
class MachineInstr;
class VectorType;
class TargetData;
class TargetMachine;
class TargetRegisterClass;
class TargetSubtarget;
class Value;
class VectorType;
//===----------------------------------------------------------------------===//
/// TargetLowering - This class defines information used to lower LLVM code to
@ -681,6 +682,17 @@ public:
ISD::CondCode Cond, bool foldBooleans,
DAGCombinerInfo &DCI) const;
/// isGAPlusOffset - Returns true (and the GlobalValue and the offset) if the
/// node is a GlobalAddress + offset.
virtual bool
isGAPlusOffset(SDNode *N, GlobalValue* &GA, int64_t &Offset) const;
/// isConsecutiveLoad - Return true if LD (which must be a LoadSDNode) is
/// loading 'Bytes' bytes from a location that is 'Dist' units away from the
/// location that the 'Base' load is loading from.
bool isConsecutiveLoad(SDNode *LD, SDNode *Base, unsigned Bytes, int Dist,
MachineFrameInfo *MFI) const;
/// PerformDAGCombine - This method will be invoked for all target nodes and
/// for any target-independent nodes that the target has registered with
/// invoke it for.