Home | History | Annotate | Download | only in lib

Lines Matching defs:Snippet

73   const std::vector<llvm::MCInst> &Snippet = Configuration.Snippet;
74 if (Snippet.empty()) {
75 InstrBenchmark.Error = "Empty snippet";
79 InstrBenchmark.Key.Instructions = Snippet;
81 // Repeat the snippet until there are at least NumInstructions in the
82 // resulting code. The snippet is always repeated at least once.
85 std::vector<llvm::MCInst> Code = Configuration.Snippet;
87 Code.push_back(Configuration.Snippet[I % Configuration.Snippet.size()]);
92 // snippet for debug/analysis. This is so that the user clearly understands
109 // Assemble NumRepetitions instructions repetitions of the snippet for
134 for (InstructionInstance &II : Prototype.Snippet) {
136 Configuration.Snippet.push_back(II.build());
138 Configuration.SnippetSetup.RegsToDef = computeRegsToDef(Prototype.Snippet);
145 const std::vector<InstructionInstance> &Snippet) const {
151 for (const InstructionInstance &II : Snippet) {
191 "snippet", "o", ResultFD, ResultPath)))
216 Prototype.Snippet.push_back(std::move(II));
226 Prototype.Snippet.emplace_back(Instr);