Home
last modified time | relevance | path

Searched refs:MOReg (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTwoAddressInstructionPass.cpp233 Register MOReg = MO.getReg(); in sink3AddrInstruction() local
234 if (!MOReg) in sink3AddrInstruction()
236 if (MO.isUse() && MOReg != SavedReg) in sink3AddrInstruction()
302 Register MOReg = MO.getReg(); in sink3AddrInstruction() local
303 if (!MOReg) in sink3AddrInstruction()
305 if (DefReg == MOReg) in sink3AddrInstruction()
308 if (MO.isKill() || (LIS && isPlainlyKilled(&OtherMI, MOReg, LIS))) { in sink3AddrInstruction()
309 if (&OtherMI == KillMI && MOReg == SavedReg) in sink3AddrInstruction()
313 else if (UseRegs.count(MOReg)) in sink3AddrInstruction()
913 Register MOReg = MO.getReg(); in rescheduleMIBelowKill() local
[all …]
DDetectDeadLanes.cpp197 Register MOReg = MO.getReg(); in addUsedLanesOnOperand() local
198 if (!Register::isVirtualRegister(MOReg)) in addUsedLanesOnOperand()
204 UsedLanes &= MRI->getMaxLaneMaskForVReg(MOReg); in addUsedLanesOnOperand()
206 unsigned MORegIdx = Register::virtReg2Index(MOReg); in addUsedLanesOnOperand()
380 Register MOReg = MO.getReg(); in determineInitialDefinedLanes() local
381 if (!MOReg) in determineInitialDefinedLanes()
385 if (Register::isPhysicalRegister(MOReg)) { in determineInitialDefinedLanes()
390 assert(Register::isVirtualRegister(MOReg)); in determineInitialDefinedLanes()
391 if (MRI->hasOneDef(MOReg)) { in determineInitialDefinedLanes()
392 const MachineOperand &MODef = *MRI->def_begin(MOReg); in determineInitialDefinedLanes()
[all …]
DLiveVariables.cpp523 Register MOReg = MO.getReg(); in runOnInstr() local
525 if (!(Register::isPhysicalRegister(MOReg) && MRI->isReserved(MOReg))) in runOnInstr()
528 UseRegs.push_back(MOReg); in runOnInstr()
533 if (Register::isPhysicalRegister(MOReg) && !MRI->isReserved(MOReg)) in runOnInstr()
535 DefRegs.push_back(MOReg); in runOnInstr()
542 unsigned MOReg = UseRegs[i]; in runOnInstr() local
543 if (Register::isVirtualRegister(MOReg)) in runOnInstr()
544 HandleVirtRegUse(MOReg, MBB, MI); in runOnInstr()
545 else if (!MRI->isReserved(MOReg)) in runOnInstr()
546 HandlePhysRegUse(MOReg, MI); in runOnInstr()
[all …]
DMachineInstrBundle.cpp329 Register MOReg = MO.getReg(); in AnalyzePhysRegInBundle() local
330 if (!MOReg || !Register::isPhysicalRegister(MOReg)) in AnalyzePhysRegInBundle()
333 if (!TRI->regsOverlap(MOReg, Reg)) in AnalyzePhysRegInBundle()
336 bool Covered = TRI->isSuperRegisterEq(Reg, MOReg); in AnalyzePhysRegInBundle()
DMachineInstr.cpp949 Register MOReg = MO.getReg(); in findRegisterUseOperandIdx() local
950 if (!MOReg) in findRegisterUseOperandIdx()
952 if (MOReg == Reg || (TRI && Reg && MOReg && TRI->regsOverlap(MOReg, Reg))) in findRegisterUseOperandIdx()
1003 Register MOReg = MO.getReg(); in findRegisterDefOperandIdx() local
1004 bool Found = (MOReg == Reg); in findRegisterDefOperandIdx()
1005 if (!Found && TRI && isPhys && Register::isPhysicalRegister(MOReg)) { in findRegisterDefOperandIdx()
1007 Found = TRI->regsOverlap(MOReg, Reg); in findRegisterDefOperandIdx()
1009 Found = TRI->isSubRegister(MOReg, Reg); in findRegisterDefOperandIdx()
1876 Register MOReg = MO.getReg(); in addRegisterDead() local
1877 if (!MOReg) in addRegisterDead()
[all …]
DTargetInstrInfo.cpp1227 const MachineOperand &MOReg = MI.getOperand(OpIdx); in getRegSequenceInputs() local
1228 if (MOReg.isUndef()) in getRegSequenceInputs()
1234 InputRegs.push_back(RegSubRegPairAndIdx(MOReg.getReg(), MOReg.getSubReg(), in getRegSequenceInputs()
1252 const MachineOperand &MOReg = MI.getOperand(1); in getExtractSubregInputs() local
1253 if (MOReg.isUndef()) in getExtractSubregInputs()
1259 InputReg.Reg = MOReg.getReg(); in getExtractSubregInputs()
1260 InputReg.SubReg = MOReg.getSubReg(); in getExtractSubregInputs()
DMachineCSE.cpp382 Register MOReg = MO.getReg(); in PhysRegDefsReach() local
383 if (Register::isVirtualRegister(MOReg)) in PhysRegDefsReach()
385 if (PhysRefs.count(MOReg)) in PhysRegDefsReach()
DMachineLICM.cpp1142 Register MOReg = MO.getReg(); in HasHighOperandLatency() local
1143 if (MOReg != Reg) in HasHighOperandLatency()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZElimCompare.cpp150 if (Register MOReg = MO.getReg()) { in getRegReferences() local
151 if (TRI->regsOverlap(MOReg, Reg)) { in getRegReferences()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMBaseInstrInfo.cpp5257 const MachineOperand *MOReg = &MI.getOperand(1); in getRegSequenceLikeInputs() local
5258 if (!MOReg->isUndef()) in getRegSequenceLikeInputs()
5259 InputRegs.push_back(RegSubRegPairAndIdx(MOReg->getReg(), in getRegSequenceLikeInputs()
5260 MOReg->getSubReg(), ARM::ssub_0)); in getRegSequenceLikeInputs()
5262 MOReg = &MI.getOperand(2); in getRegSequenceLikeInputs()
5263 if (!MOReg->isUndef()) in getRegSequenceLikeInputs()
5264 InputRegs.push_back(RegSubRegPairAndIdx(MOReg->getReg(), in getRegSequenceLikeInputs()
5265 MOReg->getSubReg(), ARM::ssub_1)); in getRegSequenceLikeInputs()
5283 const MachineOperand &MOReg = MI.getOperand(2); in getExtractSubregLikeInputs() local
5284 if (MOReg.isUndef()) in getExtractSubregLikeInputs()
[all …]