@@ -415,51 +415,50 @@ class TR_VectorAPIExpansion : public TR::Optimization
415
415
static bool treeTopAllowedWithBoxing (TR::ILOpCodes opCodeValue);
416
416
417
417
/* * \brief
418
+ * Identitfies node as non-vectorizable and non-scalarizable
418
419
*
419
- *
420
+ * \param node
421
+ * Node
420
422
*
421
423
*/
422
424
void dontVectorizeNode (TR::Node *node);
423
425
424
426
/* * \brief
425
- * Checks if node will be or already is vectorized. Sets element type, bit length
426
- * and object type if it is.
427
- *
427
+ * Checks if node will be or already is vectorized or scalarized.
428
+ * Sets element type, bit length, object type, and whether it's scalarized
429
+ * if it is.
428
430
*
429
431
*/
430
432
bool isVectorizedOrScalarizedNode (TR::Node *node, TR::DataType &elementType, int32_t &bitsLength,
431
433
vapiObjType &objectType, bool &scalarized);
432
434
433
435
434
436
/* * \brief
435
- * Creates and caches Vector and Mask classes for the given element type and bit length
437
+ * Creates and caches Vector and Mask classes for the given element type and bit length
436
438
*
437
439
*
438
440
*/
439
441
void createClassesForBoxing (TR_ResolvedMethod *owningMethod, TR::DataType methodElementType, vec_sz_t bitsLength);
440
442
441
443
/* * \brief
442
- * Depeneding on the checkBoxing parameter checks if boxing of node supported
443
- * or performs boxing
444
- *
445
- *
444
+ * Depending on the checkBoxing parameter checks if boxing of node supported
445
+ * or performs boxing
446
446
*/
447
447
void boxChild (TR::TreeTop *treeTop, TR::Node *node, uint32_t i, bool checkBoxing);
448
448
449
449
450
450
/* * \brief
451
- * Depeneding on the checkBoxing parameter checks if unboxing of node supported
452
- * or performs unboxing
453
- *
451
+ * Depending on the checkBoxing parameter checks if unboxing of node supported
452
+ * or performs unboxing
454
453
*
455
454
*/
456
455
TR::Node *unboxNode (TR::Node *parentNode, TR::Node *node, vapiObjType operandObjectType, bool checkBoxing);
457
456
458
457
/* * \brief
459
- * Creates payload symbol reference
460
- *
461
- * \param
458
+ * Creates payload symbol reference given TR_OpaqueClassBlock
462
459
*
460
+ * \param vecClass
461
+ * TR_OpaqueClassBlock
463
462
*
464
463
*/
465
464
static TR::SymbolReference *createPayloadSymbolReference (TR::Compilation *comp, TR_OpaqueClassBlock *vecClass);
@@ -693,6 +692,22 @@ class TR_VectorAPIExpansion : public TR::Optimization
693
692
*/
694
693
static TR_OpaqueClassBlock *getOpaqueClassBlockFromClassNode (TR::Compilation *comp,
695
694
TR::Node *classNode);
695
+
696
+ /* * \brief
697
+ * Returns TR_OpaqueClassBlock for ann array class given element type
698
+ *
699
+ * \param comp
700
+ * Compilation
701
+ *
702
+ * \param type
703
+ * Data type
704
+ *
705
+ * \param booleanClass
706
+ * true if array of boolean values is needed
707
+ *
708
+ * \return
709
+ * TR_OpaqueClassBlock
710
+ */
696
711
static TR_OpaqueClassBlock *getArrayClassFromDataType (TR::Compilation *comp, TR::DataType type, bool booleanClass);
697
712
698
713
/* * \brief
0 commit comments