LLVM: llvm::MachineFunctionProperties Class Reference (original) (raw)
Properties which a MachineFunction may have at a given point in time. More...
#include "[llvm/CodeGen/MachineFunction.h](MachineFunction%5F8h%5Fsource.html)"
| 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.
◆ Property
| Enumerator |
|---|
| IsSSA |
| NoPHIs |
| TracksLiveness |
| NoVRegs |
| FailedISel |
| Legalized |
| RegBankSelected |
| Selected |
| TiedOpsRewritten |
| FailsVerification |
| FailedRegAlloc |
| TracksDebugUserValues |
| LastProperty |
Definition at line 187 of file MachineFunction.h.
◆ hasProperty()
| bool llvm::MachineFunctionProperties::hasProperty ( Property P) const | inline |
|---|
◆ print()
| void MachineFunctionProperties::print | ( | raw_ostream & | OS | ) | const |
|---|
◆ reset() [1/3]
◆ reset() [2/3]
◆ reset() [3/3]
◆ set() [1/2]
◆ set() [2/2]
◆ verifyRequiredProperties()
The documentation for this class was generated from the following files:
- include/llvm/CodeGen/MachineFunction.h
- lib/CodeGen/MachineFunction.cpp