Home
last modified time | relevance | path

Searched refs:getInstr (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm/lib/Target/Hexagon/
DHexagonMachineScheduler.cpp30 if (SUnits[su].getInstr()->isCall()) in postprocessDAG()
33 else if (SUnits[su].getInstr()->isCompare() && LastSequentialCall) in postprocessDAG()
44 if (!SU || !SU->getInstr()) in isResourceAvailable()
49 switch (SU->getInstr()->getOpcode()) { in isResourceAvailable()
51 if (!ResourcesModel->canReserveResources(SU->getInstr())) in isResourceAvailable()
101 switch (SU->getInstr()->getOpcode()) { in reserveResources()
103 ResourcesModel->reserveResources(SU->getInstr()); in reserveResources()
124 DEBUG(Packet[i]->getInstr()->dump()); in reserveResources()
249 assert(SU->getInstr() && "Scheduled SUnit must have instr"); in releaseBottomNode()
281 unsigned uops = SchedModel->getNumMicroOps(SU->getInstr()); in checkHazard()
[all …]
DHexagonVLIWPacketizer.cpp379 if (PacketSU->getInstr()->isInlineAsm()) in canPromoteToDotCur()
547 if (PacketSU->getInstr()->mayStore()) in canPromoteToNewValueStore()
633 MachineInstr* TempMI = TempSU->getInstr(); in canPromoteToNewValueStore()
646 if (MO.isReg() && TempSU->getInstr()->modifiesRegister(MO.getReg(), HRI)) in canPromoteToNewValueStore()
698 MachineInstr *PacketMI = PacketSU->getInstr(); in canPromoteToNewValue()
729 const MachineInstr *PI = PacketSU->getInstr(); in canPromoteToDotNew()
1130 MachineInstr *I = SUI->getInstr(); in isLegalToPacketizeTogether()
1131 MachineInstr *J = SUJ->getInstr(); in isLegalToPacketizeTogether()
1173 MachineInstr *PI = PacketSU->getInstr(); in isLegalToPacketizeTogether()
1420 MachineInstr *I = SUI->getInstr(); in isLegalToPruneDependencies()
[all …]
/external/llvm/lib/Target/AMDGPU/
DR600MachineScheduler.cpp163 for (MachineInstr::mop_iterator It = SU->getInstr()->operands_begin(), in schedNode()
164 E = SU->getInstr()->operands_end(); It != E; ++It) { in schedNode()
198 if (isPhysicalRegCopy(SU->getInstr())) { in releaseBottomNode()
223 MachineInstr *MI = SU->getInstr(); in getAluKind()
297 int Opcode = SU->getInstr()->getOpcode(); in getInstKind()
326 InstructionsGroupCandidate.push_back(SU->getInstr()); in PopInst()
328 && (!AnyALU || !TII->isVectorOnly(SU->getInstr())) in PopInst()
398 AssignSlot(UnslotedSU->getInstr(), Slot); in AttemptFillSlot()
447 InstructionsGroupCandidate.push_back(SU->getInstr()); in pickAlu()
DR600Packetizer.cpp189 MachineInstr *MII = SUI->getInstr(), *MIJ = SUJ->getInstr(); in isLegalToPacketizeTogether()
DSILoadStoreOptimizer.cpp299 return Read2.getInstr(); in mergeRead2Pair()
376 return Write2.getInstr(); in mergeWrite2Pair()
/external/llvm/lib/CodeGen/
DScheduleDAGInstrs.cpp248 const MachineOperand &MO = SU->getInstr()->getOperand(OperIdx); in addPhysRegDataDeps()
275 RegUse = UseSU->getInstr(); in addPhysRegDataDeps()
278 SchedModel.computeOperandLatency(SU->getInstr(), OperIdx, RegUse, in addPhysRegDataDeps()
291 MachineInstr *MI = SU->getInstr(); in addPhysRegDeps()
311 !DefSU->getInstr()->registerDefIsDead(*Alias))) { in addPhysRegDeps()
317 SchedModel.computeOutputLatency(MI, OperIdx, DefSU->getInstr())); in addPhysRegDeps()
386 MachineInstr *MI = SU->getInstr(); in addVRegDefDeps()
424 MachineInstr *Use = UseSU->getInstr(); in addVRegDefDeps()
470 SchedModel.computeOutputLatency(MI, OperIdx, DefSU->getInstr())); in addVRegDefDeps()
495 const MachineInstr *MI = SU->getInstr(); in addVRegUseDeps()
[all …]
DMachineScheduler.cpp700 MachineInstr *MI = SU->getInstr(); in schedule()
1003 = LI.Query(LIS->getInstructionIndex(SU->getInstr())); in updatePressureDiffs()
1009 << *SU->getInstr(); in updatePressureDiffs()
1197 LI.Query(LIS->getInstructionIndex(SU->getInstr())); in computeCyclicCriticalPath()
1229 MachineInstr *MI = SU->getInstr(); in scheduleMI()
1322 if (TII->getMemOpBaseRegImmOfs(SU->getInstr(), BaseReg, Offset, TRI)) in clusterNeighboringLoads()
1337 if (TII->shouldClusterLoads(SUa->getInstr(), SUb->getInstr(), ClusterLength) in clusterNeighboringLoads()
1368 if (!SU->getInstr()->mayLoad()) in apply()
1429 MachineInstr *Branch = ExitSU.getInstr(); in apply()
1438 MachineInstr *Pred = SU.getInstr(); in apply()
[all …]
DSlotIndexes.cpp184 MachineInstr *SlotMI = ListI->getInstr(); in repairIndexesInRange()
222 if (itr->getInstr()) { in dump()
223 dbgs() << *itr->getInstr(); in dump()
DCriticalAntiDepBreaker.cpp441 MISUnitMap[SU->getInstr()] = SU; in BreakAntiDependencies()
462 MachineInstr *CriticalPathMI = CriticalPathSU->getInstr(); in BreakAntiDependencies()
573 CriticalPathMI = CriticalPathSU->getInstr(); in BreakAntiDependencies()
DDFAPacketizer.cpp218 MIToSUnit[SU->getInstr()] = SU; in PacketizeMIs()
DAggressiveAntiDepBreaker.cpp756 MISUnitMap.insert(std::pair<MachineInstr *, const SUnit *>(SU->getInstr(), in BreakAntiDependencies()
775 CriticalPathMI = CriticalPathSU->getInstr(); in BreakAntiDependencies()
820 CriticalPathMI = (CriticalPathSU) ? CriticalPathSU->getInstr() : nullptr; in BreakAntiDependencies()
DPostRASchedulerList.cpp663 BB->splice(RegionEnd, BB, SU->getInstr()); in EmitSchedule()
/external/llvm/lib/Target/ARM/
DARMHazardRecognizer.cpp38 MachineInstr *MI = SU->getInstr(); in getHazardType()
84 MachineInstr *MI = SU->getInstr(); in EmitInstruction()
DThumb2ITBlockPass.cpp204 MachineBasicBlock::iterator InsertPos = MIB.getInstr(); in InsertITInstructions()
DThumb1FrameLowering.cpp549 MBB.erase(MIB.getInstr()); in emitPopSpecialFixUp()
DARMLoadStoreOptimizer.cpp770 return MIB.getInstr(); in CreateLoadStoreMulti()
792 return MIB.getInstr(); in CreateLoadStoreDouble()
/external/llvm/include/llvm/CodeGen/
DSlotIndexes.h46 MachineInstr* getInstr() const { return mi; } in getInstr() function
428 return index.isValid() ? index.listEntry()->getInstr() : nullptr;
437 if (I->getInstr())
623 assert(miEntry->getInstr() == mi && "Instruction indexes broken.");
638 assert(miEntry->getInstr() == mi &&
DScheduleDAGInstrs.h181 SU->SchedClass = SchedModel.resolveSchedClass(SU->getInstr()); in getSchedClass()
DScheduleDAG.h406 MachineInstr *getInstr() const {
585 if (SU->isInstr()) return &SU->getInstr()->getDesc();
DMachineInstrBuilder.h62 MachineInstr *getInstr() const { return MI; } in getInstr() function
/external/llvm/lib/Target/XCore/
DXCoreInstrInfo.cpp440 .getInstr(); in loadImmediate()
444 return BuildMI(MBB, MI, dl, get(Opcode), Reg).addImm(Value).getInstr(); in loadImmediate()
452 .getInstr(); in loadImmediate()
/external/llvm/lib/Target/PowerPC/
DPPCHazardRecognizers.cpp328 MachineInstr *MI = SU->getInstr(); in getHazardType()
386 MachineInstr *MI = SU->getInstr(); in EmitInstruction()
/external/llvm/include/llvm/Analysis/
DLoopAccessAnalysis.h57 const Instruction *getInstr() const { return Instr; } in getInstr() function
/external/llvm/lib/Target/X86/
DX86CallFrameOptimization.cpp497 .getInstr(); in adjustCallSequence()
/external/llvm/lib/Target/Sparc/
DSparcInstrInfo.cpp361 MovMI = MIB.getInstr(); in copyPhysReg()

12