Lines Matching refs:SelectInst

137   SmallVector<SelectInst *, 8> Selects;
274 DenseSet<SelectInst *> TrueBiasedSelects;
275 DenseSet<SelectInst *> FalseBiasedSelects;
354 void fixupSelect(SelectInst *SI, CHRScope *Scope, IRBuilder<> &IRB,
385 DenseSet<SelectInst *> TrueBiasedSelectsGlobal;
387 DenseSet<SelectInst *> FalseBiasedSelectsGlobal;
391 DenseMap<SelectInst *, BranchProbability> SelectBiasMap;
470 return isa<BinaryOperator>(I) || isa<CastInst>(I) || isa<SelectInst>(I) || in isHoistableInstructionType()
660 SelectInst *SI, Region *R, in checkBiasedSelect()
661 DenseSet<SelectInst *> &TrueBiasedSelectsGlobal, in checkBiasedSelect()
662 DenseSet<SelectInst *> &FalseBiasedSelectsGlobal, in checkBiasedSelect()
663 DenseMap<SelectInst *, BranchProbability> &SelectBiasMap) { in checkBiasedSelect() argument
684 for (SelectInst *SI : RI.Selects) { in getBranchInsertPoint()
697 for (SelectInst *SI : RI.Selects) { in getBranchInsertPoint()
801 SmallVector<SelectInst *, 8> Selects; in findScope()
811 if (auto *SI = dyn_cast<SelectInst>(&I)) { in findScope()
878 SmallVector<SelectInst *, 8> &Selects = RI.Selects; in checkScopeHoistable()
887 for (SelectInst *SI : Selects) { in checkScopeHoistable()
892 SelectInst *SI = *it; in checkScopeHoistable()
928 for (SelectInst *SI : Selects) { in checkScopeHoistable()
931 for (SelectInst *SI : Selects) { in checkScopeHoistable()
938 llvm::erase_if(Selects, [EntryBB](SelectInst *SI) { in checkScopeHoistable()
1030 for (SelectInst *SI : RI.Selects) { in getCHRConditionValuesForRegion()
1108 for (SelectInst *SI : RI.Selects) in getSelectsInScope()
1277 for (SelectInst *SI : Scope->TrueBiasedSelects) { in classifyBiasedScopes()
1282 for (SelectInst *SI : Scope->FalseBiasedSelects) { in classifyBiasedScopes()
1300 for (SelectInst *SI : RI.Selects) { in classifyBiasedScopes()
1376 for (SelectInst *SI : RI.Selects) { in setCHRRegions()
1398 for (SelectInst *SI : RI.Selects) { in setCHRRegions()
1493 for (SelectInst *SI : RI.Selects) { in hoistScopeConditions()
1514 if (isa<SelectInst>(U) && cast<SelectInst>(U)->getCondition() == ICmp) in negateICmpIfUsedByBranchOrSelectOnly()
1531 if (auto *SI = dyn_cast<SelectInst>(U)) { in negateICmpIfUsedByBranchOrSelectOnly()
1624 for (SelectInst *SI : RI.Selects) in assertCHRRegionsHaveBiasedBranchOrSelect()
1657 for (SelectInst *SI : RI.Selects) { in assertBranchOrSelectConditionHoisted()
1861 for (SelectInst *SI : RI.Selects) { in fixupBranchesAndSelects()
1931 void CHR::fixupSelect(SelectInst *SI, CHRScope *Scope, in fixupSelect()