Lines Matching refs:ConstantInt

142     Candidate(Kind CT, const SCEV *B, ConstantInt *Idx, Value *S,  in Candidate()
153 ConstantInt *Index = nullptr;
217 void allocateCandidatesAndFindBasisForGEP(const SCEV *B, ConstantInt *Idx,
224 ConstantInt *Idx, Value *S,
289 static bool isAddFoldable(const SCEV *Base, ConstantInt *Index, Value *Stride, in isAddFoldable()
311 ConstantInt *ConstIdx = dyn_cast<ConstantInt>(Idx); in hasOnlyOneNonZeroIndex()
343 Candidate::Kind CT, const SCEV *B, ConstantInt *Idx, Value *S, in allocateCandidatesAndFindBasis()
409 ConstantInt *Idx = nullptr; in allocateCandidatesAndFindBasisForAdd()
416 Idx = ConstantInt::get(Idx->getContext(), One << Idx->getValue()); in allocateCandidatesAndFindBasisForAdd()
420 ConstantInt *One = ConstantInt::get(cast<IntegerType>(I->getType()), 1); in allocateCandidatesAndFindBasisForAdd()
427 static bool matchesAdd(Value *A, Value *&B, ConstantInt *&C) { in matchesAdd()
433 static bool matchesOr(Value *A, Value *&B, ConstantInt *&C) { in matchesOr()
441 ConstantInt *Idx = nullptr; in allocateCandidatesAndFindBasisForMul()
454 ConstantInt *Zero = ConstantInt::get(cast<IntegerType>(I->getType()), 0); in allocateCandidatesAndFindBasisForMul()
477 const SCEV *B, ConstantInt *Idx, Value *S, uint64_t ElementSize, in allocateCandidatesAndFindBasisForGEP()
484 ConstantInt *ScaledIdx = ConstantInt::get( in allocateCandidatesAndFindBasisForGEP()
495 Base, ConstantInt::get(cast<IntegerType>(ArrayIdx->getType()), 1), in factorArrayIndex()
498 ConstantInt *RHS = nullptr; in factorArrayIndex()
518 ConstantInt *PowerOf2 = in factorArrayIndex()
519 ConstantInt::get(RHS->getContext(), One << RHS->getValue()); in factorArrayIndex()
600 ConstantInt *Exponent = ConstantInt::get(DeltaType, IndexOffset.logBase2()); in emitBump()
605 ConstantInt *Exponent = in emitBump()
606 ConstantInt::get(DeltaType, (-IndexOffset).logBase2()); in emitBump()
609 Constant *Delta = ConstantInt::get(DeltaType, IndexOffset); in emitBump()