Searched refs:imm_map (Results 1 – 1 of 1) sorted by relevance
/third_party/mesa3d/src/panfrost/bifrost/ |
D | bi_packer.c.py | 142 def compile_s_expr(expr, imm_map, ctx): argument 144 return compile_s_expr(expr[1], imm_map, ctx) 157 return "(" + sep.join([compile_s_expr(s, imm_map, expr[1]) for s in expr[1:]]) + ")" 159 return str(imm_map[ctx][expr[1:]]) 166 def pack_derived(pos, exprs, imm_map, body, pack_exprs): argument 172 cond = compile_s_expr(expr, imm_map, None) 222 imm_map = {} 243 imm_map[mod] = { x: y for y, x in enumerate(opts) } 262 common_body.append('if {}'.format(compile_s_expr(cond, imm_map, None)) + ' {') 273 imm = imm_map[v] [all …]
|