Home
last modified time | relevance | path

Searched refs:VRegInfo (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/MIRParser/
DMIParser.h33 struct VRegInfo { struct
58 DenseMap<unsigned, VRegInfo*> VRegInfos; argument
59 StringMap<VRegInfo*> VRegInfosNamed;
70 VRegInfo &getVRegInfo(unsigned Num);
71 VRegInfo &getVRegInfoNamed(StringRef RegName);
114 VRegInfo *&Info, StringRef Src,
DMIRParser.cpp440 VRegInfo &Info = PFS.getVRegInfo(VReg.ID.Value); in parseRegisterInfo()
448 Info.Kind = VRegInfo::GENERIC; in parseRegisterInfo()
453 Info.Kind = VRegInfo::NORMAL; in parseRegisterInfo()
462 Info.Kind = VRegInfo::REGBANK; in parseRegisterInfo()
468 if (Info.Kind != VRegInfo::NORMAL) in parseRegisterInfo()
485 VRegInfo *Info; in parseRegisterInfo()
516 auto populateVRegInfo = [&] (const VRegInfo &Info, Twine Name) { in setupRegisterInfo()
519 case VRegInfo::UNKNOWN: in setupRegisterInfo()
524 case VRegInfo::NORMAL: in setupRegisterInfo()
529 case VRegInfo::GENERIC: in setupRegisterInfo()
[all …]
DMIParser.cpp90 VRegInfo &PerFunctionMIParsingState::getVRegInfo(unsigned Num) { in getVRegInfo()
94 VRegInfo *Info = new (Allocator) VRegInfo; in getVRegInfo()
101 VRegInfo &PerFunctionMIParsingState::getVRegInfoNamed(StringRef RegName) { in getVRegInfoNamed()
106 VRegInfo *Info = new (Allocator) VRegInfo; in getVRegInfoNamed()
183 bool parseStandaloneVirtualRegister(VRegInfo *&Info);
196 bool parseVirtualRegister(VRegInfo *&Info);
197 bool parseNamedVirtualRegister(VRegInfo *&Info);
198 bool parseRegister(unsigned &Reg, VRegInfo *&VRegInfo);
200 bool parseRegisterClassOrBank(VRegInfo &RegInfo);
832 bool MIParser::parseStandaloneVirtualRegister(VRegInfo *&Info) { in parseStandaloneVirtualRegister()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineRegisterInfo.cpp22 VRegInfo.reserve(256); in MachineRegisterInfo()
34 assert(VRegInfo[TargetRegisterInfo::index2VirtReg(i)].second == 0 && in ~MachineRegisterInfo()
47 VRegInfo[Reg].first = RC; in setRegClass()
107 void *ArrayBase = getNumVirtRegs() == 0 ? 0 : &VRegInfo[FirstVirtReg]; in createVirtualRegister()
108 VRegInfo.grow(Reg); in createVirtualRegister()
109 VRegInfo[Reg].first = RegClass; in createVirtualRegister()
112 if (ArrayBase && &VRegInfo[FirstVirtReg] != ArrayBase) in createVirtualRegister()
126 MachineOperand *List = VRegInfo[Reg].second; in HandleVRegListReallocation()
129 List->Contents.Reg.Prev = &VRegInfo[Reg].second; in HandleVRegListReallocation()
/external/llvm/lib/CodeGen/
DDetectDeadLanes.cpp54 struct VRegInfo { struct
107 const VRegInfo &RegInfo) const;
121 VRegInfo *VRegInfos;
210 VRegInfo &MORegInfo = VRegInfos[MORegIdx]; in addUsedLanesOnOperand()
303 VRegInfo &RegInfo = VRegInfos[DefRegIdx]; in transferDefinedLanesStep()
462 const VRegInfo &RegInfo) const { in isUndefRegAtInput()
483 const VRegInfo &DefRegInfo = VRegInfos[DefRegIdx]; in isUndefInput()
503 VRegInfo &Info = VRegInfos[RegIdx]; in runOnce()
513 VRegInfo &Info = VRegInfos[RegIdx]; in runOnce()
529 const VRegInfo &Info = VRegInfos[RegIdx]; in runOnce()
[all …]
DMachineRegisterInfo.cpp30 VRegInfo.reserve(256); in MachineRegisterInfo()
41 VRegInfo[Reg].first = RC; in setRegClass()
46 VRegInfo[Reg].first = &RegBank; in setRegBank()
102 VRegInfo.grow(Reg); in createVirtualRegister()
103 VRegInfo[Reg].first = RegClass; in createVirtualRegister()
126 VRegInfo.grow(Reg); in createGenericVirtualRegister()
128 VRegInfo[Reg].first = static_cast<TargetRegisterClass *>(nullptr); in createGenericVirtualRegister()
141 if (!VRegInfo[Reg].second) in clearVirtRegs()
147 VRegInfo.clear(); in clearVirtRegs()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DDetectDeadLanes.cpp53 struct VRegInfo { struct
106 const VRegInfo &RegInfo) const;
120 VRegInfo *VRegInfos;
208 VRegInfo &MORegInfo = VRegInfos[MORegIdx]; in addUsedLanesOnOperand()
301 VRegInfo &RegInfo = VRegInfos[DefRegIdx]; in transferDefinedLanesStep()
460 const VRegInfo &RegInfo) const { in isUndefRegAtInput()
481 const VRegInfo &DefRegInfo = VRegInfos[DefRegIdx]; in isUndefInput()
501 VRegInfo &Info = VRegInfos[RegIdx]; in runOnce()
511 VRegInfo &Info = VRegInfos[RegIdx]; in runOnce()
527 const VRegInfo &Info = VRegInfos[RegIdx]; in runOnce()
[all …]
DMachineRegisterInfo.cpp50 VRegInfo.reserve(256); in MachineRegisterInfo()
61 VRegInfo[Reg].first = RC; in setRegClass()
66 VRegInfo[Reg].first = &RegBank; in setRegBank()
156 VRegInfo.grow(Reg); in createIncompleteVirtualRegister()
174 VRegInfo[Reg].first = RegClass; in createVirtualRegister()
194 VRegInfo[Reg].first = static_cast<RegisterBank *>(nullptr); in createGenericVirtualRegister()
208 if (!VRegInfo[Reg].second) in clearVirtRegs()
214 VRegInfo.clear(); in clearVirtRegs()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DMachineRegisterInfo.h39 VirtReg2IndexFunctor> VRegInfo; variable
180 return VRegInfo[RegNo].second; in getRegUseDefListHead()
186 return VRegInfo[RegNo].second; in getRegUseDefListHead()
212 return VRegInfo[Reg].first; in getRegClass()
247 unsigned getNumVirtRegs() const { return VRegInfo.size(); } in getNumVirtRegs()
/external/llvm/include/llvm/CodeGen/
DMachineRegisterInfo.h62 VRegInfo; variable
81 return VRegInfo[RegNo].second; in getRegUseDefListHead()
87 return VRegInfo[RegNo].second; in getRegUseDefListHead()
575 assert(VRegInfo[Reg].first.is<const TargetRegisterClass *>() && in getRegClass()
577 return VRegInfo[Reg].first.get<const TargetRegisterClass *>(); in getRegClass()
592 const RegClassOrRegBank &Val = VRegInfo[Reg].first; in getRegClassOrNull()
602 const RegClassOrRegBank &Val = VRegInfo[Reg].first; in getRegBankOrNull()
611 return VRegInfo[Reg].first; in getRegClassOrRegBank()
663 unsigned getNumVirtRegs() const { return VRegInfo.size(); } in getNumVirtRegs()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMachineRegisterInfo.h77 VRegInfo; variable
113 return VRegInfo[RegNo].second; in getRegUseDefListHead()
119 return VRegInfo[RegNo].second; in getRegUseDefListHead()
628 assert(VRegInfo[Reg].first.is<const TargetRegisterClass *>() && in getRegClass()
630 return VRegInfo[Reg].first.get<const TargetRegisterClass *>(); in getRegClass()
645 const RegClassOrRegBank &Val = VRegInfo[Reg].first; in getRegClassOrNull()
654 const RegClassOrRegBank &Val = VRegInfo[Reg].first; in getRegBankOrNull()
662 return VRegInfo[Reg].first; in getRegClassOrRegBank()
673 VRegInfo[Reg].first = RCOrRB; in setRegClassOrRegBank()
747 unsigned getNumVirtRegs() const { return VRegInfo.size(); } in getNumVirtRegs()