Searched refs:ArithInst (Results 1 – 3 of 3) sorted by relevance
5619 auto *ArithInst = llvm::dyn_cast<InstArithmetic>(IndexInst); in matchShiftedOffsetReg() local5620 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() local5702 if (ArithInst == nullptr) in matchOffsetBase()5705 if (!isAddOrSub(ArithInst, &Kind)) in matchOffsetBase()[all …]
5607 if (auto *ArithInst = llvm::dyn_cast<InstArithmetic>(IndexInst)) {5608 if (auto *Var = llvm::dyn_cast<Variable>(ArithInst->getSrc(0))) {5610 llvm::dyn_cast<ConstantInteger32>(ArithInst->getSrc(1))) {5613 switch (ArithInst->getOp()) {5690 if (auto *ArithInst = llvm::dyn_cast<const InstArithmetic>(Definition)) {5691 switch (ArithInst->getOp()) {5700 Operand *Src0 = ArithInst->getSrc(0);5701 Operand *Src1 = ArithInst->getSrc(1);5710 if (ArithInst->getOp() == InstArithmetic::Or) {5754 IsAdd = ArithInst->getOp() == InstArithmetic::Add;
5289 auto *ArithInst = llvm::dyn_cast<const InstArithmetic>(BaseInst); in matchOffsetBase() local5290 if (ArithInst == nullptr) in matchOffsetBase()5293 if (!isAddOrSub(ArithInst, &Kind)) in matchOffsetBase()5296 Operand *Src0 = ArithInst->getSrc(0); in matchOffsetBase()5297 Operand *Src1 = ArithInst->getSrc(1); in matchOffsetBase()