Lines Matching refs:Idxs
1906 Constant *ConstantExpr::getGetElementPtr(Constant *C, ArrayRef<Value *> Idxs,
1911 if (Constant *FC = ConstantFoldGetElementPtr(C, InBounds, Idxs))
1915 Type *Ty = GetElementPtrInst::getIndexedType(C->getType(), Idxs);
1924 ArgVec.reserve(1 + Idxs.size());
1926 for (unsigned i = 0, e = Idxs.size(); i != e; ++i) {
1927 assert(Idxs[i]->getType()->isVectorTy() == ReqTy->isVectorTy() &&
1929 assert((!Idxs[i]->getType()->isVectorTy() ||
1931 Idxs[i]->getType()->getVectorNumElements()) &&
1933 ArgVec.push_back(cast<Constant>(Idxs[i]));
2043 ArrayRef<unsigned> Idxs) {
2048 Idxs) == Val->getType() &&
2052 if (Constant *FC = ConstantFoldInsertValueInstruction(Agg, Val, Idxs))
2056 const ExprMapKeyType Key(Instruction::InsertValue, ArgVec, 0, 0, Idxs);
2063 ArrayRef<unsigned> Idxs) {
2067 Type *ReqTy = ExtractValueInst::getIndexedType(Agg->getType(), Idxs);
2073 if (Constant *FC = ConstantFoldExtractValueInstruction(Agg, Idxs))
2077 const ExprMapKeyType Key(Instruction::ExtractValue, ArgVec, 0, 0, Idxs);