Home
last modified time | relevance | path

Searched refs:CodeGenSubRegIndex (Results 1 – 3 of 3) sorted by relevance

/freebsd-10-stable/contrib/llvm/utils/TableGen/
DCodeGenRegisters.h36 class CodeGenSubRegIndex {
51 CodeGenSubRegIndex(Record *R, unsigned Enum);
52 CodeGenSubRegIndex(StringRef N, StringRef Nspace, unsigned Enum);
60 bool operator()(const CodeGenSubRegIndex *A, in operator()
61 const CodeGenSubRegIndex *B) const { in operator()
68 typedef std::map<CodeGenSubRegIndex*, CodeGenSubRegIndex*, Less> CompMap;
72 CodeGenSubRegIndex *compose(CodeGenSubRegIndex *Idx) const { in compose()
79 CodeGenSubRegIndex *addComposite(CodeGenSubRegIndex *A, in addComposite()
80 CodeGenSubRegIndex *B) { in addComposite()
117 typedef std::map<CodeGenSubRegIndex*, CodeGenRegister*,
[all …]
DCodeGenRegisters.cpp33 CodeGenSubRegIndex::CodeGenSubRegIndex(Record *R, unsigned Enum) in CodeGenSubRegIndex() function in CodeGenSubRegIndex
42 CodeGenSubRegIndex::CodeGenSubRegIndex(StringRef N, StringRef Nspace, in CodeGenSubRegIndex() function in CodeGenSubRegIndex
48 std::string CodeGenSubRegIndex::getQualifiedName() const { in getQualifiedName()
56 void CodeGenSubRegIndex::updateComponents(CodeGenRegBank &RegBank) { in updateComponents()
65 CodeGenSubRegIndex *A = RegBank.getSubRegIdx(Comps[0]); in updateComponents()
66 CodeGenSubRegIndex *B = RegBank.getSubRegIdx(Comps[1]); in updateComponents()
67 CodeGenSubRegIndex *X = A->addComposite(B, this); in updateComponents()
78 SmallVector<CodeGenSubRegIndex*, 8> IdxParts; in updateComponents()
85 unsigned CodeGenSubRegIndex::computeLaneMask() { in computeLaneMask()
232 CodeGenSubRegIndex *Idx = ExplicitSubRegIndices[i]; in computeSubRegs()
[all …]
DRegisterInfoEmitter.cpp140 ArrayRef<CodeGenSubRegIndex*> SubRegIndices = Bank.getSubRegIndices(); in runEnums()
554 static void printSubRegIndex(raw_ostream &OS, const CodeGenSubRegIndex *Idx) { in printSubRegIndex()
603 static bool combine(const CodeGenSubRegIndex *Idx, in combine()
604 SmallVectorImpl<CodeGenSubRegIndex*> &Vec) { in combine()
605 const CodeGenSubRegIndex::CompMap &Map = Idx->getComposites(); in combine()
606 for (CodeGenSubRegIndex::CompMap::const_iterator in combine()
608 CodeGenSubRegIndex *&Entry = Vec[I->first->EnumValue - 1]; in combine()
614 for (CodeGenSubRegIndex::CompMap::const_iterator in combine()
633 ArrayRef<CodeGenSubRegIndex*> SubRegIndices = RegBank.getSubRegIndices(); in emitComposeSubRegIndices()
646 SmallVector<SmallVector<CodeGenSubRegIndex*, 4>, 4> Rows; in emitComposeSubRegIndices()
[all …]