Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DPeepholeOptimizer.cpp804 virtual bool RewriteCurrentSource(unsigned NewReg, unsigned NewSubReg) { in RewriteCurrentSource() argument
809 MOSrc.setSubReg(NewSubReg); in RewriteCurrentSource()
1005 bool RewriteCurrentSource(unsigned NewReg, unsigned NewSubReg) override { in RewriteCurrentSource() argument
1011 MO.setSubReg(NewSubReg); in RewriteCurrentSource()
1054 bool RewriteCurrentSource(unsigned NewReg, unsigned NewSubReg) override { in RewriteCurrentSource() argument
1063 if (!NewSubReg) { in RewriteCurrentSource()
1075 CopyLike.getOperand(CurrentSrcIdx + 1).setImm(NewSubReg); in RewriteCurrentSource()
1133 bool RewriteCurrentSource(unsigned NewReg, unsigned NewSubReg) override { in RewriteCurrentSource() argument
1141 MO.setSubReg(NewSubReg); in RewriteCurrentSource()
/external/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp1714 unsigned NewSubReg = UseMI->getOperand(3).getSubReg(); in optimizeCompareInstr() local
1715 assert((!equalityOnly || NewSubReg == PPC::sub_eq) && in optimizeCompareInstr()
1718 if (NewSubReg == PPC::sub_lt) in optimizeCompareInstr()
1719 NewSubReg = PPC::sub_gt; in optimizeCompareInstr()
1720 else if (NewSubReg == PPC::sub_gt) in optimizeCompareInstr()
1721 NewSubReg = PPC::sub_lt; in optimizeCompareInstr()
1724 NewSubReg)); in optimizeCompareInstr()
/external/llvm/utils/TableGen/
DCodeGenRegisters.cpp459 CodeGenRegister *NewSubReg = NewSubRegs[i].second; in computeSecondarySubRegs() local
460 SubReg2Idx.insert(std::make_pair(NewSubReg, NewIdx)); in computeSecondarySubRegs()
466 CodeGenRegister *NewSubReg = NewSubRegs[i].second; in computeSecondarySubRegs() local
467 for (SubRegMap::const_iterator SI = NewSubReg->SubRegs.begin(), in computeSecondarySubRegs()
468 SE = NewSubReg->SubRegs.end(); SI != SE; ++SI) { in computeSecondarySubRegs()