Lines Matching refs:SelectInst

138   SmallVector<SelectInst *, 8> Selects;
275 DenseSet<SelectInst *> TrueBiasedSelects;
276 DenseSet<SelectInst *> FalseBiasedSelects;
355 void fixupSelect(SelectInst *SI, CHRScope *Scope, IRBuilder<> &IRB,
386 DenseSet<SelectInst *> TrueBiasedSelectsGlobal;
388 DenseSet<SelectInst *> FalseBiasedSelectsGlobal;
392 DenseMap<SelectInst *, BranchProbability> SelectBiasMap;
471 return isa<BinaryOperator>(I) || isa<CastInst>(I) || isa<SelectInst>(I) || in isHoistableInstructionType()
661 SelectInst *SI, Region *R, in checkBiasedSelect()
662 DenseSet<SelectInst *> &TrueBiasedSelectsGlobal, in checkBiasedSelect()
663 DenseSet<SelectInst *> &FalseBiasedSelectsGlobal, in checkBiasedSelect()
664 DenseMap<SelectInst *, BranchProbability> &SelectBiasMap) { in checkBiasedSelect() argument
685 for (SelectInst *SI : RI.Selects) { in getBranchInsertPoint()
698 for (SelectInst *SI : RI.Selects) { in getBranchInsertPoint()
802 SmallVector<SelectInst *, 8> Selects; in findScope()
812 if (auto *SI = dyn_cast<SelectInst>(&I)) { in findScope()
879 SmallVector<SelectInst *, 8> &Selects = RI.Selects; in checkScopeHoistable()
888 for (SelectInst *SI : Selects) { in checkScopeHoistable()
893 SelectInst *SI = *it; in checkScopeHoistable()
929 for (SelectInst *SI : Selects) { in checkScopeHoistable()
932 for (SelectInst *SI : Selects) { in checkScopeHoistable()
939 llvm::erase_if(Selects, [EntryBB](SelectInst *SI) { in checkScopeHoistable()
1031 for (SelectInst *SI : RI.Selects) { in getCHRConditionValuesForRegion()
1109 for (SelectInst *SI : RI.Selects) in getSelectsInScope()
1278 for (SelectInst *SI : Scope->TrueBiasedSelects) { in classifyBiasedScopes()
1283 for (SelectInst *SI : Scope->FalseBiasedSelects) { in classifyBiasedScopes()
1301 for (SelectInst *SI : RI.Selects) { in classifyBiasedScopes()
1377 for (SelectInst *SI : RI.Selects) { in setCHRRegions()
1399 for (SelectInst *SI : RI.Selects) { in setCHRRegions()
1494 for (SelectInst *SI : RI.Selects) { in hoistScopeConditions()
1515 if (isa<SelectInst>(U) && cast<SelectInst>(U)->getCondition() == ICmp) in negateICmpIfUsedByBranchOrSelectOnly()
1532 if (auto *SI = dyn_cast<SelectInst>(U)) { in negateICmpIfUsedByBranchOrSelectOnly()
1625 for (SelectInst *SI : RI.Selects) in assertCHRRegionsHaveBiasedBranchOrSelect()
1658 for (SelectInst *SI : RI.Selects) { in assertBranchOrSelectConditionHoisted()
1862 for (SelectInst *SI : RI.Selects) { in fixupBranchesAndSelects()
1932 void CHR::fixupSelect(SelectInst *SI, CHRScope *Scope, in fixupSelect()