Lines Matching refs:OffsetDiff
1819 int32_t OffsetDiff = Offset - TempBaseOffset; in createMemOperand() local
1820 assert(AllowOffsets || OffsetDiff == 0); in createMemOperand()
1822 if (!Target->isLegalMemOffset(Ty, OffsetDiff)) { in createMemOperand()
1824 OffsetDiff = 0; in createMemOperand()
1830 llvm::cast<ConstantInteger32>(Target->Ctx->getConstantInt32(OffsetDiff)), in createMemOperand()
1993 const int32_t OffsetDiff = Offset - TempBaseOffset; in legalizeMemOperand() local
1994 if (OffsetDiff == 0) { in legalizeMemOperand()
1996 } else if (OperandARM32FlexImm::canHoldImm(OffsetDiff, &Rotate, &Imm8)) { in legalizeMemOperand()
2000 TempBaseOffset += OffsetDiff; in legalizeMemOperand()
2002 } else if (OperandARM32FlexImm::canHoldImm(-OffsetDiff, &Rotate, &Imm8)) { in legalizeMemOperand()
2006 TempBaseOffset += OffsetDiff; in legalizeMemOperand()