Searched refs:ArrayIdx (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | StraightLineStrengthReduce.cpp | 233 void factorArrayIndex(Value *ArrayIdx, const SCEV *Base, uint64_t ElementSize, 493 void StraightLineStrengthReduce::factorArrayIndex(Value *ArrayIdx, in factorArrayIndex() argument 499 Base, ConstantInt::get(cast<IntegerType>(ArrayIdx->getType()), 1), in factorArrayIndex() 500 ArrayIdx, ElementSize, GEP); in factorArrayIndex() 514 if (match(ArrayIdx, m_NSWMul(m_Value(LHS), m_ConstantInt(RHS)))) { in factorArrayIndex() 518 } else if (match(ArrayIdx, m_NSWShl(m_Value(LHS), m_ConstantInt(RHS)))) { in factorArrayIndex() 549 Value *ArrayIdx = GEP->getOperand(I); in allocateCandidatesAndFindBasisForGEP() local 551 if (ArrayIdx->getType()->getIntegerBitWidth() <= in allocateCandidatesAndFindBasisForGEP() 555 factorArrayIndex(ArrayIdx, BaseExpr, ElementSize, GEP); in allocateCandidatesAndFindBasisForGEP() 561 if (match(ArrayIdx, m_SExt(m_Value(TruncatedArrayIdx))) && in allocateCandidatesAndFindBasisForGEP()
|
| /llvm-project-15.0.7/polly/lib/Exchange/ |
| H A D | JSONExporter.cpp | 638 unsigned ArrayIdx = 0; in importArrays() local 642 if (ArrayIdx + 1 > Arrays.size()) { in importArrays() 646 if (!areArraysEqual(SAI, *Arrays[ArrayIdx].getAsObject())) { in importArrays() 650 ArrayIdx++; in importArrays() 653 for (; ArrayIdx < Arrays.size(); ArrayIdx++) { in importArrays() 654 const json::Object &Array = *Arrays[ArrayIdx].getAsObject(); in importArrays()
|
| /llvm-project-15.0.7/polly/include/polly/ |
| H A D | ScopInfo.h | 1845 long ArrayIdx = 0; variable 2609 long getNextArrayIdx() { return ArrayIdx++; } in getNextArrayIdx()
|