Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp518 Type *IVTy = IV->getType(); in eliminateTrunc() local
526 if (IVSCEV == SE->getSignExtendExpr(TISCEV, IVTy)) in eliminateTrunc()
528 if (IVSCEV == SE->getZeroExtendExpr(TISCEV, IVTy)) in eliminateTrunc()
592 Ext = new ZExtInst(Op1, IVTy, "zext", ICI); in eliminateTrunc()
596 Ext = new SExtInst(Op1, IVTy, "sext", ICI); in eliminateTrunc()
/external/llvm-project/llvm/lib/Frontend/OpenMP/
DOMPIRBuilder.cpp1040 Type *IVTy = IV->getType(); in createStaticWorkshareLoop() local
1041 FunctionCallee StaticInit = getKmpcForStaticInitForType(IVTy, M, *this); in createStaticWorkshareLoop()
1049 Value *PLowerBound = Builder.CreateAlloca(IVTy, nullptr, "p.lowerbound"); in createStaticWorkshareLoop()
1050 Value *PUpperBound = Builder.CreateAlloca(IVTy, nullptr, "p.upperbound"); in createStaticWorkshareLoop()
1051 Value *PStride = Builder.CreateAlloca(IVTy, nullptr, "p.stride"); in createStaticWorkshareLoop()
1058 Constant *Zero = ConstantInt::get(IVTy, 0); in createStaticWorkshareLoop()
1059 Constant *One = ConstantInt::get(IVTy, 1); in createStaticWorkshareLoop()
/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/llvm-project/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp521 Type *IVTy = IV->getType(); in eliminateTrunc() local
529 if (IVSCEV == SE->getSignExtendExpr(TISCEV, IVTy)) in eliminateTrunc()
531 if (IVSCEV == SE->getZeroExtendExpr(TISCEV, IVTy)) in eliminateTrunc()
595 Ext = new ZExtInst(Op1, IVTy, "zext", ICI); in eliminateTrunc()
599 Ext = new SExtInst(Op1, IVTy, "sext", ICI); in eliminateTrunc()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp1406 IntegerType *IVTy = in run() local
1424 cast<SCEVConstant>(SE.getConstant(IVTy, -1, true /* isSigned */)); in run()
1449 ExitPreLoopAt = Expander.expandCodeFor(ExitPreLoopAtSCEV, IVTy, InsertPt); in run()
1476 ExitMainLoopAt = Expander.expandCodeFor(ExitMainLoopAtSCEV, IVTy, InsertPt); in run()
DLoopStrengthReduce.cpp3174 Type *IVTy = IVSrc->getType(); in GenerateIVChain() local
3175 Type *IntTy = SE.getEffectiveSCEVType(IVTy); in GenerateIVChain()
3198 IVOper = Rewriter.expandCodeFor(IVOperExpr, IVTy, InsertPt); in GenerateIVChain()
3202 assert(IVTy == IVOper->getType() && "inconsistent IV increment type"); in GenerateIVChain()
3208 if (IVTy != OperTy) { in GenerateIVChain()
3209 assert(SE.getTypeSizeInBits(IVTy) >= SE.getTypeSizeInBits(OperTy) && in GenerateIVChain()
3229 if (IVTy != PostIncTy) { in GenerateIVChain()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp1421 IntegerType *IVTy = in run() local
1439 cast<SCEVConstant>(SE.getConstant(IVTy, -1, true /* isSigned */)); in run()
1464 ExitPreLoopAt = Expander.expandCodeFor(ExitPreLoopAtSCEV, IVTy, InsertPt); in run()
1491 ExitMainLoopAt = Expander.expandCodeFor(ExitMainLoopAtSCEV, IVTy, InsertPt); in run()
DLoopStrengthReduce.cpp3177 Type *IVTy = IVSrc->getType(); in GenerateIVChain() local
3178 Type *IntTy = SE.getEffectiveSCEVType(IVTy); in GenerateIVChain()
3201 IVOper = Rewriter.expandCodeFor(IVOperExpr, IVTy, InsertPt); in GenerateIVChain()
3205 assert(IVTy == IVOper->getType() && "inconsistent IV increment type"); in GenerateIVChain()
3211 if (IVTy != OperTy) { in GenerateIVChain()
3212 assert(SE.getTypeSizeInBits(IVTy) >= SE.getTypeSizeInBits(OperTy) && in GenerateIVChain()
3233 if (IVTy != PostIncTy) { in GenerateIVChain()