Lines Matching defs:ZExt
207 cl::desc("Maximum depth of recursive SExt/ZExt/Trunc"),
290 const SCEVZeroExtendExpr *ZExt = cast<SCEVZeroExtendExpr>(this);
291 const SCEV *Op = ZExt->getOperand();
293 << *ZExt->getType() << ")";
2188 const SCEV *ZExt = getZeroExtendExpr(Op, Ty);
2189 if (!isa<SCEVZeroExtendExpr>(ZExt))
2190 return ZExt;
2210 return ZExt;
5370 /// Op == (ZExt ix (Trunc iy (%SymbolicPHI) to ix) to iy)
5396 const SCEVZeroExtendExpr *ZExt = dyn_cast<SCEVZeroExtendExpr>(Op);
5397 if (!SExt && !ZExt)
5401 : dyn_cast<SCEVTruncateExpr>(ZExt->getOperand());
5422 // (SExt/ZExt ix (Trunc iy (%SymbolicPHI) to ix) to iy) + InvariantAccum
5466 // (Trunc iy (SExt/ZExt ix (%SymbolicPHI + InvariantAccum) to iy) to ix)
5469 // (Trunc iy ((SExt/ZExt ix (%SymbolicPhi) to iy) + InvariantAccum) to ix)
6169 while (auto *ZExt = dyn_cast<SCEVZeroExtendExpr>(X))
6170 X = ZExt->getOperand();
6675 const SCEVZeroExtendExpr *ZExt = cast<SCEVZeroExtendExpr>(S);
6676 ConstantRange X = getRangeRef(ZExt->getOperand(), SignHint, Depth + 1);
6678 ZExt, SignHint,
7566 case Instruction::ZExt:
8015 case Instruction::ZExt:
9181 if (auto *ZExt = dyn_cast<SCEVZeroExtendExpr>(LHS))
9182 InnerLHS = ZExt->getOperand();
10104 if (const SCEVZeroExtendExpr *ZExt = dyn_cast<SCEVZeroExtendExpr>(S))
10105 return stripInjectiveFunctions(ZExt->getOperand());
12556 // If operand >=s 0 then ZExt == SExt. If operand <s 0 then SExt <s ZExt.
12558 const SCEVZeroExtendExpr *ZExt = dyn_cast<SCEVZeroExtendExpr>(RHS);
12559 if (SExt && ZExt && SExt->getOperand() == ZExt->getOperand())
12567 // If operand >=s 0 then ZExt == SExt. If operand <s 0 then ZExt <u SExt.
12568 const SCEVZeroExtendExpr *ZExt = dyn_cast<SCEVZeroExtendExpr>(LHS);
12570 if (SExt && ZExt && SExt->getOperand() == ZExt->getOperand())
12811 if (auto *ZExt = dyn_cast<SCEVZeroExtendExpr>(LHS)) {
12812 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(ZExt->getOperand());
12850 Type *Ty = ZExt->getType();
15044 if (const auto *ZExt = dyn_cast<SCEVZeroExtendExpr>(Expr))
15045 if (const auto *Trunc = dyn_cast<SCEVTruncateExpr>(ZExt->getOperand(0))) {
15563 // If we didn't find the extact ZExt expr in the map, check if there's
15564 // an entry for a smaller ZExt we can use instead.