Searched refs:IndexInst (Results 1 – 2 of 2) sorted by relevance
5506 auto *IndexInst = VMetadata->getSingleDefinition(*Index);5507 if (IndexInst == nullptr)5515 if (auto *CastInst = llvm::dyn_cast<InstCast>(IndexInst)) {5520 IndexInst = VMetadata->getSingleDefinition(Var);5526 if (IndexInst->getSrcSize() < 2)5528 if (auto *ArithInst = llvm::dyn_cast<InstArithmetic>(IndexInst)) {5559 return IndexInst;5576 return IndexInst;
5616 auto *IndexInst = VMetadata->getSingleDefinition(*OffsetReg); in matchShiftedOffsetReg() local5617 if (IndexInst == nullptr) in matchShiftedOffsetReg()5620 if (IndexInst->getSrcSize() < 2) in matchShiftedOffsetReg()5622 auto *ArithInst = llvm::dyn_cast<InstArithmetic>(IndexInst); in matchShiftedOffsetReg()5686 *Reason = IndexInst; in matchShiftedOffsetReg()