Searched refs:HasBranchWeights (Results 1 – 2 of 2) sorted by relevance
896 static inline bool HasBranchWeights(const Instruction *I) { in HasBranchWeights() function972 bool PredHasWeights = HasBranchWeights(PTI); in FoldValueComparisonIntoPredecessors()973 bool SuccHasWeights = HasBranchWeights(TI); in FoldValueComparisonIntoPredecessors()3087 bool HasWeights = HasBranchWeights(SI); in SimplifySwitchOnSelect()3224 bool HasWeights = HasBranchWeights(SI); in TryToSimplifyUncondBranchWithICmpInIt()3945 if (HasBranchWeights(SI)) { in TurnSwitchRangeIntoICmp()4040 bool HasWeight = HasBranchWeights(SI); in EliminateDeadSwitchCases()
959 static inline bool HasBranchWeights(const Instruction *I) { in HasBranchWeights() function1043 bool PredHasWeights = HasBranchWeights(PTI); in FoldValueComparisonIntoPredecessors()1044 bool SuccHasWeights = HasBranchWeights(TI); in FoldValueComparisonIntoPredecessors()3483 bool HasWeights = HasBranchWeights(SI); in SimplifySwitchOnSelect()3619 bool HasWeights = HasBranchWeights(SI); in tryToSimplifyUncondBranchWithICmpInIt()4340 if (HasBranchWeights(SI)) { in TurnSwitchRangeIntoICmp()4432 bool HasWeight = HasBranchWeights(SI); in eliminateDeadSwitchCases()