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

References

lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
  899       if (ConstantInt *CI = dyn_cast<ConstantInt>(Idx))
  908           Idx = Builder.CreateShl(
  909               Idx, ConstantInt::get(IntPtrTy, ElementSize.logBase2()));
  911           Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize));
  911           Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize));
  915       ResultPtr = Builder.CreateAdd(ResultPtr, Idx);