Searched refs:ConstIdx (Results 1 – 3 of 3) sorted by relevance
457 const ConstantInt *ConstIdx = dyn_cast<ConstantInt>(*I); in getGEPCost() local458 if (!ConstIdx) in getGEPCost()460 ConstIdx = dyn_cast<ConstantInt>(Splat); in getGEPCost()463 if (ConstIdx) in getGEPCost()464 BaseOffset += ConstIdx->getSExtValue() * ElementSize; in getGEPCost()475 assert(ConstIdx && "Unexpected GEP index"); in getGEPCost()476 uint64_t Field = ConstIdx->getZExtValue(); in getGEPCost()
269 ConstantInt *ConstIdx = dyn_cast<ConstantInt>(*I); in hasOnlyOneNonZeroIndex() local270 if (ConstIdx == nullptr || !ConstIdx->isZero()) in hasOnlyOneNonZeroIndex()
864 if (ConstantSDNode *ConstIdx = dyn_cast<ConstantSDNode>(Idx)) { in SplitVecRes_INSERT_SUBVECTOR() local865 unsigned IdxVal = ConstIdx->getZExtValue(); in SplitVecRes_INSERT_SUBVECTOR()