Lines Matching defs:Diff
590 APInt Diff = C2->ConstInt->getValue() - ConstCand->ConstInt->getValue();
592 TTI->getIntImmCodeSizeCost(Opcode, OpndIdx, Diff, Ty);
594 LLVM_DEBUG(dbgs() << "Offset " << Diff << " "
631 APInt Diff = ConstCand->ConstInt->getValue() - ConstInt->getValue();
632 Constant *Offset = Diff == 0 ? nullptr : ConstantInt::get(Ty, Diff);
681 APInt Diff = CC->ConstInt->getValue() - MinValItr->ConstInt->getValue();
682 if ((Diff.getBitWidth() <= 64) &&
683 TTI->isLegalAddImmediate(Diff.getSExtValue()) &&
684 // Check if Diff can be used as offset in addressing mode of the user
687 /*BaseGV*/nullptr, /*BaseOffset*/Diff.getSExtValue(),