Home
last modified time | relevance | path

Searched refs:IdxDiff (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp1093 static bool checkIfSafeAddSequence(const APInt &IdxDiff, Instruction *AddOpA, in checkIfSafeAddSequence() argument
1096 LLVM_DEBUG(dbgs() << "LSV: checkIfSafeAddSequence IdxDiff=" << IdxDiff in checkIfSafeAddSequence()
1131 IdxDiff.getSExtValue() == CstVal) in checkIfSafeAddSequence()
1141 IdxDiff.getSExtValue() == -CstVal) in checkIfSafeAddSequence()
1158 IdxDiff.getSExtValue() == (CstValB - CstValA)) in checkIfSafeAddSequence()
1218 APInt IdxDiff = *IdxDiffRange.getSingleElement(); in getConstantOffsetComplexAddrs() local
1220 LLVM_DEBUG(dbgs() << "LSV: getConstantOffsetComplexAddrs IdxDiff=" << IdxDiff in getConstantOffsetComplexAddrs()
1230 IdxDiff.sle(cast<ConstantInt>(OpB->getOperand(1))->getSExtValue()) && in getConstantOffsetComplexAddrs()
1246 Safe = checkIfSafeAddSequence(IdxDiff, OpA, MatchingOpIdxA, OpB, in getConstantOffsetComplexAddrs()
1263 computeKnownBits((IdxDiff.sge(0) ? ValA : OpB), Known, DL, 0, &AC, in getConstantOffsetComplexAddrs()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp3411 unsigned IdxDiff = Idx - PrevElt->second; in isSimpleVIDSequence()
3420 int64_t Remainder = ValDiff % IdxDiff; in isSimpleVIDSequence()
3426 ValDiff /= IdxDiff; in isSimpleVIDSequence()
3427 IdxDiff = 1; in isSimpleVIDSequence()
3436 SeqStepDenom = IdxDiff; in isSimpleVIDSequence()
3437 else if (IdxDiff != *SeqStepDenom) in isSimpleVIDSequence()
3410 unsigned IdxDiff = Idx - PrevElt->second; isSimpleVIDSequence() local