Searched refs:getMemScale (Results 1 – 4 of 4) sorted by relevance
236 static int getMemScale(MachineInstr &MI) { in getMemScale() function605 int LoadSize = getMemScale(LoadInst); in isLdOffsetInRangeOfSt()606 int StoreSize = getMemScale(StoreInst); in isLdOffsetInRangeOfSt()645 int OffsetStride = IsScaled ? 1 : getMemScale(*I); in mergeNarrowInsns()701 int Width = getMemScale(*I) == 1 ? 8 : 16; in mergeNarrowInsns()812 int OffsetStride = IsUnscaled ? getMemScale(*I) : 1; in mergePairedInsns()830 int MemSize = getMemScale(*Paired); in mergePairedInsns()834 assert(!(PairedOffset % getMemScale(*Paired)) && in mergePairedInsns()859 assert(!(OffsetImm % getMemScale(*RtMI)) && in mergePairedInsns()861 OffsetImm /= getMemScale(*RtMI); in mergePairedInsns()[all …]
123 unsigned getMemScale() const { in getMemScale() function281 !getMemIndexReg() && getMemScale() == 1; in isAbsMem()292 return !getMemIndexReg() && getMemScale() == 1 && in isSrcIdx()311 return !getMemIndexReg() && getMemScale() == 1 && in isDstIdx()332 getMemScale() == 1; in isMemOffs()432 Inst.addOperand(MCOperand::createImm(getMemScale())); in addMemOperands()
439 Displacement -= OrigSPOffset * Op.getMemScale(); in ComputeMemOperandAddress()475 Op.getMemIndexReg(), Op.getMemScale(), in AddDisplacement()491 Op.getMemScale(), SMLoc(), SMLoc()); in AddDisplacement()
187 unsigned getMemScale() const { in getMemScale() function282 !getMemIndexReg() && getMemScale() == 1; in isAbsMem()308 Inst.addOperand(MCOperand::CreateImm(getMemScale())); in addMemOperands()