Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp2513 Type *CountTy = Count->getType(); in transformLoopToCountable() local
2515 ConstantInt::get(CountTy, CountTy->getIntegerBitWidth()), Count); in transformLoopToCountable()
2517 Count = Builder.CreateSub(Count, ConstantInt::get(CountTy, 1)); in transformLoopToCountable()
2520 Count = Builder.CreateAdd(Count, ConstantInt::get(CountTy, 1)); in transformLoopToCountable()
2549 PHINode *TcPhi = PHINode::Create(CountTy, 2, "tcphi"); in transformLoopToCountable()
2554 TcPhi, ConstantInt::get(CountTy, 1), "tcdec", false, true)); in transformLoopToCountable()
2563 LbCond->setOperand(1, ConstantInt::get(CountTy, 0)); in transformLoopToCountable()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2339 Type *CountTy = Count->getType(); in createIterationCountCheck() local
2344 return createStepForVF(Builder, CountTy, VF, UF); in createIterationCountCheck()
2347 createStepForVF(Builder, CountTy, MinProfitableTripCount, 1); in createIterationCountCheck()
2351 Intrinsic::umax, MinProfTC, createStepForVF(Builder, CountTy, VF, UF)); in createIterationCountCheck()
2381 ConstantInt::get(CountTy, cast<IntegerType>(CountTy)->getMask()); in createIterationCountCheck()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp4448 llvm::Type *CountTy = ConvertType(CountFD->getType()); in EmitCountedByBoundsChecking() local
4452 Res = Builder.CreateAlignedLoad(CountTy, Res, getIntAlign(), in EmitCountedByBoundsChecking()