Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp374 auto *WideTy = in eliminateOverflowIntrinsic() local
378 (SE->*Extension)((SE->*Operation)(LHS, RHS, SCEV::FlagAnyWrap), WideTy); in eliminateOverflowIntrinsic()
380 (SE->*Operation)((SE->*Extension)(LHS, WideTy), in eliminateOverflowIntrinsic()
381 (SE->*Extension)(RHS, WideTy), SCEV::FlagAnyWrap); in eliminateOverflowIntrinsic()
519 Type *WideTy = IntegerType::get(BO->getContext(), BitWidth * 2); in strengthenOverflowingOperation() local
526 const SCEV *ExtendAfterOp = SE->getZeroExtendExpr(SE->getSCEV(BO), WideTy); in strengthenOverflowingOperation()
528 SE->getZeroExtendExpr(LHS, WideTy), SE->getZeroExtendExpr(RHS, WideTy), in strengthenOverflowingOperation()
538 const SCEV *ExtendAfterOp = SE->getSignExtendExpr(SE->getSCEV(BO), WideTy); in strengthenOverflowingOperation()
540 SE->getSignExtendExpr(LHS, WideTy), SE->getSignExtendExpr(RHS, WideTy), in strengthenOverflowingOperation()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DScalarEvolution.cpp957 Type *WideTy = IntegerType::get(getContext(), BitWidth * 2); in getZeroExtendExpr() local
962 getAddExpr(getZeroExtendExpr(Start, WideTy), in getZeroExtendExpr()
963 getMulExpr(getZeroExtendExpr(CastedMaxBECount, WideTy), in getZeroExtendExpr()
964 getZeroExtendExpr(Step, WideTy))); in getZeroExtendExpr()
965 if (getZeroExtendExpr(Add, WideTy) == OperandExtendedAdd) { in getZeroExtendExpr()
978 getAddExpr(getZeroExtendExpr(Start, WideTy), in getZeroExtendExpr()
979 getMulExpr(getZeroExtendExpr(CastedMaxBECount, WideTy), in getZeroExtendExpr()
980 getSignExtendExpr(Step, WideTy))); in getZeroExtendExpr()
981 if (getZeroExtendExpr(Add, WideTy) == OperandExtendedAdd) { in getZeroExtendExpr()
1101 Type *WideTy = IntegerType::get(SE->getContext(), BitWidth * 2); in getPreStartForSignExtend() local
[all …]
/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp1058 Type *WideTy = IntegerType::get(AR->getType()->getContext(), BitWidth * 2); in IsIncrementNSW() local
1060 const SCEV *OpAfterExtend = SE.getAddExpr(SE.getSignExtendExpr(Step, WideTy), in IsIncrementNSW()
1061 SE.getSignExtendExpr(AR, WideTy)); in IsIncrementNSW()
1063 SE.getSignExtendExpr(SE.getAddExpr(AR, Step), WideTy); in IsIncrementNSW()
1072 Type *WideTy = IntegerType::get(AR->getType()->getContext(), BitWidth * 2); in IsIncrementNUW() local
1074 const SCEV *OpAfterExtend = SE.getAddExpr(SE.getZeroExtendExpr(Step, WideTy), in IsIncrementNUW()
1075 SE.getZeroExtendExpr(AR, WideTy)); in IsIncrementNUW()
1077 SE.getZeroExtendExpr(SE.getAddExpr(AR, Step), WideTy); in IsIncrementNUW()
DScalarEvolution.cpp1287 Type *WideTy = IntegerType::get(SE->getContext(), BitWidth * 2); in getPreStartForExtend() local
1289 SE->getAddExpr((SE->*GetExtendExpr)(PreStart, WideTy), in getPreStartForExtend()
1290 (SE->*GetExtendExpr)(Step, WideTy)); in getPreStartForExtend()
1291 if ((SE->*GetExtendExpr)(Start, WideTy) == OperandExtendedStart) { in getPreStartForExtend()
1486 Type *WideTy = IntegerType::get(getContext(), BitWidth * 2); in getZeroExtendExpr() local
1489 const SCEV *ZAdd = getZeroExtendExpr(getAddExpr(Start, ZMul), WideTy); in getZeroExtendExpr()
1490 const SCEV *WideStart = getZeroExtendExpr(Start, WideTy); in getZeroExtendExpr()
1492 getZeroExtendExpr(CastedMaxBECount, WideTy); in getZeroExtendExpr()
1496 getZeroExtendExpr(Step, WideTy))); in getZeroExtendExpr()
1510 getSignExtendExpr(Step, WideTy))); in getZeroExtendExpr()
[all …]
/external/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp693 IntegerType *WideTy = in parseLoopStructure() local
697 dyn_cast<SCEVAddRecExpr>(SE.getSignExtendExpr(AR, WideTy)); in parseLoopStructure()
699 const SCEV *ExtendedStart = SE.getSignExtendExpr(AR->getStart(), WideTy); in parseLoopStructure()
701 SE.getSignExtendExpr(AR->getStepRecurrence(SE), WideTy); in parseLoopStructure()
DLoopStrengthReduce.cpp510 Type *WideTy = in isAddRecSExtable() local
512 return isa<SCEVAddRecExpr>(SE.getSignExtendExpr(AR, WideTy)); in isAddRecSExtable()
518 Type *WideTy = in isAddSExtable() local
520 return isa<SCEVAddExpr>(SE.getSignExtendExpr(A, WideTy)); in isAddSExtable()
526 Type *WideTy = in isMulSExtable() local
529 return isa<SCEVMulExpr>(SE.getSignExtendExpr(M, WideTy)); in isMulSExtable()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp415 Type *WideTy = in isAddRecSExtable() local
417 return isa<SCEVAddRecExpr>(SE.getSignExtendExpr(AR, WideTy)); in isAddRecSExtable()
423 Type *WideTy = in isAddSExtable() local
425 return isa<SCEVAddExpr>(SE.getSignExtendExpr(A, WideTy)); in isAddSExtable()
431 Type *WideTy = in isMulSExtable() local
434 return isa<SCEVMulExpr>(SE.getSignExtendExpr(M, WideTy)); in isMulSExtable()
/external/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp1237 MVT WideTy = MVT::getVectorVT(EltTy, 2 * NarrowSize); in operator ()() local
1241 SDValue(DAG.getMachineNode(TargetOpcode::IMPLICIT_DEF, DL, WideTy), 0); in operator ()()
1242 return DAG.getTargetInsertSubreg(AArch64::dsub, DL, WideTy, Undef, V64Reg); in operator ()()
DAArch64ISelLowering.cpp4899 MVT WideTy = MVT::getVectorVT(EltTy, 2 * NarrowSize); in WidenVector() local
4902 return DAG.getNode(ISD::INSERT_SUBVECTOR, DL, WideTy, DAG.getUNDEF(WideTy), in WidenVector()
6470 EVT WideTy = WideVec.getValueType(); in LowerINSERT_VECTOR_ELT() local
6472 SDValue Node = DAG.getNode(ISD::INSERT_VECTOR_ELT, DL, WideTy, WideVec, in LowerINSERT_VECTOR_ELT()
6504 EVT WideTy = WideVec.getValueType(); in LowerEXTRACT_VECTOR_ELT() local
6506 EVT ExtrTy = WideTy.getVectorElementType(); in LowerEXTRACT_VECTOR_ELT()