reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
3530 BasicBlock *TrueBB = SI->findCaseValue(TrueVal)->getCaseSuccessor(); 3531 BasicBlock *FalseBB = SI->findCaseValue(FalseVal)->getCaseSuccessor(); 3536 bool HasWeights = HasBranchWeights(SI); 3538 GetBranchWeights(SI, Weights); 3539 if (Weights.size() == 1 + SI->getNumCases()) { 3541 (uint32_t)Weights[SI->findCaseValue(TrueVal)->getSuccessorIndex()]; 3543 (uint32_t)Weights[SI->findCaseValue(FalseVal)->getSuccessorIndex()]; 3548 return SimplifyTerminatorOnSelect(SI, Condition, TrueBB, FalseBB, TrueWeight,