|
|
|||
File indexing completed on 2026-05-10 08:43:33
0001 //===- RegAllocCommon.h - Utilities shared between allocators ---*- C++ -*-===// 0002 // 0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 0004 // See https://llvm.org/LICENSE.txt for license information. 0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 0006 // 0007 //===----------------------------------------------------------------------===// 0008 0009 #ifndef LLVM_CODEGEN_REGALLOCCOMMON_H 0010 #define LLVM_CODEGEN_REGALLOCCOMMON_H 0011 0012 #include "llvm/CodeGen/Register.h" 0013 #include <functional> 0014 0015 namespace llvm { 0016 0017 class TargetRegisterClass; 0018 class TargetRegisterInfo; 0019 class MachineRegisterInfo; 0020 0021 /// Filter function for register classes during regalloc. Default register class 0022 /// filter is nullptr, where all registers should be allocated. 0023 typedef std::function<bool(const TargetRegisterInfo &TRI, 0024 const MachineRegisterInfo &MRI, const Register Reg)> 0025 RegAllocFilterFunc; 0026 } 0027 0028 #endif // LLVM_CODEGEN_REGALLOCCOMMON_H
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|