Home
last modified time | relevance | path

Searched refs:Mutation (Results 1 – 25 of 36) sorted by relevance

12

/external/libprotobuf-mutator/src/
Dmutator.cc48 enum class Mutation : uint8_t { enum
59 using MutationBitset = std::bitset<static_cast<size_t>(Mutation::Last) + 1>;
193 Mutation mutation() const { return sampler_.selected().mutation; } in mutation()
197 assert(mutation() != Mutation::None || in Sample()
198 !allowed_mutations_[static_cast<size_t>(Mutation::Mutate)] || in Sample()
220 Try({message, add_field}, Mutation::Add); in SampleImpl()
221 Try({message, add_field}, Mutation::Clone); in SampleImpl()
228 Try({message, current_field}, Mutation::Mutate); in SampleImpl()
229 Try({message, current_field}, Mutation::Delete); in SampleImpl()
230 Try({message, current_field}, Mutation::Copy); in SampleImpl()
[all …]
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerInfo.h342 LegalizeMutation Mutation; variable
346 LegalizeMutation Mutation = nullptr)
347 : Predicate(Predicate), Action(Action), Mutation(Mutation) {} in Predicate()
358 if (Mutation) in determineMutation()
359 return Mutation(Query); in determineMutation()
430 LegalizeMutation Mutation) { in actionIf() argument
431 add({Predicate, Action, Mutation}); in actionIf()
445 LegalizeMutation Mutation) { in actionFor() argument
447 return actionIf(Action, typeInSet(typeIdx(0), Types), Mutation); in actionFor()
462 LegalizeMutation Mutation) { in actionFor() argument
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerInfo.h296 LegalizeMutation Mutation; variable
300 LegalizeMutation Mutation = nullptr)
301 : Predicate(Predicate), Action(Action), Mutation(Mutation) {} in Predicate()
312 if (Mutation) in determineMutation()
313 return Mutation(Query); in determineMutation()
384 LegalizeMutation Mutation) { in actionIf() argument
385 add({Predicate, Action, Mutation}); in actionIf()
399 LegalizeMutation Mutation) { in actionFor() argument
401 return actionIf(Action, typeInSet(typeIdx(0), Types), Mutation); in actionFor()
416 LegalizeMutation Mutation) { in actionFor() argument
[all …]
/external/tensorflow/tensorflow/core/grappler/utils/
Dgraph_view.h132 class Mutation; variable
166 friend class Mutation; variable
199 friend class Mutation; variable
243 friend class Mutation; variable
251 explicit MutationNewNode(Mutation* mutation, int mutation_counter, int index) in MutationNewNode()
256 Mutation* mutation_ = nullptr;
260 friend class Mutation; variable
268 class Mutation {
351 explicit Mutation(MutableGraphView* graph_view);
388 Mutation* GetMutationBuilder();
[all …]
Dgraph_view.cc223 Mutation::Mutation(MutableGraphView* graph_view) : graph_view_(graph_view) {} in Mutation() function in tensorflow::grappler::utils::Mutation
225 MutationNewNode Mutation::AddNode(NodeDef&& node, Status* status) { in AddNode()
264 void Mutation::AddMutation( in AddMutation()
280 void Mutation::RemoveNode(MutableNodeView* node) { in RemoveNode()
295 void Mutation::UpdateNodeName(MutableNodeView* node, absl::string_view name) { in UpdateNodeName()
301 void Mutation::UpdateNodeName(const MutationNewNode& node, in UpdateNodeName()
307 void Mutation::UpdateNodeOp(MutableNodeView* node, absl::string_view op) { in UpdateNodeOp()
313 void Mutation::UpdateNodeOp(const MutationNewNode& node, absl::string_view op) { in UpdateNodeOp()
318 void Mutation::UpdateNodeDevice(MutableNodeView* node, in UpdateNodeDevice()
325 void Mutation::UpdateNodeDevice(const MutationNewNode& node, in UpdateNodeDevice()
[all …]
Dgraph_view_test.cc977 Mutation* mutation = graph_view.GetMutationBuilder(); in TEST_F()
1014 Mutation* mutation = graph_view.GetMutationBuilder(); in TEST_F()
1036 Mutation* mutation = graph_view.GetMutationBuilder(); in TEST_F()
1062 Mutation* mutation = graph_view.GetMutationBuilder(); in TEST_F()
1083 Mutation* mutation = graph_view.GetMutationBuilder(); in TEST_F()
1105 Mutation* mutation = graph_view.GetMutationBuilder(); in TEST_F()
1131 Mutation* mutation = graph_view.GetMutationBuilder(); in TEST_F()
1157 Mutation* mutation = graph_view.GetMutationBuilder(); in TEST_F()
1183 Mutation* mutation = graph_view.GetMutationBuilder(); in TEST_F()
1214 Mutation* mutation = graph_view.GetMutationBuilder(); in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerInfo.cpp103 const std::pair<unsigned, LLT> &Mutation) { in hasNoSimpleLoops() argument
111 return Q.Types[Mutation.first] != Mutation.second; in hasNoSimpleLoops()
119 std::pair<unsigned, LLT> Mutation) { in mutationIsSane() argument
125 const unsigned TypeIdx = Mutation.first; in mutationIsSane()
127 const LLT NewTy = Mutation.second; in mutationIsSane()
192 std::pair<unsigned, LLT> Mutation = Rule.determineMutation(Query); in apply() local
194 << Mutation.first << ", " << Mutation.second << "\n"); in apply()
195 assert(mutationIsSane(Rule, Query, Mutation) && in apply()
197 assert(hasNoSimpleLoops(Rule, Query, Mutation) && "Simple loop detected"); in apply()
198 return {Rule.getAction(), Mutation.first, Mutation.second}; in apply()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalizerInfo.cpp106 const std::pair<unsigned, LLT> &Mutation) { in hasNoSimpleLoops() argument
115 return Q.Types[Mutation.first] != Mutation.second; in hasNoSimpleLoops()
123 std::pair<unsigned, LLT> Mutation) { in mutationIsSane() argument
129 const unsigned TypeIdx = Mutation.first; in mutationIsSane()
131 const LLT NewTy = Mutation.second; in mutationIsSane()
200 std::pair<unsigned, LLT> Mutation = Rule.determineMutation(Query); in apply() local
202 << Mutation.first << ", " << Mutation.second << "\n"); in apply()
203 assert(mutationIsSane(Rule, Query, Mutation) && in apply()
205 assert(hasNoSimpleLoops(Rule, Query, Mutation) && "Simple loop detected"); in apply()
206 return {Rule.getAction(), Mutation.first, Mutation.second}; in apply()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DDFAPacketizer.cpp119 void addMutation(std::unique_ptr<ScheduleDAGMutation> Mutation) { in addMutation() argument
120 Mutations.push_back(std::move(Mutation)); in addMutation()
316 std::unique_ptr<ScheduleDAGMutation> Mutation) { in addMutation() argument
317 VLIWScheduler->addMutation(std::move(Mutation)); in addMutation()
/external/llvm/lib/CodeGen/
DDFAPacketizer.cpp171 void addMutation(std::unique_ptr<ScheduleDAGMutation> Mutation) { in addMutation() argument
172 Mutations.push_back(std::move(Mutation)); in addMutation()
323 std::unique_ptr<ScheduleDAGMutation> Mutation) { in addMutation() argument
324 VLIWScheduler->addMutation(std::move(Mutation)); in addMutation()
/external/llvm-project/llvm/lib/CodeGen/
DDFAPacketizer.cpp119 void addMutation(std::unique_ptr<ScheduleDAGMutation> Mutation) { in addMutation() argument
120 Mutations.push_back(std::move(Mutation)); in addMutation()
316 std::unique_ptr<ScheduleDAGMutation> Mutation) { in addMutation() argument
317 VLIWScheduler->addMutation(std::move(Mutation)); in addMutation()
/external/protobuf/objectivec/Tests/
DGPBWellKnownTypesTest.m85 // Test Mutation - date.
99 // Test Mutation - timeIntervalSince1970.
140 // Test Mutation.
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dgeneric_layout_optimizer.cc230 utils::Mutation* mutation = graph_view->GetMutationBuilder(); in EraseCancellableNodes()
276 utils::Mutation* mutation = graph_view->GetMutationBuilder(); in EraseCancellableNodesAroundPad()
384 utils::Mutation* mutation = graph_view->GetMutationBuilder(); in EraseOutputShapeAttrs()
Dremapper.cc1092 utils::Mutation* mutation = ctx->graph_view.GetMutationBuilder(); in IsCpuCompatibleDataType()
1141 utils::Mutation* mutation = ctx->graph_view.GetMutationBuilder(); in IsCpuCompatibleDataType()
1188 utils::Mutation* mutation = ctx->graph_view.GetMutationBuilder(); in IsCpuCompatibleDataType()
1229 utils::Mutation* mutation = ctx->graph_view.GetMutationBuilder(); in IsCpuCompatibleDataType()
1272 utils::Mutation* mutation = ctx->graph_view.GetMutationBuilder(); in IsCpuCompatibleDataType()
1321 utils::Mutation* mutation = ctx->graph_view.GetMutationBuilder(); in IsCpuCompatibleDataType()
1360 utils::Mutation* mutation = ctx->graph_view.GetMutationBuilder(); in IsCpuCompatibleDataType()
1427 utils::Mutation* mutation = ctx->graph_view.GetMutationBuilder(); in IsCpuCompatibleDataType()
1456 utils::Mutation* mutation = ctx->graph_view.GetMutationBuilder(); in IsCpuCompatibleDataType()
1929 utils::Mutation* mutation = ctx.graph_view.GetMutationBuilder(); in IsCpuCompatibleDataType()
/external/llvm/include/llvm/CodeGen/
DDFAPacketizer.h205 void addMutation(std::unique_ptr<ScheduleDAGMutation> Mutation);
DMachineScheduler.h280 void addMutation(std::unique_ptr<ScheduleDAGMutation> Mutation) { in addMutation() argument
281 Mutations.push_back(std::move(Mutation)); in addMutation()
/external/openscreen/util/
Dflat_map_unittest.cc70 TEST(FlatMapTest, Mutation) { in TEST() argument
/external/llvm-project/llvm/include/llvm/CodeGen/
DDFAPacketizer.h188 void addMutation(std::unique_ptr<ScheduleDAGMutation> Mutation);
DMachineScheduler.h317 void addMutation(std::unique_ptr<ScheduleDAGMutation> Mutation) { in addMutation() argument
318 if (Mutation) in addMutation()
319 Mutations.push_back(std::move(Mutation)); in addMutation()
DMachinePipeliner.h272 void addMutation(std::unique_ptr<ScheduleDAGMutation> Mutation) { in addMutation() argument
273 Mutations.push_back(std::move(Mutation)); in addMutation()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DDFAPacketizer.h188 void addMutation(std::unique_ptr<ScheduleDAGMutation> Mutation);
DMachineScheduler.h314 void addMutation(std::unique_ptr<ScheduleDAGMutation> Mutation) { in addMutation() argument
315 if (Mutation) in addMutation()
316 Mutations.push_back(std::move(Mutation)); in addMutation()
DMachinePipeliner.h278 void addMutation(std::unique_ptr<ScheduleDAGMutation> Mutation) { in addMutation() argument
279 Mutations.push_back(std::move(Mutation)); in addMutation()
/external/llvm-project/llvm/docs/
DHowToUpdateDebugInfo.rst214 Mutation testing for IR-level transformations
322 :ref:`Mutation testing for MIR-level transformations<MIRDebugify>`.
338 Mutation testing for MIR-level transformations
342 :ref:`Mutation testing for IR-level transformations<IRDebugify>` can be used
/external/llvm-project/llvm/test/CodeGen/PowerPC/
Dppc-passname.ll53 ; STOP-BEFORE-VSX-FMA-MUTATE-NOT: PowerPC VSX FMA Mutation
58 ; STOP-AFTER-VSX-FMA-MUTATE: PowerPC VSX FMA Mutation

12