Lines Matching refs:SelectInst

129   SmallVector<SelectInst *, 8> Selects;
266 DenseSet<SelectInst *> TrueBiasedSelects;
267 DenseSet<SelectInst *> FalseBiasedSelects;
350 void fixupSelect(SelectInst* SI,
373 DenseSet<SelectInst *> TrueBiasedSelectsGlobal;
375 DenseSet<SelectInst *> FalseBiasedSelectsGlobal;
379 DenseMap<SelectInst *, BranchProbability> SelectBiasMap;
454 return isa<BinaryOperator>(I) || isa<CastInst>(I) || isa<SelectInst>(I) || in isHoistableInstructionType()
651 SelectInst *SI, Region *R, in checkBiasedSelect()
652 DenseSet<SelectInst *> &TrueBiasedSelectsGlobal, in checkBiasedSelect()
653 DenseSet<SelectInst *> &FalseBiasedSelectsGlobal, in checkBiasedSelect()
654 DenseMap<SelectInst *, BranchProbability> &SelectBiasMap) { in checkBiasedSelect() argument
676 for (SelectInst *SI : RI.Selects) { in getBranchInsertPoint()
689 for (SelectInst *SI : RI.Selects) { in getBranchInsertPoint()
793 SmallVector<SelectInst *, 8> Selects; in findScope()
803 if (auto *SI = dyn_cast<SelectInst>(&I)) { in findScope()
870 SmallVector<SelectInst *, 8> &Selects = RI.Selects; in checkScopeHoistable()
879 for (SelectInst *SI : Selects) { in checkScopeHoistable()
884 SelectInst *SI = *it; in checkScopeHoistable()
920 for (SelectInst *SI : Selects) { in checkScopeHoistable()
923 for (SelectInst *SI : Selects) { in checkScopeHoistable()
930 llvm::erase_if(Selects, [EntryBB](SelectInst *SI) { in checkScopeHoistable()
1022 for (SelectInst *SI : RI.Selects) { in getCHRConditionValuesForRegion()
1100 for (SelectInst *SI : RI.Selects) in getSelectsInScope()
1269 for (SelectInst *SI : Scope->TrueBiasedSelects) { in classifyBiasedScopes()
1274 for (SelectInst *SI : Scope->FalseBiasedSelects) { in classifyBiasedScopes()
1292 for (SelectInst *SI : RI.Selects) { in classifyBiasedScopes()
1368 for (SelectInst *SI : RI.Selects) { in setCHRRegions()
1390 for (SelectInst *SI : RI.Selects) { in setCHRRegions()
1485 for (SelectInst *SI : RI.Selects) { in hoistScopeConditions()
1506 if (isa<SelectInst>(U) && cast<SelectInst>(U)->getCondition() == ICmp) in negateICmpIfUsedByBranchOrSelectOnly()
1523 if (auto *SI = dyn_cast<SelectInst>(U)) { in negateICmpIfUsedByBranchOrSelectOnly()
1616 for (SelectInst *SI : RI.Selects) in assertCHRRegionsHaveBiasedBranchOrSelect()
1649 for (SelectInst *SI : RI.Selects) { in assertBranchOrSelectConditionHoisted()
1826 for (SelectInst *SI : RI.Selects) { in fixupBranchesAndSelects()
1898 void CHR::fixupSelect(SelectInst *SI, CHRScope *Scope, in fixupSelect()
1939 if (isa<SelectInst>(BranchOrSelect) && in addToMergedCondition()