brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.5 KiB · b80ad38 Raw
69 lines · plain
1//===- X86PassRegistry.def - Registry of X86 specific passes ----*- 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-exception6//7//===----------------------------------------------------------------------===//8//9// This file is used as the registry of passes that are part of the X86 backend.10//11//===----------------------------------------------------------------------===//12 13// NOTE: NO INCLUDE GUARD DESIRED!14 15#ifndef FUNCTION_PASS16#define FUNCTION_PASS(NAME, CREATE_PASS)17#endif18FUNCTION_PASS("x86-lower-amx-intrinsics", X86LowerAMXIntrinsicsPass(this))19FUNCTION_PASS("x86-lower-amx-type", X86LowerAMXTypePass(this))20FUNCTION_PASS("x86-partial-reduction", X86PartialReductionPass(this))21#undef FUNCTION_PASS22 23#ifndef DUMMY_FUNCTION_PASS24#define DUMMY_FUNCTION_PASS(NAME, CREATE_PASS)25#endif26DUMMY_FUNCTION_PASS("x86-winehstate", WinEHStatePass())27#undef DUMMY_FUNCTION_PASS28 29#ifndef MACHINE_FUNCTION_PASS30#define MACHINE_FUNCTION_PASS(NAME, CREATE_PASS)31#endif32MACHINE_FUNCTION_PASS("x86-avoid-trailing-call", X86AvoidTrailingCallPass())33MACHINE_FUNCTION_PASS("x86-dyn-alloca-expander", X86DynAllocaExpanderPass())34MACHINE_FUNCTION_PASS("x86-fp-stackifier", X86FPStackifierPass())35MACHINE_FUNCTION_PASS("x86-isel", X86ISelDAGToDAGPass(*this))36#undef MACHINE_FUNCTION_PASS37 38#ifndef DUMMY_MACHINE_FUNCTION_PASS39#define DUMMY_MACHINE_FUNCTION_PASS(NAME, PASS_NAME)40#endif41DUMMY_MACHINE_FUNCTION_PASS("x86-avoid-SFB", X86AvoidSFBPass())42DUMMY_MACHINE_FUNCTION_PASS("x86-cf-opt", X86CallFrameOptimization())43DUMMY_MACHINE_FUNCTION_PASS("x86-cmov-conversion", X86CmovConverterPass())44DUMMY_MACHINE_FUNCTION_PASS("x86-compress-evex", CompressEVEXPass())45DUMMY_MACHINE_FUNCTION_PASS("x86-domain-reassignment", X86DomainReassignment())46DUMMY_MACHINE_FUNCTION_PASS("x86-execution-domain-fix", X86ExecutionDomainFix())47DUMMY_MACHINE_FUNCTION_PASS("fastpretileconfig", X86FastPreTileConfig())48DUMMY_MACHINE_FUNCTION_PASS("fasttileconfig", X86FastTileConfig())49DUMMY_MACHINE_FUNCTION_PASS("x86-fixup-LEAs", FixupLEAPass())50DUMMY_MACHINE_FUNCTION_PASS("x86-fixup-bw-inst", FixupBWInstPass())51DUMMY_MACHINE_FUNCTION_PASS("x86-fixup-inst-tuning", X86FixupInstTuningPass())52DUMMY_MACHINE_FUNCTION_PASS("x86-fixup-setcc", X86FixupSetCCPass())53DUMMY_MACHINE_FUNCTION_PASS("x86-fixup-vector-constants", X86FixupVectorConstantsPass())54DUMMY_MACHINE_FUNCTION_PASS("x86-flags-copy-lowering", X86FlagsCopyLoweringPass())55DUMMY_MACHINE_FUNCTION_PASS("x86-lower-tile-copy", X86LowerTileCopy())56DUMMY_MACHINE_FUNCTION_PASS("x86-lvi-load", X86LoadValueInjectionLoadHardeningPass())57DUMMY_MACHINE_FUNCTION_PASS("x86-lvi-ret", X86LoadValueInjectionRetHardeningPass())58DUMMY_MACHINE_FUNCTION_PASS("x86-optimize-LEAs", X86OptimizeLEAPass())59DUMMY_MACHINE_FUNCTION_PASS("x86-pseudo", X86ExpandPseudo())60DUMMY_MACHINE_FUNCTION_PASS("x86-return-thunks", X86ReturnThunks())61DUMMY_MACHINE_FUNCTION_PASS("x86-seses", X86SpeculativeExecutionSideEffectSuppression())62DUMMY_MACHINE_FUNCTION_PASS("x86-slh", X86SpeculativeLoadHardeningPass())63DUMMY_MACHINE_FUNCTION_PASS("x86-suppress-apx-for-relocation", X86SuppressAPXForRelocationPass())64DUMMY_MACHINE_FUNCTION_PASS("tile-pre-config", X86PreTileConfig())65DUMMY_MACHINE_FUNCTION_PASS("tileconfig", X86TileConfig())66DUMMY_MACHINE_FUNCTION_PASS("x86-wineh-unwindv2", X86WinEHUnwindV2())67DUMMY_MACHINE_FUNCTION_PASS("x86argumentstackrebase", X86ArgumentStackSlotPass())68#undef DUMMY_MACHINE_FUNCTION_PASS69