Lines Matching defs:Selects
137 SmallVector<SelectInst *, 8> Selects;
450 if (RI.Selects.size() > 0)
451 OS << " S" << RI.Selects.size();
683 for (SelectInst *SI : RI.Selects) {
685 // Pick the first select in Selects in the entry block. Note Selects is
693 // Check that HoistPoint is the first one in Selects in the entry block,
696 for (SelectInst *SI : RI.Selects) {
704 "HoistPoint must be the first one in Selects");
800 SmallVector<SelectInst *, 8> Selects;
811 Selects.push_back(SI);
816 if (Selects.size() > 0) {
818 for (auto *SI : Selects)
823 RI.Selects.push_back(SI);
870 // Select 2. If we can't hoist c3, we drop Selects 1 & 2.
877 SmallVector<SelectInst *, 8> &Selects = RI.Selects;
878 if (RI.HasBranch || !Selects.empty()) {
886 for (SelectInst *SI : Selects) {
889 // Remove Selects that can't be hoisted.
890 for (auto it = Selects.begin(); it != Selects.end(); ) {
906 it = Selects.erase(it);
927 for (SelectInst *SI : Selects) {
930 for (SelectInst *SI : Selects) {
937 llvm::erase_if(Selects, [EntryBB](SelectInst *SI) {
954 for (auto *SI : Selects) {
966 for (auto *SI : Selects) {
1029 for (SelectInst *SI : RI.Selects) {
1107 for (SelectInst *SI : RI.Selects)
1299 for (SelectInst *SI : RI.Selects) {
1375 for (SelectInst *SI : RI.Selects) {
1397 for (SelectInst *SI : RI.Selects) {
1492 for (SelectInst *SI : RI.Selects) {
1623 for (SelectInst *SI : RI.Selects)
1656 for (SelectInst *SI : RI.Selects) {
1860 for (SelectInst *SI : RI.Selects) {