@@ -592,20 +592,7 @@ class OpenMPIRBuilder {
592
592
// / reduction variables.
593
593
// / \param AllocaIP An insertion point suitable for allocas usable
594
594
// / in reductions.
595
- // / \param Variables A list of variables in which the reduction
596
- // / results will be stored (values of pointer type).
597
- // / \param PrivateVariables A list of variables in which the partial
598
- // / reduction results are stored (values of pointer
599
- // / type). Coindexed with Variables. Privatization
600
- // / must be handled separately from this call.
601
- // / \param ReductionGen A list of generators for non-atomic reduction
602
- // / bodies. Each takes a pair of partially reduced
603
- // / values and sets a new one.
604
- // / \param AtomicReductionGen A list of generators for atomic reduction
605
- // / bodies, empty if the reduction cannot be
606
- // / performed with atomics. Each takes a pair of
607
- // / _pointers_ to paritally reduced values and
608
- // / atomically stores the result into the first.
595
+ // / \param ReductionInfos A list of info on each reduction variable.
609
596
// / \param IsNoWait A flag set if the reduction is marked as nowait.
610
597
InsertPointTy createReductions (const LocationDescription &Loc,
611
598
InsertPointTy AllocaIP,
@@ -782,7 +769,7 @@ class OpenMPIRBuilder {
782
769
// / \param MapnamesArg The argument names.
783
770
// / \param MapperAllocas The AllocaInst used for the call.
784
771
// / \param DeviceID Device ID for the call.
785
- // / \param TotalNbOperand Number of operand in the call.
772
+ // / \param NumOperands Number of operands in the call.
786
773
void emitMapperCall (const LocationDescription &Loc, Function *MapperFunc,
787
774
Value *SrcLocInfo, Value *MaptypesArg, Value *MapnamesArg,
788
775
struct MapperAllocas &MapperAllocas, int64_t DeviceID,
0 commit comments