9#ifndef LLVM_CODEGEN_GLOBALMERGE_H
10#define LLVM_CODEGEN_GLOBALMERGE_H
const char LLVMTargetMachineRef LLVMPassBuilderOptionsRef Options
ModuleAnalysisManager MAM
const char LLVMTargetMachineRef TM
This header defines various interfaces for pass management in LLVM.
A container for analyses that lazily runs them and caches their results.
PreservedAnalyses run(Module &M, ModuleAnalysisManager &MAM)
GlobalMergePass(const TargetMachine *TM, GlobalMergeOptions Options)
A Module instance is used to store all the information related to an LLVM module.
A set of analyses that are preserved following a run of a transformation pass.
Primary interface to the complete machine description for the target machine.
This is an optimization pass for GlobalISel generic memory operations.
bool SizeOnly
Whether we should try to optimize for size only.
bool MergeExternal
Whether we should merge global variables that have external linkage.
A CRTP mix-in to automatically provide informational APIs needed for passes.