Home
last modified time | relevance | path

Searched refs:const_id (Results 1 – 6 of 6) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/opt/
Deliminate_dead_constant_pass.cpp38 uint32_t const_id = c->result_id(); in Process() local
41 const_id, [&count](Instruction* user, uint32_t index) { in Process()
Dreplace_invalid_opc.cpp155 uint32_t const_id = GetSpecialConstant(inst->type_id()); in ReplaceInstruction() local
157 context()->ReplaceAllUsesWith(inst->result_id(), const_id); in ReplaceInstruction()
Dfolding_rules.cpp368 uint32_t const_id = 0; in MergeNegateAddSubArithmetic() local
370 const_id = NegateConstant(const_mgr, c); in MergeNegateAddSubArithmetic()
372 const_id = zero_is_variable ? op_inst->GetSingleWordInOperand(1u) in MergeNegateAddSubArithmetic()
378 zero_is_variable ? op_inst->GetSingleWordInOperand(0u) : const_id; in MergeNegateAddSubArithmetic()
380 zero_is_variable ? const_id : op_inst->GetSingleWordInOperand(1u); in MergeNegateAddSubArithmetic()
942 uint32_t const_id = constants[0] ? inst->GetSingleWordInOperand(0u) in MergeAddNegateArithmetic() local
945 {{SPV_OPERAND_TYPE_ID, {const_id}}, in MergeAddNegateArithmetic()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Deliminate_dead_constant_pass.cpp38 uint32_t const_id = c->result_id(); in Process() local
41 const_id, [&count](Instruction* user, uint32_t index) { in Process()
Dreplace_invalid_opc.cpp155 uint32_t const_id = GetSpecialConstant(inst->type_id()); in ReplaceInstruction() local
157 context()->ReplaceAllUsesWith(inst->result_id(), const_id); in ReplaceInstruction()
Dfolding_rules.cpp368 uint32_t const_id = 0; in MergeNegateAddSubArithmetic() local
370 const_id = NegateConstant(const_mgr, c); in MergeNegateAddSubArithmetic()
372 const_id = zero_is_variable ? op_inst->GetSingleWordInOperand(1u) in MergeNegateAddSubArithmetic()
378 zero_is_variable ? op_inst->GetSingleWordInOperand(0u) : const_id; in MergeNegateAddSubArithmetic()
380 zero_is_variable ? const_id : op_inst->GetSingleWordInOperand(1u); in MergeNegateAddSubArithmetic()
942 uint32_t const_id = constants[0] ? inst->GetSingleWordInOperand(0u) in MergeAddNegateArithmetic() local
945 {{SPV_OPERAND_TYPE_ID, {const_id}}, in MergeAddNegateArithmetic()