Lines Matching refs:operands
66 Remove variants in `variant_to_exclude` from operands with type `type_name`.
110 used to build sets of operands and inputs that will be used by the generator
119 operand_filter Python expression as a string to filter out operands.
121 operand_limit Optional limit of the number of operands to generate.
151 Generate a list of tuples, each tuple describing what operands to pass to an
155 what we generate, we choose to apply the product only on operands with their
187 def BuildOperandDefinition(operands):
189 Take a list of tuples describing the operands and build a definition from
208 # Build a list of operands by only keeping the second element of each
210 [operand[1] for operand in operands],
215 self.it_condition.format(**dict(operands)) if self.it_condition else "al"
241 BuildOperandDefinition(operands)
242 for operands in itertools.product(*variants)
243 if filter_lambda(**dict(operands))
248 # Use a fixed seed to randomly choose a limited set of operands.
307 operands `OperandList` object.
312 def __init__(self, test_name, test_isa, test_type, mnemonics, operands,
323 # We need to explicitly create our own deep copy the operands before we
325 self.operands = deepcopy(operands)
326 self.operands.ExcludeVariants("Register", ["r13", "r15"])
328 self.operands = operands
364 return "".join([operand.Declare() for operand in self.operands])
433 """{{ {{ {operands} }},
438 """.format(operands=",".join(operand),
442 for operand, _, _ in test_case.GenerateOperands(self.operands)
448 """{{ {{ {operands} }},
453 """.format(operands=",".join(operand),
459 in test_case.GenerateOperands(self.operands)
465 """{{ {{ {operands} }},
468 """.format(operands=",".join(operand),
471 for operand, _, _ in test_case.GenerateOperands(self.operands)
494 operands = "-".join(self.operands.GetNames())
508 for operand in self.operands
523 Condition cond = kTests[i].operands.cond;
524 Register rd = kTests[i].operands.rd;
528 code = "".join([operand.Instantiate() for operand in self.operands])
532 # exclude all register operands from the list of available scratch
539 for operand in self.operands.unwrap()
573 for operand in self.operands