Lines Matching defs:IntIdxTy
32 Type *IntIdxTy = DL.getIndexType(GEP->getType());
33 Value *Result = Constant::getNullValue(IntIdxTy);
40 unsigned IntPtrWidth = IntIdxTy->getScalarType()->getIntegerBitWidth();
59 Result = Builder->CreateAdd(Result, ConstantInt::get(IntIdxTy, Size),
65 if (IntIdxTy->isVectorTy() && !OpC->getType()->isVectorTy())
67 cast<VectorType>(IntIdxTy)->getElementCount(), OpC);
69 Constant *Scale = ConstantInt::get(IntIdxTy, Size);
70 Constant *OC = ConstantExpr::getIntegerCast(OpC, IntIdxTy, true /*SExt*/);
79 if (IntIdxTy->isVectorTy() && !Op->getType()->isVectorTy())
81 cast<VectorType>(IntIdxTy)->getNumElements(), Op);
84 if (Op->getType() != IntIdxTy)
85 Op = Builder->CreateIntCast(Op, IntIdxTy, true, Op->getName().str()+".c");
88 Op = Builder->CreateMul(Op, ConstantInt::get(IntIdxTy, Size),