LLVM API Documentation
#include "llvm/Target/TargetRegisterInfo.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/VirtRegMap.h"
#include "llvm/Support/raw_ostream.h"
Go to the source code of this file.
Functions | |
static void | getAllocatableSetForRC (const MachineFunction &MF, const TargetRegisterClass *RC, BitVector &R) |
static const TargetRegisterClass * | firstCommonClass (const uint32_t *A, const uint32_t *B, const TargetRegisterInfo *TRI) |
static const TargetRegisterClass* firstCommonClass | ( | const uint32_t * | A, |
const uint32_t * | B, | ||
const TargetRegisterInfo * | TRI | ||
) | [inline, static] |
Definition at line 161 of file TargetRegisterInfo.cpp.
References llvm::countTrailingZeros(), llvm::TargetRegisterInfo::getNumRegClasses(), llvm::TargetRegisterInfo::getRegClass(), and I.
Referenced by llvm::TargetRegisterInfo::getCommonSubClass(), llvm::TargetRegisterInfo::getCommonSuperRegClass(), and llvm::TargetRegisterInfo::getMatchingSuperRegClass().
static void getAllocatableSetForRC | ( | const MachineFunction & | MF, |
const TargetRegisterClass * | RC, | ||
BitVector & | R | ||
) | [static] |
getAllocatableSetForRC - Toggle the bits that represent allocatable registers for the specific register class.
Definition at line 130 of file TargetRegisterInfo.cpp.
References llvm::TargetRegisterClass::getRawAllocationOrder(), llvm::TargetRegisterClass::isAllocatable(), and llvm::BitVector::set().
Referenced by llvm::TargetRegisterInfo::getAllocatableSet().