Searched refs:const_id (Results 1 – 6 of 6) sorted by relevance
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | eliminate_dead_constant_pass.cpp | 38 uint32_t const_id = c->result_id(); in Process() local 41 const_id, [&count](Instruction* user, uint32_t index) { in Process()
|
D | replace_invalid_opc.cpp | 155 uint32_t const_id = GetSpecialConstant(inst->type_id()); in ReplaceInstruction() local 157 context()->ReplaceAllUsesWith(inst->result_id(), const_id); in ReplaceInstruction()
|
D | folding_rules.cpp | 368 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/ |
D | eliminate_dead_constant_pass.cpp | 38 uint32_t const_id = c->result_id(); in Process() local 41 const_id, [&count](Instruction* user, uint32_t index) { in Process()
|
D | replace_invalid_opc.cpp | 155 uint32_t const_id = GetSpecialConstant(inst->type_id()); in ReplaceInstruction() local 157 context()->ReplaceAllUsesWith(inst->result_id(), const_id); in ReplaceInstruction()
|
D | folding_rules.cpp | 368 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()
|