Home
last modified time | relevance | path

Searched refs:store_inst (Results 1 – 11 of 11) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/opt/
Dlocal_single_store_elim_pass.cpp132 Instruction* store_inst = FindSingleStoreAndCheckUses(var_inst, users); in ProcessVariable() local
134 if (store_inst == nullptr) { in ProcessVariable()
139 bool modified = RewriteLoads(store_inst, users, &all_rewritten); in ProcessVariable()
151 modified |= RewriteDebugDeclares(store_inst, var_id); in ProcessVariable()
158 bool LocalSingleStoreElimPass::RewriteDebugDeclares(Instruction* store_inst, in RewriteDebugDeclares() argument
161 uint32_t value_id = store_inst->GetSingleWordInOperand(1); in RewriteDebugDeclares()
164 store_inst, var_id, value_id, store_inst, &invisible_decls); in RewriteDebugDeclares()
172 BasicBlock* store_block = context()->get_instr_block(store_inst); in RewriteDebugDeclares()
176 if (dominator_analysis->Dominates(store_inst, decl)) { in RewriteDebugDeclares()
178 decl, store_inst); in RewriteDebugDeclares()
[all …]
Dcopy_prop_arrays.cpp52 Instruction* store_inst = FindStoreInstruction(&*var_inst); in Process() local
54 if (!store_inst) { in Process()
59 FindSourceObjectIfPossible(&*var_inst, store_inst); in Process()
64 PropagateObject(&*var_inst, source_object.get(), store_inst); in Process()
74 Instruction* store_inst) { in FindSourceObjectIfPossible() argument
79 if (!store_inst) { in FindSourceObjectIfPossible()
84 if (!HasValidReferencesOnly(var_inst, store_inst)) { in FindSourceObjectIfPossible()
90 store_inst->GetSingleWordInOperand(kStoreObjectInOperand)); in FindSourceObjectIfPossible()
110 Instruction* store_inst = nullptr; in FindStoreInstruction() local
112 var_inst, [&store_inst, var_inst](Instruction* use) { in FindStoreInstruction()
[all …]
Dlocal_single_store_elim_pass.h94 bool RewriteLoads(Instruction* store_inst,
99 bool RewriteDebugDeclares(Instruction* store_inst, uint32_t var_id);
Dcopy_prop_arrays.h150 Instruction* var_inst, Instruction* store_inst);
160 bool HasValidReferencesOnly(Instruction* ptr_inst, Instruction* store_inst);
Dmerge_return_pass.cpp555 Instruction* store_inst = in RecordReturned() local
557 context()->set_instr_block(store_inst, block); in RecordReturned()
558 context()->AnalyzeDefUse(store_inst); in RecordReturned()
576 Instruction* store_inst = in RecordReturnValue() local
578 context()->set_instr_block(store_inst, block); in RecordReturnValue()
579 context()->AnalyzeDefUse(store_inst); in RecordReturnValue()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dlocal_single_store_elim_pass.cpp132 Instruction* store_inst = FindSingleStoreAndCheckUses(var_inst, users); in ProcessVariable() local
134 if (store_inst == nullptr) { in ProcessVariable()
139 bool modified = RewriteLoads(store_inst, users, &all_rewritten); in ProcessVariable()
151 modified |= RewriteDebugDeclares(store_inst, var_id); in ProcessVariable()
158 bool LocalSingleStoreElimPass::RewriteDebugDeclares(Instruction* store_inst, in RewriteDebugDeclares() argument
161 uint32_t value_id = store_inst->GetSingleWordInOperand(1); in RewriteDebugDeclares()
164 store_inst, var_id, value_id, store_inst, &invisible_decls); in RewriteDebugDeclares()
172 BasicBlock* store_block = context()->get_instr_block(store_inst); in RewriteDebugDeclares()
176 if (dominator_analysis->Dominates(store_inst, decl)) { in RewriteDebugDeclares()
190 Instruction* store_inst = nullptr; in FindSingleStoreAndCheckUses() local
[all …]
Dcopy_prop_arrays.cpp52 Instruction* store_inst = FindStoreInstruction(&*var_inst); in Process() local
54 if (!store_inst) { in Process()
59 FindSourceObjectIfPossible(&*var_inst, store_inst); in Process()
64 PropagateObject(&*var_inst, source_object.get(), store_inst); in Process()
74 Instruction* store_inst) { in FindSourceObjectIfPossible() argument
79 if (!store_inst) { in FindSourceObjectIfPossible()
84 if (!HasValidReferencesOnly(var_inst, store_inst)) { in FindSourceObjectIfPossible()
90 store_inst->GetSingleWordInOperand(kStoreObjectInOperand)); in FindSourceObjectIfPossible()
110 Instruction* store_inst = nullptr; in FindStoreInstruction() local
112 var_inst, [&store_inst, var_inst](Instruction* use) { in FindStoreInstruction()
[all …]
Dlocal_single_store_elim_pass.h94 bool RewriteLoads(Instruction* store_inst,
99 bool RewriteDebugDeclares(Instruction* store_inst, uint32_t var_id);
Dcopy_prop_arrays.h150 Instruction* var_inst, Instruction* store_inst);
160 bool HasValidReferencesOnly(Instruction* ptr_inst, Instruction* store_inst);
Dmerge_return_pass.cpp555 Instruction* store_inst = in RecordReturned() local
557 context()->set_instr_block(store_inst, block); in RecordReturned()
558 context()->AnalyzeDefUse(store_inst); in RecordReturned()
576 Instruction* store_inst = in RecordReturnValue() local
578 context()->set_instr_block(store_inst, block); in RecordReturnValue()
579 context()->AnalyzeDefUse(store_inst); in RecordReturnValue()
/external/llvm-project/lldb/source/Expression/
DIRInterpreter.cpp1259 const StoreInst *store_inst = cast<StoreInst>(inst); in Interpret() local
1267 const Value *value_operand = store_inst->getValueOperand(); in Interpret()
1268 const Value *pointer_operand = store_inst->getPointerOperand(); in Interpret()