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

References

utils/PerfectShuffle/PerfectShuffle.cpp
  163   if (ShufTab[ShufTab[ThisOp].Arg0].Cost == 0) {
  177     if (ShufTab[ShufTab[ThisOp].Arg1].Cost == 0) {
  195     Count += ShufTab[i].Cost < 100;
  201   if (ShufTab[Elt].Cost == 0) return;
  209   if (ShufTab[Arg0].Cost)
  211   if (Arg0 != Arg1 && ShufTab[Arg1].Cost)
  220   ShufTab[0x0123].Cost = 0;
  223   ShufTab[0x4567].Cost = 0;
  240     unsigned MaxCost = ShufTab[0].Cost;
  243       if (ShufTab[i].Cost > MaxCost)
  244         MaxCost = ShufTab[i].Cost;
  274         unsigned MinCost = ShufTab[i].Cost;
  279           if (ShufTab[NewElt].Cost < MinCost) {
  280             MinCost = ShufTab[NewElt].Cost;
  295       if (ShufTab[LHS].Cost > 1000) continue;
  299       if (ShufTab[LHS].Cost + 1 >= MaxCost)
  308         unsigned Cost = ShufTab[LHS].Cost + Op->getCost();
  309         if (Cost < ShufTab[ResultMask].Cost) {
  310           ShufTab[ResultMask].Cost = Cost;
  323           if (ShufTab[RHS].Cost > 1000) continue;
  327           if (ShufTab[RHS].Cost + 1 >= MaxCost)
  334           if (ShufTab[ResultMask].Cost <= OpCount ||
  335               ShufTab[ResultMask].Cost <= ShufTab[LHS].Cost ||
  335               ShufTab[ResultMask].Cost <= ShufTab[LHS].Cost ||
  336               ShufTab[ResultMask].Cost <= ShufTab[RHS].Cost)
  336               ShufTab[ResultMask].Cost <= ShufTab[RHS].Cost)
  347           if (Cost < ShufTab[ResultMask].Cost) {
  348             ShufTab[ResultMask].Cost = Cost;
  367     if (ShufTab[i].Cost > 9)
  370       ++CostArray[ShufTab[i].Cost];
  388     unsigned CostSat = ShufTab[i].Cost;
  405     std::cout << ": Cost " << ShufTab[i].Cost;
  408     if (ShufTab[ShufTab[i].Arg0].Cost == 0) {
  416       if (ShufTab[ShufTab[i].Arg1].Cost == 0) {
  430       if (ShufTab[i].Cost < 1000) {
  432         std::cerr << " - Cost " << ShufTab[i].Cost << " - ";