Searched refs:ArrayIdx (Results 1 – 2 of 2) sorted by relevance
/external/compiler-rt/lib/esan/ |
D | esan_circular_buffer.h | 50 uptr ArrayIdx = (StartIdx + Idx) % Capacity; variable 51 return Data[ArrayIdx]; 55 uptr ArrayIdx = (StartIdx + Idx) % Capacity; variable 56 return Data[ArrayIdx]; 60 uptr ArrayIdx = (StartIdx + Count) % Capacity; in push_back() local 61 Data[ArrayIdx] = Item; in push_back() 69 uptr ArrayIdx = (StartIdx + Count - 1) % Capacity; in back() local 70 return Data[ArrayIdx]; in back()
|
/external/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 189 void factorArrayIndex(Value *ArrayIdx, const SCEV *Base, uint64_t ElementSize, 447 void StraightLineStrengthReduce::factorArrayIndex(Value *ArrayIdx, in factorArrayIndex() argument 453 Base, ConstantInt::get(cast<IntegerType>(ArrayIdx->getType()), 1), in factorArrayIndex() 454 ArrayIdx, ElementSize, GEP); in factorArrayIndex() 468 if (match(ArrayIdx, m_NSWMul(m_Value(LHS), m_ConstantInt(RHS)))) { in factorArrayIndex() 472 } else if (match(ArrayIdx, m_NSWShl(m_Value(LHS), m_ConstantInt(RHS)))) { in factorArrayIndex() 505 Value *ArrayIdx = GEP->getOperand(I); in allocateCandidatesAndFindBasisForGEP() local 507 if (ArrayIdx->getType()->getIntegerBitWidth() <= in allocateCandidatesAndFindBasisForGEP() 511 factorArrayIndex(ArrayIdx, BaseExpr, ElementSize, GEP); in allocateCandidatesAndFindBasisForGEP() 517 if (match(ArrayIdx, m_SExt(m_Value(TruncatedArrayIdx))) && in allocateCandidatesAndFindBasisForGEP()
|