diff options
Diffstat (limited to 'contrib/llvm-project/llvm/include/llvm/CodeGen/DebugHandlerBase.h')
-rw-r--r-- | contrib/llvm-project/llvm/include/llvm/CodeGen/DebugHandlerBase.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/contrib/llvm-project/llvm/include/llvm/CodeGen/DebugHandlerBase.h b/contrib/llvm-project/llvm/include/llvm/CodeGen/DebugHandlerBase.h index 4ff0fdea36ae..45823b2ba349 100644 --- a/contrib/llvm-project/llvm/include/llvm/CodeGen/DebugHandlerBase.h +++ b/contrib/llvm-project/llvm/include/llvm/CodeGen/DebugHandlerBase.h @@ -110,8 +110,13 @@ protected: virtual void endFunctionImpl(const MachineFunction *MF) = 0; virtual void skippedNonDebugFunction() {} +private: + InstructionOrdering InstOrdering; + // AsmPrinterHandler overrides. public: + void beginModule(Module *M) override; + void beginInstruction(const MachineInstr *MI) override; void endInstruction() override; @@ -129,8 +134,13 @@ public: /// If this type is derived from a base type then return base type size. static uint64_t getBaseTypeSize(const DIType *Ty); + + /// Return true if type encoding is unsigned. + static bool isUnsignedDIType(const DIType *Ty); + + const InstructionOrdering &getInstOrdering() const { return InstOrdering; } }; -} +} // namespace llvm #endif |