/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonOptAddrMode.cpp | 109 bool changeStore(MachineInstr *OldMI, MachineOperand ImmOp, 111 bool changeLoad(MachineInstr *OldMI, MachineOperand ImmOp, unsigned ImmOpNum); 561 bool HexagonOptAddrMode::changeLoad(MachineInstr *OldMI, MachineOperand ImmOp, in changeLoad() argument 564 MachineBasicBlock *BB = OldMI->getParent(); in changeLoad() 565 auto UsePos = MachineBasicBlock::iterator(OldMI); in changeLoad() 569 unsigned OpEnd = OldMI->getNumOperands(); in changeLoad() 573 if (HII->getAddrMode(*OldMI) == HexagonII::BaseRegOffset) { in changeLoad() 574 short NewOpCode = HII->changeAddrMode_rr_ur(*OldMI); in changeLoad() 576 MIB = BuildMI(*BB, InsertPt, OldMI->getDebugLoc(), HII->get(NewOpCode)); in changeLoad() 577 MIB.add(OldMI->getOperand(0)); in changeLoad() [all …]
|
H A D | HexagonBlockRanges.cpp | 206 void HexagonBlockRanges::InstrIndexMap::replaceInstr(MachineInstr *OldMI, in replaceInstr() argument 209 if (I.second != OldMI) in replaceInstr()
|
H A D | HexagonBlockRanges.h | 134 void replaceInstr(MachineInstr *OldMI, MachineInstr *NewMI);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | R600ExpandSpecialInstrs.cpp | 33 void SetFlagInNewMI(MachineInstr *NewMI, const MachineInstr *OldMI, 64 const MachineInstr *OldMI, unsigned Op) { in SetFlagInNewMI() argument 65 int OpIdx = TII->getOperandIdx(*OldMI, Op); in SetFlagInNewMI() 67 uint64_t Val = OldMI->getOperand(OpIdx).getImm(); in SetFlagInNewMI()
|
H A D | GCNSchedStrategy.cpp | 1553 MachineInstr *OldMI = Entry.second; in sinkTriviallyRematInsts() local 1557 OldMI->clearRegisterDeads(Reg); in sinkTriviallyRematInsts() 1567 MachineInstr *OldMI = Entry.second; in sinkTriviallyRematInsts() local 1570 DAG.BBLiveInMap.erase(OldMI); in sinkTriviallyRematInsts() 1574 LIS->RemoveMachineInstrFromMaps(*OldMI); in sinkTriviallyRematInsts() 1575 OldMI->eraseFromParent(); in sinkTriviallyRematInsts()
|
H A D | R600MachineCFGStructurizer.cpp | 458 MachineInstr *OldMI = &(*I); in insertInstrBefore() local 459 MachineBasicBlock *MBB = OldMI->getParent(); in insertInstrBefore() 470 MachineInstr *OldMI = &(*I); in insertCondBranchBefore() local 471 MachineBasicBlock *MBB = OldMI->getParent(); in insertCondBranchBefore() 476 MIB.addReg(OldMI->getOperand(1).getReg(), false); in insertCondBranchBefore()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | ModuloSchedule.h | 215 void updateMemOperands(MachineInstr &NewMI, MachineInstr &OldMI, 217 MachineInstr *cloneInstr(MachineInstr *OldMI, unsigned CurStageNum, 219 MachineInstr *cloneAndChangeInstr(MachineInstr *OldMI, unsigned CurStageNum, 418 MachineInstr *cloneInstr(MachineInstr *OldMI);
|
H A D | LiveVariables.h | 199 void replaceKillInstruction(Register Reg, MachineInstr &OldMI,
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ModuloSchedule.cpp | 966 MachineInstr &OldMI, in updateMemOperands() argument 984 if (Num != UINT_MAX && computeDelta(OldMI, Delta)) { in updateMemOperands() 998 MachineInstr *ModuloScheduleExpander::cloneInstr(MachineInstr *OldMI, in cloneInstr() argument 1001 MachineInstr *NewMI = MF.CloneMachineInstr(OldMI); in cloneInstr() 1002 updateMemOperands(*NewMI, *OldMI, CurStageNum - InstStageNum); in cloneInstr() 1010 MachineInstr *OldMI, unsigned CurStageNum, unsigned InstStageNum) { in cloneAndChangeInstr() argument 1011 MachineInstr *NewMI = MF.CloneMachineInstr(OldMI); in cloneAndChangeInstr() 1012 auto It = InstrChanges.find(OldMI); in cloneAndChangeInstr() 1016 if (!TII->getBaseAndOffsetPosition(*OldMI, BasePos, OffsetPos)) in cloneAndChangeInstr() 1018 int64_t NewOffset = OldMI->getOperand(OffsetPos).getImm(); in cloneAndChangeInstr() [all …]
|
H A D | LiveVariables.cpp | 770 void LiveVariables::replaceKillInstruction(Register Reg, MachineInstr &OldMI, in replaceKillInstruction() argument 773 std::replace(VI.Kills.begin(), VI.Kills.end(), &OldMI, &NewMI); in replaceKillInstruction()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | GIMatchTableExecutorImpl.h | 1030 MachineInstr *OldMI = State.MIs[OldInsnID]; in executeMatchTable() local 1032 Observer->changingInstr(*OldMI); in executeMatchTable() 1033 OutMIs[NewInsnID] = MachineInstrBuilder(*OldMI->getMF(), OldMI); in executeMatchTable() 1036 Observer->changedInstr(*OldMI); in executeMatchTable()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZInstrInfo.cpp | 1062 static void transferDeadCC(MachineInstr *OldMI, MachineInstr *NewMI) { in transferDeadCC() argument 1063 if (OldMI->registerDefIsDead(SystemZ::CC, /*TRI=*/nullptr)) { in transferDeadCC() 1071 static void transferMIFlag(MachineInstr *OldMI, MachineInstr *NewMI, in transferMIFlag() argument 1073 if (OldMI->getFlag(Flag)) in transferMIFlag()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ExpandPseudoInsts.cpp | 110 static void transferImpOps(MachineInstr &OldMI, MachineInstrBuilder &UseMI, in transferImpOps() argument 112 const MCInstrDesc &Desc = OldMI.getDesc(); in transferImpOps() 114 llvm::drop_begin(OldMI.operands(), Desc.getNumOperands())) { in transferImpOps()
|