Home
last modified time | relevance | path

Searched refs:lhs_entry (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dopt_copy_propagation_elements.cpp139 acp_entry *lhs_entry = pull_acp(lhs); in write_elements() local
140 lhs_entry->rhs_full = NULL; in write_elements()
145 ir_variable *to_remove = lhs_entry->rhs_element[i]; in write_elements()
146 lhs_entry->rhs_element[i] = rhs; in write_elements()
147 lhs_entry->rhs_channel[i] = swizzle[i]; in write_elements()
149 remove_unused_var_from_dsts(lhs_entry, lhs, to_remove); in write_elements()
158 acp_entry *lhs_entry = pull_acp(lhs); in write_full() local
159 if (lhs_entry->rhs_full == rhs) in write_full()
162 if (lhs_entry->rhs_full) { in write_full()
163 remove_from_dsts(lhs_entry->rhs_full, lhs); in write_full()
[all …]
Dopt_structure_splitting.cpp263 variable_entry *lhs_entry = lhs_deref ? get_splitting_entry(lhs_deref->var) : NULL; in visit_leave() local
267 if ((lhs_entry || rhs_entry) && !ir->condition) { in visit_leave()
270 void *mem_ctx = lhs_entry ? lhs_entry->mem_ctx : rhs_entry->mem_ctx; in visit_leave()
272 if (lhs_entry) { in visit_leave()
273 new_lhs = new(mem_ctx) ir_dereference_variable(lhs_entry->components[i]); in visit_leave()
/external/libtextclassifier/native/utils/grammar/parsing/
Dmatcher.cc222 inline void GetLhs(const RulesSet* rules_set, const int lhs_entry, in GetLhs() argument
225 if (lhs_entry > 0) { in GetLhs()
227 *nonterminal = lhs_entry; in GetLhs()
232 const RulesSet_::Lhs* lhs = rules_set->lhs()->Get(-lhs_entry); in GetLhs()
326 for (const int32 lhs_entry : *lhs_set->lhs()) { in ExecuteLhsSet()
331 GetLhs(rules_, lhs_entry, &lhs, &callback_id, &callback_param, in ExecuteLhsSet()
/external/libtextclassifier/native/utils/grammar/utils/
Dir.cc48 bool IsSameLhsEntry(const Ir::Lhs& lhs, const int32 lhs_entry, in IsSameLhsEntry() argument
51 if (lhs_entry > 0) { in IsSameLhsEntry()
52 return (lhs.nonterminal == lhs_entry && lhs.callback.id == kNoCallback && in IsSameLhsEntry()
57 return IsSameLhs(lhs, candidates[-lhs_entry]); in IsSameLhsEntry()