Lines Matching refs:SelectInst
169 SmallVector<SelectInst *, 8> Selects;
306 DenseSet<SelectInst *> TrueBiasedSelects;
307 DenseSet<SelectInst *> FalseBiasedSelects;
390 void fixupSelect(SelectInst* SI,
413 DenseSet<SelectInst *> TrueBiasedSelectsGlobal;
415 DenseSet<SelectInst *> FalseBiasedSelectsGlobal;
419 DenseMap<SelectInst *, BranchProbability> SelectBiasMap;
494 return isa<BinaryOperator>(I) || isa<CastInst>(I) || isa<SelectInst>(I) || in isHoistableInstructionType()
691 SelectInst *SI, Region *R, in checkBiasedSelect()
692 DenseSet<SelectInst *> &TrueBiasedSelectsGlobal, in checkBiasedSelect()
693 DenseSet<SelectInst *> &FalseBiasedSelectsGlobal, in checkBiasedSelect()
694 DenseMap<SelectInst *, BranchProbability> &SelectBiasMap) { in checkBiasedSelect() argument
716 for (SelectInst *SI : RI.Selects) { in getBranchInsertPoint()
729 for (SelectInst *SI : RI.Selects) { in getBranchInsertPoint()
821 SmallVector<SelectInst *, 8> Selects; in findScope()
831 if (auto *SI = dyn_cast<SelectInst>(&I)) { in findScope()
898 SmallVector<SelectInst *, 8> &Selects = RI.Selects; in checkScopeHoistable()
907 for (SelectInst *SI : Selects) { in checkScopeHoistable()
912 SelectInst *SI = *it; in checkScopeHoistable()
948 for (SelectInst *SI : Selects) { in checkScopeHoistable()
951 for (SelectInst *SI : Selects) { in checkScopeHoistable()
958 llvm::erase_if(Selects, [EntryBB](SelectInst *SI) { in checkScopeHoistable()
1050 for (SelectInst *SI : RI.Selects) { in getCHRConditionValuesForRegion()
1128 for (SelectInst *SI : RI.Selects) in getSelectsInScope()
1297 for (SelectInst *SI : Scope->TrueBiasedSelects) { in classifyBiasedScopes()
1302 for (SelectInst *SI : Scope->FalseBiasedSelects) { in classifyBiasedScopes()
1320 for (SelectInst *SI : RI.Selects) { in classifyBiasedScopes()
1396 for (SelectInst *SI : RI.Selects) { in setCHRRegions()
1418 for (SelectInst *SI : RI.Selects) { in setCHRRegions()
1513 for (SelectInst *SI : RI.Selects) { in hoistScopeConditions()
1534 if (isa<SelectInst>(U) && cast<SelectInst>(U)->getCondition() == ICmp) in negateICmpIfUsedByBranchOrSelectOnly()
1551 if (auto *SI = dyn_cast<SelectInst>(U)) { in negateICmpIfUsedByBranchOrSelectOnly()
1644 for (SelectInst *SI : RI.Selects) in assertCHRRegionsHaveBiasedBranchOrSelect()
1677 for (SelectInst *SI : RI.Selects) { in assertBranchOrSelectConditionHoisted()
1854 for (SelectInst *SI : RI.Selects) { in fixupBranchesAndSelects()
1926 void CHR::fixupSelect(SelectInst *SI, CHRScope *Scope, in fixupSelect()