Searched refs:OffsetDiff (Results 1 – 6 of 6) sorted by relevance
129 int64_t OffsetDiff = EltOffset - AlignDownOffset; in runOnFunction() local203 Value *ExtractBits = OffsetDiff == 0 ? in runOnFunction()204 Load : Builder.CreateLShr(Load, OffsetDiff * 8); in runOnFunction()
289 unsigned OffsetDiff = std::abs((int)EltOffset1 - (int)EltOffset0); in offsetsCanBeCombined() local292 if ((OffsetDiff % 64 == 0) && isUInt<8>(OffsetDiff / 64)) { in offsetsCanBeCombined()299 if (isUInt<8>(OffsetDiff)) { in offsetsCanBeCombined()
1252 int64_t OffsetDiff = Offset - AlignDownOffset; in lowerKernargMemParameter() local1263 SDValue ShiftAmt = DAG.getConstant(OffsetDiff * 8, SL, MVT::i32); in lowerKernargMemParameter()
1819 int32_t OffsetDiff = Offset - TempBaseOffset; in createMemOperand() local1820 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() local1994 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()[all …]
3378 int OffsetDiff = DefStageNum - BaseStageNum; in applyInstrChange() local3381 if (OffsetDiff > 0) in applyInstrChange()3382 --OffsetDiff; in applyInstrChange()3385 MI->getOperand(OffsetPos).getImm() + RegAndOffset.second * OffsetDiff; in applyInstrChange()
3505 int OffsetDiff = DefStageNum - BaseStageNum; in applyInstrChange() local3508 if (OffsetDiff > 0) in applyInstrChange()3509 --OffsetDiff; in applyInstrChange()3512 MI->getOperand(OffsetPos).getImm() + RegAndOffset.second * OffsetDiff; in applyInstrChange()