reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
  838       if (ConstantInt *CI = dyn_cast<ConstantInt>(Idx))
  847           Idx = Builder.CreateShl(
  848               Idx, ConstantInt::get(IntPtrTy, ElementSize.logBase2()));
  850           Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize));
  850           Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize));
  855           Builder.CreateGEP(Builder.getInt8Ty(), ResultPtr, Idx, "uglygep");