Go to the documentation of this file.
14 #ifndef LLVM_MC_MACHINELOCATION_H
15 #define LLVM_MC_MACHINELOCATION_H
24 bool IsRegister =
false;
37 : IsRegister(!Indirect),
Register(R) {}
46 bool isReg()
const {
return IsRegister; }
58 #endif // LLVM_MC_MACHINELOCATION_H
This is an optimization pass for GlobalISel generic memory operations.
bool operator!=(uint64_t V1, const APInt &V2)
MachineLocation(unsigned R, bool Indirect=false)
Create a direct register location.
bool operator==(const MachineLocation &Other) const
MachineLocation()=default
Wrapper class representing virtual and physical registers.
void setIsRegister(bool Is)
std::optional< std::vector< StOtherPiece > > Other
void setRegister(unsigned R)