Lines Matching refs:SelectInst
167 SmallVector<SelectInst *, 8> Selects;
308 DenseSet<SelectInst *> TrueBiasedSelects;
309 DenseSet<SelectInst *> FalseBiasedSelects;
393 void fixupSelect(SelectInst* SI,
416 DenseSet<SelectInst *> TrueBiasedSelectsGlobal;
418 DenseSet<SelectInst *> FalseBiasedSelectsGlobal;
422 DenseMap<SelectInst *, BranchProbability> SelectBiasMap;
497 return isa<BinaryOperator>(I) || isa<CastInst>(I) || isa<SelectInst>(I) || in isHoistableInstructionType()
675 SelectInst *SI, Region *R, in checkBiasedSelect()
676 DenseSet<SelectInst *> &TrueBiasedSelectsGlobal, in checkBiasedSelect()
677 DenseSet<SelectInst *> &FalseBiasedSelectsGlobal, in checkBiasedSelect()
678 DenseMap<SelectInst *, BranchProbability> &SelectBiasMap) { in checkBiasedSelect() argument
700 for (SelectInst *SI : RI.Selects) { in getBranchInsertPoint()
713 for (SelectInst *SI : RI.Selects) { in getBranchInsertPoint()
800 SmallVector<SelectInst *, 8> Selects; in findScope()
810 if (auto *SI = dyn_cast<SelectInst>(&I)) { in findScope()
877 SmallVector<SelectInst *, 8> &Selects = RI.Selects; in checkScopeHoistable()
886 for (SelectInst *SI : Selects) { in checkScopeHoistable()
891 SelectInst *SI = *it; in checkScopeHoistable()
925 for (SelectInst *SI : Selects) { in checkScopeHoistable()
928 for (SelectInst *SI : Selects) { in checkScopeHoistable()
936 [EntryBB](SelectInst *SI) { in checkScopeHoistable()
1026 for (SelectInst *SI : RI.Selects) { in getCHRConditionValuesForRegion()
1103 for (SelectInst *SI : RI.Selects) in getSelectsInScope()
1272 for (SelectInst *SI : Scope->TrueBiasedSelects) { in classifyBiasedScopes()
1277 for (SelectInst *SI : Scope->FalseBiasedSelects) { in classifyBiasedScopes()
1295 for (SelectInst *SI : RI.Selects) { in classifyBiasedScopes()
1371 for (SelectInst *SI : RI.Selects) { in setCHRRegions()
1392 for (SelectInst *SI : RI.Selects) { in setCHRRegions()
1471 for (SelectInst *SI : RI.Selects) { in hoistScopeConditions()
1492 if (isa<SelectInst>(U) && cast<SelectInst>(U)->getCondition() == ICmp) in negateICmpIfUsedByBranchOrSelectOnly()
1509 if (auto *SI = dyn_cast<SelectInst>(U)) { in negateICmpIfUsedByBranchOrSelectOnly()
1609 for (SelectInst *SI : RI.Selects) in assertCHRRegionsHaveBiasedBranchOrSelect()
1642 for (SelectInst *SI : RI.Selects) { in assertBranchOrSelectConditionHoisted()
1819 for (SelectInst *SI : RI.Selects) { in fixupBranchesAndSelects()
1890 void CHR::fixupSelect(SelectInst *SI, CHRScope *Scope, in fixupSelect()