Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp516 Type *IVTy = IV->getType(); in eliminateTrunc() local
524 if (IVSCEV == SE->getSignExtendExpr(TISCEV, IVTy)) in eliminateTrunc()
526 if (IVSCEV == SE->getZeroExtendExpr(TISCEV, IVTy)) in eliminateTrunc()
589 Ext = new ZExtInst(Op1, IVTy, "zext", ICI); in eliminateTrunc()
593 Ext = new SExtInst(Op1, IVTy, "sext", ICI); in eliminateTrunc()
/external/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp1166 IntegerType *IVTy = in run() local
1184 cast<SCEVConstant>(SE.getConstant(IVTy, -1, true /* isSigned */)); in run()
1201 ExitPreLoopAt = Expander.expandCodeFor(ExitPreLoopAtSCEV, IVTy, InsertPt); in run()
1220 ExitMainLoopAt = Expander.expandCodeFor(ExitMainLoopAtSCEV, IVTy, InsertPt); in run()
DLoopStrengthReduce.cpp2863 Type *IVTy = IVSrc->getType(); in GenerateIVChain() local
2864 Type *IntTy = SE.getEffectiveSCEVType(IVTy); in GenerateIVChain()
2887 IVOper = Rewriter.expandCodeFor(IVOperExpr, IVTy, InsertPt); in GenerateIVChain()
2891 assert(IVTy == IVOper->getType() && "inconsistent IV increment type"); in GenerateIVChain()
2897 if (IVTy != OperTy) { in GenerateIVChain()
2898 assert(SE.getTypeSizeInBits(IVTy) >= SE.getTypeSizeInBits(OperTy) && in GenerateIVChain()
2919 if (IVTy != PostIncTy) { in GenerateIVChain()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp1491 IntegerType *IVTy = in run() local
1509 cast<SCEVConstant>(SE.getConstant(IVTy, -1, true /* isSigned */)); in run()
1536 ExitPreLoopAt = Expander.expandCodeFor(ExitPreLoopAtSCEV, IVTy, InsertPt); in run()
1565 ExitMainLoopAt = Expander.expandCodeFor(ExitMainLoopAtSCEV, IVTy, InsertPt); in run()
DLoopStrengthReduce.cpp3140 Type *IVTy = IVSrc->getType(); in GenerateIVChain() local
3141 Type *IntTy = SE.getEffectiveSCEVType(IVTy); in GenerateIVChain()
3164 IVOper = Rewriter.expandCodeFor(IVOperExpr, IVTy, InsertPt); in GenerateIVChain()
3168 assert(IVTy == IVOper->getType() && "inconsistent IV increment type"); in GenerateIVChain()
3174 if (IVTy != OperTy) { in GenerateIVChain()
3175 assert(SE.getTypeSizeInBits(IVTy) >= SE.getTypeSizeInBits(OperTy) && in GenerateIVChain()
3195 if (IVTy != PostIncTy) { in GenerateIVChain()