reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
320 static constexpr ElemType Ignore = ElemType(-1); 332 PermNetwork(ArrayRef<ElemType> Ord, unsigned Mult = 1) { 362 uint8_t ctl(ElemType Pos, unsigned Step) const { 374 std::vector<ElemType> Order; 380 ForwardDeltaNetwork(ArrayRef<ElemType> Ord) : PermNetwork(Ord) {} 390 bool route(ElemType *P, RowType *T, unsigned Size, unsigned Step); 394 ReverseDeltaNetwork(ArrayRef<ElemType> Ord) : PermNetwork(Ord) {} 404 bool route(ElemType *P, RowType *T, unsigned Size, unsigned Step); 408 BenesNetwork(ArrayRef<ElemType> Ord) : PermNetwork(Ord, 2) {} 420 bool route(ElemType *P, RowType *T, unsigned Size, unsigned Step); 424 bool ForwardDeltaNetwork::route(ElemType *P, RowType *T, unsigned Size, 427 ElemType Num = Size; 433 for (ElemType J = 0; J != Num; ++J) { 434 ElemType I = P[J]; 446 ElemType U = (S == Pass) ? I : (I < Num/2 ? I+Num/2 : I-Num/2); 456 for (ElemType J = 0; J != Num; ++J) 469 bool ReverseDeltaNetwork::route(ElemType *P, RowType *T, unsigned Size, 473 ElemType Num = Size; 482 for (ElemType J = 0; J != Num; ++J) { 483 ElemType I = P[J]; 515 for (ElemType J = 0, E = Size / 2; J != E; ++J) { 516 ElemType PJ = P[J]; // Current values of P[J] 517 ElemType PC = P[J+Size/2]; // and P[conj(J)] 518 ElemType QJ = PJ; // New values of P[J] 519 ElemType QC = PC; // and P[conj(J)] 528 for (ElemType J = 0; J != Num; ++J) 541 bool BenesNetwork::route(ElemType *P, RowType *T, unsigned Size, 547 ElemType Num = Size; 556 for (ElemType J = 0; J != Num; ++J) { 557 ElemType I = P[J]; 586 for (ElemType J = 0; J != Num/2; ++J) { 587 ElemType PJ = P[J]; // Current values of P[J] 588 ElemType PC = P[J+Num/2]; // and P[conj(J)] 589 ElemType QJ = PJ; // New values of P[J] 590 ElemType QC = PC; // and P[conj(J)] 599 for (ElemType J = 0; J != Num; ++J)