Home
last modified time | relevance | path

Searched refs:getMemScale (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Target/AArch64/
DAArch64LoadStoreOptimizer.cpp236 static int getMemScale(MachineInstr &MI) { in getMemScale() function
605 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 …]
/external/llvm/lib/Target/X86/AsmParser/
DX86Operand.h123 unsigned getMemScale() const { in getMemScale() function
281 !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()
DX86AsmInstrumentation.cpp439 Displacement -= OrigSPOffset * Op.getMemScale(); in ComputeMemOperandAddress()
475 Op.getMemIndexReg(), Op.getMemScale(), in AddDisplacement()
491 Op.getMemScale(), SMLoc(), SMLoc()); in AddDisplacement()
/external/swiftshader/third_party/LLVM/lib/Target/X86/AsmParser/
DX86AsmParser.cpp187 unsigned getMemScale() const { in getMemScale() function
282 !getMemIndexReg() && getMemScale() == 1; in isAbsMem()
308 Inst.addOperand(MCOperand::CreateImm(getMemScale())); in addMemOperands()