|
LLVM
4.0.0
|
Properties which a MachineFunction may have at a given point in time. More...
#include <MachineFunction.h>
Public Types | |
| enum | Property : unsigned { Property::IsSSA, Property::NoPHIs, Property::TracksLiveness, Property::NoVRegs, Property::FailedISel, Property::Legalized, Property::RegBankSelected, Property::Selected, Property::LastProperty = Selected } |
Public Member Functions | |
| bool | hasProperty (Property P) const |
| MachineFunctionProperties & | set (Property P) |
| MachineFunctionProperties & | reset (Property P) |
| MachineFunctionProperties & | reset () |
| Reset all the properties. More... | |
| MachineFunctionProperties & | set (const MachineFunctionProperties &MFP) |
| MachineFunctionProperties & | reset (const MachineFunctionProperties &MFP) |
| bool | verifyRequiredProperties (const MachineFunctionProperties &V) const |
| void | print (raw_ostream &OS) const |
| Print the MachineFunctionProperties in human-readable form. More... | |
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 89 of file MachineFunction.h.
|
strong |
| Enumerator | |
|---|---|
| IsSSA | |
| NoPHIs | |
| TracksLiveness | |
| NoVRegs | |
| FailedISel | |
| Legalized | |
| RegBankSelected | |
| Selected | |
| LastProperty | |
Definition at line 125 of file MachineFunction.h.
Definition at line 137 of file MachineFunction.h.
References P.
Referenced by llvm::MachineRegisterInfo::isSSA(), llvm::MIRPrinter::print(), llvm::InstructionSelect::runOnMachineFunction(), llvm::Legalizer::runOnMachineFunction(), llvm::SelectionDAGISel::runOnMachineFunction(), llvm::RegBankSelect::runOnMachineFunction(), and llvm::MachineRegisterInfo::tracksLiveness().
| void MachineFunctionProperties::print | ( | raw_ostream & | OS | ) | const |
Print the MachineFunctionProperties in human-readable form.
Definition at line 72 of file MachineFunction.cpp.
References I, Separator, and llvm::BitVector::size().
Referenced by llvm::MachineFunction::print().
|
inline |
Definition at line 144 of file MachineFunction.h.
References llvm::BitVector::reset().
Referenced by llvm::MachineRegisterInfo::invalidateLiveness(), and llvm::MachineRegisterInfo::leaveSSA().
|
inline |
Reset all the properties.
Definition at line 149 of file MachineFunction.h.
References llvm::BitVector::reset().
|
inline |
Definition at line 157 of file MachineFunction.h.
References llvm::BitVector::reset().
|
inline |
Definition at line 140 of file MachineFunction.h.
References llvm::BitVector::set().
Referenced by llvm::InstructionSelect::getRequiredProperties(), llvm::Legalizer::getRequiredProperties(), llvm::RegBankSelect::getRequiredProperties(), llvm::InstructionSelect::getSetProperties(), llvm::Legalizer::getSetProperties(), llvm::RegBankSelect::getSetProperties(), llvm::MIRParserImpl::initializeMachineFunction(), llvm::IRTranslator::runOnMachineFunction(), and llvm::RegBankSelect::runOnMachineFunction().
|
inline |
Definition at line 153 of file MachineFunction.h.
|
inline |
Definition at line 163 of file MachineFunction.h.
References llvm::BitVector::test().
1.8.6