Home
last modified time | relevance | path

Searched refs:index_inst (Results 1 – 10 of 10) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dcombine_access_chains.cpp104 Instruction* index_inst = in GetIndexedType() local
107 context()->get_constant_mgr()->GetConstantFromInst(index_inst); in GetIndexedType()
279 Instruction* index_inst = in Has64BitIndices() local
282 context()->get_type_mgr()->GetType(index_inst->type_id()); in Has64BitIndices()
Dinst_bindless_check_pass.cpp129 Instruction* index_inst = get_def_use_mgr()->GetDef(index_id); in GenBindlessCheckCode() local
131 if (index_inst->opcode() == SpvOpConstant && in GenBindlessCheckCode()
133 index_inst->GetSingleWordInOperand(kSpvConstantValueInIdx) < in GenBindlessCheckCode()
Dupgrade_memory_model.cpp298 Instruction* index_inst = context()->get_def_use_mgr()->GetDef(index); in CheckType() local
299 assert(index_inst->opcode() == SpvOpConstant); in CheckType()
300 uint64_t value = GetIndexValue(index_inst); in CheckType()
367 uint64_t UpgradeMemoryModel::GetIndexValue(Instruction* index_inst) { in GetIndexValue() argument
369 context()->get_constant_mgr()->GetConstantFromInst(index_inst); in GetIndexValue()
Dupgrade_memory_model.h103 uint64_t GetIndexValue(Instruction* index_inst);
Dcommon_uniform_elim_pass.cpp131 const Instruction* index_inst = get_def_use_mgr()->GetDef(index_id); in IsAccessChainToVolatileStructType() local
132 uint32_t index_value = index_inst->GetSingleWordOperand( in IsAccessChainToVolatileStructType()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dcombine_access_chains.cpp104 Instruction* index_inst = in GetIndexedType() local
107 context()->get_constant_mgr()->GetConstantFromInst(index_inst); in GetIndexedType()
279 Instruction* index_inst = in Has64BitIndices() local
282 context()->get_type_mgr()->GetType(index_inst->type_id()); in Has64BitIndices()
Dupgrade_memory_model.cpp281 Instruction* index_inst = context()->get_def_use_mgr()->GetDef(index); in CheckType() local
282 assert(index_inst->opcode() == SpvOpConstant); in CheckType()
283 uint64_t value = GetIndexValue(index_inst); in CheckType()
350 uint64_t UpgradeMemoryModel::GetIndexValue(Instruction* index_inst) { in GetIndexValue() argument
352 context()->get_constant_mgr()->GetConstantFromInst(index_inst); in GetIndexValue()
Dinst_bindless_check_pass.cpp129 Instruction* index_inst = get_def_use_mgr()->GetDef(index_id); in GenBindlessCheckCode() local
131 if (index_inst->opcode() == SpvOpConstant && in GenBindlessCheckCode()
133 index_inst->GetSingleWordInOperand(kSpvConstantValueInIdx) < in GenBindlessCheckCode()
Dupgrade_memory_model.h103 uint64_t GetIndexValue(Instruction* index_inst);
Dcommon_uniform_elim_pass.cpp131 const Instruction* index_inst = get_def_use_mgr()->GetDef(index_id); in IsAccessChainToVolatileStructType() local
132 uint32_t index_value = index_inst->GetSingleWordOperand( in IsAccessChainToVolatileStructType()