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