Coverage Report

Created: 2019-07-24 05:18

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