Searched defs:ArrayIdx (Results 1 - 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
H A DStraightLineStrengthReduce.cpp186 // A helper function that factors ArrayIdx to a product of a stride and a
189 void factorArrayIndex(Value *ArrayIdx, const SCEV *Base, uint64_t ElementSize,
476 void StraightLineStrengthReduce::factorArrayIndex(Value *ArrayIdx, argument
480 // At least, ArrayIdx = ArrayIdx *nsw 1.
482 Base, ConstantInt::get(cast<IntegerType>(ArrayIdx->getType()), 1),
483 ArrayIdx, ElementSize, GEP);
486 // One alternative is matching the SCEV of ArrayIdx instead of ArrayIdx
497 if (match(ArrayIdx, m_NSWMu
534 Value *ArrayIdx = GEP->getOperand(I); local
[all...]

Completed in 27 milliseconds