Home
last modified time | relevance | path

Searched refs:DefReg (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/Target/Mips/
DMips16InstrInfo.cpp358 int DefReg = 0; in loadImmediate() local
362 DefReg = MO.getReg(); in loadImmediate()
383 if (DefReg != Reg) { in loadImmediate()
398 if (DefReg!= SpReg) { in loadImmediate()
/external/llvm/lib/CodeGen/
DTailDuplication.cpp400 unsigned DefReg = MI->getOperand(0).getReg(); in ProcessPHI() local
404 const TargetRegisterClass *RC = MRI->getRegClass(DefReg); in ProcessPHI()
405 LocalVRMap.insert(std::make_pair(DefReg, SrcReg)); in ProcessPHI()
411 if (isDefLiveOut(DefReg, TailBB, MRI) || RegsUsedByPhi.count(DefReg)) in ProcessPHI()
412 AddSSAUpdateEntry(DefReg, NewDef, PredBB); in ProcessPHI()
DTargetInstrInfo.cpp571 unsigned DefReg = MI->getOperand(0).getReg(); in isReallyTriviallyReMaterializableGeneric() local
577 if (TargetRegisterInfo::isVirtualRegister(DefReg) && in isReallyTriviallyReMaterializableGeneric()
578 MI->getOperand(0).getSubReg() && MI->readsVirtualRegister(DefReg)) in isReallyTriviallyReMaterializableGeneric()
629 if (MO.isDef() && Reg != DefReg) in isReallyTriviallyReMaterializableGeneric()
DLiveVariables.cpp218 unsigned DefReg = MO.getReg(); in FindLastPartialDef() local
219 if (TRI->isSubRegister(Reg, DefReg)) { in FindLastPartialDef()
220 for (MCSubRegIterator SubRegs(DefReg, TRI, /*IncludeSelf=*/true); in FindLastPartialDef()
DPHIElimination.cpp156 unsigned DefReg = DefMI->getOperand(0).getReg(); in runOnMachineFunction() local
157 if (MRI->use_nodbg_empty(DefReg)) { in runOnMachineFunction()
DTwoAddressInstructionPass.cpp191 unsigned DefReg = 0; in sink3AddrInstruction() local
208 if (DefReg) in sink3AddrInstruction()
211 DefReg = MO.getReg(); in sink3AddrInstruction()
274 if (DefReg == MOReg) in sink3AddrInstruction()
/external/llvm/lib/Target/ARM/
DARMLoadStoreOptimizer.cpp98 const MemOpQueue &MemOps, unsigned DefReg,
564 unsigned DefReg, unsigned RangeBegin, unsigned RangeEnd) { in findUsesOfImpDef() argument
580 if (MI.definesRegister(DefReg)) in findUsesOfImpDef()
583 MachineOperand *UseOp = MI.findRegisterUseOperand(DefReg); in findUsesOfImpDef()
652 unsigned DefReg = MO->getReg(); in MergeOpsUpdate() local
653 if (std::find(ImpDefs.begin(), ImpDefs.end(), DefReg) == ImpDefs.end()) in MergeOpsUpdate()
654 ImpDefs.push_back(DefReg); in MergeOpsUpdate()
659 findUsesOfImpDef(UsesOfImpDefs, memOps, DefReg, memOps[i].Position, in MergeOpsUpdate()
DA15SDOptimizer.cpp219 unsigned DefReg = MODef.getReg(); in eraseInstrWithNoUses() local
220 if (!TRI->isVirtualRegister(DefReg)) { in eraseInstrWithNoUses()