Home | History | Annotate | Download | only in nir

Lines Matching refs:Variable

82          assert not self.immutable, "Unknown replacement variable: " + name
101 return Variable(val, name_base, varset)
118 variable. We do this since we'll need to know which variable each value
172 elif isinstance(bit_size, Variable):
175 # If the bit-size class is neither a variable, nor an actual bit-size, then
186 % elif isinstance(val, Variable):
204 Variable=Variable,
275 class Variable(Value):
277 Value.__init__(self, val, name, "variable")
281 "Malformed variable name \"{}\".".format(val)
498 expression), we prevent merging a variable with anything when processing the
519 was assigned a constant bitsize, the bitsize of a variable, or the bitsize
550 elif isinstance(b, Variable):
554 elif isinstance(a, Variable):
557 elif isinstance(b, Variable):
564 elif isinstance(b, Variable):
591 uses of the same variable. We always do this as if we're in the search
594 expression didn't, because we'd be merging a variable and a constant.
596 if isinstance(val, Variable):
603 'Variable {} has conflicting bit size requirements: ' \
615 will refuse to merge different variables together or merge a variable
708 assert isinstance(bit_size, int) or isinstance(bit_size, Variable) or \
711 'it cannot be deduced from a variable, a fixed bit size ' \
893 elif isinstance(src, Variable):
897 # Note: we throw away which variable it is here! This special