diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/llvm/Target/TargetLowering.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index 9f773e32cf..7f4a10d315 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -25,6 +25,7 @@ #include "llvm/Type.h" #include "llvm/CodeGen/SelectionDAGNodes.h" #include <map> +#include <list> namespace llvm { class Value; @@ -649,6 +650,15 @@ public: return LegalAddressScales.end(); } + //===--------------------------------------------------------------------===// + // Div utility functions + // + SDOperand BuildSDIV(SDNode *N, SelectionDAG &DAG, + std::list<SDNode*>* Created) const; + SDOperand BuildUDIV(SDNode *N, SelectionDAG &DAG, + std::list<SDNode*>* Created) const; + + protected: /// addLegalAddressScale - Add a integer (> 1) value which can be used as /// scale in the target addressing mode. Note: the ordering matters so the |
