Lines Matching full:rotation
51 // A Node also contains the rotation and operation type that it represents.
159 ComplexDeinterleavingRotation Rotation =
191 OS << " Rotation: " << ((int)Rotation * 90) << "\n";
302 /// Identifies a complex partial multiply pattern and its rotation, based on
322 /// Identifies a complex add pattern and its rotation, based on the following
574 // A +/+ has a rotation of 0. If any of the operands are fneg, we flip the
596 ComplexDeinterleavingRotation Rotation = (ComplexDeinterleavingRotation)Negs;
614 if (Rotation == ComplexDeinterleavingRotation::Rotation_90 ||
615 Rotation == ComplexDeinterleavingRotation::Rotation_270)
620 if (Rotation == ComplexDeinterleavingRotation::Rotation_0 ||
621 Rotation == ComplexDeinterleavingRotation::Rotation_180)
645 Node->Rotation = Rotation;
656 // Determine rotation
663 ComplexDeinterleavingRotation Rotation;
665 Rotation = ComplexDeinterleavingRotation::Rotation_0;
667 Rotation = ComplexDeinterleavingRotation::Rotation_90;
669 Rotation = ComplexDeinterleavingRotation::Rotation_180;
671 Rotation = ComplexDeinterleavingRotation::Rotation_270;
673 LLVM_DEBUG(dbgs() << " - Unhandled rotation.\n");
719 if (Rotation == ComplexDeinterleavingRotation::Rotation_90 ||
720 Rotation == ComplexDeinterleavingRotation::Rotation_270)
724 (Rotation == ComplexDeinterleavingRotation::Rotation_0 ||
725 Rotation == ComplexDeinterleavingRotation::Rotation_180)
728 (Rotation == ComplexDeinterleavingRotation::Rotation_90 ||
729 Rotation == ComplexDeinterleavingRotation::Rotation_270)
762 Node->Rotation = Rotation;
773 // Determine rotation
774 ComplexDeinterleavingRotation Rotation;
779 Rotation = ComplexDeinterleavingRotation::Rotation_90;
784 Rotation = ComplexDeinterleavingRotation::Rotation_270;
786 LLVM_DEBUG(dbgs() << " - Unhandled case, rotation is not assigned.\n");
813 Node->Rotation = Rotation;
1225 // Rotation | Real | Imag |
1239 // Determine the rotation based on the multiplications
1240 ComplexDeinterleavingRotation Rotation;
1242 // Detect 0 and 180 degrees rotation
1244 Rotation = llvm::ComplexDeinterleavingRotation::Rotation_0;
1246 Rotation = llvm::ComplexDeinterleavingRotation::Rotation_180;
1251 // Detect 90 and 270 degrees rotation
1253 Rotation = llvm::ComplexDeinterleavingRotation::Rotation_90;
1255 Rotation = llvm::ComplexDeinterleavingRotation::Rotation_270;
1266 dbgs().indent(4) << "Rotation - " << (int)Rotation * 90 << "\n";
1271 NodeMul->Rotation = Rotation;
1335 ComplexDeinterleavingRotation Rotation;
1337 Rotation = ComplexDeinterleavingRotation::Rotation_0;
1339 Rotation = ComplexDeinterleavingRotation::Rotation_90;
1341 Rotation = ComplexDeinterleavingRotation::Rotation_180;
1343 Rotation = ComplexDeinterleavingRotation::Rotation_270;
1346 if (Rotation == ComplexDeinterleavingRotation::Rotation_0 ||
1347 Rotation == ComplexDeinterleavingRotation::Rotation_180) {
1357 dbgs().indent(4) << "Rotation - " << (int)Rotation * 90 << "\n";
1361 if (Rotation == llvm::ComplexDeinterleavingRotation::Rotation_0) {
1370 } else if (Rotation ==
1383 TmpNode->Rotation = Rotation;
1946 Builder, Node->Operation, Node->Rotation, Input0, Input1,