/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | amd_ext_to_khr.cpp | 71 InstructionBuilder ir_builder( in ReplaceTrinaryMinMax() local 79 Instruction* temp = ir_builder.AddNaryExtendedInstruction( in ReplaceTrinaryMinMax() 108 InstructionBuilder ir_builder( in ReplaceTrinaryMid() local 116 Instruction* min = ir_builder.AddNaryExtendedInstruction( in ReplaceTrinaryMid() 119 Instruction* max = ir_builder.AddNaryExtendedInstruction( in ReplaceTrinaryMid() 221 InstructionBuilder ir_builder( in ReplaceSwizzleInvocations() local 237 Instruction* id = ir_builder.AddLoad(uint_type_id, var_id); in ReplaceSwizzleInvocations() 239 uint32_t quad_mask = ir_builder.GetUintConstantId(3); in ReplaceSwizzleInvocations() 242 Instruction* quad_idx = ir_builder.AddBinaryOp(uint_type_id, SpvOpBitwiseAnd, in ReplaceSwizzleInvocations() 246 Instruction* quad_ldr = ir_builder.AddBinaryOp( in ReplaceSwizzleInvocations() [all …]
|
D | pass.cpp | 97 InstructionBuilder ir_builder( in GenerateCopy() local 119 Instruction* extract = ir_builder.AddCompositeExtract( in GenerateCopy() 125 return ir_builder.AddCompositeConstruct(new_type_id, element_ids) in GenerateCopy() 137 Instruction* extract = ir_builder.AddCompositeExtract( in GenerateCopy() 142 return ir_builder.AddCompositeConstruct(new_type_id, element_ids) in GenerateCopy()
|
D | wrap_opkill.cpp | 62 InstructionBuilder ir_builder( in ReplaceWithFunctionCall() local 70 ir_builder.AddFunctionCall(GetVoidTypeId(), func_id, {}); in ReplaceWithFunctionCall() 79 Instruction* undef = ir_builder.AddNullaryOp(return_type_id, SpvOpUndef); in ReplaceWithFunctionCall() 84 ir_builder.AddUnaryOp(0, SpvOpReturnValue, undef->result_id()); in ReplaceWithFunctionCall() 86 return_inst = ir_builder.AddNullaryOp(0, SpvOpReturn); in ReplaceWithFunctionCall()
|
D | reduce_load_size.cpp | 92 InstructionBuilder ir_builder( in ReplaceExtract() local 111 Instruction* new_access_chain = ir_builder.AddAccessChain( in ReplaceExtract() 115 ir_builder.AddLoad(inst->type_id(), new_access_chain->result_id()); in ReplaceExtract()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | amd_ext_to_khr.cpp | 71 InstructionBuilder ir_builder( in ReplaceTrinaryMinMax() local 79 Instruction* temp = ir_builder.AddNaryExtendedInstruction( in ReplaceTrinaryMinMax() 108 InstructionBuilder ir_builder( in ReplaceTrinaryMid() local 116 Instruction* min = ir_builder.AddNaryExtendedInstruction( in ReplaceTrinaryMid() 119 Instruction* max = ir_builder.AddNaryExtendedInstruction( in ReplaceTrinaryMid() 221 InstructionBuilder ir_builder( in ReplaceSwizzleInvocations() local 237 Instruction* id = ir_builder.AddLoad(uint_type_id, var_id); in ReplaceSwizzleInvocations() 239 uint32_t quad_mask = ir_builder.GetUintConstantId(3); in ReplaceSwizzleInvocations() 242 Instruction* quad_idx = ir_builder.AddBinaryOp(uint_type_id, SpvOpBitwiseAnd, in ReplaceSwizzleInvocations() 246 Instruction* quad_ldr = ir_builder.AddBinaryOp( in ReplaceSwizzleInvocations() [all …]
|
D | pass.cpp | 97 InstructionBuilder ir_builder( in GenerateCopy() local 119 Instruction* extract = ir_builder.AddCompositeExtract( in GenerateCopy() 125 return ir_builder.AddCompositeConstruct(new_type_id, element_ids) in GenerateCopy() 137 Instruction* extract = ir_builder.AddCompositeExtract( in GenerateCopy() 142 return ir_builder.AddCompositeConstruct(new_type_id, element_ids) in GenerateCopy()
|
D | wrap_opkill.cpp | 62 InstructionBuilder ir_builder( in ReplaceWithFunctionCall() local 70 ir_builder.AddFunctionCall(GetVoidTypeId(), func_id, {}); in ReplaceWithFunctionCall() 79 Instruction* undef = ir_builder.AddNullaryOp(return_type_id, SpvOpUndef); in ReplaceWithFunctionCall() 84 ir_builder.AddUnaryOp(0, SpvOpReturnValue, undef->result_id()); in ReplaceWithFunctionCall() 86 return_inst = ir_builder.AddNullaryOp(0, SpvOpReturn); in ReplaceWithFunctionCall()
|
D | reduce_load_size.cpp | 92 InstructionBuilder ir_builder( in ReplaceExtract() local 111 Instruction* new_access_chain = ir_builder.AddAccessChain( in ReplaceExtract() 115 ir_builder.AddLoad(inst->type_id(), new_access_chain->result_id()); in ReplaceExtract()
|
/third_party/spirv-tools/source/opt/ |
D | amd_ext_to_khr.cpp | 71 InstructionBuilder ir_builder( in ReplaceTrinaryMinMax() local 79 Instruction* temp = ir_builder.AddNaryExtendedInstruction( in ReplaceTrinaryMinMax() 108 InstructionBuilder ir_builder( in ReplaceTrinaryMid() local 116 Instruction* min = ir_builder.AddNaryExtendedInstruction( in ReplaceTrinaryMid() 119 Instruction* max = ir_builder.AddNaryExtendedInstruction( in ReplaceTrinaryMid() 221 InstructionBuilder ir_builder( in ReplaceSwizzleInvocations() local 237 Instruction* id = ir_builder.AddLoad(uint_type_id, var_id); in ReplaceSwizzleInvocations() 239 uint32_t quad_mask = ir_builder.GetUintConstantId(3); in ReplaceSwizzleInvocations() 242 Instruction* quad_idx = ir_builder.AddBinaryOp(uint_type_id, SpvOpBitwiseAnd, in ReplaceSwizzleInvocations() 246 Instruction* quad_ldr = ir_builder.AddBinaryOp( in ReplaceSwizzleInvocations() [all …]
|
D | pass.cpp | 97 InstructionBuilder ir_builder( in GenerateCopy() local 119 Instruction* extract = ir_builder.AddCompositeExtract( in GenerateCopy() 125 return ir_builder.AddCompositeConstruct(new_type_id, element_ids) in GenerateCopy() 137 Instruction* extract = ir_builder.AddCompositeExtract( in GenerateCopy() 142 return ir_builder.AddCompositeConstruct(new_type_id, element_ids) in GenerateCopy()
|
D | wrap_opkill.cpp | 62 InstructionBuilder ir_builder( in ReplaceWithFunctionCall() local 70 ir_builder.AddFunctionCall(GetVoidTypeId(), func_id, {}); in ReplaceWithFunctionCall() 79 Instruction* undef = ir_builder.AddNullaryOp(return_type_id, SpvOpUndef); in ReplaceWithFunctionCall() 84 ir_builder.AddUnaryOp(0, SpvOpReturnValue, undef->result_id()); in ReplaceWithFunctionCall() 86 return_inst = ir_builder.AddNullaryOp(0, SpvOpReturn); in ReplaceWithFunctionCall()
|
D | reduce_load_size.cpp | 93 InstructionBuilder ir_builder( in ReplaceExtract() local 112 Instruction* new_access_chain = ir_builder.AddAccessChain( in ReplaceExtract() 116 ir_builder.AddLoad(inst->type_id(), new_access_chain->result_id()); in ReplaceExtract()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | lower_vertex_id.cpp | 114 ir_builder::assign(VertexID, in visit() 115 ir_builder::add(gl_VertexID, gl_BaseVertex)); in visit()
|
D | ir_optimization.h | 133 namespace ir_builder { class ir_factory; }; 135 ir_variable *compare_index_block(ir_builder::ir_factory &body,
|
D | generate_ir.cpp | 27 using namespace ir_builder;
|
D | opt_flatten_nested_if_blocks.cpp | 45 using namespace ir_builder;
|
D | lower_subroutine.cpp | 35 using namespace ir_builder;
|
D | lower_vec_index_to_cond_assign.cpp | 46 using namespace ir_builder;
|
D | meson.build | 115 'ir_builder.cpp', 116 'ir_builder.h',
|
D | lower_vector_insert.cpp | 28 using namespace ir_builder;
|
D | lower_vector_derefs.cpp | 29 using namespace ir_builder;
|
D | lower_cs_derived.cpp | 48 using namespace ir_builder;
|
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
D | CMakeLists.txt | 64 ir_builder.cpp
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | CMakeLists.txt | 64 ir_builder.cpp
|
/third_party/spirv-tools/test/opt/ |
D | CMakeLists.txt | 61 ir_builder.cpp
|