/external/llvm/lib/Target/Hexagon/ |
D | HexagonOptAddrMode.cpp | 90 bool changeStore(MachineInstr *OldMI, MachineOperand ImmOp, 92 bool changeLoad(MachineInstr *OldMI, MachineOperand ImmOp, unsigned ImmOpNum); 304 bool HexagonOptAddrMode::changeLoad(MachineInstr *OldMI, MachineOperand ImmOp, in changeLoad() argument 307 MachineBasicBlock *BB = OldMI->getParent(); in changeLoad() 308 auto UsePos = MachineBasicBlock::iterator(OldMI); in changeLoad() 312 unsigned OpEnd = OldMI->getNumOperands(); in changeLoad() 316 if (HII->getAddrMode(OldMI) == HexagonII::BaseRegOffset) { in changeLoad() 317 short NewOpCode = HII->getBaseWithLongOffset(OldMI); in changeLoad() 319 MIB = BuildMI(*BB, InsertPt, OldMI->getDebugLoc(), HII->get(NewOpCode)); in changeLoad() 320 MIB.addOperand(OldMI->getOperand(0)); in changeLoad() [all …]
|
D | HexagonBlockRanges.cpp | 214 void HexagonBlockRanges::InstrIndexMap::replaceInstr(MachineInstr *OldMI, in replaceInstr() argument 217 if (I.second != OldMI) in replaceInstr()
|
D | HexagonBlockRanges.h | 126 void replaceInstr(MachineInstr *OldMI, MachineInstr *NewMI);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonOptAddrMode.cpp | 107 bool changeStore(MachineInstr *OldMI, MachineOperand ImmOp, 109 bool changeLoad(MachineInstr *OldMI, MachineOperand ImmOp, unsigned ImmOpNum); 483 bool HexagonOptAddrMode::changeLoad(MachineInstr *OldMI, MachineOperand ImmOp, in changeLoad() argument 486 MachineBasicBlock *BB = OldMI->getParent(); in changeLoad() 487 auto UsePos = MachineBasicBlock::iterator(OldMI); in changeLoad() 491 unsigned OpEnd = OldMI->getNumOperands(); in changeLoad() 495 if (HII->getAddrMode(*OldMI) == HexagonII::BaseRegOffset) { in changeLoad() 496 short NewOpCode = HII->changeAddrMode_rr_ur(*OldMI); in changeLoad() 498 MIB = BuildMI(*BB, InsertPt, OldMI->getDebugLoc(), HII->get(NewOpCode)); in changeLoad() 499 MIB.add(OldMI->getOperand(0)); in changeLoad() [all …]
|
D | HexagonBlockRanges.cpp | 207 void HexagonBlockRanges::InstrIndexMap::replaceInstr(MachineInstr *OldMI, in replaceInstr() argument 210 if (I.second != OldMI) in replaceInstr()
|
D | HexagonBlockRanges.h | 132 void replaceInstr(MachineInstr *OldMI, MachineInstr *NewMI);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | R600ExpandSpecialInstrs.cpp | 44 void SetFlagInNewMI(MachineInstr *NewMI, const MachineInstr *OldMI, 75 const MachineInstr *OldMI, unsigned Op) { in SetFlagInNewMI() argument 76 int OpIdx = TII->getOperandIdx(*OldMI, Op); in SetFlagInNewMI() 78 uint64_t Val = OldMI->getOperand(OpIdx).getImm(); in SetFlagInNewMI()
|
D | AMDILCFGStructurizer.cpp | 480 MachineInstr *OldMI = &(*I); in insertInstrBefore() local 481 MachineBasicBlock *MBB = OldMI->getParent(); in insertInstrBefore() 492 MachineInstr *OldMI = &(*I); in insertCondBranchBefore() local 493 MachineBasicBlock *MBB = OldMI->getParent(); in insertCondBranchBefore() 498 MIB.addReg(OldMI->getOperand(1).getReg(), false); in insertCondBranchBefore()
|
/external/llvm/lib/Target/AMDGPU/ |
D | R600ExpandSpecialInstrs.cpp | 36 void SetFlagInNewMI(MachineInstr *NewMI, const MachineInstr *OldMI, 59 const MachineInstr *OldMI, unsigned Op) { in SetFlagInNewMI() argument 60 int OpIdx = TII->getOperandIdx(*OldMI, Op); in SetFlagInNewMI() 62 uint64_t Val = OldMI->getOperand(OpIdx).getImm(); in SetFlagInNewMI()
|
D | AMDILCFGStructurizer.cpp | 477 MachineInstr *OldMI = &(*I); in insertInstrBefore() local 478 MachineBasicBlock *MBB = OldMI->getParent(); in insertInstrBefore() 489 MachineInstr *OldMI = &(*I); in insertCondBranchBefore() local 490 MachineBasicBlock *MBB = OldMI->getParent(); in insertCondBranchBefore() 495 MIB.addReg(OldMI->getOperand(1).getReg(), false); in insertCondBranchBefore()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | VirtRegMap.cpp | 183 void VirtRegMap::virtFolded(unsigned VirtReg, MachineInstr *OldMI, in virtFolded() argument 187 for (MI2VirtMapTy::iterator I = MI2VirtMap.lower_bound(OldMI), in virtFolded() 188 E = MI2VirtMap.end(); I != E && I->first == OldMI; ) { in virtFolded()
|
D | LiveVariables.cpp | 648 void LiveVariables::replaceKillInstruction(unsigned Reg, MachineInstr *OldMI, in replaceKillInstruction() argument 651 std::replace(VI.Kills.begin(), VI.Kills.end(), OldMI, NewMI); in replaceKillInstruction()
|
/external/llvm/lib/CodeGen/ |
D | MachinePipeliner.cpp | 391 void updateMemOperands(MachineInstr &NewMI, MachineInstr &OldMI, 393 MachineInstr *cloneInstr(MachineInstr *OldMI, unsigned CurStageNum, 395 MachineInstr *cloneAndChangeInstr(MachineInstr *OldMI, unsigned CurStageNum, 3049 MachineInstr &OldMI, unsigned Num) { in updateMemOperands() argument 3067 if (computeDelta(OldMI, Delta)) { in updateMemOperands() 3079 MachineInstr *SwingSchedulerDAG::cloneInstr(MachineInstr *OldMI, in cloneInstr() argument 3082 MachineInstr *NewMI = MF.CloneMachineInstr(OldMI); in cloneInstr() 3085 if (OldMI->isInlineAsm()) in cloneInstr() 3086 for (unsigned i = 0, e = OldMI->getNumOperands(); i != e; ++i) { in cloneInstr() 3087 const auto &MO = OldMI->getOperand(i); in cloneInstr() [all …]
|
D | LiveVariables.cpp | 683 void LiveVariables::replaceKillInstruction(unsigned Reg, MachineInstr &OldMI, in replaceKillInstruction() argument 686 std::replace(VI.Kills.begin(), VI.Kills.end(), &OldMI, &NewMI); in replaceKillInstruction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | MachinePipeliner.cpp | 429 void updateMemOperands(MachineInstr &NewMI, MachineInstr &OldMI, 431 MachineInstr *cloneInstr(MachineInstr *OldMI, unsigned CurStageNum, 433 MachineInstr *cloneAndChangeInstr(MachineInstr *OldMI, unsigned CurStageNum, 3173 MachineInstr &OldMI, unsigned Num) { in updateMemOperands() argument 3190 if (Num != UINT_MAX && computeDelta(OldMI, Delta)) { in updateMemOperands() 3204 MachineInstr *SwingSchedulerDAG::cloneInstr(MachineInstr *OldMI, in cloneInstr() argument 3207 MachineInstr *NewMI = MF.CloneMachineInstr(OldMI); in cloneInstr() 3210 if (OldMI->isInlineAsm()) in cloneInstr() 3211 for (unsigned i = 0, e = OldMI->getNumOperands(); i != e; ++i) { in cloneInstr() 3212 const auto &MO = OldMI->getOperand(i); in cloneInstr() [all …]
|
D | LiveVariables.cpp | 683 void LiveVariables::replaceKillInstruction(unsigned Reg, MachineInstr &OldMI, in replaceKillInstruction() argument 686 std::replace(VI.Kills.begin(), VI.Kills.end(), &OldMI, &NewMI); in replaceKillInstruction()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZInstrInfo.cpp | 765 static void transferDeadCC(MachineInstr *OldMI, MachineInstr *NewMI) { in transferDeadCC() argument 766 if (OldMI->registerDefIsDead(SystemZ::CC)) { in transferDeadCC() 775 static MachineInstr *finishConvertToThreeAddress(MachineInstr *OldMI, in finishConvertToThreeAddress() argument 779 unsigned NumOps = OldMI->getNumOperands(); in finishConvertToThreeAddress() 781 MachineOperand &Op = OldMI->getOperand(I); in finishConvertToThreeAddress() 783 LV->replaceKillInstruction(Op.getReg(), *OldMI, *NewMI); in finishConvertToThreeAddress() 786 transferDeadCC(OldMI, NewMI); in finishConvertToThreeAddress()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ExpandPseudoInsts.cpp | 71 static void transferImpOps(MachineInstr &OldMI, MachineInstrBuilder &UseMI, in transferImpOps() argument 73 const MCInstrDesc &Desc = OldMI.getDesc(); in transferImpOps() 74 for (unsigned i = Desc.getNumOperands(), e = OldMI.getNumOperands(); i != e; in transferImpOps() 76 const MachineOperand &MO = OldMI.getOperand(i); in transferImpOps()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64ExpandPseudoInsts.cpp | 93 static void transferImpOps(MachineInstr &OldMI, MachineInstrBuilder &UseMI, in transferImpOps() argument 95 const MCInstrDesc &Desc = OldMI.getDesc(); in transferImpOps() 96 for (unsigned i = Desc.getNumOperands(), e = OldMI.getNumOperands(); i != e; in transferImpOps() 98 const MachineOperand &MO = OldMI.getOperand(i); in transferImpOps()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | LiveVariables.h | 194 void replaceKillInstruction(unsigned Reg, MachineInstr &OldMI,
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | LiveVariables.h | 202 void replaceKillInstruction(unsigned Reg, MachineInstr *OldMI,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZInstrInfo.cpp | 1027 static void transferDeadCC(MachineInstr *OldMI, MachineInstr *NewMI) { in transferDeadCC() argument 1028 if (OldMI->registerDefIsDead(SystemZ::CC)) { in transferDeadCC() 1037 static MachineInstr *finishConvertToThreeAddress(MachineInstr *OldMI, in finishConvertToThreeAddress() argument 1041 unsigned NumOps = OldMI->getNumOperands(); in finishConvertToThreeAddress() 1043 MachineOperand &Op = OldMI->getOperand(I); in finishConvertToThreeAddress() 1045 LV->replaceKillInstruction(Op.getReg(), *OldMI, *NewMI); in finishConvertToThreeAddress() 1048 transferDeadCC(OldMI, NewMI); in finishConvertToThreeAddress()
|
/external/llvm/include/llvm/CodeGen/ |
D | LiveVariables.h | 195 void replaceKillInstruction(unsigned Reg, MachineInstr &OldMI,
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMExpandPseudoInsts.cpp | 55 void TransferImpOps(MachineInstr &OldMI, 73 void ARMExpandPseudo::TransferImpOps(MachineInstr &OldMI, in TransferImpOps() argument 76 const MCInstrDesc &Desc = OldMI.getDesc(); in TransferImpOps() 77 for (unsigned i = Desc.getNumOperands(), e = OldMI.getNumOperands(); in TransferImpOps() 79 const MachineOperand &MO = OldMI.getOperand(i); in TransferImpOps()
|
/external/llvm/lib/Target/ARM/ |
D | ARMExpandPseudoInsts.cpp | 64 void TransferImpOps(MachineInstr &OldMI, 91 void ARMExpandPseudo::TransferImpOps(MachineInstr &OldMI, in TransferImpOps() argument 94 const MCInstrDesc &Desc = OldMI.getDesc(); in TransferImpOps() 95 for (unsigned i = Desc.getNumOperands(), e = OldMI.getNumOperands(); in TransferImpOps() 97 const MachineOperand &MO = OldMI.getOperand(i); in TransferImpOps()
|