1*7652a594Spaperchalice//===- X86PassRegistry.def - Registry of X86 specific passes ----*- C++ -*-===// 2*7652a594Spaperchalice// 3*7652a594Spaperchalice// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*7652a594Spaperchalice// See https://llvm.org/LICENSE.txt for license information. 5*7652a594Spaperchalice// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*7652a594Spaperchalice// 7*7652a594Spaperchalice//===----------------------------------------------------------------------===// 8*7652a594Spaperchalice// 9*7652a594Spaperchalice// This file is used as the registry of passes that are part of the X86 backend. 10*7652a594Spaperchalice// 11*7652a594Spaperchalice//===----------------------------------------------------------------------===// 12*7652a594Spaperchalice 13*7652a594Spaperchalice// NOTE: NO INCLUDE GUARD DESIRED! 14*7652a594Spaperchalice 15*7652a594Spaperchalice#ifndef MACHINE_FUNCTION_PASS 16*7652a594Spaperchalice#define MACHINE_FUNCTION_PASS(NAME, CREATE_PASS) 17*7652a594Spaperchalice#endif 18*7652a594SpaperchaliceMACHINE_FUNCTION_PASS("x86-isel", X86ISelDAGToDAGPass(*this)) 19*7652a594Spaperchalice#undef MACHINE_FUNCTION_PASS 20