/external/llvm/lib/Target/X86/ |
D | X86FixupLEAs.cpp | 98 MachineInstr* NewMI; in postRAConvertToLEA() local 104 NewMI = BuildMI(*MF, MI->getDebugLoc(), in postRAConvertToLEA() 108 MFI->insert(MBBI, NewMI); // Insert the new inst in postRAConvertToLEA() 109 return NewMI; in postRAConvertToLEA() 233 MachineInstr* NewMI = postRAConvertToLEA(MFI, MBI); in seekLEAFixup() local 234 if (NewMI) { in seekLEAFixup() 238 DEBUG(dbgs() << "Replaced by: "; NewMI->dump();); in seekLEAFixup() 241 static_cast<MachineBasicBlock::iterator> (NewMI); in seekLEAFixup()
|
D | X86InstrInfo.cpp | 1728 MachineInstr *NewMI = prior(I); in reMaterialize() local 1729 NewMI->substituteRegister(Orig->getOperand(0).getReg(), DestReg, SubIdx, TRI); in reMaterialize() 1930 MachineInstr *NewMI = MIB; in convertToThreeAddressWithLEA() local 1938 LV->getVarInfo(leaInReg).Kills.push_back(NewMI); in convertToThreeAddressWithLEA() 1976 MachineInstr *NewMI = NULL; in convertToThreeAddress() local 1993 NewMI = BuildMI(MF, MI->getDebugLoc(), get(X86::PSHUFDri)) in convertToThreeAddress() 2009 NewMI = BuildMI(MF, MI->getDebugLoc(), get(X86::PSHUFDri)) in convertToThreeAddress() 2024 NewMI = BuildMI(MF, MI->getDebugLoc(), get(X86::LEA64r)) in convertToThreeAddress() 2051 NewMI = MIB; in convertToThreeAddress() 2062 NewMI = BuildMI(MF, MI->getDebugLoc(), get(X86::LEA16r)) in convertToThreeAddress() [all …]
|
/external/llvm/lib/CodeGen/ |
D | TargetInstrInfo.cpp | 119 bool NewMI) const { in commuteInstruction() 157 if (NewMI) { in commuteInstruction() 366 if (MachineInstr *NewMI = foldMemoryOperandImpl(MF, MI, Ops, FI)) { in foldMemoryOperand() local 369 NewMI->mayStore()) && in foldMemoryOperand() 372 NewMI->mayLoad()) && in foldMemoryOperand() 380 NewMI->addMemOperand(MF, MMO); in foldMemoryOperand() 383 return MBB->insert(MI, NewMI); in foldMemoryOperand() 421 MachineInstr *NewMI = foldMemoryOperandImpl(MF, MI, Ops, LoadMI); in foldMemoryOperand() local 422 if (!NewMI) return 0; in foldMemoryOperand() 424 NewMI = MBB.insert(MI, NewMI); in foldMemoryOperand() [all …]
|
D | RegisterCoalescer.cpp | 646 MachineInstr *NewMI = TII->commuteInstruction(DefMI); in removeCopyByCommutingDef() local 647 if (!NewMI) in removeCopyByCommutingDef() 653 if (NewMI != DefMI) { in removeCopyByCommutingDef() 654 LIS->ReplaceMachineInstrInMaps(DefMI, NewMI); in removeCopyByCommutingDef() 656 MBB->insert(Pos, NewMI); in removeCopyByCommutingDef() 659 unsigned OpIdx = NewMI->findRegisterUseOperandIdx(IntA.reg, false); in removeCopyByCommutingDef() 660 NewMI->getOperand(OpIdx).setIsKill(); in removeCopyByCommutingDef() 800 MachineInstr *NewMI = prior(MII); in reMaterializeTrivialDef() local 802 LIS->ReplaceMachineInstrInMaps(CopyMI, NewMI); in reMaterializeTrivialDef() 810 for (unsigned i = NewMI->getDesc().getNumOperands(), in reMaterializeTrivialDef() [all …]
|
D | TwoAddressInstructionPass.cpp | 579 MachineInstr *NewMI = TII->commuteInstruction(MI); in commuteInstruction() local 581 if (NewMI == 0) { in commuteInstruction() 586 DEBUG(dbgs() << "2addr: COMMUTED TO: " << *NewMI); in commuteInstruction() 587 assert(NewMI == MI && in commuteInstruction() 627 MachineInstr *NewMI = TII->convertToThreeAddress(MFI, mi, LV); in convertInstTo3Addr() local 629 if (!NewMI) in convertInstTo3Addr() 633 DEBUG(dbgs() << "2addr: TO 3-ADDR: " << *NewMI); in convertInstTo3Addr() 637 LIS->ReplaceMachineInstrInMaps(mi, NewMI); in convertInstTo3Addr() 639 if (NewMI->findRegisterUseOperand(RegB, false, TRI)) in convertInstTo3Addr() 643 Sunk = sink3AddrInstruction(NewMI, RegB, mi); in convertInstTo3Addr() [all …]
|
D | MachineCSE.cpp | 462 MachineInstr *NewMI = TII->commuteInstruction(MI); in ProcessBlock() local 463 if (NewMI) { in ProcessBlock() 465 FoundCSE = VNT.count(NewMI); in ProcessBlock() 466 if (NewMI != MI) { in ProcessBlock() 468 NewMI->eraseFromParent(); in ProcessBlock()
|
D | TailDuplication.cpp | 422 MachineInstr *NewMI = TII->duplicate(MI, MF); in DuplicateInstruction() local 423 for (unsigned i = 0, e = NewMI->getNumOperands(); i != e; ++i) { in DuplicateInstruction() 424 MachineOperand &MO = NewMI->getOperand(i); in DuplicateInstruction() 445 PredBB->insert(PredBB->instr_end(), NewMI); in DuplicateInstruction()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | R600ExpandSpecialInstrs.cpp | 150 MachineInstr *NewMI = in runOnMachineFunction() local 156 NewMI->setIsInsideBundle(Chan != 0); in runOnMachineFunction() 157 TII->addFlag(NewMI, 0, Flags); in runOnMachineFunction()
|
D | R600ISelLowering.cpp | 64 MachineInstr *NewMI = in EmitInstrWithCustomInserter() local 70 TII->addFlag(NewMI, 0, MO_FLAG_CLAMP); in EmitInstrWithCustomInserter() 75 MachineInstr *NewMI = in EmitInstrWithCustomInserter() local 81 TII->addFlag(NewMI, 1, MO_FLAG_ABS); in EmitInstrWithCustomInserter() 87 MachineInstr *NewMI = in EmitInstrWithCustomInserter() local 93 TII->addFlag(NewMI, 1, MO_FLAG_NEG); in EmitInstrWithCustomInserter() 206 MachineInstr *NewMI = in EmitInstrWithCustomInserter() local 212 TII->addFlag(NewMI, 1, MO_FLAG_PUSH); in EmitInstrWithCustomInserter() 220 MachineInstr *NewMI = in EmitInstrWithCustomInserter() local 226 TII->addFlag(NewMI, 1, MO_FLAG_PUSH); in EmitInstrWithCustomInserter()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
D | R600ExpandSpecialInstrs.cpp | 150 MachineInstr *NewMI = in runOnMachineFunction() local 156 NewMI->setIsInsideBundle(Chan != 0); in runOnMachineFunction() 157 TII->addFlag(NewMI, 0, Flags); in runOnMachineFunction()
|
D | R600ISelLowering.cpp | 64 MachineInstr *NewMI = in EmitInstrWithCustomInserter() local 70 TII->addFlag(NewMI, 0, MO_FLAG_CLAMP); in EmitInstrWithCustomInserter() 75 MachineInstr *NewMI = in EmitInstrWithCustomInserter() local 81 TII->addFlag(NewMI, 1, MO_FLAG_ABS); in EmitInstrWithCustomInserter() 87 MachineInstr *NewMI = in EmitInstrWithCustomInserter() local 93 TII->addFlag(NewMI, 1, MO_FLAG_NEG); in EmitInstrWithCustomInserter() 206 MachineInstr *NewMI = in EmitInstrWithCustomInserter() local 212 TII->addFlag(NewMI, 1, MO_FLAG_PUSH); in EmitInstrWithCustomInserter() 220 MachineInstr *NewMI = in EmitInstrWithCustomInserter() local 226 TII->addFlag(NewMI, 1, MO_FLAG_PUSH); in EmitInstrWithCustomInserter()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonNewValueJump.cpp | 599 MachineInstr *NewMI; in runOnMachineFunction() local 610 NewMI = BuildMI(*MBB, jmpPos, dl, in runOnMachineFunction() 621 NewMI = BuildMI(*MBB, jmpPos, dl, in runOnMachineFunction() 627 NewMI = BuildMI(*MBB, jmpPos, dl, in runOnMachineFunction() 633 assert(NewMI && "New Value Jump Instruction Not created!"); in runOnMachineFunction() 634 (void)NewMI; in runOnMachineFunction()
|
/external/llvm/lib/Target/R600/ |
D | R600ExpandSpecialInstrs.cpp | 300 MachineInstr *NewMI = in runOnMachineFunction() local 304 NewMI->bundleWithPred(); in runOnMachineFunction() 306 TII->addFlag(NewMI, 0, MO_FLAG_MASK); in runOnMachineFunction() 309 TII->addFlag(NewMI, 0, MO_FLAG_NOT_LAST); in runOnMachineFunction()
|
D | R600ISelLowering.cpp | 116 MachineInstr *NewMI = TII->buildDefaultInstruction(*BB, I, in EmitInstrWithCustomInserter() local 120 TII->addFlag(NewMI, 0, MO_FLAG_CLAMP); in EmitInstrWithCustomInserter() 125 MachineInstr *NewMI = TII->buildDefaultInstruction(*BB, I, in EmitInstrWithCustomInserter() local 129 TII->addFlag(NewMI, 0, MO_FLAG_ABS); in EmitInstrWithCustomInserter() 134 MachineInstr *NewMI = TII->buildDefaultInstruction(*BB, I, in EmitInstrWithCustomInserter() local 138 TII->addFlag(NewMI, 0, MO_FLAG_NEG); in EmitInstrWithCustomInserter() 151 MachineInstrBuilder NewMI = BuildMI(*BB, I, BB->findDebugLoc(I), in EmitInstrWithCustomInserter() local 155 NewMI.addOperand(MI->getOperand(i)); in EmitInstrWithCustomInserter() 173 MachineInstr *NewMI = TII->buildDefaultInstruction(*BB, MI, AMDGPU::MOV, in EmitInstrWithCustomInserter() local 175 TII->setImmOperand(NewMI, AMDGPU::OpName::src0_sel, in EmitInstrWithCustomInserter() [all …]
|
D | SIInstrInfo.h | 41 bool NewMI=false) const;
|
D | SIInstrInfo.cpp | 186 bool NewMI) const { in commuteInstruction() 192 MI = TargetInstrInfo::commuteInstruction(MI, NewMI); in commuteInstruction()
|
D | AMDILCFGStructurizer.cpp | 502 MachineInstr *NewMI = MF->CreateMachineInstr(TII->get(NewOpcode), DL); in insertCondBranchBefore() local 503 MBB->insert(I, NewMI); in insertCondBranchBefore() 504 MachineInstrBuilder MIB(*MF, NewMI); in insertCondBranchBefore() 506 SHOWNEWINSTR(NewMI); in insertCondBranchBefore() 1688 MachineInstr *NewMI = insertInstrBefore(I, AMDGPU::BRANCH_COND_i32); in normalizeInfiniteLoopExit() local 1689 MachineInstrBuilder MIB(*FuncRep, NewMI); in normalizeInfiniteLoopExit() 1692 SHOWNEWINSTR(NewMI); in normalizeInfiniteLoopExit()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64FrameLowering.cpp | 240 MachineInstr *NewMI = prior(MBBI); in emitEpilogue() local 242 MBBI = NewMI; in emitEpilogue() 461 MachineInstrBuilder NewMI; in emitFrameMemOps() local 476 NewMI = BuildMI(MBB, MBBI, DL, TII.get(PossClasses[ClassIdx].PairOpcode)) in emitFrameMemOps() 490 NewMI = BuildMI(MBB, MBBI, DL, in emitFrameMemOps() 507 NewMI.addFrameIndex(FrameIdx) in emitFrameMemOps() 512 NewMI.setMIFlags(MachineInstr::FrameSetup); in emitFrameMemOps()
|
D | AArch64InstrInfo.cpp | 352 MachineInstr *NewMI = in expandPostRAPseudo() local 357 llvm::finalizeBundle(MBB, NewMI, *++MBBI); in expandPostRAPseudo() 406 MachineInstrBuilder NewMI = BuildMI(MBB, MBBI, DL, get(StoreOp)); in storeRegToStackSlot() local 407 NewMI.addReg(SrcReg, getKillRegState(isKill)) in storeRegToStackSlot() 452 MachineInstrBuilder NewMI = BuildMI(MBB, MBBI, DL, get(LoadOp), DestReg); in loadRegFromStackSlot() local 453 NewMI.addFrameIndex(FrameIdx) in loadRegFromStackSlot()
|
/external/llvm/lib/Target/ARM/ |
D | A15SDOptimizer.cpp | 388 MachineInstr *NewMI = MRI->getVRegDef(Reg); in elideCopiesAndPHIs() local 389 if (!NewMI) in elideCopiesAndPHIs() 391 Front.push_back(NewMI); in elideCopiesAndPHIs() 396 MachineInstr *NewMI = MRI->getVRegDef(MI->getOperand(1).getReg()); in elideCopiesAndPHIs() local 397 if (!NewMI) in elideCopiesAndPHIs() 399 Front.push_back(NewMI); in elideCopiesAndPHIs()
|
D | ARMBaseInstrInfo.cpp | 244 MachineInstr *NewMI = (Reg == WBReg) ? UpdateMI : MemMI; in convertToThreeAddress() local 246 LV->addVirtualRegisterDead(Reg, NewMI); in convertToThreeAddress() 251 MachineInstr *NewMI = NewMIs[j]; in convertToThreeAddress() local 252 if (!NewMI->readsRegister(Reg)) in convertToThreeAddress() 254 LV->addVirtualRegisterKilled(Reg, NewMI); in convertToThreeAddress() 256 VI.Kills.push_back(NewMI); in convertToThreeAddress() 1604 ARMBaseInstrInfo::commuteInstruction(MachineInstr *MI, bool NewMI) const { in commuteInstruction() 1614 MI = TargetInstrInfo::commuteInstruction(MI, NewMI); in commuteInstruction() 1623 return TargetInstrInfo::commuteInstruction(MI, NewMI); in commuteInstruction() 1699 MachineInstrBuilder NewMI = BuildMI(*MI->getParent(), MI, MI->getDebugLoc(), in optimizeSelect() local [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | LiveIntervalAnalysis.h | 232 void ReplaceMachineInstrInMaps(MachineInstr *MI, MachineInstr *NewMI) { in ReplaceMachineInstrInMaps() argument 233 Indexes->replaceMachineInstrInMaps(MI, NewMI); in ReplaceMachineInstrInMaps()
|
D | LiveVariables.h | 192 MachineInstr *NewMI);
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCInstrInfo.h | 107 virtual MachineInstr *commuteInstruction(MachineInstr *MI, bool NewMI) const;
|
/external/llvm/lib/Target/ARM/InstPrinter/ |
D | ARMInstPrinter.cpp | 257 MCInst NewMI; in printInst() local 259 NewMI.setOpcode(Opcode); in printInst() 262 NewMI.addOperand(MI->getOperand(0)); in printInst() 265 NewMI.addOperand(NewReg); in printInst() 269 NewMI.addOperand(MI->getOperand(i)); in printInst() 270 printInstruction(&NewMI, O); in printInst()
|