[X86][BMI] Pull out schedule classes from bmi_andn<> and bmi_bls<>
[llvm-core.git] / lib / Target / ARM / ARMTargetObjectFile.h
blob7b15dcc61f566aaf081fa9c6cc4648fee9b40a51
1 //===-- llvm/Target/ARMTargetObjectFile.h - ARM Object Info -----*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIB_TARGET_ARM_ARMTARGETOBJECTFILE_H
10 #define LLVM_LIB_TARGET_ARM_ARMTARGETOBJECTFILE_H
12 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
13 #include "llvm/MC/MCExpr.h"
15 namespace llvm {
17 class ARMElfTargetObjectFile : public TargetLoweringObjectFileELF {
18 public:
19 ARMElfTargetObjectFile()
20 : TargetLoweringObjectFileELF() {
21 PLTRelativeVariantKind = MCSymbolRefExpr::VK_ARM_PREL31;
24 void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
26 const MCExpr *getTTypeGlobalReference(const GlobalValue *GV,
27 unsigned Encoding,
28 const TargetMachine &TM,
29 MachineModuleInfo *MMI,
30 MCStreamer &Streamer) const override;
32 /// Describe a TLS variable address within debug info.
33 const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const override;
35 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
36 const TargetMachine &TM) const override;
38 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
39 const TargetMachine &TM) const override;
42 } // end namespace llvm
44 #endif // LLVM_LIB_TARGET_ARM_ARMTARGETOBJECTFILE_H