Lines Matching refs:Insts

1635       SmallVector<Instruction *, 8> Insts;  in hoistCommonCodeFromSuccessors()  local
1637 Insts.push_back(&*SuccIter); in hoistCommonCodeFromSuccessors()
1638 return hoistSuccIdenticalTerminatorToSwitchOrIf(TI, I1, Insts) || Changed; in hoistCommonCodeFromSuccessors()
1865 ArrayRef<Instruction *> Insts, in canSinkInstructions() argument
1870 bool HasUse = !Insts.front()->user_empty(); in canSinkInstructions()
1871 for (auto *I : Insts) { in canSinkInstructions()
1897 const Instruction *I0 = Insts.front(); in canSinkInstructions()
1898 for (auto *I : Insts) { in canSinkInstructions()
1918 if (!all_of(Insts, [&PNUse,&Succ](const Instruction *I) -> bool { in canSinkInstructions()
1937 if (isa<StoreInst>(I0) && any_of(Insts, [](const Instruction *I) { in canSinkInstructions()
1941 if (isa<LoadInst>(I0) && any_of(Insts, [](const Instruction *I) { in canSinkInstructions()
1945 if (isLifeTimeMarker(I0) && any_of(Insts, [](const Instruction *I) { in canSinkInstructions()
1958 bool HaveIndirectCalls = any_of(Insts, IsIndirectCall); in canSinkInstructions()
1959 bool AllCallsAreIndirect = all_of(Insts, IsIndirectCall); in canSinkInstructions()
1966 for (const Instruction *I : Insts) { in canSinkInstructions()
1986 if (!all_of(Insts, SameAsI0)) { in canSinkInstructions()
1991 for (auto *I : Insts) in canSinkInstructions()
2006 SmallVector<Instruction*,4> Insts; in sinkLastInstruction() local
2013 Insts.push_back(I); in sinkLastInstruction()
2020 Instruction *I0 = Insts.front(); in sinkLastInstruction()
2023 if (!all_of(Insts, [&PNUse](const Instruction *I) -> bool { in sinkLastInstruction()
2040 bool NeedPHI = any_of(Insts, [&I0, O](const Instruction *I) { in sinkLastInstruction()
2052 PHINode::Create(Op->getType(), Insts.size(), Op->getName() + ".sink"); in sinkLastInstruction()
2054 for (auto *I : Insts) in sinkLastInstruction()
2067 for (auto *I : Insts) in sinkLastInstruction()
2091 for (auto *I : Insts) { in sinkLastInstruction()
2116 SmallVector<Instruction*,4> Insts; member in __anona1e8f1c11111::LockstepReverseIterator
2126 Insts.clear(); in reset()
2136 Insts.push_back(Inst); in reset()
2147 for (auto *&Inst : Insts) { in operator --()
2161 for (auto *&Inst : Insts) { in operator ++()
2173 return Insts; in operator *()