• Home
  • Raw
  • Download

Lines Matching refs:Idx

94     Candidate(Kind CT, const SCEV *B, ConstantInt *Idx, Value *S,  in Candidate()
96 : CandidateKind(CT), Base(B), Index(Idx), Stride(S), Ins(I), in Candidate()
176 void allocateCandidatesAndFindBasisForGEP(const SCEV *B, ConstantInt *Idx,
182 ConstantInt *Idx, Value *S,
330 Candidate::Kind CT, const SCEV *B, ConstantInt *Idx, Value *S, in allocateCandidatesAndFindBasis() argument
332 Candidate C(CT, B, Idx, S, I); in allocateCandidatesAndFindBasis()
396 ConstantInt *Idx = nullptr; in allocateCandidatesAndFindBasisForAdd() local
397 if (match(RHS, m_Mul(m_Value(S), m_ConstantInt(Idx)))) { in allocateCandidatesAndFindBasisForAdd()
399 allocateCandidatesAndFindBasis(Candidate::Add, SE->getSCEV(LHS), Idx, S, I); in allocateCandidatesAndFindBasisForAdd()
400 } else if (match(RHS, m_Shl(m_Value(S), m_ConstantInt(Idx)))) { in allocateCandidatesAndFindBasisForAdd()
402 APInt One(Idx->getBitWidth(), 1); in allocateCandidatesAndFindBasisForAdd()
403 Idx = ConstantInt::get(Idx->getContext(), One << Idx->getValue()); in allocateCandidatesAndFindBasisForAdd()
404 allocateCandidatesAndFindBasis(Candidate::Add, SE->getSCEV(LHS), Idx, S, I); in allocateCandidatesAndFindBasisForAdd()
428 ConstantInt *Idx = nullptr; in allocateCandidatesAndFindBasisForMul() local
429 if (matchesAdd(LHS, B, Idx)) { in allocateCandidatesAndFindBasisForMul()
432 allocateCandidatesAndFindBasis(Candidate::Mul, SE->getSCEV(B), Idx, RHS, I); in allocateCandidatesAndFindBasisForMul()
433 } else if (matchesOr(LHS, B, Idx) && haveNoCommonBitsSet(B, Idx, *DL)) { in allocateCandidatesAndFindBasisForMul()
438 allocateCandidatesAndFindBasis(Candidate::Mul, SE->getSCEV(B), Idx, RHS, I); in allocateCandidatesAndFindBasisForMul()
464 const SCEV *B, ConstantInt *Idx, Value *S, uint64_t ElementSize, in allocateCandidatesAndFindBasisForGEP() argument
472 IntPtrTy, Idx->getSExtValue() * (int64_t)ElementSize, true); in allocateCandidatesAndFindBasisForGEP()
561 APInt Idx = C.Index->getValue(), BasisIdx = Basis.Index->getValue(); in emitBump() local
562 unifyBitWidth(Idx, BasisIdx); in emitBump()
563 APInt IndexOffset = Idx - BasisIdx; in emitBump()