• Home
  • Raw
  • Download

Lines Matching refs:uint32_t

26 const uint32_t kIdBoundLimit = 50000;
27 const uint32_t kTransformationLimit = 2000;
31 const std::pair<uint32_t, uint32_t>
33 const std::pair<uint32_t, uint32_t> kChanceOfAddingAccessChain = {5, 50};
34 const std::pair<uint32_t, uint32_t> kChanceOfAddingAnotherPassToPassLoop = {50,
36 const std::pair<uint32_t, uint32_t> kChanceOfAddingAnotherStructField = {20,
38 const std::pair<uint32_t, uint32_t> kChanceOfAddingArrayOrStructType = {20, 90};
39 const std::pair<uint32_t, uint32_t> kChanceOfAddingBitInstructionSynonym = {5,
41 const std::pair<uint32_t, uint32_t>
43 const std::pair<uint32_t, uint32_t> kChanceOfAddingCompositeExtract = {20, 50};
44 const std::pair<uint32_t, uint32_t> kChanceOfAddingCompositeInsert = {20, 50};
45 const std::pair<uint32_t, uint32_t> kChanceOfAddingCopyMemory = {20, 50};
46 const std::pair<uint32_t, uint32_t> kChanceOfAddingDeadBlock = {20, 90};
47 const std::pair<uint32_t, uint32_t> kChanceOfAddingDeadBreak = {5, 80};
48 const std::pair<uint32_t, uint32_t> kChanceOfAddingDeadContinue = {5, 80};
49 const std::pair<uint32_t, uint32_t> kChanceOfAddingEquationInstruction = {5,
51 const std::pair<uint32_t, uint32_t> kChanceOfAddingGlobalVariable = {20, 90};
52 const std::pair<uint32_t, uint32_t> kChanceOfAddingImageSampleUnusedComponents =
54 const std::pair<uint32_t, uint32_t> kChanceOfAddingLoad = {5, 50};
55 const std::pair<uint32_t, uint32_t> kChanceOfAddingLocalVariable = {20, 90};
56 const std::pair<uint32_t, uint32_t> kChanceOfAddingLoopPreheader = {20, 90};
57 const std::pair<uint32_t, uint32_t> kChanceOfAddingMatrixType = {20, 70};
58 const std::pair<uint32_t, uint32_t> kChanceOfAddingNoContractionDecoration = {
60 const std::pair<uint32_t, uint32_t> kChanceOfAddingOpPhiSynonym = {5, 70};
61 const std::pair<uint32_t, uint32_t> kChanceOfAddingParameters = {5, 70};
62 const std::pair<uint32_t, uint32_t> kChanceOfAddingRelaxedDecoration = {20, 90};
63 const std::pair<uint32_t, uint32_t> kChanceOfAddingStore = {5, 50};
64 const std::pair<uint32_t, uint32_t> kChanceOfAddingSynonyms = {20, 50};
65 const std::pair<uint32_t, uint32_t>
67 const std::pair<uint32_t, uint32_t> kChanceOfAddingVectorType = {20, 70};
68 const std::pair<uint32_t, uint32_t> kChanceOfAddingVectorShuffle = {20, 70};
69 const std::pair<uint32_t, uint32_t> kChanceOfAdjustingBranchWeights = {20, 90};
70 const std::pair<uint32_t, uint32_t> kChanceOfAdjustingFunctionControl = {20,
72 const std::pair<uint32_t, uint32_t> kChanceOfAdjustingLoopControl = {20, 90};
73 const std::pair<uint32_t, uint32_t> kChanceOfAdjustingMemoryOperandsMask = {20,
75 const std::pair<uint32_t, uint32_t> kChanceOfAdjustingSelectionControl = {20,
77 const std::pair<uint32_t, uint32_t> kChanceOfCallingFunction = {1, 10};
78 const std::pair<uint32_t, uint32_t> kChanceOfChoosingStructTypeVsArrayType = {
80 const std::pair<uint32_t, uint32_t> kChanceOfChoosingWorkgroupStorageClass = {
82 const std::pair<uint32_t, uint32_t> kChanceOfConstructingComposite = {20, 50};
83 const std::pair<uint32_t, uint32_t> kChanceOfCopyingObject = {20, 50};
84 const std::pair<uint32_t, uint32_t> kChanceOfCreatingIntSynonymsUsingLoops = {
86 const std::pair<uint32_t, uint32_t> kChanceOfDonatingAdditionalModule = {5, 50};
87 const std::pair<uint32_t, uint32_t> kChanceOfDuplicatingRegionWithSelection = {
89 const std::pair<uint32_t, uint32_t> kChanceOfExpandingVectorReduction = {20,
91 const std::pair<uint32_t, uint32_t> kChanceOfFlatteningConditionalBranch = {45,
93 const std::pair<uint32_t, uint32_t> kChanceOfGoingDeeperToExtractComposite = {
95 const std::pair<uint32_t, uint32_t> kChanceOfGoingDeeperToInsertInComposite = {
97 const std::pair<uint32_t, uint32_t> kChanceOfGoingDeeperWhenMakingAccessChain =
99 const std::pair<uint32_t, uint32_t>
101 const std::pair<uint32_t, uint32_t> kChanceOfInliningFunction = {10, 90};
102 const std::pair<uint32_t, uint32_t> kChanceOfInterchangingZeroLikeConstants = {
104 const std::pair<uint32_t, uint32_t>
106 const std::pair<uint32_t, uint32_t> kChanceOfInvertingComparisonOperators = {
108 const std::pair<uint32_t, uint32_t> kChanceOfMakingDonorLivesafe = {40, 60};
109 const std::pair<uint32_t, uint32_t> kChanceOfMakingVectorOperationDynamic = {
111 const std::pair<uint32_t, uint32_t> kChanceOfMergingBlocks = {20, 95};
112 const std::pair<uint32_t, uint32_t> kChanceOfMergingFunctionReturns = {20, 90};
113 const std::pair<uint32_t, uint32_t> kChanceOfMovingBlockDown = {20, 50};
114 const std::pair<uint32_t, uint32_t> kChanceOfMutatingPointer = {20, 90};
115 const std::pair<uint32_t, uint32_t> kChanceOfObfuscatingConstant = {10, 90};
116 const std::pair<uint32_t, uint32_t> kChanceOfOutliningFunction = {10, 90};
117 const std::pair<uint32_t, uint32_t> kChanceOfPermutingInstructions = {20, 70};
118 const std::pair<uint32_t, uint32_t> kChanceOfPermutingParameters = {30, 90};
119 const std::pair<uint32_t, uint32_t> kChanceOfPermutingPhiOperands = {30, 90};
120 const std::pair<uint32_t, uint32_t> kChanceOfPropagatingInstructionsDown = {20,
122 const std::pair<uint32_t, uint32_t> kChanceOfPropagatingInstructionsUp = {20,
124 const std::pair<uint32_t, uint32_t> kChanceOfPushingIdThroughVariable = {5, 50};
125 const std::pair<uint32_t, uint32_t>
127 const std::pair<uint32_t, uint32_t>
129 const std::pair<uint32_t, uint32_t> kChanceOfReplacingCopyMemoryWithLoadStore =
131 const std::pair<uint32_t, uint32_t> kChanceOfReplacingCopyObjectWithStoreLoad =
133 const std::pair<uint32_t, uint32_t> kChanceOfReplacingIdWithSynonym = {10, 90};
134 const std::pair<uint32_t, uint32_t> kChanceOfReplacingIrrelevantId = {35, 95};
135 const std::pair<uint32_t, uint32_t>
137 const std::pair<uint32_t, uint32_t> kChanceOfReplacingLoadStoreWithCopyMemory =
139 const std::pair<uint32_t, uint32_t>
141 const std::pair<uint32_t, uint32_t>
143 const std::pair<uint32_t, uint32_t> kChanceOfReplacingParametersWithGlobals = {
145 const std::pair<uint32_t, uint32_t> kChanceOfReplacingParametersWithStruct = {
147 const std::pair<uint32_t, uint32_t> kChanceOfSplittingBlock = {40, 95};
148 const std::pair<uint32_t, uint32_t> kChanceOfSwappingConditionalBranchOperands =
150 const std::pair<uint32_t, uint32_t> kChanceOfTogglingAccessChainInstruction = {
152 const std::pair<uint32_t, uint32_t> kChanceOfWrappingRegionInSelection = {70,
157 const uint32_t kDefaultMaxEquivalenceClassSizeForDataSynonymFactClosure = 1000;
158 const uint32_t kDefaultMaxLoopControlPartialCount = 100;
159 const uint32_t kDefaultMaxLoopControlPeelCount = 100;
160 const uint32_t kDefaultMaxLoopLimit = 20;
161 const uint32_t kDefaultMaxNewArraySizeLimit = 100;
164 const uint32_t kDefaultMaxNumberOfFunctionParameters = 128;
165 const uint32_t kDefaultMaxNumberOfNewParameters = 15;
166 const uint32_t kGetDefaultMaxNumberOfParametersReplacedWithStruct = 5;
171 const std::function<bool(uint32_t, RandomGenerator*)>
173 [](uint32_t current_depth, RandomGenerator* random_generator) -> bool { in __anonc55fc2c40202()
181 uint32_t min_fresh_id) in FuzzerContext()
358 uint32_t FuzzerContext::GetFreshId() { return next_fresh_id_++; } in GetFreshId()
360 std::vector<uint32_t> FuzzerContext::GetFreshIds(const uint32_t count) { in GetFreshIds()
361 std::vector<uint32_t> fresh_ids(count); in GetFreshIds()
363 for (uint32_t& fresh_id : fresh_ids) { in GetFreshIds()
372 bool FuzzerContext::ChoosePercentage(uint32_t percentage_chance) { in ChoosePercentage()
377 uint32_t FuzzerContext::ChooseBetweenMinAndMax( in ChooseBetweenMinAndMax()
378 const std::pair<uint32_t, uint32_t>& min_max) { in ChooseBetweenMinAndMax() argument
388 {0, static_cast<uint32_t>( in GetRandomSynonymType()
400 uint32_t FuzzerContext::GetIdBoundLimit() const { return kIdBoundLimit; } in GetIdBoundLimit()
402 uint32_t FuzzerContext::GetTransformationLimit() const { in GetTransformationLimit()