|
LLVM 22.0.0git
|
Properties which a MachineFunction may have at a given point in time. More...
#include "llvm/CodeGen/MachineFunction.h"
Public Types | |
| enum class | Property : unsigned { IsSSA , NoPHIs , TracksLiveness , NoVRegs , FailedISel , Legalized , RegBankSelected , Selected , TiedOpsRewritten , FailsVerification , FailedRegAlloc , TracksDebugUserValues , LastProperty = TracksDebugUserValues } |
Public Member Functions | |
| bool | hasProperty (Property P) const |
| MachineFunctionProperties & | set (Property P) |
| MachineFunctionProperties & | reset (Property P) |
| MachineFunctionProperties & | reset () |
| Reset all the properties. | |
| MachineFunctionProperties & | set (const MachineFunctionProperties &MFP) |
| MachineFunctionProperties & | reset (const MachineFunctionProperties &MFP) |
| bool | verifyRequiredProperties (const MachineFunctionProperties &V) const |
| LLVM_ABI void | print (raw_ostream &OS) const |
| Print the MachineFunctionProperties in human-readable form. | |
Properties which a MachineFunction may have at a given point in time.
Each of these has checking code in the MachineVerifier, and passes can require that a property be set.
Definition at line 137 of file MachineFunction.h.
|
strong |
| Enumerator | |
|---|---|
| IsSSA | |
| NoPHIs | |
| TracksLiveness | |
| NoVRegs | |
| FailedISel | |
| Legalized | |
| RegBankSelected | |
| Selected | |
| TiedOpsRewritten | |
| FailsVerification | |
| FailedRegAlloc | |
| TracksDebugUserValues | |
| LastProperty | |
Definition at line 187 of file MachineFunction.h.
Definition at line 203 of file MachineFunction.h.
References P.
| void MachineFunctionProperties::print | ( | raw_ostream & | OS | ) | const |
Print the MachineFunctionProperties in human-readable form.
Definition at line 136 of file MachineFunction.cpp.
References I.
Referenced by llvm::MachineFunction::print().
|
inline |
|
inline |
Definition at line 247 of file MachineFunction.h.
|
inline |
|
inline |
Definition at line 242 of file MachineFunction.h.
|
inline |
Definition at line 207 of file MachineFunction.h.
Referenced by llvm::RABasic::getClearedProperties(), llvm::RABasic::getRequiredProperties(), and set().
|
inline |
Definition at line 254 of file MachineFunction.h.