Searched refs:IndexInst (Results 1 – 2 of 2) sorted by relevance
5585 auto *IndexInst = VMetadata->getSingleDefinition(*Index);5586 if (IndexInst == nullptr)5594 if (auto *CastInst = llvm::dyn_cast<InstCast>(IndexInst)) {5599 IndexInst = VMetadata->getSingleDefinition(Var);5605 if (IndexInst->getSrcSize() < 2)5607 if (auto *ArithInst = llvm::dyn_cast<InstArithmetic>(IndexInst)) {5638 return IndexInst;5655 return IndexInst;
5613 auto *IndexInst = VMetadata->getSingleDefinition(*OffsetReg); in matchShiftedOffsetReg() local5614 if (IndexInst == nullptr) in matchShiftedOffsetReg()5617 if (IndexInst->getSrcSize() < 2) in matchShiftedOffsetReg()5619 auto *ArithInst = llvm::dyn_cast<InstArithmetic>(IndexInst); in matchShiftedOffsetReg()5683 *Reason = IndexInst; in matchShiftedOffsetReg()