Coverage Report

Created: 2017-10-03 07:32

/Users/buildslave/jenkins/sharedspace/clang-stage2-coverage-R@2/llvm/include/llvm/MC/MCLinkerOptimizationHint.h
Line
Count
Source (jump to first uncovered line)
1
//===- MCLinkerOptimizationHint.h - LOH interface ---------------*- C++ -*-===//
2
//
3
//
4
//                     The LLVM Compiler Infrastructure
5
//
6
// This file is distributed under the University of Illinois Open Source
7
// License. See LICENSE.TXT for details.
8
//
9
//===----------------------------------------------------------------------===//
10
//
11
// This file declares some helpers classes to handle Linker Optimization Hint
12
// (LOH).
13
//
14
// FIXME: LOH interface supports only MachO format at the moment.
15
//===----------------------------------------------------------------------===//
16
17
#ifndef LLVM_MC_MCLINKEROPTIMIZATIONHINT_H
18
#define LLVM_MC_MCLINKEROPTIMIZATIONHINT_H
19
20
#include "llvm/ADT/SmallVector.h"
21
#include "llvm/ADT/StringRef.h"
22
#include "llvm/ADT/StringSwitch.h"
23
#include "llvm/Support/raw_ostream.h"
24
#include <cassert>
25
#include <cstdint>
26
27
namespace llvm {
28
29
class MachObjectWriter;
30
class MCAsmLayout;
31
class MCSymbol;
32
33
/// Linker Optimization Hint Type.
34
enum MCLOHType {
35
  MCLOH_AdrpAdrp = 0x1u,      ///< Adrp xY, _v1@PAGE -> Adrp xY, _v2@PAGE.
36
  MCLOH_AdrpLdr = 0x2u,       ///< Adrp _v@PAGE -> Ldr _v@PAGEOFF.
37
  MCLOH_AdrpAddLdr = 0x3u,    ///< Adrp _v@PAGE -> Add _v@PAGEOFF -> Ldr.
38
  MCLOH_AdrpLdrGotLdr = 0x4u, ///< Adrp _v@GOTPAGE -> Ldr _v@GOTPAGEOFF -> Ldr.
39
  MCLOH_AdrpAddStr = 0x5u,    ///< Adrp _v@PAGE -> Add _v@PAGEOFF -> Str.
40
  MCLOH_AdrpLdrGotStr = 0x6u, ///< Adrp _v@GOTPAGE -> Ldr _v@GOTPAGEOFF -> Str.
41
  MCLOH_AdrpAdd = 0x7u,       ///< Adrp _v@PAGE -> Add _v@PAGEOFF.
42
  MCLOH_AdrpLdrGot = 0x8u     ///< Adrp _v@GOTPAGE -> Ldr _v@GOTPAGEOFF.
43
};
44
45
458
static inline StringRef MCLOHDirectiveName() {
46
458
  return StringRef(".loh");
47
458
}
Unexecuted instantiation: X86FrameLowering.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: ELFAsmParser.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: DarwinAsmParser.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: COFFAsmParser.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AsmParser.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: TargetLoweringObjectFile.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: WinCOFFObjectWriter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MachObjectWriter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MCWinEH.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MCWinCOFFStreamer.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MCWin64EH.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MCWasmStreamer.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MCSymbolELF.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MCStreamer.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MCObjectWriter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MCObjectStreamer.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MCNullStreamer.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MCMachOStreamer.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MCLinkerOptimizationHint.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MCFragment.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MCExpr.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MCELFStreamer.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MCDwarf.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MCContext.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MCCodeView.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MCAssembler.cpp:llvm::MCLOHDirectiveName()
MCAsmStreamer.cpp:llvm::MCLOHDirectiveName()
Line
Count
Source
45
227
static inline StringRef MCLOHDirectiveName() {
46
227
  return StringRef(".loh");
47
227
}
Unexecuted instantiation: MCAsmInfo.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: ELFObjectWriter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: ConstantPools.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: TargetLoweringObjectFileImpl.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: StackMaps.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: LLVMTargetMachine.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: FaultMaps.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: CodeViewDebug.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: WinException.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: OcamlGCPrinter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: ErlangGCPrinter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: EHStreamer.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: DwarfUnit.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: DwarfStringPool.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: DwarfFile.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: DwarfDebug.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: DwarfCompileUnit.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: DwarfCFIException.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: DwarfAccelTable.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: DIEHash.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: DIE.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: DebugLocStream.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: DebugHandlerBase.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AsmPrinterInlineAsm.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AsmPrinterDwarf.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AsmPrinter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: ARMException.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AddressPool.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: XCoreMCTargetDesc.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: XCoreAsmPrinter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86TargetInfo.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86WinCOFFObjectWriter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86WinCOFFStreamer.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86ELFObjectWriter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86MachObjectWriter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86MCCodeEmitter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86MCAsmInfo.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86MCTargetDesc.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86AsmBackend.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86InstComments.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86IntelInstPrinter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86ATTInstPrinter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86AsmParser.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86AsmInstrumentation.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86CallingConv.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86WinAllocaExpander.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86VZeroUpper.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86TargetTransformInfo.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86TargetMachine.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86Subtarget.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86SelectionDAGInfo.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86RegisterInfo.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86RegisterBankInfo.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86PadShortFunction.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86OptimizeLEAs.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86MacroFusion.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86MCInstLower.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86LegalizerInfo.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86EvexToVex.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86InstrInfo.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86InstrFMA3Info.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86InterleavedAccess.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86ISelLowering.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86ISelDAGToDAG.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86InstructionSelector.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86FloatingPoint.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86FixupSetCC.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86FixupLEAs.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86FixupBWInsts.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86FastISel.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86ExpandPseudo.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86CmovConversion.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86CallLowering.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86CallFrameOptimization.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: X86AsmPrinter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: SystemZMCTargetDesc.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: SystemZAsmParser.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: SystemZMCInstLower.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: SystemZAsmPrinter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: SparcTargetStreamer.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: SparcMCExpr.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: SparcMCTargetDesc.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: SparcMCAsmInfo.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: SparcAsmParser.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: SparcAsmPrinter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: PPCMachObjectWriter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: PPCMCExpr.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: PPCMCTargetDesc.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: PPCAsmBackend.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: PPCAsmParser.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: PPCAsmPrinter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: NVPTXMCExpr.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: NVPTXAsmPrinter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MSP430AsmPrinter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MipsTargetStreamer.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MipsOptionRecord.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MipsNaClELFStreamer.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MipsMCTargetDesc.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MipsMCExpr.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MipsELFStreamer.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MipsAsmBackend.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MipsABIFlagsSection.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MipsAsmParser.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MipsMCInstLower.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MipsLongBranch.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MipsDelaySlotFiller.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: MipsAsmPrinter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: LanaiMCTargetDesc.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: LanaiMCExpr.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: LanaiAsmBackend.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: LanaiAsmParser.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: LanaiAsmPrinter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: HexagonMCTargetDesc.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: HexagonMCExpr.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: HexagonMCELFStreamer.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: HexagonELFObjectWriter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: HexagonAsmBackend.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: HexagonAsmParser.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: HexagonAsmPrinter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: BPFAsmParser.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: BPFAsmPrinter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: ARMWinCOFFStreamer.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: ARMTargetStreamer.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: ARMMCTargetDesc.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: ARMMCExpr.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: ARMMachObjectWriter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: ARMELFStreamer.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: ARMAsmBackend.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: ARMAsmParser.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: ARMMCInstLower.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: ARMAsmPrinter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AMDGPUTargetStreamer.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AMDGPUMCTargetDesc.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AMDGPUELFStreamer.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AMDGPUAsmBackend.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AMDGPUAsmParser.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AMDGPUMCInstLower.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AMDGPUAsmPrinter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AArch64WinCOFFStreamer.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AArch64TargetStreamer.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AArch64MachObjectWriter.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AArch64MCTargetDesc.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AArch64MCExpr.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AArch64MCAsmInfo.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AArch64ELFStreamer.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AArch64AsmBackend.cpp:llvm::MCLOHDirectiveName()
AArch64AsmParser.cpp:llvm::MCLOHDirectiveName()
Line
Count
Source
45
231
static inline StringRef MCLOHDirectiveName() {
46
231
  return StringRef(".loh");
47
231
}
Unexecuted instantiation: AArch64TargetObjectFile.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AArch64RegisterInfo.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AArch64InstructionSelector.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AArch64InstrInfo.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AArch64ISelLowering.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AArch64FrameLowering.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AArch64CollectLOH.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AArch64CleanupLocalDynamicTLSPass.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AArch64CallLowering.cpp:llvm::MCLOHDirectiveName()
Unexecuted instantiation: AArch64AsmPrinter.cpp:llvm::MCLOHDirectiveName()
48
49
11
static inline bool isValidMCLOHType(unsigned Kind) {
50
11
  return Kind >= MCLOH_AdrpAdrp && Kind <= MCLOH_AdrpLdrGot;
51
11
}
Unexecuted instantiation: ELFAsmParser.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AArch64AsmPrinter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: DarwinAsmParser.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: COFFAsmParser.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AsmParser.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: TargetLoweringObjectFile.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: WinCOFFObjectWriter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MachObjectWriter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MCWinEH.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MCWinCOFFStreamer.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MCWin64EH.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MCWasmStreamer.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MCSymbolELF.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MCStreamer.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MCObjectWriter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MCObjectStreamer.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MCNullStreamer.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MCMachOStreamer.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MCLinkerOptimizationHint.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MCFragment.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MCExpr.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MCELFStreamer.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MCDwarf.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MCContext.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MCCodeView.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MCAssembler.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MCAsmStreamer.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MCAsmInfo.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: ELFObjectWriter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: ConstantPools.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: TargetLoweringObjectFileImpl.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: StackMaps.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: LLVMTargetMachine.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: FaultMaps.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: CodeViewDebug.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: WinException.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: OcamlGCPrinter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: ErlangGCPrinter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: EHStreamer.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: DwarfUnit.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: DwarfStringPool.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: DwarfFile.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: DwarfDebug.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: DwarfCompileUnit.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: DwarfCFIException.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: DwarfAccelTable.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: DIEHash.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: DIE.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: DebugLocStream.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: DebugHandlerBase.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AsmPrinterInlineAsm.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AsmPrinterDwarf.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AsmPrinter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: ARMException.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AddressPool.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: XCoreMCTargetDesc.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: XCoreAsmPrinter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86TargetInfo.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86WinCOFFObjectWriter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86WinCOFFStreamer.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86ELFObjectWriter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86MachObjectWriter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86MCCodeEmitter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86MCAsmInfo.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86MCTargetDesc.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86AsmBackend.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86InstComments.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86IntelInstPrinter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86ATTInstPrinter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86AsmParser.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86AsmInstrumentation.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86CallingConv.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86WinAllocaExpander.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86VZeroUpper.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86TargetTransformInfo.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86TargetMachine.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86Subtarget.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86SelectionDAGInfo.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86RegisterInfo.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86RegisterBankInfo.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86PadShortFunction.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86OptimizeLEAs.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86MacroFusion.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86MCInstLower.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86LegalizerInfo.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86EvexToVex.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86InstrInfo.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86InstrFMA3Info.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86InterleavedAccess.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86ISelLowering.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86ISelDAGToDAG.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86InstructionSelector.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86FrameLowering.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86FloatingPoint.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86FixupSetCC.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86FixupLEAs.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86FixupBWInsts.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86FastISel.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86ExpandPseudo.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86CmovConversion.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86CallLowering.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86CallFrameOptimization.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: X86AsmPrinter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: SystemZMCTargetDesc.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: SystemZAsmParser.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: SystemZMCInstLower.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: SystemZAsmPrinter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: SparcTargetStreamer.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: SparcMCExpr.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: SparcMCTargetDesc.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: SparcMCAsmInfo.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: SparcAsmParser.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: SparcAsmPrinter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: PPCMachObjectWriter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: PPCMCExpr.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: PPCMCTargetDesc.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: PPCAsmBackend.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: PPCAsmParser.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: PPCAsmPrinter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: NVPTXMCExpr.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: NVPTXAsmPrinter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MSP430AsmPrinter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MipsTargetStreamer.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MipsOptionRecord.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MipsNaClELFStreamer.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MipsMCTargetDesc.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MipsMCExpr.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MipsELFStreamer.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MipsAsmBackend.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MipsABIFlagsSection.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MipsAsmParser.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MipsMCInstLower.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MipsLongBranch.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MipsDelaySlotFiller.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: MipsAsmPrinter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: LanaiMCTargetDesc.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: LanaiMCExpr.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: LanaiAsmBackend.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: LanaiAsmParser.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: LanaiAsmPrinter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: HexagonMCTargetDesc.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: HexagonMCExpr.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: HexagonMCELFStreamer.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: HexagonELFObjectWriter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: HexagonAsmBackend.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: HexagonAsmParser.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: HexagonAsmPrinter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: BPFAsmParser.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: BPFAsmPrinter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: ARMWinCOFFStreamer.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: ARMTargetStreamer.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: ARMMCTargetDesc.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: ARMMCExpr.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: ARMMachObjectWriter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: ARMELFStreamer.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: ARMAsmBackend.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: ARMAsmParser.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: ARMMCInstLower.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: ARMAsmPrinter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AMDGPUTargetStreamer.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AMDGPUMCTargetDesc.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AMDGPUELFStreamer.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AMDGPUAsmBackend.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AMDGPUAsmParser.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AMDGPUMCInstLower.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AMDGPUAsmPrinter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AArch64WinCOFFStreamer.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AArch64TargetStreamer.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AArch64MachObjectWriter.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AArch64MCTargetDesc.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AArch64MCExpr.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AArch64MCAsmInfo.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AArch64ELFStreamer.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AArch64AsmBackend.cpp:llvm::isValidMCLOHType(unsigned int)
AArch64AsmParser.cpp:llvm::isValidMCLOHType(unsigned int)
Line
Count
Source
49
11
static inline bool isValidMCLOHType(unsigned Kind) {
50
11
  return Kind >= MCLOH_AdrpAdrp && Kind <= MCLOH_AdrpLdrGot;
51
11
}
Unexecuted instantiation: AArch64TargetObjectFile.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AArch64RegisterInfo.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AArch64InstructionSelector.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AArch64InstrInfo.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AArch64ISelLowering.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AArch64FrameLowering.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AArch64CollectLOH.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AArch64CleanupLocalDynamicTLSPass.cpp:llvm::isValidMCLOHType(unsigned int)
Unexecuted instantiation: AArch64CallLowering.cpp:llvm::isValidMCLOHType(unsigned int)
52
53
12
static inline int MCLOHNameToId(StringRef Name) {
54
96
#define MCLOHCaseNameToId(Name)     .Case(#Name, MCLOH_ ## Name)
55
12
  return StringSwitch<int>(Name)
56
12
    MCLOHCaseNameToId(AdrpAdrp)
57
12
    MCLOHCaseNameToId(AdrpLdr)
58
12
    MCLOHCaseNameToId(AdrpAddLdr)
59
12
    MCLOHCaseNameToId(AdrpLdrGotLdr)
60
12
    MCLOHCaseNameToId(AdrpAddStr)
61
12
    MCLOHCaseNameToId(AdrpLdrGotStr)
62
12
    MCLOHCaseNameToId(AdrpAdd)
63
12
    MCLOHCaseNameToId(AdrpLdrGot)
64
12
    .Default(-1);
65
12
}
Unexecuted instantiation: ELFAsmParser.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: DarwinAsmParser.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: COFFAsmParser.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AsmParser.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: TargetLoweringObjectFile.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: WinCOFFObjectWriter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MachObjectWriter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MCWinEH.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MCWinCOFFStreamer.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MCWin64EH.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MCWasmStreamer.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MCSymbolELF.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MCStreamer.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MCObjectWriter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MCObjectStreamer.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MCNullStreamer.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MCMachOStreamer.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MCLinkerOptimizationHint.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MCFragment.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MCExpr.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MCELFStreamer.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MCDwarf.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MCContext.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MCCodeView.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MCAssembler.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MCAsmStreamer.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MCAsmInfo.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: ELFObjectWriter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: ConstantPools.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: TargetLoweringObjectFileImpl.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: StackMaps.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: LLVMTargetMachine.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: FaultMaps.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: CodeViewDebug.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: WinException.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: OcamlGCPrinter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: ErlangGCPrinter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: EHStreamer.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: DwarfUnit.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: DwarfStringPool.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: DwarfFile.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: DwarfDebug.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: DwarfCompileUnit.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: DwarfCFIException.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: DwarfAccelTable.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: DIEHash.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: DIE.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: DebugLocStream.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: DebugHandlerBase.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AsmPrinterInlineAsm.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AsmPrinterDwarf.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AsmPrinter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: ARMException.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AddressPool.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: XCoreMCTargetDesc.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: XCoreAsmPrinter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86TargetInfo.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86WinCOFFObjectWriter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86WinCOFFStreamer.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86ELFObjectWriter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86MachObjectWriter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86MCCodeEmitter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86MCAsmInfo.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86MCTargetDesc.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86AsmBackend.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86InstComments.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86IntelInstPrinter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86ATTInstPrinter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86AsmParser.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86AsmInstrumentation.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86CallingConv.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86WinAllocaExpander.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86VZeroUpper.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86TargetTransformInfo.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86TargetMachine.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86Subtarget.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86SelectionDAGInfo.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86RegisterInfo.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86RegisterBankInfo.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86PadShortFunction.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86OptimizeLEAs.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86MacroFusion.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86MCInstLower.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86LegalizerInfo.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86EvexToVex.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86InstrInfo.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86InstrFMA3Info.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86InterleavedAccess.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86ISelLowering.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86ISelDAGToDAG.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86InstructionSelector.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86FrameLowering.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AArch64AsmPrinter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86FloatingPoint.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86FixupSetCC.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86FixupLEAs.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86FixupBWInsts.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86FastISel.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86ExpandPseudo.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86CmovConversion.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86CallLowering.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86CallFrameOptimization.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: X86AsmPrinter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: SystemZMCTargetDesc.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: SystemZAsmParser.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: SystemZMCInstLower.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: SystemZAsmPrinter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: SparcTargetStreamer.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: SparcMCExpr.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: SparcMCTargetDesc.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: SparcMCAsmInfo.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: SparcAsmParser.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: SparcAsmPrinter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: PPCMachObjectWriter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: PPCMCExpr.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: PPCMCTargetDesc.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: PPCAsmBackend.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: PPCAsmParser.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: PPCAsmPrinter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: NVPTXMCExpr.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: NVPTXAsmPrinter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MSP430AsmPrinter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MipsTargetStreamer.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MipsOptionRecord.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MipsNaClELFStreamer.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MipsMCTargetDesc.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MipsMCExpr.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MipsELFStreamer.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MipsAsmBackend.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MipsABIFlagsSection.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MipsAsmParser.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MipsMCInstLower.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MipsLongBranch.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MipsDelaySlotFiller.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: MipsAsmPrinter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: LanaiMCTargetDesc.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: LanaiMCExpr.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: LanaiAsmBackend.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: LanaiAsmParser.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: LanaiAsmPrinter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: HexagonMCTargetDesc.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: HexagonMCExpr.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: HexagonMCELFStreamer.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: HexagonELFObjectWriter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: HexagonAsmBackend.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: HexagonAsmParser.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: HexagonAsmPrinter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: BPFAsmParser.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: BPFAsmPrinter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: ARMWinCOFFStreamer.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: ARMTargetStreamer.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: ARMMCTargetDesc.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: ARMMCExpr.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: ARMMachObjectWriter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: ARMELFStreamer.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: ARMAsmBackend.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: ARMAsmParser.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: ARMMCInstLower.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: ARMAsmPrinter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AMDGPUTargetStreamer.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AMDGPUMCTargetDesc.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AMDGPUELFStreamer.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AMDGPUAsmBackend.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AMDGPUAsmParser.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AMDGPUMCInstLower.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AMDGPUAsmPrinter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AArch64WinCOFFStreamer.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AArch64TargetStreamer.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AArch64MachObjectWriter.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AArch64MCTargetDesc.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AArch64MCExpr.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AArch64MCAsmInfo.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AArch64ELFStreamer.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AArch64AsmBackend.cpp:llvm::MCLOHNameToId(llvm::StringRef)
AArch64AsmParser.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Line
Count
Source
53
12
static inline int MCLOHNameToId(StringRef Name) {
54
12
#define MCLOHCaseNameToId(Name)     .Case(#Name, MCLOH_ ## Name)
55
12
  return StringSwitch<int>(Name)
56
12
    MCLOHCaseNameToId(AdrpAdrp)
57
12
    MCLOHCaseNameToId(AdrpLdr)
58
12
    MCLOHCaseNameToId(AdrpAddLdr)
59
12
    MCLOHCaseNameToId(AdrpLdrGotLdr)
60
12
    MCLOHCaseNameToId(AdrpAddStr)
61
12
    MCLOHCaseNameToId(AdrpLdrGotStr)
62
12
    MCLOHCaseNameToId(AdrpAdd)
63
12
    MCLOHCaseNameToId(AdrpLdrGot)
64
12
    .Default(-1);
65
12
}
Unexecuted instantiation: AArch64TargetObjectFile.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AArch64RegisterInfo.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AArch64InstructionSelector.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AArch64InstrInfo.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AArch64ISelLowering.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AArch64FrameLowering.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AArch64CollectLOH.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AArch64CleanupLocalDynamicTLSPass.cpp:llvm::MCLOHNameToId(llvm::StringRef)
Unexecuted instantiation: AArch64CallLowering.cpp:llvm::MCLOHNameToId(llvm::StringRef)
66
67
227
static inline StringRef MCLOHIdToName(MCLOHType Kind) {
68
227
#define MCLOHCaseIdToName(Name)      case MCLOH_ ## Name: return StringRef(#Name);
69
227
  switch (Kind) {
70
227
    
MCLOHCaseIdToName13
(AdrpAdrp)227
;
71
60
    
MCLOHCaseIdToName60
(AdrpLdr)0
;
72
4
    
MCLOHCaseIdToName4
(AdrpAddLdr)0
;
73
39
    
MCLOHCaseIdToName39
(AdrpLdrGotLdr)0
;
74
4
    
MCLOHCaseIdToName4
(AdrpAddStr)0
;
75
15
    
MCLOHCaseIdToName15
(AdrpLdrGotStr)0
;
76
22
    
MCLOHCaseIdToName22
(AdrpAdd)0
;
77
70
    
MCLOHCaseIdToName70
(AdrpLdrGot)0
;0
78
227
  }
79
0
  return StringRef();
80
227
}
Unexecuted instantiation: AArch64CallLowering.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AArch64AsmPrinter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AArch64CleanupLocalDynamicTLSPass.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AArch64CollectLOH.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AArch64FrameLowering.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AArch64ISelLowering.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AArch64InstrInfo.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AArch64InstructionSelector.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AArch64RegisterInfo.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AArch64TargetObjectFile.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AArch64AsmParser.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AArch64AsmBackend.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AArch64ELFStreamer.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AArch64MCAsmInfo.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AArch64MCExpr.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AArch64MCTargetDesc.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AArch64MachObjectWriter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AArch64TargetStreamer.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AArch64WinCOFFStreamer.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AMDGPUAsmPrinter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AMDGPUMCInstLower.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AMDGPUAsmParser.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AMDGPUAsmBackend.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AMDGPUELFStreamer.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AMDGPUMCTargetDesc.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AMDGPUTargetStreamer.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: ARMAsmPrinter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: ARMMCInstLower.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: ARMAsmParser.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: ARMAsmBackend.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: ARMELFStreamer.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: ARMMachObjectWriter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: ARMMCExpr.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: ARMMCTargetDesc.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: ARMTargetStreamer.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: ARMWinCOFFStreamer.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: BPFAsmPrinter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: BPFAsmParser.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: HexagonAsmPrinter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: HexagonAsmParser.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: HexagonAsmBackend.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: HexagonELFObjectWriter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: HexagonMCELFStreamer.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: HexagonMCExpr.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: HexagonMCTargetDesc.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: LanaiAsmPrinter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: LanaiAsmParser.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: LanaiAsmBackend.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: LanaiMCExpr.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: LanaiMCTargetDesc.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MipsAsmPrinter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MipsDelaySlotFiller.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MipsLongBranch.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MipsMCInstLower.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MipsAsmParser.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MipsABIFlagsSection.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MipsAsmBackend.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MipsELFStreamer.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MipsMCExpr.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MipsMCTargetDesc.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MipsNaClELFStreamer.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MipsOptionRecord.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MipsTargetStreamer.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MSP430AsmPrinter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: NVPTXAsmPrinter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: NVPTXMCExpr.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: PPCAsmPrinter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: PPCAsmParser.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: PPCAsmBackend.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: PPCMCTargetDesc.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: PPCMCExpr.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: PPCMachObjectWriter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: SparcAsmPrinter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: SparcAsmParser.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: SparcMCAsmInfo.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: SparcMCTargetDesc.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: SparcMCExpr.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: SparcTargetStreamer.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: SystemZAsmPrinter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: SystemZMCInstLower.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: SystemZAsmParser.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: SystemZMCTargetDesc.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86AsmPrinter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86CallFrameOptimization.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86CallLowering.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86CmovConversion.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86ExpandPseudo.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86FastISel.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86FixupBWInsts.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86FixupLEAs.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86FixupSetCC.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86FloatingPoint.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86FrameLowering.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86InstructionSelector.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86ISelDAGToDAG.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86ISelLowering.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86InterleavedAccess.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86InstrFMA3Info.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86InstrInfo.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86EvexToVex.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86LegalizerInfo.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86MCInstLower.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86MacroFusion.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86OptimizeLEAs.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86PadShortFunction.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86RegisterBankInfo.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86RegisterInfo.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86SelectionDAGInfo.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86Subtarget.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86TargetMachine.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86TargetTransformInfo.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86VZeroUpper.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86WinAllocaExpander.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86CallingConv.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86AsmInstrumentation.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86AsmParser.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86ATTInstPrinter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86IntelInstPrinter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86InstComments.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86AsmBackend.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86MCTargetDesc.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86MCAsmInfo.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86MCCodeEmitter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86MachObjectWriter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86ELFObjectWriter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86WinCOFFStreamer.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86WinCOFFObjectWriter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: X86TargetInfo.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: XCoreAsmPrinter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: XCoreMCTargetDesc.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AddressPool.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: ARMException.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AsmPrinter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AsmPrinterDwarf.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AsmPrinterInlineAsm.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: DebugHandlerBase.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: DebugLocStream.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: DIE.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: DIEHash.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: DwarfAccelTable.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: DwarfCFIException.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: DwarfCompileUnit.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: DwarfDebug.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: DwarfFile.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: DwarfStringPool.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: DwarfUnit.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: EHStreamer.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: ErlangGCPrinter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: OcamlGCPrinter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: WinException.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: CodeViewDebug.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: FaultMaps.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: LLVMTargetMachine.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: StackMaps.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: TargetLoweringObjectFileImpl.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: ConstantPools.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: ELFObjectWriter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MCAsmInfo.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
MCAsmStreamer.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Line
Count
Source
67
227
static inline StringRef MCLOHIdToName(MCLOHType Kind) {
68
227
#define MCLOHCaseIdToName(Name)      case MCLOH_ ## Name: return StringRef(#Name);
69
227
  switch (Kind) {
70
227
    
MCLOHCaseIdToName13
(AdrpAdrp)227
;
71
60
    
MCLOHCaseIdToName60
(AdrpLdr)0
;
72
4
    
MCLOHCaseIdToName4
(AdrpAddLdr)0
;
73
39
    
MCLOHCaseIdToName39
(AdrpLdrGotLdr)0
;
74
4
    
MCLOHCaseIdToName4
(AdrpAddStr)0
;
75
15
    
MCLOHCaseIdToName15
(AdrpLdrGotStr)0
;
76
22
    
MCLOHCaseIdToName22
(AdrpAdd)0
;
77
70
    
MCLOHCaseIdToName70
(AdrpLdrGot)0
;0
78
227
  }
79
0
  return StringRef();
80
227
}
Unexecuted instantiation: MCAssembler.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MCCodeView.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MCContext.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MCDwarf.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MCELFStreamer.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MCExpr.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MCFragment.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MCLinkerOptimizationHint.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MCMachOStreamer.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MCNullStreamer.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MCObjectStreamer.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MCObjectWriter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MCStreamer.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MCSymbolELF.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MCWasmStreamer.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MCWin64EH.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MCWinCOFFStreamer.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MCWinEH.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: MachObjectWriter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: WinCOFFObjectWriter.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: TargetLoweringObjectFile.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: AsmParser.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: COFFAsmParser.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: DarwinAsmParser.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
Unexecuted instantiation: ELFAsmParser.cpp:llvm::MCLOHIdToName(llvm::MCLOHType)
81
82
21
static inline int MCLOHIdToNbArgs(MCLOHType Kind) {
83
21
  switch (Kind) {
84
21
    // LOH with two arguments
85
13
  case MCLOH_AdrpAdrp:
86
13
  case MCLOH_AdrpLdr:
87
13
  case MCLOH_AdrpAdd:
88
13
  case MCLOH_AdrpLdrGot:
89
13
    return 2;
90
13
    // LOH with three arguments
91
8
  case MCLOH_AdrpAddLdr:
92
8
  case MCLOH_AdrpLdrGotLdr:
93
8
  case MCLOH_AdrpAddStr:
94
8
  case MCLOH_AdrpLdrGotStr:
95
8
    return 3;
96
21
  }
97
0
  return -1;
98
21
}
Unexecuted instantiation: AArch64CallLowering.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: ELFAsmParser.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: DarwinAsmParser.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: COFFAsmParser.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AsmParser.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: TargetLoweringObjectFile.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: WinCOFFObjectWriter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MachObjectWriter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MCWinEH.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MCWinCOFFStreamer.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MCWin64EH.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MCWasmStreamer.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MCSymbolELF.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MCStreamer.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MCObjectWriter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MCObjectStreamer.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MCNullStreamer.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MCMachOStreamer.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MCLinkerOptimizationHint.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MCFragment.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MCExpr.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MCELFStreamer.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MCDwarf.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MCContext.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MCCodeView.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MCAssembler.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MCAsmStreamer.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MCAsmInfo.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: ELFObjectWriter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: ConstantPools.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: TargetLoweringObjectFileImpl.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: StackMaps.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: LLVMTargetMachine.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: FaultMaps.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: CodeViewDebug.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: WinException.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: OcamlGCPrinter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: ErlangGCPrinter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: EHStreamer.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: DwarfUnit.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: DwarfStringPool.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: DwarfFile.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: DwarfDebug.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: DwarfCompileUnit.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: DwarfCFIException.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: DwarfAccelTable.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: DIEHash.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: DIE.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: DebugLocStream.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: DebugHandlerBase.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AsmPrinterInlineAsm.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AsmPrinterDwarf.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AsmPrinter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: ARMException.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AddressPool.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: XCoreMCTargetDesc.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: XCoreAsmPrinter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86TargetInfo.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86WinCOFFObjectWriter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86WinCOFFStreamer.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86ELFObjectWriter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86MachObjectWriter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86MCCodeEmitter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86MCAsmInfo.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86MCTargetDesc.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86AsmBackend.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86InstComments.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86IntelInstPrinter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86ATTInstPrinter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86AsmParser.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86AsmInstrumentation.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86CallingConv.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86WinAllocaExpander.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86VZeroUpper.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86TargetTransformInfo.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86TargetMachine.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86Subtarget.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86SelectionDAGInfo.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86RegisterInfo.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86RegisterBankInfo.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86PadShortFunction.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86OptimizeLEAs.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86MacroFusion.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86MCInstLower.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86LegalizerInfo.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86EvexToVex.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86InstrInfo.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86InstrFMA3Info.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86InterleavedAccess.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86ISelLowering.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86ISelDAGToDAG.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86InstructionSelector.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86FrameLowering.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86FloatingPoint.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86FixupSetCC.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86FixupLEAs.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86FixupBWInsts.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86FastISel.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86ExpandPseudo.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86CmovConversion.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86CallLowering.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86CallFrameOptimization.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: X86AsmPrinter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: SystemZMCTargetDesc.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: SystemZAsmParser.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: SystemZMCInstLower.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: SystemZAsmPrinter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: SparcTargetStreamer.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: SparcMCExpr.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: SparcMCTargetDesc.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: SparcMCAsmInfo.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: SparcAsmParser.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: SparcAsmPrinter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: PPCMachObjectWriter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: PPCMCExpr.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: PPCMCTargetDesc.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: PPCAsmBackend.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: PPCAsmParser.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: PPCAsmPrinter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: NVPTXMCExpr.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: NVPTXAsmPrinter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MSP430AsmPrinter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MipsTargetStreamer.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MipsOptionRecord.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MipsNaClELFStreamer.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MipsMCTargetDesc.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MipsMCExpr.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MipsELFStreamer.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MipsAsmBackend.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MipsABIFlagsSection.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MipsAsmParser.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MipsMCInstLower.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MipsLongBranch.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MipsDelaySlotFiller.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: MipsAsmPrinter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: LanaiMCTargetDesc.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: LanaiMCExpr.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: LanaiAsmBackend.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: LanaiAsmParser.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: LanaiAsmPrinter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: HexagonMCTargetDesc.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: HexagonMCExpr.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: HexagonMCELFStreamer.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: HexagonELFObjectWriter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: HexagonAsmBackend.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: HexagonAsmParser.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: HexagonAsmPrinter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: BPFAsmParser.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: BPFAsmPrinter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: ARMWinCOFFStreamer.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: ARMTargetStreamer.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: ARMMCTargetDesc.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: ARMMCExpr.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: ARMMachObjectWriter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: ARMELFStreamer.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: ARMAsmBackend.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: ARMAsmParser.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: ARMMCInstLower.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: ARMAsmPrinter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AMDGPUTargetStreamer.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AMDGPUMCTargetDesc.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AMDGPUELFStreamer.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AMDGPUAsmBackend.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AMDGPUAsmParser.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AMDGPUMCInstLower.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AMDGPUAsmPrinter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AArch64WinCOFFStreamer.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AArch64TargetStreamer.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AArch64MachObjectWriter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AArch64MCTargetDesc.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AArch64MCExpr.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AArch64MCAsmInfo.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AArch64ELFStreamer.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AArch64AsmBackend.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
AArch64AsmParser.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Line
Count
Source
82
21
static inline int MCLOHIdToNbArgs(MCLOHType Kind) {
83
21
  switch (Kind) {
84
21
    // LOH with two arguments
85
13
  case MCLOH_AdrpAdrp:
86
13
  case MCLOH_AdrpLdr:
87
13
  case MCLOH_AdrpAdd:
88
13
  case MCLOH_AdrpLdrGot:
89
13
    return 2;
90
13
    // LOH with three arguments
91
8
  case MCLOH_AdrpAddLdr:
92
8
  case MCLOH_AdrpLdrGotLdr:
93
8
  case MCLOH_AdrpAddStr:
94
8
  case MCLOH_AdrpLdrGotStr:
95
8
    return 3;
96
21
  }
97
0
  return -1;
98
21
}
Unexecuted instantiation: AArch64TargetObjectFile.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AArch64RegisterInfo.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AArch64InstructionSelector.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AArch64InstrInfo.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AArch64ISelLowering.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AArch64FrameLowering.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AArch64CollectLOH.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AArch64CleanupLocalDynamicTLSPass.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
Unexecuted instantiation: AArch64AsmPrinter.cpp:llvm::MCLOHIdToNbArgs(llvm::MCLOHType)
99
100
/// Store Linker Optimization Hint information (LOH).
101
class MCLOHDirective {
102
  MCLOHType Kind;
103
104
  /// Arguments of this directive. Order matters.
105
  SmallVector<MCSymbol *, 3> Args;
106
107
  /// Emit this directive in \p OutStream using the information available
108
  /// in the given \p ObjWriter and \p Layout to get the address of the
109
  /// arguments within the object file.
110
  void emit_impl(raw_ostream &OutStream, const MachObjectWriter &ObjWriter,
111
                 const MCAsmLayout &Layout) const;
112
113
public:
114
  using LOHArgs = SmallVectorImpl<MCSymbol *>;
115
116
  MCLOHDirective(MCLOHType Kind, const LOHArgs &Args)
117
1.23M
      : Kind(Kind), Args(Args.begin(), Args.end()) {
118
1.23M
    assert(isValidMCLOHType(Kind) && "Invalid LOH directive type!");
119
1.23M
  }
120
121
0
  MCLOHType getKind() const { return Kind; }
122
123
0
  const LOHArgs &getArgs() const { return Args; }
124
125
  /// Emit this directive as:
126
  /// <kind, numArgs, addr1, ..., addrN>
127
  void emit(MachObjectWriter &ObjWriter, const MCAsmLayout &Layout) const;
128
129
  /// Get the size in bytes of this directive if emitted in \p ObjWriter with
130
  /// the given \p Layout.
131
  uint64_t getEmitSize(const MachObjectWriter &ObjWriter,
132
                       const MCAsmLayout &Layout) const;
133
};
134
135
class MCLOHContainer {
136
  /// Keep track of the emit size of all the LOHs.
137
  mutable uint64_t EmitSize = 0;
138
139
  /// Keep track of all LOH directives.
140
  SmallVector<MCLOHDirective, 32> Directives;
141
142
public:
143
  using LOHDirectives = SmallVectorImpl<MCLOHDirective>;
144
145
21.4k
  MCLOHContainer() = default;
146
147
  /// Const accessor to the directives.
148
0
  const LOHDirectives &getDirectives() const {
149
0
    return Directives;
150
0
  }
151
152
  /// Add the directive of the given kind \p Kind with the given arguments
153
  /// \p Args to the container.
154
1.23M
  void addDirective(MCLOHType Kind, const MCLOHDirective::LOHArgs &Args) {
155
1.23M
    Directives.push_back(MCLOHDirective(Kind, Args));
156
1.23M
  }
157
158
  /// Get the size of the directives if emitted.
159
  uint64_t getEmitSize(const MachObjectWriter &ObjWriter,
160
18.3k
                       const MCAsmLayout &Layout) const {
161
18.3k
    if (
!EmitSize18.3k
) {
162
18.3k
      for (const MCLOHDirective &D : Directives)
163
1.23M
        EmitSize += D.getEmitSize(ObjWriter, Layout);
164
18.3k
    }
165
18.3k
    return EmitSize;
166
18.3k
  }
167
168
  /// Emit all Linker Optimization Hint in one big table.
169
  /// Each line of the table is emitted by LOHDirective::emit.
170
12.0k
  void emit(MachObjectWriter &ObjWriter, const MCAsmLayout &Layout) const {
171
12.0k
    for (const MCLOHDirective &D : Directives)
172
1.23M
      D.emit(ObjWriter, Layout);
173
12.0k
  }
174
175
36.1k
  void reset() {
176
36.1k
    Directives.clear();
177
36.1k
    EmitSize = 0;
178
36.1k
  }
179
};
180
181
// Add types for specialized template using MCSymbol.
182
using MCLOHArgs = MCLOHDirective::LOHArgs;
183
using MCLOHDirectives = MCLOHContainer::LOHDirectives;
184
185
} // end namespace llvm
186
187
#endif // LLVM_MC_MCLINKEROPTIMIZATIONHINT_H