summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/InstrInfoEmitter.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/utils/TableGen/InstrInfoEmitter.h')
-rw-r--r--llvm/utils/TableGen/InstrInfoEmitter.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/utils/TableGen/InstrInfoEmitter.h b/llvm/utils/TableGen/InstrInfoEmitter.h
index 977d3dbaf19..2dd3a0f44fc 100644
--- a/llvm/utils/TableGen/InstrInfoEmitter.h
+++ b/llvm/utils/TableGen/InstrInfoEmitter.h
@@ -29,7 +29,7 @@ class CodeGenInstruction;
class InstrInfoEmitter : public TableGenBackend {
RecordKeeper &Records;
- const CodeGenDAGPatterns CDP;
+ CodeGenDAGPatterns CDP;
std::map<std::string, unsigned> ItinClassMap;
public:
@@ -41,10 +41,6 @@ public:
private:
typedef std::map<std::vector<std::string>, unsigned> OperandInfoMapTy;
- // Instruction analysis.
- void InferFromPattern(const CodeGenInstruction &Inst,
- bool &MayStore, bool &MayLoad, bool &HasSideEffects);
-
void emitRecord(const CodeGenInstruction &Inst, unsigned Num,
Record *InstrInfo,
std::map<std::vector<Record*>, unsigned> &EL,
OpenPOWER on IntegriCloud