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

References

lib/Target/AMDGPU/AMDILCFGStructurizer.cpp
  949   NumMatch += serialPatternMatch(TrueMBB);
  950   NumMatch += ifPatternMatch(TrueMBB);
  957   assert (!TrueMBB->succ_empty() || !FalseMBB->succ_empty());
  959   if (TrueMBB->succ_size() == 1 && FalseMBB->succ_size() == 1
  960     && *TrueMBB->succ_begin() == *FalseMBB->succ_begin()) {
  962     LandBlk = *TrueMBB->succ_begin();
  963   } else if (TrueMBB->succ_size() == 1 && *TrueMBB->succ_begin() == FalseMBB) {
  963   } else if (TrueMBB->succ_size() == 1 && *TrueMBB->succ_begin() == FalseMBB) {
  968              && *FalseMBB->succ_begin() == TrueMBB) {
  971     std::swap(TrueMBB, FalseMBB);
  976              && isSameloopDetachedContbreak(TrueMBB, FalseMBB)) {
  978   } else if (TrueMBB->succ_size() == 1
  979     && isSameloopDetachedContbreak(FalseMBB, TrueMBB)) {
  980     LandBlk = *TrueMBB->succ_begin();
  982     return NumMatch + handleJumpintoIf(MBB, TrueMBB, FalseMBB);
  989       ((TrueMBB && TrueMBB->pred_size() > 1)
  989       ((TrueMBB && TrueMBB->pred_size() > 1)
  991      Cloned += improveSimpleJumpintoIf(MBB, TrueMBB, FalseMBB, &LandBlk);
  994   if (TrueMBB && TrueMBB->pred_size() > 1) {
  994   if (TrueMBB && TrueMBB->pred_size() > 1) {
  995     TrueMBB = cloneBlockForPredecessor(TrueMBB, MBB);
  995     TrueMBB = cloneBlockForPredecessor(TrueMBB, MBB);
 1004   mergeIfthenelseBlock(BranchMI, MBB, TrueMBB, FalseMBB, LandBlk);