Lines Matching refs:CxtI
255 const Instruction &CxtI) const { in willNotOverflowSignedAdd() argument
256 return computeOverflowForSignedAdd(LHS, RHS, &CxtI) == in willNotOverflowSignedAdd()
261 const Instruction &CxtI) const { in willNotOverflowUnsignedAdd() argument
262 return computeOverflowForUnsignedAdd(LHS, RHS, &CxtI) == in willNotOverflowUnsignedAdd()
267 const Instruction &CxtI, bool IsSigned) const { in willNotOverflowAdd() argument
268 return IsSigned ? willNotOverflowSignedAdd(LHS, RHS, CxtI) in willNotOverflowAdd()
269 : willNotOverflowUnsignedAdd(LHS, RHS, CxtI); in willNotOverflowAdd()
273 const Instruction &CxtI) const { in willNotOverflowSignedSub() argument
274 return computeOverflowForSignedSub(LHS, RHS, &CxtI) == in willNotOverflowSignedSub()
279 const Instruction &CxtI) const { in willNotOverflowUnsignedSub() argument
280 return computeOverflowForUnsignedSub(LHS, RHS, &CxtI) == in willNotOverflowUnsignedSub()
285 const Instruction &CxtI, bool IsSigned) const { in willNotOverflowSub() argument
286 return IsSigned ? willNotOverflowSignedSub(LHS, RHS, CxtI) in willNotOverflowSub()
287 : willNotOverflowUnsignedSub(LHS, RHS, CxtI); in willNotOverflowSub()
291 const Instruction &CxtI) const { in willNotOverflowSignedMul() argument
292 return computeOverflowForSignedMul(LHS, RHS, &CxtI) == in willNotOverflowSignedMul()
297 const Instruction &CxtI) const { in willNotOverflowUnsignedMul() argument
298 return computeOverflowForUnsignedMul(LHS, RHS, &CxtI) == in willNotOverflowUnsignedMul()
303 const Instruction &CxtI, bool IsSigned) const { in willNotOverflowMul() argument
304 return IsSigned ? willNotOverflowSignedMul(LHS, RHS, CxtI) in willNotOverflowMul()
305 : willNotOverflowUnsignedMul(LHS, RHS, CxtI); in willNotOverflowMul()
309 const Value *RHS, const Instruction &CxtI, in willNotOverflow() argument
312 case Instruction::Add: return willNotOverflowAdd(LHS, RHS, CxtI, IsSigned); in willNotOverflow()
313 case Instruction::Sub: return willNotOverflowSub(LHS, RHS, CxtI, IsSigned); in willNotOverflow()
314 case Instruction::Mul: return willNotOverflowMul(LHS, RHS, CxtI, IsSigned); in willNotOverflow()
364 Instruction *CxtI, bool IsAnd,
471 unsigned Depth, const Instruction *CxtI) const { in computeKnownBits() argument
472 llvm::computeKnownBits(V, Known, DL, Depth, &AC, CxtI, &DT); in computeKnownBits()
476 const Instruction *CxtI) const { in computeKnownBits() argument
477 return llvm::computeKnownBits(V, DL, Depth, &AC, CxtI, &DT); in computeKnownBits()
482 const Instruction *CxtI = nullptr) {
483 return llvm::isKnownToBeAPowerOfTwo(V, DL, OrZero, Depth, &AC, CxtI, &DT);
487 const Instruction *CxtI = nullptr) const {
488 return llvm::MaskedValueIsZero(V, Mask, DL, Depth, &AC, CxtI, &DT);
492 const Instruction *CxtI = nullptr) const {
493 return llvm::ComputeNumSignBits(Op, DL, Depth, &AC, CxtI, &DT);
498 const Instruction *CxtI) const { in computeOverflowForUnsignedMul() argument
499 return llvm::computeOverflowForUnsignedMul(LHS, RHS, DL, &AC, CxtI, &DT); in computeOverflowForUnsignedMul()
504 const Instruction *CxtI) const { in computeOverflowForSignedMul() argument
505 return llvm::computeOverflowForSignedMul(LHS, RHS, DL, &AC, CxtI, &DT); in computeOverflowForSignedMul()
510 const Instruction *CxtI) const { in computeOverflowForUnsignedAdd() argument
511 return llvm::computeOverflowForUnsignedAdd(LHS, RHS, DL, &AC, CxtI, &DT); in computeOverflowForUnsignedAdd()
516 const Instruction *CxtI) const { in computeOverflowForSignedAdd() argument
517 return llvm::computeOverflowForSignedAdd(LHS, RHS, DL, &AC, CxtI, &DT); in computeOverflowForSignedAdd()
522 const Instruction *CxtI) const { in computeOverflowForUnsignedSub() argument
523 return llvm::computeOverflowForUnsignedSub(LHS, RHS, DL, &AC, CxtI, &DT); in computeOverflowForUnsignedSub()
527 const Instruction *CxtI) const { in computeOverflowForSignedSub() argument
528 return llvm::computeOverflowForSignedSub(LHS, RHS, DL, &AC, CxtI, &DT); in computeOverflowForSignedSub()
533 Value *LHS, Value *RHS, Instruction *CxtI) const;
577 unsigned Depth, Instruction *CxtI);
588 unsigned Depth, Instruction *CxtI);