Home
last modified time | relevance | path

Searched refs:IVCount (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp1826 static Value *genLoopLimit(PHINode *IndVar, const SCEV *IVCount, Loop *L, in genLoopLimit() argument
1836 if (IndVar->getType()->isPointerTy() && !IVCount->getType()->isPointerTy()) { in genLoopLimit()
1844 const SCEV *IVOffset = SE->getTruncateOrZeroExtend(IVCount, OfsTy); in genLoopLimit()
1879 IVLimit = IVCount; in genLoopLimit()
1886 > SE->getTypeSizeInBits(IVCount->getType())) in genLoopLimit()
1887 IVInit = SE->getTruncateExpr(IVInit, IVCount->getType()); in genLoopLimit()
1889 IVLimit = SE->getAddExpr(IVInit, IVCount); in genLoopLimit()
1899 Type *LimitTy = IVCount->getType()->isPointerTy() ? in genLoopLimit()
1900 IndVar->getType() : IVCount->getType(); in genLoopLimit()
1919 const SCEV *IVCount = BackedgeTakenCount; in linearFunctionTestReplace() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp2112 static Value *genLoopLimit(PHINode *IndVar, const SCEV *IVCount, Loop *L, in genLoopLimit() argument
2122 if (IndVar->getType()->isPointerTy() && !IVCount->getType()->isPointerTy()) { in genLoopLimit()
2130 const SCEV *IVOffset = SE->getTruncateOrZeroExtend(IVCount, OfsTy); in genLoopLimit()
2165 IVLimit = IVCount; in genLoopLimit()
2172 > SE->getTypeSizeInBits(IVCount->getType())) in genLoopLimit()
2173 IVInit = SE->getTruncateExpr(IVInit, IVCount->getType()); in genLoopLimit()
2175 IVLimit = SE->getAddExpr(IVInit, IVCount); in genLoopLimit()
2185 Type *LimitTy = IVCount->getType()->isPointerTy() ? in genLoopLimit()
2186 IndVar->getType() : IVCount->getType(); in genLoopLimit()
2205 const SCEV *IVCount = BackedgeTakenCount; in linearFunctionTestReplace() local
[all …]