Home
last modified time | relevance | path

Searched refs:pseudo (Results 1 – 25 of 433) sorted by relevance

12345678910>>...18

/third_party/mesa3d/src/amd/compiler/tests/
Dtest_to_hw_instr.cpp54 bld.pseudo(aco_opcode::p_unit_test, Operand::zero());
55 bld.pseudo(aco_opcode::p_parallelcopy,
63 bld.pseudo(aco_opcode::p_unit_test, Operand::c32(1u));
64 bld.pseudo(aco_opcode::p_create_vector,
73 bld.pseudo(aco_opcode::p_unit_test, Operand::c32(2u));
74 bld.pseudo(aco_opcode::p_create_vector,
84 bld.pseudo(aco_opcode::p_unit_test, Operand::c32(3u));
85 bld.pseudo(aco_opcode::p_create_vector,
98 bld.pseudo(aco_opcode::p_unit_test, Operand::c32(4u));
99 bld.pseudo(aco_opcode::p_create_vector,
[all …]
Dtest_regalloc.cpp48 …Builder::Result tmp = bld.pseudo(aco_opcode::p_split_vector, bld.def(v2b), bld.def(v2b), inputs[0]…
70 …Temp hi = bld.pseudo(aco_opcode::p_split_vector, bld.def(v2b), bld.def(v2b), inputs[0]).def(1).get…
77 bld.pseudo(aco_opcode::p_create_vector, bld.def(v1), lo, hi);
90 Temp op1 = bld.pseudo(aco_opcode::p_unit_test, bld.def(s2));
96 bld.pseudo(aco_opcode::p_unit_test, op, op1);
110 bld.pseudo(aco_opcode::p_unit_test, op);
113 bld.pseudo(aco_opcode::p_unit_test, inputs[0]);
127 bld.pseudo(aco_opcode::p_unit_test, op);
130 bld.pseudo(aco_opcode::p_unit_test, inputs[2]);
144 bld.pseudo(aco_opcode::p_unit_test, op);
[all …]
Dtest_hard_clause.cpp106 bld.pseudo(aco_opcode::p_unit_test, Operand::zero());
114 bld.pseudo(aco_opcode::p_unit_test, Operand::c32(1u));
122 bld.pseudo(aco_opcode::p_unit_test, Operand::c32(2u));
130 bld.pseudo(aco_opcode::p_unit_test, Operand::c32(3u));
138 bld.pseudo(aco_opcode::p_unit_test, Operand::c32(4u));
145 bld.pseudo(aco_opcode::p_unit_test, Operand::c32(5u));
152 bld.pseudo(aco_opcode::p_unit_test, Operand::c32(6u));
159 bld.pseudo(aco_opcode::p_unit_test, Operand::c32(7u));
172 bld.pseudo(aco_opcode::p_unit_test, Operand::zero());
179 bld.pseudo(aco_opcode::p_unit_test, Operand::c32(1u));
[all …]
Dtest_sdwa.cpp171 Temp bfe_byte0_b = bld.pseudo(ext, bld.def(v1), inputs[1], Operand::zero(), Operand::c32(8u),
176 Temp bfe_byte1_b = bld.pseudo(ext, bld.def(v1), inputs[1], Operand::c32(1u), Operand::c32(8u),
181 Temp bfe_byte2_b = bld.pseudo(ext, bld.def(v1), inputs[1], Operand::c32(2u), Operand::c32(8u),
186 Temp bfe_byte3_b = bld.pseudo(ext, bld.def(v1), inputs[1], Operand::c32(3u), Operand::c32(8u),
191 Temp bfe_word0_b = bld.pseudo(ext, bld.def(v1), inputs[1], Operand::zero(), Operand::c32(16u),
196 Temp bfe_word1_b = bld.pseudo(ext, bld.def(v1), inputs[1], Operand::c32(1u),
201 Temp bfi_byte0_b = bld.pseudo(ins, bld.def(v1), inputs[1], Operand::zero(), Operand::c32(8u));
206 bld.pseudo(ins, bld.def(v1), inputs[1], Operand::zero(), Operand::c32(16u));
218 bld.pseudo(ins, bld.def(v1), inputs[1], Operand::c32(1u), Operand::c32(8u));
227 Temp bfe_byte0_b = bld.pseudo(ext, bld.def(v1), inputs[1], Operand::zero(), Operand::c32(8u),
[all …]
Dtest_insert_nops.cpp60 bld.pseudo(aco_opcode::p_unit_test, Operand::zero());
69 bld.pseudo(aco_opcode::p_unit_test, Operand::c32(1u));
77 bld.pseudo(aco_opcode::p_unit_test, Operand::c32(2u));
86 bld.pseudo(aco_opcode::p_unit_test, Operand::c32(3u));
95 bld.pseudo(aco_opcode::p_unit_test, Operand::c32(4u));
106 bld.pseudo(aco_opcode::p_unit_test, Operand::c32(5u));
125 bld.pseudo(aco_opcode::p_unit_test, Operand::zero());
134 bld.pseudo(aco_opcode::p_unit_test, Operand::c32(1u));
144 bld.pseudo(aco_opcode::p_unit_test, Operand::c32(2u));
157 bld.pseudo(aco_opcode::p_unit_test, Operand::c32(3u));
/third_party/ltp/tools/sparse/sparse-src/
Dexample.c211 static struct storage_hash *find_storage_hash(pseudo_t pseudo, struct storage_hash_list *list) in find_storage_hash() argument
215 if (entry->pseudo == pseudo) in find_storage_hash()
221 static struct storage_hash *find_or_create_hash(pseudo_t pseudo, struct storage_hash_list **listp) in find_or_create_hash() argument
225 entry = find_storage_hash(pseudo, *listp); in find_or_create_hash()
228 entry->pseudo = pseudo; in find_or_create_hash()
326 static int can_regenerate(struct bb_state *state, pseudo_t pseudo) in can_regenerate() argument
330 switch (pseudo->type) { in can_regenerate()
336 in = find_storage_hash(pseudo, state->inputs); in can_regenerate()
339 in = find_storage_hash(pseudo, state->internal); in can_regenerate()
346 static void flush_one_pseudo(struct bb_state *state, struct hardreg *hardreg, pseudo_t pseudo) in flush_one_pseudo() argument
[all …]
Dliveness.c38 use(bb, entry->pseudo); in asm_liveness()
43 use(bb, entry->pseudo); in asm_liveness()
45 def(bb, entry->pseudo); in asm_liveness()
53 pseudo_t pseudo; in track_instruction_usage() local
120 FOR_EACH_PTR(insn->arguments, pseudo) { in track_instruction_usage()
121 use(bb, pseudo); in track_instruction_usage()
122 } END_FOR_EACH_PTR(pseudo); in track_instruction_usage()
143 static void add_pseudo_exclusive(struct pseudo_list **list, pseudo_t pseudo) in add_pseudo_exclusive() argument
145 if (!pseudo_in_list(*list, pseudo)) { in add_pseudo_exclusive()
147 add_pseudo(list, pseudo); in add_pseudo_exclusive()
[all …]
Dstorage.c24 static inline unsigned int storage_hash(struct basic_block *bb, pseudo_t pseudo, enum inout_enum in… in storage_hash() argument
26 unsigned hash = hashval(bb) + hashval(pseudo) + hashval(inout); in storage_hash()
35 if (a->pseudo != b->pseudo) in hash_list_cmp()
36 return a->pseudo < b->pseudo ? -1 : 1; in hash_list_cmp()
62 if (prev && entry->pseudo == prev->pseudo) { in gather_storage()
88 struct storage *lookup_storage(struct basic_block *bb, pseudo_t pseudo, enum inout_enum inout) in lookup_storage() argument
90 struct storage_hash_list *list = storage_hash_table[storage_hash(bb,pseudo,inout)]; in lookup_storage()
94 if (hash->bb == bb && hash->pseudo == pseudo && hash->inout == inout) in lookup_storage()
100 void add_storage(struct storage *storage, struct basic_block *bb, pseudo_t pseudo, enum inout_enum … in add_storage() argument
102 struct storage_hash_list **listp = storage_hash_table + storage_hash(bb,pseudo,inout); in add_storage()
[all …]
Dlinearize.h34 struct pseudo { struct
47 extern struct pseudo void_pseudo; argument
51 static inline bool is_zero(pseudo_t pseudo) in is_zero() argument
53 return pseudo->type == PSEUDO_VAL && pseudo->value == 0; in is_zero()
56 static inline bool is_nonzero(pseudo_t pseudo) in is_nonzero() argument
58 return pseudo->type == PSEUDO_VAL && pseudo->value != 0; in is_nonzero()
61 static inline bool is_positive(pseudo_t pseudo, unsigned size) in is_positive() argument
63 return pseudo->type == PSEUDO_VAL && !(pseudo->value & sign_bit(size)); in is_positive()
73 pseudo_t pseudo; member
216 static inline pseudo_t *add_pseudo(struct pseudo_list **list, pseudo_t pseudo) in add_pseudo() argument
[all …]
Dmemops.c103 static int address_taken(pseudo_t pseudo) in address_taken() argument
106 FOR_EACH_PTR(pseudo->users, pu) { in address_taken()
116 static int local_pseudo(pseudo_t pseudo) in local_pseudo() argument
118 return pseudo->type == PSEUDO_SYM in local_pseudo()
119 && !(pseudo->sym->ctype.modifiers & (MOD_STATIC | MOD_NONLOCAL)) in local_pseudo()
120 && !address_taken(pseudo); in local_pseudo()
141 pseudo_t pseudo = insn->src; in simplify_loads() local
142 int local = local_pseudo(pseudo); in simplify_loads()
180 assert(pseudo->type != PSEUDO_ARG); in simplify_loads()
234 pseudo_t pseudo = insn->src; in kill_dominated_stores() local
[all …]
Dlinearize.c35 struct pseudo void_pseudo = {};
98 const char *show_pseudo(pseudo_t pseudo) in show_pseudo() argument
105 if (!pseudo) in show_pseudo()
107 if (pseudo == VOID) in show_pseudo()
110 switch(pseudo->type) { in show_pseudo()
112 struct symbol *sym = pseudo->sym; in show_pseudo()
143 i = snprintf(buf, 64, "%%r%d", pseudo->nr); in show_pseudo()
144 if (pseudo->ident) in show_pseudo()
145 sprintf(buf+i, "(%s)", show_ident(pseudo->ident)); in show_pseudo()
148 long long value = pseudo->value; in show_pseudo()
[all …]
Dflow.c112 static int pseudo_truth_value(pseudo_t pseudo) in pseudo_truth_value() argument
114 switch (pseudo->type) { in pseudo_truth_value()
116 return !!pseudo->value; in pseudo_truth_value()
119 struct instruction *insn = pseudo->def; in pseudo_truth_value()
122 if (insn->opcode == OP_SYMADDR && insn->target == pseudo) in pseudo_truth_value()
136 pseudo_t pseudo; in bb_depends_on() local
138 FOR_EACH_PTR(src->defines, pseudo) { in bb_depends_on()
139 if (pseudo_in_list(target->needs, pseudo)) in bb_depends_on()
141 } END_FOR_EACH_PTR(pseudo); in bb_depends_on()
240 pseudo_t pseudo; in try_to_simplify_bb() local
[all …]
Doptimize.c25 pseudo_t pseudo; in clear_symbol_pseudos() local
27 FOR_EACH_PTR(ep->accesses, pseudo) { in clear_symbol_pseudos()
28 pseudo->sym->pseudo = NULL; in clear_symbol_pseudos()
29 } END_FOR_EACH_PTR(pseudo); in clear_symbol_pseudos()
Dsparse-llvm.c258 static const char *pseudo_name(pseudo_t pseudo, char *buf) in pseudo_name() argument
260 switch (pseudo->type) { in pseudo_name()
262 snprintf(buf, MAX_PSEUDO_NAME, "R%d.", pseudo->nr); in pseudo_name()
265 snprintf(buf, MAX_PSEUDO_NAME, "PHI%d.", pseudo->nr); in pseudo_name()
369 static LLVMValueRef pseudo_to_value(struct function *fn, struct symbol *ctype, pseudo_t pseudo) in pseudo_to_value() argument
373 switch (pseudo->type) { in pseudo_to_value()
375 result = pseudo->priv; in pseudo_to_value()
378 result = get_sym_value(fn->module, pseudo->sym); in pseudo_to_value()
381 result = val_to_value(pseudo->value, ctype); in pseudo_to_value()
384 result = LLVMGetParam(fn->fn, pseudo->nr - 1); in pseudo_to_value()
[all …]
Dsimplify.c67 static struct basic_block *phi_parent(struct basic_block *source, pseudo_t pseudo) in phi_parent() argument
70 if (pseudo->type == PSEUDO_REG) { in phi_parent()
71 struct instruction *def = pseudo->def; in phi_parent()
199 static pseudo_t trivial_phi(pseudo_t pseudo, struct instruction *insn, struct pseudo_list **list) in trivial_phi() argument
220 if (!pseudo) { in trivial_phi()
221 pseudo = src; in trivial_phi()
224 if (src == pseudo) in trivial_phi()
229 if ((pseudo = trivial_phi(pseudo, def, list))) in trivial_phi()
235 return pseudo ? pseudo : VOID; in trivial_phi()
241 pseudo_t pseudo; in clean_up_phi() local
[all …]
Dir.c62 static int check_user(struct instruction *insn, pseudo_t pseudo) in check_user() argument
66 if (!pseudo) { in check_user()
71 switch (pseudo->type) { in check_user()
74 def = pseudo->def; in check_user()
78 sparse_error(insn->pos, "wrong usage for %s in %s", show_pseudo(pseudo), in check_user()
Dssa.c145 addr = var->pseudo; in ssa_convert_one_var()
203 node->phi_var = var->pseudo; in ssa_convert_one_var()
375 pseudo_t pseudo; in ssa_convert() local
390 FOR_EACH_PTR(ep->accesses, pseudo) { in ssa_convert()
391 ssa_convert_one_var(ep, pseudo->sym); in ssa_convert()
392 } END_FOR_EACH_PTR(pseudo); in ssa_convert()
Dscheck.c51 static BoolectorNode *mkvar(Btor *btor, BoolectorSort s, pseudo_t pseudo) in mkvar() argument
56 if (pseudo->priv) in mkvar()
57 return pseudo->priv; in mkvar()
59 switch (pseudo->type) { in mkvar()
61 sprintf(buff, "%llx", pseudo->value); in mkvar()
65 n = boolector_var(btor, s, show_pseudo(pseudo)); in mkvar()
68 fprintf(stderr, "invalid pseudo: %s\n", show_pseudo(pseudo)); in mkvar()
71 return pseudo->priv = n; in mkvar()
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/
DPseudoLocalesTest.java50 CldrDataSupplier pseudo = PseudoLocales.addPseudoLocalesTo(src); in testExpansion() local
51 assertThat(pseudo.getAvailableLocaleIds()).containsAtLeast("en_XA", "ar_XB"); in testExpansion()
54 CldrData unresolved = pseudo.getDataForLocale("en_XA", UNRESOLVED); in testExpansion()
85 CldrDataSupplier pseudo = PseudoLocales.addPseudoLocalesTo(src); in testBidi() local
88 CldrData unresolved = pseudo.getDataForLocale("ar_XB", UNRESOLVED); in testBidi()
110 CldrDataSupplier pseudo = PseudoLocales.addPseudoLocalesTo(src); in testLatinNumbering() local
112 CldrData unresolved = pseudo.getDataForLocale("ar_XB", UNRESOLVED); in testLatinNumbering()
122 CldrDataSupplier pseudo = PseudoLocales.addPseudoLocalesTo(src); in testExemplars() local
124 assertValuesUnordered(pseudo.getDataForLocale("ar_XB", UNRESOLVED), in testExemplars()
126 assertValuesUnordered(pseudo.getDataForLocale("en_XA", UNRESOLVED), in testExemplars()
/third_party/ltp/testcases/network/stress/ns-tools/
Dns-icmpv6_sender.c245 struct pseudo_ip6_datagram pseudo; /* ICMPv6 pseudo packet for checksum */ in create_mld_query() local
329 pseudo.hdr.p_ip6_src = pkt.hdr.ip6_src; in create_mld_query()
330 pseudo.hdr.p_ip6_dst = pkt.hdr.ip6_dst; in create_mld_query()
331 pseudo.hdr.p_ip6_plen = htons(query_size); in create_mld_query()
332 pseudo.hdr.p_ip6_zero1 = 0; in create_mld_query()
333 pseudo.hdr.p_ip6_zero2 = 0; in create_mld_query()
334 pseudo.hdr.p_ip6_nxt = IPPROTO_ICMPV6; in create_mld_query()
335 memcpy(pseudo.payload, query_p, query_size); in create_mld_query()
338 query_p->cksum = calc_checksum((u_int16_t *) (&pseudo), in create_mld_query()
365 struct pseudo_ip6_datagram pseudo; /* ICMPv6 pseudo packet for checksum */ in create_echo_request() local
[all …]
/third_party/ltp/testscripts/
Dltp-scsi_debug.sh77 echo 1 > /sys/bus/pseudo/drivers/scsi_debug/add_host
78 num_host=$(cat /sys/bus/pseudo/drivers/scsi_debug/add_host)
87 echo -2 > /sys/bus/pseudo/drivers/scsi_debug/add_host
88 num_host=$(cat /sys/bus/pseudo/drivers/scsi_debug/add_host)
117 max_luns=$(cat /sys/bus/pseudo/drivers/scsi_debug/max_luns)
118 add_host=$(cat /sys/bus/pseudo/drivers/scsi_debug/add_host)
119 num_tgts=$(cat /sys/bus/pseudo/drivers/scsi_debug/num_tgts)
/third_party/node/deps/npm/node_modules/postcss-selector-parser/dist/selectors/
Dconstructors.js4 exports.universal = exports.tag = exports.string = exports.selector = exports.root = exports.pseudo
42 var pseudo = function pseudo(opts) { function
45 exports.pseudo = pseudo;
/third_party/css-what/
Dreadme.md25 { type: "pseudo", name: "baz", data: null }
40 | `pseudo` | `name`, `data` | `:name(data)` | `{ type: 'pseudo'…
41 | `pseudo` | `name`, `data` | `:name` | `{ type: 'pseudo'…
42 | `pseudo-element` | `name` | `::name` | `{ type: 'pseudo-…
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_shader_draw_parameters.txt95 Add the following after the pseudo-code describing MultiDrawArrays on
98 The index of the draw (<i> in the above pseudo-code) may be read by
101 Add the following after the pseudo-code describing MultiDrawArraysIndirect
104 The index of the draw (<i> in the above pseudo-code) may be read by
107 Add the following after the pseudo-code describing MultiDrawElements on
110 The index of the draw (<i> in the above pseudo-code) may be read by
113 Add the following after the pseudo-code describing
116 The index of the draw (<i> in the above pseudo-code) may be read by
119 Add the following after the pseudo-code describing
122 The index of the draw (<i> in the above pseudo-code) may be read by
[all …]
/third_party/openGLES/extensions/ARB/
DARB_shader_draw_parameters.txt105 Add the following after the pseudo-code describing MultiDrawArrays on
108 The index of the draw (<i> in the above pseudo-code) may be read by
111 Add the following after the pseudo-code describing MultiDrawArraysIndirect
114 The index of the draw (<i> in the above pseudo-code) may be read by
117 Add the following after the pseudo-code describing MultiDrawElements on
120 The index of the draw (<i> in the above pseudo-code) may be read by
123 Add the following after the pseudo-code describing
126 The index of the draw (<i> in the above pseudo-code) may be read by
129 Add the following after the pseudo-code describing
132 The index of the draw (<i> in the above pseudo-code) may be read by
[all …]

12345678910>>...18