Lines Matching refs:UGEPI
8178 auto *UGEPI = cast<GetElementPtrInst>(Usr); in tryUnmergingGEPsAcrossIndirectBr() local
8182 if (!GEPSequentialConstIndexed(UGEPI)) in tryUnmergingGEPsAcrossIndirectBr()
8184 if (UGEPI->getOperand(0) != GEPIOp) in tryUnmergingGEPsAcrossIndirectBr()
8186 if (UGEPI->getSourceElementType() != GEPI->getSourceElementType()) in tryUnmergingGEPsAcrossIndirectBr()
8189 cast<ConstantInt>(UGEPI->getOperand(1))->getType()) in tryUnmergingGEPsAcrossIndirectBr()
8191 ConstantInt *UGEPIIdx = cast<ConstantInt>(UGEPI->getOperand(1)); in tryUnmergingGEPsAcrossIndirectBr()
8196 UGEPIs.push_back(UGEPI); in tryUnmergingGEPsAcrossIndirectBr()
8201 for (GetElementPtrInst *UGEPI : UGEPIs) { in tryUnmergingGEPsAcrossIndirectBr()
8202 ConstantInt *UGEPIIdx = cast<ConstantInt>(UGEPI->getOperand(1)); in tryUnmergingGEPsAcrossIndirectBr()
8210 for (GetElementPtrInst *UGEPI : UGEPIs) { in tryUnmergingGEPsAcrossIndirectBr()
8211 UGEPI->setOperand(0, GEPI); in tryUnmergingGEPsAcrossIndirectBr()
8212 ConstantInt *UGEPIIdx = cast<ConstantInt>(UGEPI->getOperand(1)); in tryUnmergingGEPsAcrossIndirectBr()
8215 UGEPI->setOperand(1, NewUGEPIIdx); in tryUnmergingGEPsAcrossIndirectBr()
8219 UGEPI->setIsInBounds(false); in tryUnmergingGEPsAcrossIndirectBr()