Home
last modified time | relevance | path

Searched refs:CountTy (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp2076 Type *CountTy = Count->getType(); in transformLoopToCountable() local
2078 ConstantInt::get(CountTy, CountTy->getIntegerBitWidth()), Count); in transformLoopToCountable()
2081 Count = Builder.CreateAdd(Count, ConstantInt::get(CountTy, 1)); in transformLoopToCountable()
2110 PHINode *TcPhi = PHINode::Create(CountTy, 2, "tcphi", &Body->front()); in transformLoopToCountable()
2114 TcPhi, ConstantInt::get(CountTy, 1), "tcdec", false, true)); in transformLoopToCountable()
2123 LbCond->setOperand(1, ConstantInt::get(CountTy, 0)); in transformLoopToCountable()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp2388 IntegerType *CountTy = IntegerType::get(Loc->getContext(), SrcBits); in generateOverflowCheck() local
2390 Value *TripCountVal = expandCodeForImpl(ExitCount, CountTy, Loc, false); in generateOverflowCheck()
2479 if (SE.getTypeSizeInBits(CountTy) > SE.getTypeSizeInBits(Ty)) { in generateOverflowCheck()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2944 Type *CountTy = Count->getType(); in emitIterationCountCheck() local
2949 return createStepForVF(Builder, CountTy, VF, UF); in emitIterationCountCheck()
2952 createStepForVF(Builder, CountTy, MinProfitableTripCount, 1); in emitIterationCountCheck()
2956 Intrinsic::umax, MinProfTC, createStepForVF(Builder, CountTy, VF, UF)); in emitIterationCountCheck()
2969 ConstantInt::get(CountTy, cast<IntegerType>(CountTy)->getMask()); in emitIterationCountCheck()