LLVM 24.0.0git
X86.h
Go to the documentation of this file.
1//===-- X86.h - Top-level interface for X86 representation ------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file contains the entry points for global functions defined in the x86
10// target library, as used by the LLVM JIT.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_LIB_TARGET_X86_X86_H
15#define LLVM_LIB_TARGET_X86_X86_H
16
19#include "llvm/IR/Analysis.h"
20#include "llvm/IR/Module.h"
21#include "llvm/IR/PassManager.h"
22#include "llvm/PassInfo.h"
25
26namespace llvm {
27
28class FunctionPass;
30class MachineFunction;
31class PassRegistry;
33class X86Subtarget;
35
36/// This pass converts a legalized DAG into a X86-specific DAG, ready for
37/// instruction scheduling.
42
44
45/// This pass initializes a global base register for PIC on x86-32.
47 : public OptionalPassInfoMixin<X86GlobalBaseRegPass> {
48public:
51};
52
54
55/// This pass combines multiple accesses to local-dynamic TLS variables so that
56/// the TLS base address for the module is only fetched once per execution path
57/// through the function.
59 : public OptionalPassInfoMixin<X86CleanupLocalDynamicTLSPass> {
60public:
63};
64
66
67/// This function returns a pass which converts floating-point register
68/// references and pseudo instructions into floating-point stack references and
69/// physical instructions.
70class X86FPStackifierPass : public OptionalPassInfoMixin<X86FPStackifierPass> {
71public:
74};
75
77
78/// This pass aligns the code so that it conforms to the LFI sandboxing rules.
79class X86LFIRewritePass : public RequiredPassInfoMixin<X86LFIRewritePass> {
80public:
83};
84
86
87/// This pass inserts AVX vzeroupper instructions before each call to avoid
88/// transition penalty between functions encoded with AVX and SSE.
90 : public OptionalPassInfoMixin<X86InsertVZeroUpperPass> {
91public:
94};
95
97/// This pass inserts ENDBR instructions before indirect jump/call
98/// destinations as part of CET IBT mechanism.
100 : public OptionalPassInfoMixin<X86IndirectBranchTrackingPass> {
101public:
104};
105
107
108/// Return a pass that pads short functions with NOOPs.
109/// This will prevent a stall when returning on the Atom.
111
112/// Return a pass that selectively replaces certain instructions (like add,
113/// sub, inc, dec, some shifts, and some multiplies) by equivalent LEA
114/// instructions, in order to eliminate execution delays in some processors.
115class X86FixupLEAsPass : public OptionalPassInfoMixin<X86FixupLEAsPass> {
116public:
119};
120
122
123/// Return a pass that replaces equivalent slower instructions with faster
124/// ones.
126 : public OptionalPassInfoMixin<X86FixupInstTuningPass> {
127public:
130};
131
133
134/// Return a pass that reduces the size of vector constant pool loads.
136 : public OptionalPassInfoMixin<X86FixupInstTuningPass> {
137public:
140};
141
143
144/// Return a pass that removes redundant LEA instructions and redundant address
145/// recalculations.
146class X86OptimizeLEAsPass : public OptionalPassInfoMixin<X86OptimizeLEAsPass> {
147public:
150};
151
153
154/// Return a pass that transforms setcc + movzx pairs into xor + setcc.
155class X86FixupSetCCPass : public OptionalPassInfoMixin<X86FixupSetCCPass> {
156public:
159};
160
162
163/// Return a pass that avoids creating store forward block issues in the
164/// hardware.
166 : public OptionalPassInfoMixin<X86AvoidStoreForwardingBlocksPass> {
167public:
170};
171
173
174/// Return a pass that lowers EFLAGS copy pseudo instructions.
176 : public OptionalPassInfoMixin<X86FlagsCopyLoweringPass> {
177public:
180};
181
183
184/// Return a pass that expands DynAlloca pseudo-instructions.
186 : public OptionalPassInfoMixin<X86DynAllocaExpanderPass> {
187public:
190};
191
193
194/// Return a pass that config the tile registers.
195class X86TileConfigPass : public OptionalPassInfoMixin<X86TileConfigPass> {
196public:
199};
200
202
203/// Return a pass that preconfig the tile registers before fast reg allocation.
205 : public OptionalPassInfoMixin<X86FastPreTileConfigPass> {
206public:
209};
210
212
213/// Return a pass that config the tile registers after fast reg allocation.
215 : public OptionalPassInfoMixin<X86FastTileConfigPass> {
216public:
219};
220
222
223/// Return a pass that insert pseudo tile config instruction.
225 : public OptionalPassInfoMixin<X86PreTileConfigPass> {
226public:
229};
230
232
233/// Return a pass that lower the tile copy instruction.
235 : public OptionalPassInfoMixin<X86LowerTileCopyPass> {
236public:
239};
240
242
243/// Return a pass that inserts int3 at the end of the function if it ends with a
244/// CALL instruction. The pass does the same for each funclet as well. This
245/// ensures that the open interval of function start and end PCs contains all
246/// return addresses for the benefit of the Windows x64 unwinder.
248 : public RequiredPassInfoMixin<X86AvoidTrailingCallPass> {
249public:
252};
253
255
256/// Return a pass that optimizes the code-size of x86 call sequences. This is
257/// done by replacing esp-relative movs with pushes.
259 : public OptionalPassInfoMixin<X86CallFrameOptimizationPass> {
260public:
263};
264
266
267/// Return an IR pass that inserts EH registration stack objects and explicit
268/// EH state updates. This pass must run after EH preparation, which does
269/// Windows-specific but architecture-neutral preparation.
270class X86WinEHStatePass : public OptionalPassInfoMixin<X86WinEHStatePass> {
271public:
272 X86WinEHStatePass() = default;
274};
275
277
278/// Return a Machine IR pass that expands X86-specific pseudo
279/// instructions into a sequence of actual instructions. This pass
280/// must run after prologue/epilogue insertion and before lowering
281/// the MachineInstr to MC.
282class X86ExpandPseudoPass : public OptionalPassInfoMixin<X86ExpandPseudoPass> {
283public:
286};
287
289
290/// This pass converts X86 cmov instructions into branch when profitable.
292 : public OptionalPassInfoMixin<X86CmovConversionPass> {
293public:
296};
297
299
300/// Return a Machine IR pass that selectively replaces
301/// certain byte and word instructions by equivalent 32 bit instructions,
302/// in order to eliminate partial register usage, false dependences on
303/// the upper portions of registers, and to save code size.
304class X86FixupBWInstsPass : public OptionalPassInfoMixin<X86FixupBWInstsPass> {
305public:
308};
309
311
312/// Return a Machine IR pass that reassigns instruction chains from one domain
313/// to another, when profitable.
315 : public OptionalPassInfoMixin<X86DomainReassignmentPass> {
316public:
319};
320
322
323/// This pass compress instructions from EVEX space to legacy/VEX/EVEX space when
324/// possible in order to reduce code size or facilitate HW decoding.
325class X86CompressEVEXPass : public OptionalPassInfoMixin<X86CompressEVEXPass> {
326public:
329};
330
332
333/// This pass creates the thunks for the retpoline feature.
335
336/// This pass replaces ret instructions with jmp's to __x86_return thunk.
337class X86ReturnThunksPass : public OptionalPassInfoMixin<X86ReturnThunksPass> {
338public:
341};
342
344
345/// This pass insert wait instruction after X87 instructions which could raise
346/// fp exceptions when strict-fp enabled.
348 : public OptionalPassInfoMixin<X86InsertX87WaitPass> {
349public:
351};
352
354
355/// This pass optimizes arithmetic based on knowledge that is only used by
356/// a reduction sequence and is therefore safe to reassociate in interesting
357/// ways.
359 : public OptionalPassInfoMixin<X86PartialReductionPass> {
360private:
361 const X86TargetMachine *TM;
362
363public:
366};
367
369
370/// // Analyzes and emits pseudos to support Win x64 Unwind V2.
372 : public OptionalPassInfoMixin<X86WinEHUnwindV2Pass> {
373public:
377};
378
380
381/// The pass transforms load/store <256 x i32> to AMX load/store intrinsics
382/// or split the data to two <128 x i32>.
383class X86LowerAMXTypePass : public RequiredPassInfoMixin<X86LowerAMXTypePass> {
384private:
385 const TargetMachine *TM;
386
387public:
388 X86LowerAMXTypePass(const TargetMachine *TM) : TM(TM) {}
390};
391
392FunctionPass *createX86LowerAMXTypeLegacyPass();
393
394// Suppresses APX features for relocations for supporting older linkers.
396 : public OptionalPassInfoMixin<X86SuppressAPXForRelocationPass> {
397public:
400};
401
403
404/// The pass transforms amx intrinsics to scalar operation if the function has
405/// optnone attribute or it is O0.
407 : public RequiredPassInfoMixin<X86LowerAMXIntrinsicsPass> {
408private:
409 const TargetMachine *TM;
410
411public:
414};
415
417
418/// Capacity check and sub-fragment splitting for Win x64 Unwind V3.
420
421/// Returns true when \p MF must use Windows x64 Unwind V3: the module is in V3
422/// mode, or the function needs an unwind table and may use EGPR (R16-R31),
423/// which V1/V2 cannot encode. Shared by frame lowering and the WinEH Unwind
424/// V2/V3 passes so their decisions cannot disagree.
426
428 const X86Subtarget &,
429 const X86RegisterBankInfo &);
430
432 : public OptionalPassInfoMixin<X86PostLegalizerCombinerPass> {
433public:
436};
437
439
441 : public RequiredPassInfoMixin<X86PreLegalizerCombinerPass> {
442public:
445};
446
448
450 : public OptionalPassInfoMixin<X86LoadValueInjectionLoadHardeningPass> {
451public:
454};
455
457
459 : public OptionalPassInfoMixin<X86LoadValueInjectionRetHardeningPass> {
460public:
463};
464
466
468 : public OptionalPassInfoMixin<
469 X86SpeculativeExecutionSideEffectSuppressionPass> {
470public:
473};
474
476
478 : public OptionalPassInfoMixin<X86SpeculativeLoadHardeningPass> {
479public:
482};
483
485
487 : public OptionalPassInfoMixin<X86ArgumentStackSlotPass> {
488public:
491};
492
494
528 PassRegistry &);
536
537namespace X86AS {
538enum : unsigned {
539 GS = 256,
540 FS = 257,
541 SS = 258,
544 PTR64 = 272
545};
546} // End X86AS namespace
547
548} // End llvm namespace
549
550#endif
Module.h This file contains the declarations for the Module class.
This header defines various interfaces for pass management in LLVM.
#define F(x, y, z)
Definition MD5.cpp:54
FunctionAnalysisManager FAM
ModuleAnalysisManager MAM
FunctionPass class - This class is used to implement most global optimizations.
Definition Pass.h:314
A Module instance is used to store all the information related to an LLVM module.
Definition Module.h:68
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...
A set of analyses that are preserved following a run of a transformation pass.
Definition Analysis.h:112
SelectionDAGISelPass(std::unique_ptr< SelectionDAGISel > Selector)
Primary interface to the complete machine description for the target machine.
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Return a pass that avoids creating store forward block issues in the hardware.
Definition X86.h:166
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Return a pass that inserts int3 at the end of the function if it ends with a CALL instruction.
Definition X86.h:248
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Return a pass that optimizes the code-size of x86 call sequences.
Definition X86.h:259
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
This pass combines multiple accesses to local-dynamic TLS variables so that the TLS base address for ...
Definition X86.h:59
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
This pass converts X86 cmov instructions into branch when profitable.
Definition X86.h:292
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
This pass compress instructions from EVEX space to legacy/VEX/EVEX space when possible in order to re...
Definition X86.h:325
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Return a Machine IR pass that reassigns instruction chains from one domain to another,...
Definition X86.h:315
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Return a pass that expands DynAlloca pseudo-instructions.
Definition X86.h:186
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Return a Machine IR pass that expands X86-specific pseudo instructions into a sequence of actual inst...
Definition X86.h:282
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
This function returns a pass which converts floating-point register references and pseudo instruction...
Definition X86.h:70
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Return a pass that preconfig the tile registers before fast reg allocation.
Definition X86.h:205
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Return a pass that config the tile registers after fast reg allocation.
Definition X86.h:215
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Return a Machine IR pass that selectively replaces certain byte and word instructions by equivalent 3...
Definition X86.h:304
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Return a pass that replaces equivalent slower instructions with faster ones.
Definition X86.h:126
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Return a pass that selectively replaces certain instructions (like add, sub, inc, dec,...
Definition X86.h:115
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Return a pass that transforms setcc + movzx pairs into xor + setcc.
Definition X86.h:155
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Return a pass that reduces the size of vector constant pool loads.
Definition X86.h:136
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Return a pass that lowers EFLAGS copy pseudo instructions.
Definition X86.h:176
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
This pass initializes a global base register for PIC on x86-32.
Definition X86.h:47
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
X86ISelDAGToDAGPass(X86TargetMachine &TM)
This pass inserts ENDBR instructions before indirect jump/call destinations as part of CET IBT mechan...
Definition X86.h:100
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
This pass inserts AVX vzeroupper instructions before each call to avoid transition penalty between fu...
Definition X86.h:90
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
This pass insert wait instruction after X87 instructions which could raise fp exceptions when strict-...
Definition X86.h:348
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &)
This pass aligns the code so that it conforms to the LFI sandboxing rules.
Definition X86.h:79
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
PreservedAnalyses run(Function &F, FunctionAnalysisManager &FAM)
X86LowerAMXIntrinsicsPass(const TargetMachine *TM)
Definition X86.h:412
X86LowerAMXTypePass(const TargetMachine *TM)
Definition X86.h:388
PreservedAnalyses run(Function &F, FunctionAnalysisManager &FAM)
Return a pass that lower the tile copy instruction.
Definition X86.h:235
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Return a pass that removes redundant LEA instructions and redundant address recalculations.
Definition X86.h:146
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
PreservedAnalyses run(Function &F, FunctionAnalysisManager &FAM)
X86PartialReductionPass(const X86TargetMachine *TM)
Definition X86.h:364
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Return a pass that insert pseudo tile config instruction.
Definition X86.h:225
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
This class provides the information for the target register banks.
This pass replaces ret instructions with jmp's to __x86_return thunk.
Definition X86.h:337
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Return a pass that config the tile registers.
Definition X86.h:195
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
PreservedAnalyses run(Module &M, ModuleAnalysisManager &MAM)
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Pass manager infrastructure for declaring and invalidating analyses.
@ PTR32_UPTR
Definition X86.h:543
@ PTR64
Definition X86.h:544
@ PTR32_SPTR
Definition X86.h:542
This is an optimization pass for GlobalISel generic memory operations.
FunctionPass * createX86WinEHUnwindV3Pass()
Capacity check and sub-fragment splitting for Win x64 Unwind V3.
void initializeX86LoadValueInjectionLoadHardeningLegacyPass(PassRegistry &)
FunctionPass * createX86LowerAMXIntrinsicsLegacyPass()
FunctionPass * createX86CompressEVEXLegacyPass()
FunctionPass * createX86FastTileConfigLegacyPass()
void initializeX86PartialReductionLegacyPass(PassRegistry &)
FunctionPass * createX86DomainReassignmentLegacyPass()
FunctionPass * createX86ExpandPseudoLegacyPass()
Returns an instance of the pseudo instruction expansion pass.
FunctionPass * createX86OptimizeLEAsLegacyPass()
void initializeCompressEVEXLegacyPass(PassRegistry &)
void initializeX86PostLegalizerCombinerLegacyPass(PassRegistry &)
FunctionPass * createX86DynAllocaExpanderLegacyPass()
void initializeX86DomainReassignmentLegacyPass(PassRegistry &)
FunctionPass * createX86TileConfigLegacyPass()
FunctionPass * createX86AvoidStoreForwardingBlocksLegacyPass()
void initializeX86LowerAMXIntrinsicsLegacyPassPass(PassRegistry &)
FunctionPass * createX86InsertX87WaitLegacyPass()
FunctionPass * createX86PartialReductionLegacyPass()
void initializeX86CmovConversionLegacyPass(PassRegistry &)
AnalysisManager< MachineFunction > MachineFunctionAnalysisManager
void initializeX86DynAllocaExpanderLegacyPass(PassRegistry &)
FunctionPass * createX86FixupSetCCLegacyPass()
void initializeX86FastPreTileConfigLegacyPass(PassRegistry &)
FunctionPass * createX86SpeculativeExecutionSideEffectSuppressionLegacyPass()
FunctionPass * createX86LoadValueInjectionLoadHardeningLegacyPass()
FunctionPass * createX86PadShortFunctions()
Return a pass that pads short functions with NOOPs.
void initializeX86IndirectBranchTrackingLegacyPass(PassRegistry &)
void initializeX86FastTileConfigLegacyPass(PassRegistry &)
void initializeX86FixupVectorConstantsLegacyPass(PassRegistry &)
FunctionPass * createX86IndirectBranchTrackingLegacyPass()
void initializeX86AsmPrinterPass(PassRegistry &)
FunctionPass * createX86LowerTileCopyLegacyPass()
void initializeX86ExpandPseudoLegacyPass(PassRegistry &)
FunctionPass * createX86CmovConversionLegacyPass()
FunctionPass * createX86ArgumentStackSlotLegacyPass()
void initializeX86SpeculativeExecutionSideEffectSuppressionLegacyPass(PassRegistry &)
void initializeX86FixupInstTuningLegacyPass(PassRegistry &)
void initializeX86FlagsCopyLoweringLegacyPass(PassRegistry &)
FunctionPass * createX86PostLegalizerCombinerLegacy()
void initializeX86AvoidTrailingCallLegacyPassPass(PassRegistry &)
FunctionPass * createX86ISelDag(X86TargetMachine &TM, CodeGenOptLevel OptLevel)
This pass converts a legalized DAG into a X86-specific DAG, ready for instruction scheduling.
bool requireWinX64UnwindV3(const MachineFunction &MF)
Returns true when MF must use Windows x64 Unwind V3: the module is in V3 mode, or the function needs ...
FunctionPass * createX86FixupLEAsLegacyPass()
FunctionPass * createX86LFIRewritePass()
FunctionPass * createX86CallFrameOptimizationLegacyPass()
CodeGenOptLevel
Code generation optimization level.
Definition CodeGen.h:227
void initializeX86CallFrameOptimizationLegacyPass(PassRegistry &)
FunctionPass * createX86FlagsCopyLoweringLegacyPass()
FunctionPass * createCleanupLocalDynamicTLSLegacyPass()
void initializeX86FixupBWInstLegacyPass(PassRegistry &)
void initializeX86LoadValueInjectionRetHardeningLegacyPass(PassRegistry &)
void initializeX86FPStackifierLegacyPass(PassRegistry &)
void initializeX86LowerTileCopyLegacyPass(PassRegistry &)
void initializeX86SpeculativeLoadHardeningLegacyPass(PassRegistry &)
void initializeX86TileConfigLegacyPass(PassRegistry &)
void initializeFixupLEAsLegacyPass(PassRegistry &)
FunctionPass * createX86PreTileConfigLegacyPass()
FunctionPass * createX86InsertVZeroUpperLegacyPass()
FunctionPass * createX86SpeculativeLoadHardeningLegacyPass()
void initializeX86LowerAMXTypeLegacyPassPass(PassRegistry &)
FunctionPass * createX86ReturnThunksLegacyPass()
void initializeX86ArgumentStackSlotLegacyPass(PassRegistry &)
FunctionPass * createX86FixupBWInstsLegacyPass()
FunctionPass * createX86PreLegalizerCombinerLegacy()
FunctionPass * createX86FPStackifierLegacyPass()
void initializeX86PreTileConfigLegacyPass(PassRegistry &)
FunctionPass * createX86SuppressAPXForRelocationLegacyPass()
FunctionPass * createX86FastPreTileConfigLegacyPass()
FunctionPass * createX86LoadValueInjectionRetHardeningLegacyPass()
FunctionPass * createX86LowerAMXTypeLegacyPass()
void initializeX86WinEHUnwindV3Pass(PassRegistry &)
void initializeX86ReturnThunksLegacyPass(PassRegistry &)
void initializeX86PreLegalizerCombinerLegacyPass(PassRegistry &)
void initializeX86SuppressAPXForRelocationLegacyPass(PassRegistry &)
FunctionPass * createX86WinEHStateLegacyPass()
FunctionPass * createX86FixupVectorConstantsLegacyPass()
void initializeX86FixupSetCCLegacyPass(PassRegistry &)
AnalysisManager< Function > FunctionAnalysisManager
Convenience typedef for the Function analysis manager.
void initializeWinEHStateLegacyPass(PassRegistry &)
FunctionPass * createX86IndirectThunksPass()
This pass creates the thunks for the retpoline feature.
FunctionPass * createX86WinEHUnwindV2LegacyPass()
FunctionPass * createX86FixupInstTuningLegacyPass()
void initializeX86ExecutionDomainFixPass(PassRegistry &)
void initializeX86DAGToDAGISelLegacyPass(PassRegistry &)
void initializeX86OptimizeLEAsLegacyPass(PassRegistry &)
AnalysisManager< Module > ModuleAnalysisManager
Convenience typedef for the Module analysis manager.
Definition MIRParser.h:39
void initializeX86AvoidSFBLegacyPass(PassRegistry &)
void initializeX86WinEHUnwindV2LegacyPass(PassRegistry &)
FunctionPass * createX86AvoidTrailingCallLegacyPass()
InstructionSelector * createX86InstructionSelector(const X86TargetMachine &TM, const X86Subtarget &, const X86RegisterBankInfo &)
FunctionPass * createX86GlobalBaseRegLegacyPass()
A CRTP mix-in for passes that can be skipped.
A CRTP mix-in for passes that should not be skipped.