Home
last modified time | relevance | path

Searched refs:SubRegs (Results 1 – 25 of 78) sorted by relevance

1234

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DLiveVariables.cpp197 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs) { in FindLastPartialDef() local
198 unsigned SubReg = *SubRegs; in FindLastPartialDef()
220 for (MCSubRegIterator SubRegs(DefReg, TRI, /*IncludeSelf=*/true); in FindLastPartialDef() local
221 SubRegs.isValid(); ++SubRegs) in FindLastPartialDef()
222 PartDefRegs.insert(*SubRegs); in FindLastPartialDef()
251 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs) { in HandlePhysRegUse() local
252 unsigned SubReg = *SubRegs; in HandlePhysRegUse()
274 for (MCSubRegIterator SubRegs(Reg, TRI, /*IncludeSelf=*/true); in HandlePhysRegUse() local
275 SubRegs.isValid(); ++SubRegs) in HandlePhysRegUse()
276 PhysRegUse[*SubRegs] = &MI; in HandlePhysRegUse()
[all …]
DCriticalAntiDepBreaker.cpp233 for (MCSubRegIterator SubRegs(Reg, TRI, /*IncludeSelf=*/true); in PrescanInstruction() local
234 SubRegs.isValid(); ++SubRegs) { in PrescanInstruction()
235 KeepRegs.set(*SubRegs); in PrescanInstruction()
245 for (MCSubRegIterator SubRegs(Reg, TRI, /*IncludeSelf=*/true); in PrescanInstruction() local
246 SubRegs.isValid(); ++SubRegs) in PrescanInstruction()
247 KeepRegs.set(*SubRegs); in PrescanInstruction()
DMachineInstrBundle.cpp189 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs) { in finalizeBundle() local
190 unsigned SubReg = *SubRegs; in finalizeBundle()
DMachineVerifier.cpp125 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs) in addRegWithSubRegs() local
126 RV.push_back(*SubRegs); in addRegWithSubRegs()
785 for (MCSubRegIterator SubRegs(LI.PhysReg, TRI, /*IncludeSelf=*/true); in visitMachineBasicBlockBefore() local
786 SubRegs.isValid(); ++SubRegs) in visitMachineBasicBlockBefore()
787 regsLive.insert(*SubRegs); in visitMachineBasicBlockBefore()
794 for (MCSubRegIterator SubRegs(I, TRI, /*IncludeSelf=*/true); in visitMachineBasicBlockBefore() local
795 SubRegs.isValid(); ++SubRegs) in visitMachineBasicBlockBefore()
796 regsLive.insert(*SubRegs); in visitMachineBasicBlockBefore()
1521 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); in checkLiveness() local
1522 ++SubRegs) { in checkLiveness()
[all …]
DAggressiveAntiDepBreaker.cpp257 for (MCSubRegIterator SubRegs(Reg, TRI, /*IncludeSelf=*/true); in GetPassthruRegs() local
258 SubRegs.isValid(); ++SubRegs) in GetPassthruRegs()
259 PassthruRegs.insert(*SubRegs); in GetPassthruRegs()
335 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs) { in HandleLastUse() local
336 unsigned SubregReg = *SubRegs; in HandleLastUse()
/external/llvm/lib/CodeGen/
DLiveVariables.cpp197 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs) { in FindLastPartialDef() local
198 unsigned SubReg = *SubRegs; in FindLastPartialDef()
220 for (MCSubRegIterator SubRegs(DefReg, TRI, /*IncludeSelf=*/true); in FindLastPartialDef() local
221 SubRegs.isValid(); ++SubRegs) in FindLastPartialDef()
222 PartDefRegs.insert(*SubRegs); in FindLastPartialDef()
251 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs) { in HandlePhysRegUse() local
252 unsigned SubReg = *SubRegs; in HandlePhysRegUse()
274 for (MCSubRegIterator SubRegs(Reg, TRI, /*IncludeSelf=*/true); in HandlePhysRegUse() local
275 SubRegs.isValid(); ++SubRegs) in HandlePhysRegUse()
276 PhysRegUse[*SubRegs] = &MI; in HandlePhysRegUse()
[all …]
DScheduleDAGInstrs.cpp1207 for (MCSubRegIterator SubRegs(LI.PhysReg, TRI, /*IncludeSelf=*/true); in startBlockForKills() local
1208 SubRegs.isValid(); ++SubRegs) in startBlockForKills()
1209 LiveRegs.set(*SubRegs); in startBlockForKills()
1260 for (MCSubRegIterator SubRegs(SuperReg, TRI); SubRegs.isValid(); ++SubRegs) { in toggleKillFlag() local
1261 if (LiveRegs.test(*SubRegs)) { in toggleKillFlag()
1262 MIB.addReg(*SubRegs, RegState::ImplicitDefine); in toggleKillFlag()
1306 for (MCSubRegIterator SubRegs(Reg, TRI, /*IncludeSelf=*/true); in fixupKills() local
1307 SubRegs.isValid(); ++SubRegs) in fixupKills()
1308 LiveRegs.reset(*SubRegs); in fixupKills()
1325 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs) { in fixupKills() local
[all …]
DCriticalAntiDepBreaker.cpp216 for (MCSubRegIterator SubRegs(Reg, TRI, /*IncludeSelf=*/true); in PrescanInstruction() local
217 SubRegs.isValid(); ++SubRegs) { in PrescanInstruction()
218 KeepRegs.set(*SubRegs); in PrescanInstruction()
228 for (MCSubRegIterator SubRegs(Reg, TRI, /*IncludeSelf=*/true); in PrescanInstruction() local
229 SubRegs.isValid(); ++SubRegs) in PrescanInstruction()
230 KeepRegs.set(*SubRegs); in PrescanInstruction()
DMachineVerifier.cpp94 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs) in addRegWithSubRegs() local
95 RV.push_back(*SubRegs); in addRegWithSubRegs()
530 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs) { in visitMachineFunctionBefore() local
533 regsReserved.set(*SubRegs); in visitMachineFunctionBefore()
754 for (MCSubRegIterator SubRegs(LI.PhysReg, TRI, /*IncludeSelf=*/true); in visitMachineBasicBlockBefore() local
755 SubRegs.isValid(); ++SubRegs) in visitMachineBasicBlockBefore()
756 regsLive.insert(*SubRegs); in visitMachineBasicBlockBefore()
764 for (MCSubRegIterator SubRegs(I, TRI, /*IncludeSelf=*/true); in visitMachineBasicBlockBefore() local
765 SubRegs.isValid(); ++SubRegs) in visitMachineBasicBlockBefore()
766 regsLive.insert(*SubRegs); in visitMachineBasicBlockBefore()
[all …]
DMachineInstrBundle.cpp187 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs) { in finalizeBundle() local
188 unsigned SubReg = *SubRegs; in finalizeBundle()
DRegisterScavenging.cpp211 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs) in forward() local
212 if (isRegUsed(*SubRegs)) { in forward()
DAggressiveAntiDepBreaker.cpp243 for (MCSubRegIterator SubRegs(Reg, TRI, /*IncludeSelf=*/true); in GetPassthruRegs() local
244 SubRegs.isValid(); ++SubRegs) in GetPassthruRegs()
245 PassthruRegs.insert(*SubRegs); in GetPassthruRegs()
319 for (MCSubRegIterator SubRegs(Reg, TRI); SubRegs.isValid(); ++SubRegs) { in HandleLastUse() local
320 unsigned SubregReg = *SubRegs; in HandleLastUse()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DLiveVariables.cpp193 for (const unsigned *SubRegs = TRI->getSubRegisters(Reg); in FindLastPartialDef() local
194 unsigned SubReg = *SubRegs; ++SubRegs) { in FindLastPartialDef()
217 for (const unsigned *SubRegs = TRI->getSubRegisters(DefReg); in FindLastPartialDef() local
218 unsigned SubReg = *SubRegs; ++SubRegs) in FindLastPartialDef()
248 for (const unsigned *SubRegs = TRI->getSubRegisters(Reg); in HandlePhysRegUse() local
249 unsigned SubReg = *SubRegs; ++SubRegs) { in HandlePhysRegUse()
273 for (const unsigned *SubRegs = TRI->getSubRegisters(Reg); in HandlePhysRegUse() local
274 unsigned SubReg = *SubRegs; ++SubRegs) in HandlePhysRegUse()
289 for (const unsigned *SubRegs = TRI->getSubRegisters(Reg); in FindLastRefOrPartRef() local
290 unsigned SubReg = *SubRegs; ++SubRegs) { in FindLastRefOrPartRef()
[all …]
DRegisterScavenging.cpp40 for (const unsigned *SubRegs = TRI->getSubRegisters(Reg); in setUsed() local
41 unsigned SubReg = *SubRegs; ++SubRegs) in setUsed()
202 for (const unsigned *SubRegs = TRI->getSubRegisters(Reg); in forward() local
203 unsigned SubReg = *SubRegs; ++SubRegs) in forward()
DDeadMachineInstructionElim.cpp172 for (const unsigned *SubRegs = TRI->getSubRegisters(Reg); in runOnMachineFunction() local
173 *SubRegs; ++SubRegs) in runOnMachineFunction()
174 LivePhysRegs.reset(*SubRegs); in runOnMachineFunction()
/external/llvm/include/llvm/CodeGen/
DLivePhysRegs.h77 for (MCSubRegIterator SubRegs(Reg, TRI, /*IncludeSelf=*/true); in addReg()
78 SubRegs.isValid(); ++SubRegs) in addReg()
79 LiveRegs.insert(*SubRegs); in addReg()
/external/llvm/lib/Target/AMDGPU/
DAMDGPURegisterInfo.cpp40 static const unsigned SubRegs[] = { in getSubRegFromChannel() local
47 assert(Channel < array_lengthof(SubRegs)); in getSubRegFromChannel()
48 return SubRegs[Channel]; in getSubRegFromChannel()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DLivePhysRegs.h82 for (MCSubRegIterator SubRegs(Reg, TRI, /*IncludeSelf=*/true); in addReg()
83 SubRegs.isValid(); ++SubRegs) in addReg()
84 LiveRegs.insert(*SubRegs); in addReg()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPURegisterInfo.cpp31 static const unsigned SubRegs[] = { in getSubRegFromChannel() local
38 assert(Channel < array_lengthof(SubRegs)); in getSubRegFromChannel()
39 return SubRegs[Channel]; in getSubRegFromChannel()
/external/llvm/utils/TableGen/
DCodeGenRegisters.cpp204 for (SubRegMap::const_iterator I = SubRegs.begin(), E = SubRegs.end(); in inheritRegUnits()
218 return SubRegs; in computeSubRegs()
227 if (!SubRegs.insert(std::make_pair(Idx, SR)).second) in computeSubRegs()
247 if (!SubRegs.insert(*SI).second) in computeSubRegs()
260 CodeGenRegister *SR = SubRegs[Idx]; in computeSubRegs()
272 if (SubRegs.count(I->second) || !Orphans.erase(SRI->second)) in computeSubRegs()
275 SubRegs.insert(std::make_pair(I->second, SRI->second)); in computeSubRegs()
298 CodeGenRegister *SR = SubRegs[Idx]; in computeSubRegs()
303 SubRegs[RegBank.getCompositeSubRegIndex(Idx, SI->first)] = SI->second; in computeSubRegs()
307 for (SubRegMap::const_iterator SI = SubRegs.begin(), SE = SubRegs.end(); in computeSubRegs()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenRegisters.cpp257 for (const auto &SubReg : SubRegs) { in inheritRegUnits()
270 return SubRegs; in computeSubRegs()
281 if (!SubRegs.insert(std::make_pair(Idx, SR)).second) in computeSubRegs()
299 if (!SubRegs.insert(SR).second) in computeSubRegs()
312 CodeGenRegister *SR = SubRegs[Idx]; in computeSubRegs()
324 if (SubRegs.count(I->second) || !Orphans.erase(SRI->second)) in computeSubRegs()
327 SubRegs.insert(std::make_pair(I->second, SRI->second)); in computeSubRegs()
350 CodeGenRegister *SR = SubRegs[Idx]; in computeSubRegs()
354 SubRegs[RegBank.getCompositeSubRegIndex(Idx, SubReg.first)] = SubReg.second; in computeSubRegs()
358 for (const auto &SubReg : SubRegs) { in computeSubRegs()
[all …]
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenRegisters.cpp52 return SubRegs; in getSubRegs()
64 if (!SubRegs.insert(std::make_pair(Indices[i], SR)).second) in getSubRegs()
85 if (!SubRegs.insert(*SI).second) in getSubRegs()
124 SubRegs[BaseIdxInit->getDef()] = R2; in getSubRegs()
138 SubRegs[RegBank.getCompositeSubRegIndex(O.First, O.Second, true)] = in getSubRegs()
141 return SubRegs; in getSubRegs()
149 CodeGenRegister *SR = SubRegs.find(Indices[i])->second; in addSubRegsPreOrder()
167 ListInit *SubRegs = Def->getValueAsListInit("SubRegs"); in expand() local
168 if (Dim != SubRegs->getSize()) in expand()
177 ST.evaluate(SubRegs->getElement(i), Lists[i]); in expand()
DCodeGenRegisters.h53 return SubRegs; in getSubRegs()
83 SubRegMap SubRegs; member
/external/swiftshader/third_party/LLVM/lib/Target/Mips/
DMipsFrameLowering.cpp220 const unsigned *SubRegs = RegInfo->getSubRegisters(Reg); in emitPrologue() local
223 MachineLocation SrcML0(*SubRegs); in emitPrologue()
224 MachineLocation SrcML1(*(SubRegs + 1)); in emitPrologue()
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCRegisterInfo.h120 const unsigned *SubRegs; // Sub-register set, described above member
235 return get(RegNo).SubRegs; in getSubRegisters()

1234