Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp2204 Value *CmpIndVar = IndVar; in linearFunctionTestReplace() local
2221 CmpIndVar = IndVar->getIncomingValueForBlock(L->getExitingBlock()); in linearFunctionTestReplace()
2238 << " LHS:" << *CmpIndVar << '\n' in linearFunctionTestReplace()
2253 unsigned CmpIndVarSize = SE->getTypeSizeInBits(CmpIndVar->getType()); in linearFunctionTestReplace()
2276 ExitCnt = ConstantInt::get(CmpIndVar->getType(), NewLimit); in linearFunctionTestReplace()
2285 const SCEV *IV = SE->getSCEV(CmpIndVar); in linearFunctionTestReplace()
2287 SE->getZeroExtendExpr(SE->getTruncateExpr(SE->getSCEV(CmpIndVar), in linearFunctionTestReplace()
2289 CmpIndVar->getType()); in linearFunctionTestReplace()
2297 SE->getSignExtendExpr(SE->getTruncateExpr(SE->getSCEV(CmpIndVar), in linearFunctionTestReplace()
2299 CmpIndVar->getType()); in linearFunctionTestReplace()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DIndVarSimplify.cpp1529 Value *CmpIndVar; in LinearFunctionTestReplace() local
1553 CmpIndVar = IndVar->getIncomingValueForBlock(L->getExitingBlock()); in LinearFunctionTestReplace()
1557 CmpIndVar = IndVar; in LinearFunctionTestReplace()
1618 << " LHS:" << *CmpIndVar << '\n' in LinearFunctionTestReplace()
1624 if (SE->getTypeSizeInBits(CmpIndVar->getType()) in LinearFunctionTestReplace()
1626 CmpIndVar = Builder.CreateTrunc(CmpIndVar, CmpTy, "lftr.wideiv"); in LinearFunctionTestReplace()
1629 Value *Cond = Builder.CreateICmp(P, CmpIndVar, ExitCnt, "exitcond"); in LinearFunctionTestReplace()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp1918 Value *CmpIndVar = IndVar; in linearFunctionTestReplace() local
1933 CmpIndVar = IndVar->getIncomingValueForBlock(L->getExitingBlock()); in linearFunctionTestReplace()
1950 << " LHS:" << *CmpIndVar << '\n' in linearFunctionTestReplace()
1960 unsigned CmpIndVarSize = SE->getTypeSizeInBits(CmpIndVar->getType()); in linearFunctionTestReplace()
1983 ExitCnt = ConstantInt::get(CmpIndVar->getType(), NewLimit); in linearFunctionTestReplace()
1987 CmpIndVar = Builder.CreateTrunc(CmpIndVar, ExitCnt->getType(), in linearFunctionTestReplace()
1991 Value *Cond = Builder.CreateICmp(P, CmpIndVar, ExitCnt, "exitcond"); in linearFunctionTestReplace()