@@ -218,8 +218,8 @@ protected Set<List<Dimension<?>>> getShapesFromShapeArgument(
218218 * @return The value number for the shape argument in the function call. May return a number less
219219 * than or equal to 0 if there is no shape parameter.
220220 */
221- protected int getValueNumberForShapeArgument () {
222- return this .getValueNumberForArgument (this .getShapeParameterPosition ());
221+ protected int getShapeArgumentValueNumber () {
222+ return this .getArgumentValueNumber (this .getShapeParameterPosition ());
223223 }
224224
225225 protected abstract int getShapeParameterPosition ();
@@ -235,7 +235,7 @@ protected Set<List<Dimension<?>>> getShapes(PropagationCallGraphBuilder builder)
235235
236236 // Get the shape from the explicit argument.
237237 // FIXME: Handle keyword arguments.
238- int shapeArgValueNum = this .getValueNumberForShapeArgument ();
238+ int shapeArgValueNum = this .getShapeArgumentValueNumber ();
239239 OrdinalSet <InstanceKey > pointsToSet = null ;
240240
241241 if (shapeArgValueNum > 0 ) {
@@ -456,16 +456,16 @@ protected EnumSet<DType> getDTypesFromDTypeArgument(
456456 * @return The value number for the dtype argument in the function call or -1 if the dtype
457457 * argument is not supported.
458458 */
459- protected int getValueNumberForDTypeArgument () {
460- return this .getValueNumberForArgument (this .getDTypeParameterPosition ());
459+ protected int getDTypeArgumentValueNumber () {
460+ return this .getArgumentValueNumber (this .getDTypeParameterPosition ());
461461 }
462462
463463 protected abstract int getDTypeParameterPosition ();
464464
465465 protected EnumSet <DType > getDTypes (PropagationCallGraphBuilder builder ) {
466466 PointerAnalysis <InstanceKey > pointerAnalysis = builder .getPointerAnalysis ();
467467
468- int valNum = this .getValueNumberForDTypeArgument ();
468+ int valNum = this .getDTypeArgumentValueNumber ();
469469 OrdinalSet <InstanceKey > pointsToSet = null ;
470470
471471 if (valNum > 0 ) {
@@ -610,7 +610,7 @@ public String toString() {
610610 */
611611 protected abstract String getSignature ();
612612
613- protected int getValueNumberForArgument (int parameterPosition ) {
613+ protected int getArgumentValueNumber (int parameterPosition ) {
614614 if (parameterPosition < 0 ) return -1 ; // No such argument.
615615
616616 return this .getNode ().getMethod ().isStatic ()
0 commit comments