Lines Matching refs:ConstantInt

111     Candidate(Kind CT, const SCEV *B, ConstantInt *Idx, Value *S,  in Candidate()
122 ConstantInt *Index = nullptr;
205 void allocateCandidatesAndFindBasisForGEP(const SCEV *B, ConstantInt *Idx,
212 ConstantInt *Idx, Value *S,
283 static bool isAddFoldable(const SCEV *Base, ConstantInt *Index, Value *Stride, in isAddFoldable()
305 ConstantInt *ConstIdx = dyn_cast<ConstantInt>(*I); in hasOnlyOneNonZeroIndex()
337 Candidate::Kind CT, const SCEV *B, ConstantInt *Idx, Value *S, in allocateCandidatesAndFindBasis()
403 ConstantInt *Idx = nullptr; in allocateCandidatesAndFindBasisForAdd()
410 Idx = ConstantInt::get(Idx->getContext(), One << Idx->getValue()); in allocateCandidatesAndFindBasisForAdd()
414 ConstantInt *One = ConstantInt::get(cast<IntegerType>(I->getType()), 1); in allocateCandidatesAndFindBasisForAdd()
421 static bool matchesAdd(Value *A, Value *&B, ConstantInt *&C) { in matchesAdd()
427 static bool matchesOr(Value *A, Value *&B, ConstantInt *&C) { in matchesOr()
435 ConstantInt *Idx = nullptr; in allocateCandidatesAndFindBasisForMul()
448 ConstantInt *Zero = ConstantInt::get(cast<IntegerType>(I->getType()), 0); in allocateCandidatesAndFindBasisForMul()
471 const SCEV *B, ConstantInt *Idx, Value *S, uint64_t ElementSize, in allocateCandidatesAndFindBasisForGEP()
478 ConstantInt *ScaledIdx = ConstantInt::get( in allocateCandidatesAndFindBasisForGEP()
489 Base, ConstantInt::get(cast<IntegerType>(ArrayIdx->getType()), 1), in factorArrayIndex()
492 ConstantInt *RHS = nullptr; in factorArrayIndex()
512 ConstantInt *PowerOf2 = in factorArrayIndex()
513 ConstantInt::get(RHS->getContext(), One << RHS->getValue()); in factorArrayIndex()
609 ConstantInt *Exponent = ConstantInt::get(DeltaType, IndexOffset.logBase2()); in emitBump()
614 ConstantInt *Exponent = in emitBump()
615 ConstantInt::get(DeltaType, (-IndexOffset).logBase2()); in emitBump()
618 Constant *Delta = ConstantInt::get(DeltaType, IndexOffset); in emitBump()