X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2FTableGen%2FCodeGenTarget.h;h=ef46b6c61851a8f36c6215e3e8cb19506af4f548;hb=15511cf1660cfd6bb8b8e8fca2db9450f50430ee;hp=1191488430fdd31ca96eff65a34a967300b34b40;hpb=83ec4b6711980242ef3c55a4fa36b2d7a39c1bfb;p=oota-llvm.git diff --git a/utils/TableGen/CodeGenTarget.h b/utils/TableGen/CodeGenTarget.h index 1191488430f..ef46b6c6185 100644 --- a/utils/TableGen/CodeGenTarget.h +++ b/utils/TableGen/CodeGenTarget.h @@ -30,6 +30,8 @@ struct CodeGenRegister; class CodeGenTarget; // SelectionDAG node properties. +// SDNPMemOperand: indicates that a node touches memory and therefore must +// have an associated memory operand that describes the access. enum SDNP { SDNPCommutative, SDNPAssociative, @@ -39,7 +41,8 @@ enum SDNP { SDNPOptInFlag, SDNPMayLoad, SDNPMayStore, - SDNPSideEffect + SDNPSideEffect, + SDNPMemOperand }; // ComplexPattern attributes. @@ -75,6 +78,10 @@ public: Record *getTargetRecord() const { return TargetRec; } const std::string &getName() const; + /// getInstNamespace - Return the target-specific instruction namespace. + /// + std::string getInstNamespace() const; + /// getInstructionSet - Return the InstructionSet object. /// Record *getInstructionSet() const;