D | SnippetRepetitor.cpp | 27 FillFunction Repeat(ArrayRef<MCInst> Instructions, in Repeat() argument 29 return [Instructions, MinInstructions](FunctionFiller &Filler) { in Repeat() 31 if (!Instructions.empty()) { in Repeat() 33 Entry.addInstructions(Instructions); in Repeat() 34 for (unsigned I = Instructions.size(); I < MinInstructions; ++I) { in Repeat() 35 Entry.addInstruction(Instructions[I % Instructions.size()]); in Repeat() 56 FillFunction Repeat(ArrayRef<MCInst> Instructions, in Repeat() argument 58 return [this, Instructions, MinInstructions](FunctionFiller &Filler) { in Repeat() 65 const APInt LoopCount(32, (MinInstructions + Instructions.size() - 1) / in Repeat() 66 Instructions.size()); in Repeat() [all …]
|