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; }
MachineLocation()=default
void setRegister(unsigned R)
bool operator==(const MachineLocation &Other) const
MachineLocation(unsigned R, bool Indirect=false)
Create a direct register location.
void setIsRegister(bool Is)
Wrapper class representing virtual and physical registers.
This is an optimization pass for GlobalISel generic memory operations.
bool operator!=(uint64_t V1, const APInt &V2)