Lines Matching refs:name
21 * Maps {string, hash} where the string is the type name and the hash is:
29 * Maps {string, number} where the string is the type name and the number is
43 if (inst.name() === "OpTypeInt" || inst.name() === "OpTypeFloat") {
44 let is_int = inst.name() === "OpTypeInt";
46 this.types_[inst.operand(0).name()] = {
61 getType(name) { return this.types_[name]; }
63 getId(name) {
64 if (this.assigned_ids_[name] !== undefined) {
65 return this.assigned_ids_[name];
69 this.assigned_ids_[name] = next;
79 constructor(name, opcode, operands) {
80 this.name_ = name;
85 name() { return this.name_; }
95 constructor(mod, name, type, value, params) {
97 this.name_ = name;
103 name() { return this.name_; }