Home
last modified time | relevance | path

Searched refs:inst_it (Results 1 – 25 of 75) sorted by relevance

123

/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_adjust_memory_operands_masks.cpp38 for (auto inst_it = block.cbegin(); inst_it != block.cend(); ++inst_it) { in Apply() local
39 if (!TransformationSetMemoryOperandsMask::IsMemoryAccess(*inst_it)) { in Apply()
49 switch (inst_it->opcode()) { in Apply()
73 *inst_it, mask_index); in Apply()
75 existing_mask_in_operand_index < inst_it->NumInOperands() in Apply()
76 ? inst_it->GetSingleWordInOperand( in Apply()
98 MakeInstructionDescriptor(block, inst_it), new_mask, mask_index); in Apply()
Dfuzzer_pass_add_stores.cpp34 opt::BasicBlock::iterator inst_it, in Apply()
37 assert(inst_it->opcode() == in Apply()
51 inst_it)) { in Apply()
55 inst_it)) { in Apply()
62 function, block, inst_it, in Apply()
108 function, block, inst_it, in Apply()
Dfuzzer_pass_add_loads.cpp34 opt::BasicBlock::iterator inst_it, in Apply()
37 assert(inst_it->opcode() == in Apply()
50 if (!fuzzerutil::CanInsertOpcodeBeforeInstruction(SpvOpLoad, inst_it)) { in Apply()
54 inst_it)) { in Apply()
60 function, block, inst_it, in Apply()
Dfuzzer_pass_copy_objects.cpp35 opt::BasicBlock::iterator inst_it, in Apply()
38 assert(inst_it->opcode() == in Apply()
52 inst_it)) { in Apply()
63 function, block, inst_it, in Apply()
Dfuzzer_pass.cpp59 const opt::BasicBlock::iterator& inst_it, in FindAvailableInstructions() argument
83 for (auto prev_inst_it = block->begin(); prev_inst_it != inst_it; in FindAvailableInstructions()
109 void(opt::BasicBlock* block, opt::BasicBlock::iterator inst_it, in ForEachInstructionWithInstructionDescriptor() argument
146 for (auto inst_it = block->begin(); inst_it != block->end(); ++inst_it) { in ForEachInstructionWithInstructionDescriptor() local
147 if (inst_it->HasResultId()) { in ForEachInstructionWithInstructionDescriptor()
151 base = inst_it->result_id(); in ForEachInstructionWithInstructionDescriptor()
154 const SpvOp opcode = inst_it->opcode(); in ForEachInstructionWithInstructionDescriptor()
157 action(block, inst_it, in ForEachInstructionWithInstructionDescriptor()
162 if (!inst_it->HasResultId()) { in ForEachInstructionWithInstructionDescriptor()
173 opt::BasicBlock::iterator inst_it, in ForEachInstructionWithInstructionDescriptor() argument
[all …]
Dinstruction_descriptor.cpp66 const opt::BasicBlock::const_iterator& inst_it) { in MakeInstructionDescriptor() argument
68 inst_it->opcode(); // The opcode of the instruction being described. in MakeInstructionDescriptor()
74 for (opt::BasicBlock::const_iterator backwards_iterator = inst_it;; in MakeInstructionDescriptor()
82 if (backwards_iterator != inst_it && in MakeInstructionDescriptor()
Dfuzzer_pass_mutate_pointers.cpp35 opt::BasicBlock::iterator inst_it, in Apply()
42 if (!fuzzerutil::CanInsertOpcodeBeforeInstruction(SpvOpLoad, inst_it)) { in Apply()
47 function, block, inst_it, in Apply()
Dfuzzer_pass_add_copy_memory.cpp36 opt::BasicBlock::iterator inst_it, in Apply()
40 inst_it)) { in Apply()
52 function, block, inst_it, in Apply()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_adjust_memory_operands_masks.cpp38 for (auto inst_it = block.cbegin(); inst_it != block.cend(); ++inst_it) { in Apply() local
39 if (!TransformationSetMemoryOperandsMask::IsMemoryAccess(*inst_it)) { in Apply()
49 switch (inst_it->opcode()) { in Apply()
73 *inst_it, mask_index); in Apply()
75 existing_mask_in_operand_index < inst_it->NumInOperands() in Apply()
76 ? inst_it->GetSingleWordInOperand( in Apply()
100 MakeInstructionDescriptor(block, inst_it), new_mask, mask_index); in Apply()
Dfuzzer_pass_add_stores.cpp34 opt::BasicBlock::iterator inst_it, in Apply()
38 inst_it->opcode() == in Apply()
52 inst_it)) { in Apply()
56 spv::Op::OpAtomicStore, inst_it)) { in Apply()
63 function, block, inst_it, in Apply()
109 function, block, inst_it, in Apply()
Dfuzzer_pass_add_loads.cpp34 opt::BasicBlock::iterator inst_it, in Apply()
38 inst_it->opcode() == in Apply()
52 inst_it)) { in Apply()
56 inst_it)) { in Apply()
62 function, block, inst_it, in Apply()
Dfuzzer_pass_copy_objects.cpp35 opt::BasicBlock::iterator inst_it, in Apply()
39 inst_it->opcode() == in Apply()
53 inst_it)) { in Apply()
64 function, block, inst_it, in Apply()
Dinstruction_descriptor.cpp67 const opt::BasicBlock::const_iterator& inst_it) { in MakeInstructionDescriptor() argument
69 inst_it->opcode(); // The opcode of the instruction being described. in MakeInstructionDescriptor()
75 for (opt::BasicBlock::const_iterator backwards_iterator = inst_it;; in MakeInstructionDescriptor()
83 if (backwards_iterator != inst_it && in MakeInstructionDescriptor()
Dfuzzer_pass.cpp59 const opt::BasicBlock::iterator& inst_it, in FindAvailableInstructions() argument
83 for (auto prev_inst_it = block->begin(); prev_inst_it != inst_it; in FindAvailableInstructions()
109 void(opt::BasicBlock* block, opt::BasicBlock::iterator inst_it, in ForEachInstructionWithInstructionDescriptor() argument
147 for (auto inst_it = block->begin(); inst_it != block->end(); ++inst_it) { in ForEachInstructionWithInstructionDescriptor() local
148 if (inst_it->HasResultId()) { in ForEachInstructionWithInstructionDescriptor()
152 base = inst_it->result_id(); in ForEachInstructionWithInstructionDescriptor()
155 const spv::Op opcode = inst_it->opcode(); in ForEachInstructionWithInstructionDescriptor()
158 action(block, inst_it, in ForEachInstructionWithInstructionDescriptor()
163 if (!inst_it->HasResultId()) { in ForEachInstructionWithInstructionDescriptor()
174 opt::BasicBlock::iterator inst_it, in ForEachInstructionWithInstructionDescriptor() argument
[all …]
Dfuzzer_pass_mutate_pointers.cpp35 opt::BasicBlock::iterator inst_it, in Apply()
43 inst_it)) { in Apply()
48 function, block, inst_it, in Apply()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dfuzzer_pass_adjust_memory_operands_masks.cpp38 for (auto inst_it = block.cbegin(); inst_it != block.cend(); ++inst_it) { in Apply() local
39 if (!TransformationSetMemoryOperandsMask::IsMemoryAccess(*inst_it)) { in Apply()
49 switch (inst_it->opcode()) { in Apply()
73 *inst_it, mask_index); in Apply()
75 existing_mask_in_operand_index < inst_it->NumInOperands() in Apply()
76 ? inst_it->GetSingleWordInOperand( in Apply()
100 MakeInstructionDescriptor(block, inst_it), new_mask, mask_index); in Apply()
Dfuzzer_pass_add_stores.cpp34 opt::BasicBlock::iterator inst_it, in Apply()
38 inst_it->opcode() == in Apply()
52 inst_it)) { in Apply()
56 spv::Op::OpAtomicStore, inst_it)) { in Apply()
63 function, block, inst_it, in Apply()
109 function, block, inst_it, in Apply()
Dfuzzer_pass_add_loads.cpp34 opt::BasicBlock::iterator inst_it, in Apply()
38 inst_it->opcode() == in Apply()
52 inst_it)) { in Apply()
56 inst_it)) { in Apply()
62 function, block, inst_it, in Apply()
Dfuzzer_pass_copy_objects.cpp35 opt::BasicBlock::iterator inst_it, in Apply()
39 inst_it->opcode() == in Apply()
53 inst_it)) { in Apply()
64 function, block, inst_it, in Apply()
Dinstruction_descriptor.cpp67 const opt::BasicBlock::const_iterator& inst_it) { in MakeInstructionDescriptor() argument
69 inst_it->opcode(); // The opcode of the instruction being described. in MakeInstructionDescriptor()
75 for (opt::BasicBlock::const_iterator backwards_iterator = inst_it;; in MakeInstructionDescriptor()
83 if (backwards_iterator != inst_it && in MakeInstructionDescriptor()
Dfuzzer_pass.cpp59 const opt::BasicBlock::iterator& inst_it, in FindAvailableInstructions() argument
83 for (auto prev_inst_it = block->begin(); prev_inst_it != inst_it; in FindAvailableInstructions()
109 void(opt::BasicBlock* block, opt::BasicBlock::iterator inst_it, in ForEachInstructionWithInstructionDescriptor() argument
147 for (auto inst_it = block->begin(); inst_it != block->end(); ++inst_it) { in ForEachInstructionWithInstructionDescriptor() local
148 if (inst_it->HasResultId()) { in ForEachInstructionWithInstructionDescriptor()
152 base = inst_it->result_id(); in ForEachInstructionWithInstructionDescriptor()
155 const spv::Op opcode = inst_it->opcode(); in ForEachInstructionWithInstructionDescriptor()
158 action(block, inst_it, in ForEachInstructionWithInstructionDescriptor()
163 if (!inst_it->HasResultId()) { in ForEachInstructionWithInstructionDescriptor()
174 opt::BasicBlock::iterator inst_it, in ForEachInstructionWithInstructionDescriptor() argument
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dbfloat16_propagation.cc70 for (auto inst_it = insts.rbegin(); inst_it != insts.rend(); ++inst_it) { in DetermineFusionComputationPrecision() local
71 DetermineInstructionPrecision(*inst_it, /*skip_parameters=*/false); in DetermineFusionComputationPrecision()
190 for (auto inst_it = body_insts.rbegin(); inst_it != body_insts.rend(); in DetermineWhileComputationsPrecision() local
191 ++inst_it) { in DetermineWhileComputationsPrecision()
192 DetermineInstructionPrecision(*inst_it, /*skip_parameters=*/false); in DetermineWhileComputationsPrecision()
197 for (auto inst_it = condition_insts.rbegin(); in DetermineWhileComputationsPrecision() local
198 inst_it != condition_insts.rend(); ++inst_it) { in DetermineWhileComputationsPrecision()
199 DetermineInstructionPrecision(*inst_it, /*skip_parameters=*/false); in DetermineWhileComputationsPrecision()
224 for (auto inst_it = insts.rbegin(); inst_it != insts.rend(); ++inst_it) { in DetermineConditionalComputationsPrecision() local
225 DetermineInstructionPrecision(*inst_it, /*skip_parameters=*/false); in DetermineConditionalComputationsPrecision()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/fuzz/
Dinstruction_descriptor_test.cpp63 for (auto inst_it = block.cbegin(); inst_it != block.cend(); ++inst_it) { in TEST() local
64 ASSERT_EQ(&*inst_it, in TEST()
65 FindInstruction(MakeInstructionDescriptor(block, inst_it), in TEST()
/external/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dinstruction_descriptor_test.cpp63 for (auto inst_it = block.cbegin(); inst_it != block.cend(); ++inst_it) { in TEST() local
64 ASSERT_EQ(&*inst_it, in TEST()
65 FindInstruction(MakeInstructionDescriptor(block, inst_it), in TEST()
/external/deqp-deps/SPIRV-Tools/test/fuzz/
Dinstruction_descriptor_test.cpp63 for (auto inst_it = block.cbegin(); inst_it != block.cend(); ++inst_it) { in TEST() local
64 ASSERT_EQ(&*inst_it, in TEST()
65 FindInstruction(MakeInstructionDescriptor(block, inst_it), in TEST()

123