Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp960 Value *CmpIndVar = IndVar; in linearFunctionTestReplace() local
977 CmpIndVar = IncVar; in linearFunctionTestReplace()
1027 unsigned CmpIndVarSize = SE->getTypeSizeInBits(CmpIndVar->getType()); in linearFunctionTestReplace()
1030 assert(!CmpIndVar->getType()->isPointerTy() && in linearFunctionTestReplace()
1039 const SCEV *IV = SE->getSCEV(CmpIndVar); in linearFunctionTestReplace()
1042 SE->getZeroExtendExpr(TruncatedIV, CmpIndVar->getType()); in linearFunctionTestReplace()
1050 SE->getSignExtendExpr(TruncatedIV, CmpIndVar->getType()); in linearFunctionTestReplace()
1062 CmpIndVar = Builder.CreateTrunc(CmpIndVar, ExitCnt->getType(), in linearFunctionTestReplace()
1066 << " LHS:" << *CmpIndVar << '\n' in linearFunctionTestReplace()
1073 Value *Cond = Builder.CreateICmp(P, CmpIndVar, ExitCnt, "exitcond"); in linearFunctionTestReplace()