Oops. Forgot these.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 13 Dec 2007 00:42:35 +0000 (00:42 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 13 Dec 2007 00:42:35 +0000 (00:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44969 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/CodeGenInstruction.h
utils/TableGen/CodeGenTarget.cpp
utils/TableGen/InstrInfoEmitter.cpp

index 245b38e0493c6d7457ddbb2ba585b1bd67689644..c209b1342f6894d9a617ac362df04afc37ae2e06 100644 (file)
@@ -92,6 +92,7 @@ namespace llvm {
     bool isCall;
     bool isLoad;
     bool isStore;
+    bool isImplicitDef;
     bool isPredicable;
     bool isConvertibleToThreeAddress;
     bool isCommutable;
index 4de05b2f83d3396d21da4411662634ec349b4e6b..47bbecb87e946932acd034bffe6b36d63932ac8d 100644 (file)
@@ -384,6 +384,7 @@ CodeGenInstruction::CodeGenInstruction(Record *R, const std::string &AsmStr)
   isCall       = R->getValueAsBit("isCall");
   isLoad       = R->getValueAsBit("isLoad");
   isStore      = R->getValueAsBit("isStore");
+  isImplicitDef= R->getValueAsBit("isImplicitDef");
   bool isTwoAddress = R->getValueAsBit("isTwoAddress");
   isPredicable = R->getValueAsBit("isPredicable");
   isConvertibleToThreeAddress = R->getValueAsBit("isConvertibleToThreeAddress");
index d371934bbbe69cbc95d6f165c9f2ac42bb3068f6..855a0f090ae984f23e3e33359e085ca526493633 100644 (file)
@@ -243,6 +243,7 @@ void InstrInfoEmitter::emitRecord(const CodeGenInstruction &Inst, unsigned Num,
   if (Inst.isCall)       OS << "|M_CALL_FLAG";
   if (Inst.isLoad)       OS << "|M_LOAD_FLAG";
   if (Inst.isStore || isStore) OS << "|M_STORE_FLAG";
+  if (Inst.isImplicitDef)OS << "|M_IMPLICIT_DEF_FLAG";
   if (Inst.isPredicable) OS << "|M_PREDICABLE";
   if (Inst.isConvertibleToThreeAddress) OS << "|M_CONVERTIBLE_TO_3_ADDR";
   if (Inst.isCommutable) OS << "|M_COMMUTABLE";