Home
last modified time | relevance | path

Searched refs:AddMI (Results 1 – 13 of 13) sorted by relevance

/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCShuffler.cpp51 void HexagonMCShuffler::init(MCInst &MCB, MCInst const *AddMI, in init() argument
54 if (bInsertAtFront && AddMI) in init()
55 append(AddMI, nullptr, HexagonMCInstrInfo::getUnits(MCII, STI, *AddMI), in init()
69 if (!bInsertAtFront && AddMI) in init()
70 append(AddMI, nullptr, HexagonMCInstrInfo::getUnits(MCII, STI, *AddMI), in init()
205 MCInst &MCB, MCInst const *AddMI, int fixupCount) { in HexagonMCShuffle() argument
206 if (!HexagonMCInstrInfo::isBundle(MCB) || !AddMI) in HexagonMCShuffle()
224 HexagonMCShuffler MCS(MCII, STI, MCB, AddMI); in HexagonMCShuffle()
DHexagonMCShuffler.h36 MCInst &MCB, const MCInst *AddMI,
39 init(MCB, AddMI, bInsertAtFront); in HexagonShuffler()
52 void init(MCInst &MCB, const MCInst *AddMI, bool bInsertAtFront = false);
/external/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCShuffler.cpp55 void HexagonMCShuffler::init(MCInst &MCB, MCInst const &AddMI, in init() argument
59 append(AddMI, nullptr, HexagonMCInstrInfo::getUnits(MCII, STI, AddMI)); in init()
72 append(AddMI, nullptr, HexagonMCInstrInfo::getUnits(MCII, STI, AddMI)); in init()
184 MCInst const &AddMI, int fixupCount) { in HexagonMCShuffle() argument
219 HexagonMCShuffler MCS(Context, false, MCII, STI, MCB, AddMI, false); in HexagonMCShuffle()
DHexagonMCShuffler.h39 MCInst const &AddMI, bool InsertAtFront) in HexagonMCShuffler() argument
41 init(MCB, AddMI, InsertAtFront); in HexagonMCShuffler()
52 void init(MCInst &MCB, MCInst const &AddMI, bool InsertAtFront);
60 MCInst const &AddMI, int fixupCount);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCShuffler.cpp55 void HexagonMCShuffler::init(MCInst &MCB, MCInst const &AddMI, in init() argument
59 append(AddMI, nullptr, HexagonMCInstrInfo::getUnits(MCII, STI, AddMI)); in init()
72 append(AddMI, nullptr, HexagonMCInstrInfo::getUnits(MCII, STI, AddMI)); in init()
184 MCInst const &AddMI, int fixupCount) { in HexagonMCShuffle() argument
219 HexagonMCShuffler MCS(Context, false, MCII, STI, MCB, AddMI, false); in HexagonMCShuffle()
DHexagonMCShuffler.h39 MCInst const &AddMI, bool InsertAtFront) in HexagonMCShuffler() argument
41 init(MCB, AddMI, InsertAtFront); in HexagonMCShuffler()
52 void init(MCInst &MCB, MCInst const &AddMI, bool InsertAtFront);
60 MCInst const &AddMI, int fixupCount);
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonOptAddrMode.cpp94 bool processAddUses(NodeAddr<StmtNode *> AddSN, MachineInstr *AddMI,
96 bool updateAddUses(MachineInstr *AddMI, MachineInstr *UseMI);
349 MachineInstr *AddMI, in processAddUses() argument
352 Register AddDefR = AddMI->getOperand(0).getReg(); in processAddUses()
374 int64_t newOffset = OffsetOp.getImm() + AddMI->getOperand(2).getImm(); in processAddUses()
385 Register BaseReg = AddMI->getOperand(1).getReg(); in processAddUses()
386 if (!isSafeToExtLR(AddSN, AddMI, BaseReg, UNodeList)) in processAddUses()
402 Changed |= updateAddUses(AddMI, UseMI); in processAddUses()
406 Deleted.insert(AddMI); in processAddUses()
411 bool HexagonOptAddrMode::updateAddUses(MachineInstr *AddMI, in updateAddUses() argument
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonOptAddrMode.cpp94 bool processAddUses(NodeAddr<StmtNode *> AddSN, MachineInstr *AddMI,
96 bool updateAddUses(MachineInstr *AddMI, MachineInstr *UseMI);
349 MachineInstr *AddMI, in processAddUses() argument
352 Register AddDefR = AddMI->getOperand(0).getReg(); in processAddUses()
374 int64_t newOffset = OffsetOp.getImm() + AddMI->getOperand(2).getImm(); in processAddUses()
385 Register BaseReg = AddMI->getOperand(1).getReg(); in processAddUses()
386 if (!isSafeToExtLR(AddSN, AddMI, BaseReg, UNodeList)) in processAddUses()
402 Changed |= updateAddUses(AddMI, UseMI); in processAddUses()
406 Deleted.insert(AddMI); in processAddUses()
411 bool HexagonOptAddrMode::updateAddUses(MachineInstr *AddMI, in updateAddUses() argument
[all …]
/external/llvm/lib/Target/Sparc/
DDelaySlotFiller.cpp378 MachineBasicBlock::iterator AddMI, in combineRestoreADD() argument
386 unsigned reg = AddMI->getOperand(0).getReg(); in combineRestoreADD()
394 AddMI->setDesc(TII->get((AddMI->getOpcode() == SP::ADDrr) in combineRestoreADD()
399 AddMI->getOperand(0).setReg(reg - SP::I0 + SP::O0); in combineRestoreADD()
/external/llvm-project/llvm/lib/Target/Sparc/
DDelaySlotFiller.cpp375 MachineBasicBlock::iterator AddMI, in combineRestoreADD() argument
383 Register reg = AddMI->getOperand(0).getReg(); in combineRestoreADD()
391 AddMI->setDesc(TII->get((AddMI->getOpcode() == SP::ADDrr) in combineRestoreADD()
396 AddMI->getOperand(0).setReg(reg - SP::I0 + SP::O0); in combineRestoreADD()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DDelaySlotFiller.cpp375 MachineBasicBlock::iterator AddMI, in combineRestoreADD() argument
383 Register reg = AddMI->getOperand(0).getReg(); in combineRestoreADD()
391 AddMI->setDesc(TII->get((AddMI->getOpcode() == SP::ADDrr) in combineRestoreADD()
396 AddMI->getOperand(0).setReg(reg - SP::I0 + SP::O0); in combineRestoreADD()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64CollectLOH.cpp402 const MachineInstr *AddMI = Info.MI0; in handleADRP() local
404 int OpIdx = mapRegToGPRIndex(AddMI->getOperand(0).getReg()); in handleADRP()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstructionSelector.cpp3251 auto AddMI = MIRBuilder.buildInstr(Opc, {DefReg}, {LHS.getReg()}); in emitADD() local
3256 RenderFn(AddMI); in emitADD()
3258 AddMI.addUse(RHS.getReg()); in emitADD()
3261 constrainSelectedInstRegOperands(*AddMI, TII, TRI, RBI); in emitADD()
3262 return &*AddMI; in emitADD()