LLVM API Documentation
#include "SIMachineFunctionInfo.h"#include "SIInstrInfo.h"#include "SIRegisterInfo.h"#include "llvm/CodeGen/MachineFrameInfo.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/IR/Function.h"#include "llvm/IR/LLVMContext.h"
Go to the source code of this file.
Defines | |
| #define | MAX_LANES 64 |
Functions | |
| static unsigned | findUnusedVGPR (const MachineRegisterInfo &MRI) |
| Returns a register that is not used at any point in the function. If all registers are used, then this function will return. | |
Definition in file SIMachineFunctionInfo.cpp.
| #define MAX_LANES 64 |
Definition at line 20 of file SIMachineFunctionInfo.cpp.
| static unsigned findUnusedVGPR | ( | const MachineRegisterInfo & | MRI | ) | [static] |
Returns a register that is not used at any point in the function. If all registers are used, then this function will return.
Definition at line 36 of file SIMachineFunctionInfo.cpp.
References llvm::TargetRegisterClass::begin(), llvm::TargetRegisterClass::end(), I, and llvm::MachineRegisterInfo::isPhysRegUsed().
Referenced by llvm::SIMachineFunctionInfo::getSpilledReg().