Lines Matching refs:MachineInstr
56 const MachineInstr &MI, unsigned DefIdx,
69 bool getExtractSubregLikeInputs(const MachineInstr &MI, unsigned DefIdx,
85 getInsertSubregLikeInputs(const MachineInstr &MI, unsigned DefIdx,
96 MachineInstr *commuteInstructionImpl(MachineInstr *MI,
109 MachineInstr *convertToThreeAddress(MachineFunction::iterator &MFI,
138 bool isPredicated(const MachineInstr *MI) const override;
140 ARMCC::CondCodes getPredicate(const MachineInstr *MI) const { in getPredicate()
146 bool PredicateInstruction(MachineInstr *MI,
152 bool DefinesPredicate(MachineInstr *MI,
155 bool isPredicable(MachineInstr *MI) const override;
159 virtual unsigned GetInstSizeInBytes(const MachineInstr* MI) const;
161 unsigned isLoadFromStackSlot(const MachineInstr *MI,
163 unsigned isStoreToStackSlot(const MachineInstr *MI,
165 unsigned isLoadFromStackSlotPostFE(const MachineInstr *MI,
167 unsigned isStoreToStackSlotPostFE(const MachineInstr *MI,
197 const MachineInstr *Orig,
200 MachineInstr *duplicate(MachineInstr *Orig,
207 bool produceSameValue(const MachineInstr *MI0, const MachineInstr *MI1,
230 bool isSchedulingBoundary(const MachineInstr *MI,
255 bool analyzeCompare(const MachineInstr *MI, unsigned &SrcReg,
263 bool optimizeCompareInstr(MachineInstr *CmpInstr, unsigned SrcReg,
267 bool analyzeSelect(const MachineInstr *MI,
272 MachineInstr *optimizeSelect(MachineInstr *MI,
273 SmallPtrSetImpl<MachineInstr *> &SeenMIs,
278 bool FoldImmediate(MachineInstr *UseMI, MachineInstr *DefMI,
282 const MachineInstr *MI) const override;
285 const MachineInstr *DefMI, unsigned DefIdx,
286 const MachineInstr *UseMI,
294 getExecutionDomain(const MachineInstr *MI) const override;
295 void setExecutionDomain(MachineInstr *MI, unsigned Domain) const override;
297 unsigned getPartialRegUpdateClearance(const MachineInstr*, unsigned,
303 unsigned getNumLDMAddresses(const MachineInstr *MI) const;
306 unsigned getInstBundleLength(const MachineInstr *MI) const;
330 unsigned getPredicationCost(const MachineInstr *MI) const override;
333 const MachineInstr *MI,
341 const MachineInstr *DefMI, unsigned DefIdx,
342 const MachineInstr *UseMI,
345 const MachineInstr *DefMI,
349 bool verifyInstruction(const MachineInstr *MI,
391 bool isSwiftFastImmShift(const MachineInstr *MI) const;
450 ARMCC::CondCodes getInstrPredicate(const MachineInstr *MI, unsigned &PredReg);
457 MachineInstr *&MI,
492 MachineFunction &MF, MachineInstr *MI,
499 bool rewriteARMFrameIndex(MachineInstr &MI, unsigned FrameRegIdx,
503 bool rewriteT2FrameIndex(MachineInstr &MI, unsigned FrameRegIdx,