14#ifndef LLVM_LIB_TARGET_PISA_PISAREGMANAGER_H
15#define LLVM_LIB_TARGET_PISA_PISAREGMANAGER_H
41 return make_range(Mapping.begin(), Mapping.end());
49 void computeMapping();
This file implements a map that provides insertion order iteration.
This file declares encoding of PISA virtual registers.
MachineRegisterInfo & MRI
MachineRegisterInfo - Keep track of information for virtual and physical registers,...
This class implements a map that also provides access to all stored values in a deterministic order.
unsigned getRegIdx(Register Reg) const
bool exists(Register Reg) const
MapVector< Register, RegInfo > MappingTy
RegManager(const MachineFunction &MF)
void setRegIdx(Register Reg, unsigned Idx)
iterator_range< MappingTy::const_iterator > mapping() const
unsigned encodeVirtualRegister(RegBank Bank, Register Reg) const
Wrapper class representing virtual and physical registers.
A range adaptor for a pair of iterators.
This is an optimization pass for GlobalISel generic memory operations.
iterator_range< T > make_range(T x, T y)
Convenience function for iterating over sub-ranges.