Searched refs:OffsetDiff (Results 1 – 5 of 5) sorted by relevance
130 int64_t OffsetDiff = EltOffset - AlignDownOffset; in runOnFunction() local203 Value *ExtractBits = OffsetDiff == 0 ? in runOnFunction()204 Load : Builder.CreateLShr(Load, OffsetDiff * 8); in runOnFunction()
790 unsigned OffsetDiff = std::abs((int)EltOffset1 - (int)EltOffset0); in offsetsCanBeCombined() local793 if ((OffsetDiff % 64 == 0) && isUInt<8>(OffsetDiff / 64)) { in offsetsCanBeCombined()800 if (isUInt<8>(OffsetDiff)) { in offsetsCanBeCombined()
1482 int64_t OffsetDiff = Offset - AlignDownOffset; in lowerKernargMemParameter() local1493 SDValue ShiftAmt = DAG.getConstant(OffsetDiff * 8, SL, MVT::i32); in lowerKernargMemParameter()
1635 int32_t OffsetDiff = Offset - TempBaseOffset; in createMemOperand() local1636 assert(AllowOffsets || OffsetDiff == 0); in createMemOperand()1638 if (!Target->isLegalMemOffset(Ty, OffsetDiff)) { in createMemOperand()1640 OffsetDiff = 0; in createMemOperand()1646 llvm::cast<ConstantInteger32>(Target->Ctx->getConstantInt32(OffsetDiff)), in createMemOperand()1806 const int32_t OffsetDiff = Offset - TempBaseOffset; in legalizeMemOperand() local1807 if (OffsetDiff == 0) { in legalizeMemOperand()1809 } else if (OperandARM32FlexImm::canHoldImm(OffsetDiff, &Rotate, &Imm8)) { in legalizeMemOperand()1813 TempBaseOffset += OffsetDiff; in legalizeMemOperand()1815 } else if (OperandARM32FlexImm::canHoldImm(-OffsetDiff, &Rotate, &Imm8)) { in legalizeMemOperand()[all …]
2168 int OffsetDiff = DefStageNum - BaseStageNum; in applyInstrChange() local2171 if (OffsetDiff > 0) in applyInstrChange()2172 --OffsetDiff; in applyInstrChange()2175 MI->getOperand(OffsetPos).getImm() + RegAndOffset.second * OffsetDiff; in applyInstrChange()