summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2020-08-03 15:06:44 +0000
committerpatrick <patrick@openbsd.org>2020-08-03 15:06:44 +0000
commitb64793999546ed8adebaeebd9d8345d18db8927d (patch)
tree4357c27b561d73b0e089727c6ed659f2ceff5f47 /gnu/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h
parentAdd support for UTF-8 DISPLAY-HINTs with octet length. For now only (diff)
downloadwireguard-openbsd-b64793999546ed8adebaeebd9d8345d18db8927d.tar.xz
wireguard-openbsd-b64793999546ed8adebaeebd9d8345d18db8927d.zip
Remove LLVM 8.0.1 files.
Diffstat (limited to 'gnu/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h')
-rw-r--r--gnu/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h59
1 files changed, 0 insertions, 59 deletions
diff --git a/gnu/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h b/gnu/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h
deleted file mode 100644
index 18863630fde..00000000000
--- a/gnu/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h
+++ /dev/null
@@ -1,59 +0,0 @@
-//===-- HexagonTargetObjectFile.h -----------------------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_LIB_TARGET_HEXAGON_HEXAGONTARGETOBJECTFILE_H
-#define LLVM_LIB_TARGET_HEXAGON_HEXAGONTARGETOBJECTFILE_H
-
-#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
-#include "llvm/MC/MCSectionELF.h"
-
-namespace llvm {
-
- class HexagonTargetObjectFile : public TargetLoweringObjectFileELF {
- public:
- void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
-
- MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
- const TargetMachine &TM) const override;
-
- MCSection *getExplicitSectionGlobal(const GlobalObject *GO,
- SectionKind Kind,
- const TargetMachine &TM) const override;
-
- bool isGlobalInSmallSection(const GlobalObject *GO,
- const TargetMachine &TM) const;
-
- bool isSmallDataEnabled(const TargetMachine &TM) const;
-
- unsigned getSmallDataSize() const;
-
- bool shouldPutJumpTableInFunctionSection(bool UsesLabelDifference,
- const Function &F) const override;
-
- const Function *getLutUsedFunction(const GlobalObject *GO) const;
-
- private:
- MCSectionELF *SmallDataSection;
- MCSectionELF *SmallBSSSection;
-
- unsigned getSmallestAddressableSize(const Type *Ty, const GlobalValue *GV,
- const TargetMachine &TM) const;
-
- MCSection *selectSmallSectionForGlobal(const GlobalObject *GO,
- SectionKind Kind,
- const TargetMachine &TM) const;
-
- MCSection *selectSectionForLookupTable(const GlobalObject *GO,
- const TargetMachine &TM,
- const Function *Fn) const;
- };
-
-} // namespace llvm
-
-#endif