Home | History | Annotate | Download | only in Scalar

Lines Matching refs:SignExtended

238   /// \p SignExtended Whether V will be sign-extended in the computation of the
246 APInt find(Value *V, bool SignExtended, bool ZeroExtended, bool NonNegative);
248 APInt findInEitherOperand(BinaryOperator *BO, bool SignExtended,
292 /// \p SignExtended Whether BO is surrounded by sext
296 bool CanTraceInto(bool SignExtended, bool ZeroExtended, BinaryOperator *BO,
445 bool ConstantOffsetExtractor::CanTraceInto(bool SignExtended,
469 // SignExtended | ZeroExtended | Distributable?
499 if (SignExtended && !BO->hasNoSignedWrap())
509 bool SignExtended,
513 APInt ConstantOffset = find(BO->getOperand(0), SignExtended, ZeroExtended,
521 ConstantOffset = find(BO->getOperand(1), SignExtended, ZeroExtended,
530 APInt ConstantOffsetExtractor::find(Value *V, bool SignExtended,
547 if (CanTraceInto(SignExtended, ZeroExtended, BO, NonNegative))
548 ConstantOffset = findInEitherOperand(BO, SignExtended, ZeroExtended);
550 ConstantOffset = find(U->getOperand(0), /* SignExtended */ true,
553 // As an optimization, we can clear the SignExtended flag because
558 find(U->getOperand(0), /* SignExtended */ false,
696 Extractor.find(Idx, /* SignExtended */ false, /* ZeroExtended */ false,
712 .find(Idx, /* SignExtended */ false, /* ZeroExtended */ false,