Lines Matching refs:UGEPI
8064 auto *UGEPI = cast<GetElementPtrInst>(Usr); in tryUnmergingGEPsAcrossIndirectBr() local
8068 if (!GEPSequentialConstIndexed(UGEPI)) in tryUnmergingGEPsAcrossIndirectBr()
8070 if (UGEPI->getOperand(0) != GEPIOp) in tryUnmergingGEPsAcrossIndirectBr()
8072 if (UGEPI->getSourceElementType() != GEPI->getSourceElementType()) in tryUnmergingGEPsAcrossIndirectBr()
8075 cast<ConstantInt>(UGEPI->getOperand(1))->getType()) in tryUnmergingGEPsAcrossIndirectBr()
8077 ConstantInt *UGEPIIdx = cast<ConstantInt>(UGEPI->getOperand(1)); in tryUnmergingGEPsAcrossIndirectBr()
8082 UGEPIs.push_back(UGEPI); in tryUnmergingGEPsAcrossIndirectBr()
8087 for (GetElementPtrInst *UGEPI : UGEPIs) { in tryUnmergingGEPsAcrossIndirectBr()
8088 ConstantInt *UGEPIIdx = cast<ConstantInt>(UGEPI->getOperand(1)); in tryUnmergingGEPsAcrossIndirectBr()
8096 for (GetElementPtrInst *UGEPI : UGEPIs) { in tryUnmergingGEPsAcrossIndirectBr()
8097 UGEPI->setOperand(0, GEPI); in tryUnmergingGEPsAcrossIndirectBr()
8098 ConstantInt *UGEPIIdx = cast<ConstantInt>(UGEPI->getOperand(1)); in tryUnmergingGEPsAcrossIndirectBr()
8101 UGEPI->setOperand(1, NewUGEPIIdx); in tryUnmergingGEPsAcrossIndirectBr()
8105 UGEPI->setIsInBounds(false); in tryUnmergingGEPsAcrossIndirectBr()