Lines Matching defs:GEP
149 // Pa_3 = %IDX/2 + 1 #1 | GEP, step signext to i64
150 // Pa_4 = (%IDX/2)*16 + 16 #0 | GEP, multiply index by sizeof(4) for floats
151 // Pa_5 = (%IDX/2)*16 + 16 #0 | GEP, add offset of leading components
156 // Pb_3 = %IDX/2 + 2 #1 | GEP, step signext to i64
157 // Pb_4 = (%IDX/2)*16 + 32 #0 | GEP, multiply index by sizeof(4) for floats
158 // Pb_5 = (%IDX/2)*16 + 16 #0 | GEP, add offset of leading components
984 GetElementPtrInst &GEP = *cast<GetElementPtrInst>(&Ptr);
989 if (GEP.accumulateConstantOffset(DL, BaseOffset)) {
991 BasePtr = GEP.getPointerOperand();
994 // Otherwise we allow that the last index operand of the GEP is
998 for (idxOperand = 1, e = GEP.getNumOperands(); idxOperand < e;
1000 ConstantInt *IDX = dyn_cast<ConstantInt>(GEP.getOperand(idxOperand));
1014 computePolynomial(*GEP.getOperand(idxOperand), Result);
1019 DL.getIndexedOffsetInType(GEP.getSourceElementType(), Indices);
1021 // Apply the operations of GEP to the polynomial.
1022 unsigned ResultSize = DL.getTypeAllocSize(GEP.getResultElementType());
1026 BasePtr = GEP.getPointerOperand();