Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DPeepholeOptimizer.cpp825 virtual bool RewriteCurrentSource(unsigned NewReg, unsigned NewSubReg) = 0;
853 bool RewriteCurrentSource(unsigned NewReg, unsigned NewSubReg) override { in RewriteCurrentSource() argument
858 MOSrc.setSubReg(NewSubReg); in RewriteCurrentSource()
898 bool RewriteCurrentSource(unsigned NewReg, unsigned NewSubReg) override { in RewriteCurrentSource() argument
942 bool RewriteCurrentSource(unsigned NewReg, unsigned NewSubReg) override { in RewriteCurrentSource() argument
948 MO.setSubReg(NewSubReg); in RewriteCurrentSource()
989 bool RewriteCurrentSource(unsigned NewReg, unsigned NewSubReg) override { in RewriteCurrentSource() argument
998 if (!NewSubReg) { in RewriteCurrentSource()
1010 CopyLike.getOperand(CurrentSrcIdx + 1).setImm(NewSubReg); in RewriteCurrentSource()
1067 bool RewriteCurrentSource(unsigned NewReg, unsigned NewSubReg) override { in RewriteCurrentSource() argument
[all …]
/external/llvm/lib/CodeGen/
DPeepholeOptimizer.cpp803 virtual bool RewriteCurrentSource(unsigned NewReg, unsigned NewSubReg) { in RewriteCurrentSource() argument
808 MOSrc.setSubReg(NewSubReg); in RewriteCurrentSource()
1004 bool RewriteCurrentSource(unsigned NewReg, unsigned NewSubReg) override { in RewriteCurrentSource() argument
1010 MO.setSubReg(NewSubReg); in RewriteCurrentSource()
1053 bool RewriteCurrentSource(unsigned NewReg, unsigned NewSubReg) override { in RewriteCurrentSource() argument
1062 if (!NewSubReg) { in RewriteCurrentSource()
1074 CopyLike.getOperand(CurrentSrcIdx + 1).setImm(NewSubReg); in RewriteCurrentSource()
1132 bool RewriteCurrentSource(unsigned NewReg, unsigned NewSubReg) override { in RewriteCurrentSource() argument
1140 MO.setSubReg(NewSubReg); in RewriteCurrentSource()
/external/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp1741 unsigned NewSubReg = UseMI->getOperand(3).getSubReg(); in optimizeCompareInstr() local
1742 assert((!equalityOnly || NewSubReg == PPC::sub_eq) && in optimizeCompareInstr()
1745 if (NewSubReg == PPC::sub_lt) in optimizeCompareInstr()
1746 NewSubReg = PPC::sub_gt; in optimizeCompareInstr()
1747 else if (NewSubReg == PPC::sub_gt) in optimizeCompareInstr()
1748 NewSubReg = PPC::sub_lt; in optimizeCompareInstr()
1751 NewSubReg)); in optimizeCompareInstr()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenRegisters.cpp518 std::pair<CodeGenSubRegIndex*,CodeGenRegister*> NewSubReg = in computeSecondarySubRegs() local
521 if (!SubRegs.insert(NewSubReg).second) in computeSecondarySubRegs()
525 NewSubRegs.push_back(NewSubReg); in computeSecondarySubRegs()
526 SubRegQueue.push(NewSubReg); in computeSecondarySubRegs()
534 CodeGenRegister *NewSubReg = NewSubRegs[i].second; in computeSecondarySubRegs() local
535 for (SubRegMap::const_iterator SI = NewSubReg->SubRegs.begin(), in computeSecondarySubRegs()
536 SE = NewSubReg->SubRegs.end(); SI != SE; ++SI) { in computeSecondarySubRegs()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp1874 unsigned NewSubReg = UseMI->getOperand(3).getSubReg(); in optimizeCompareInstr() local
1875 assert((!equalityOnly || NewSubReg == PPC::sub_eq) && in optimizeCompareInstr()
1878 if (NewSubReg == PPC::sub_lt) in optimizeCompareInstr()
1879 NewSubReg = PPC::sub_gt; in optimizeCompareInstr()
1880 else if (NewSubReg == PPC::sub_gt) in optimizeCompareInstr()
1881 NewSubReg = PPC::sub_lt; in optimizeCompareInstr()
1884 NewSubReg)); in optimizeCompareInstr()