Lines Matching refs:ArithInst
5619 auto *ArithInst = llvm::dyn_cast<InstArithmetic>(IndexInst); in matchShiftedOffsetReg() local
5620 if (ArithInst == nullptr) in matchShiftedOffsetReg()
5622 auto *Var = llvm::dyn_cast<Variable>(ArithInst->getSrc(0)); in matchShiftedOffsetReg()
5625 auto *Const = llvm::dyn_cast<ConstantInteger32>(ArithInst->getSrc(1)); in matchShiftedOffsetReg()
5627 assert(!llvm::isa<ConstantInteger32>(ArithInst->getSrc(0))); in matchShiftedOffsetReg()
5634 switch (ArithInst->getOp()) { in matchShiftedOffsetReg()
5664 NewShiftKind = ArithInst->getOp() == InstArithmetic::Udiv in matchShiftedOffsetReg()
5701 auto *ArithInst = llvm::dyn_cast<const InstArithmetic>(BaseInst); in matchOffsetBase() local
5702 if (ArithInst == nullptr) in matchOffsetBase()
5705 if (!isAddOrSub(ArithInst, &Kind)) in matchOffsetBase()
5708 Operand *Src0 = ArithInst->getSrc(0); in matchOffsetBase()
5709 Operand *Src1 = ArithInst->getSrc(1); in matchOffsetBase()