Lines Matching refs:Idxs
572 SmallVector<Constant*, 8> Idxs; in SRAGlobal() local
573 Idxs.push_back(NullInt); in SRAGlobal()
575 Idxs.push_back(CE->getOperand(i)); in SRAGlobal()
577 ConstantExpr::getGetElementPtr(NewTy, cast<Constant>(NewPtr), Idxs); in SRAGlobal()
578 NewTy = GetElementPtrInst::getIndexedType(NewTy, Idxs); in SRAGlobal()
581 SmallVector<Value*, 8> Idxs; in SRAGlobal() local
582 Idxs.push_back(NullInt); in SRAGlobal()
584 Idxs.push_back(GEPI->getOperand(i)); in SRAGlobal()
586 NewPtr->getType()->getPointerElementType(), NewPtr, Idxs, in SRAGlobal()
718 SmallVector<Constant*, 8> Idxs; in OptimizeAwayTrappingUsesOfValue() local
719 Idxs.reserve(GEPI->getNumOperands()-1); in OptimizeAwayTrappingUsesOfValue()
723 Idxs.push_back(C); in OptimizeAwayTrappingUsesOfValue()
726 if (Idxs.size() == GEPI->getNumOperands()-1) in OptimizeAwayTrappingUsesOfValue()
728 GEPI, ConstantExpr::getGetElementPtr(nullptr, NewV, Idxs)); in OptimizeAwayTrappingUsesOfValue()