Lines Matching defs:Diff
551 uint64_t Diff = LimVal1 - LimVal2;
552 return APInt(BW, Diff, true);
611 std::optional<APInt> Diff = calculateOffsetDiff(
613 if (Diff) {
615 TTI->getIntImmCodeSizeCost(Opcode, OpndIdx, *Diff, Ty);
617 LLVM_DEBUG(dbgs() << "Offset " << *Diff << " "
655 APInt Diff = ConstCand->ConstInt->getValue() - ConstInt->getValue();
656 Constant *Offset = Diff == 0 ? nullptr : ConstantInt::get(Ty, Diff);
705 APInt Diff = CC->ConstInt->getValue() - MinValItr->ConstInt->getValue();
706 if ((Diff.getBitWidth() <= 64) &&
707 TTI->isLegalAddImmediate(Diff.getSExtValue()) &&
708 // Check if Diff can be used as offset in addressing mode of the user
711 /*BaseGV*/nullptr, /*BaseOffset*/Diff.getSExtValue(),