Home
last modified time | relevance | path

Searched refs:rules_ (Results 1 – 19 of 19) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/opt/
Dconst_folding_rules.cpp788 rules_[SpvOpCompositeConstruct].push_back(FoldCompositeWithConstants()); in ConstantFoldingRules()
790 rules_[SpvOpCompositeExtract].push_back(FoldExtractWithConstants()); in ConstantFoldingRules()
792 rules_[SpvOpConvertFToS].push_back(FoldFToI()); in ConstantFoldingRules()
793 rules_[SpvOpConvertFToU].push_back(FoldFToI()); in ConstantFoldingRules()
794 rules_[SpvOpConvertSToF].push_back(FoldIToF()); in ConstantFoldingRules()
795 rules_[SpvOpConvertUToF].push_back(FoldIToF()); in ConstantFoldingRules()
797 rules_[SpvOpDot].push_back(FoldOpDotWithConstants()); in ConstantFoldingRules()
798 rules_[SpvOpFAdd].push_back(FoldFAdd()); in ConstantFoldingRules()
799 rules_[SpvOpFDiv].push_back(FoldFDiv()); in ConstantFoldingRules()
800 rules_[SpvOpFMul].push_back(FoldFMul()); in ConstantFoldingRules()
[all …]
Dconst_folding_rules.h60 bool HasFoldingRule(SpvOp opcode) const { return rules_.count(opcode); } in HasFoldingRule()
65 auto it = rules_.find(opcode); in GetRulesForOpcode()
66 if (it != rules_.end()) { in GetRulesForOpcode()
73 std::unordered_map<uint32_t, std::vector<ConstantFoldingRule>> rules_;
Dfolding_rules.cpp2177 rules_[SpvOpCompositeConstruct].push_back(CompositeExtractFeedingConstruct()); in FoldingRules()
2179 rules_[SpvOpCompositeExtract].push_back(InsertFeedingExtract()); in FoldingRules()
2180 rules_[SpvOpCompositeExtract].push_back(CompositeConstructFeedingExtract()); in FoldingRules()
2181 rules_[SpvOpCompositeExtract].push_back(VectorShuffleFeedingExtract()); in FoldingRules()
2182 rules_[SpvOpCompositeExtract].push_back(FMixFeedingExtract()); in FoldingRules()
2184 rules_[SpvOpDot].push_back(DotProductDoingExtract()); in FoldingRules()
2186 rules_[SpvOpExtInst].push_back(RedundantFMix()); in FoldingRules()
2188 rules_[SpvOpFAdd].push_back(RedundantFAdd()); in FoldingRules()
2189 rules_[SpvOpFAdd].push_back(MergeAddNegateArithmetic()); in FoldingRules()
2190 rules_[SpvOpFAdd].push_back(MergeAddAddArithmetic()); in FoldingRules()
[all …]
Dfolding_rules.h64 auto it = rules_.find(opcode); in GetRulesForOpcode()
65 if (it != rules_.end()) { in GetRulesForOpcode()
72 std::unordered_map<uint32_t, std::vector<FoldingRule>> rules_;
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconst_folding_rules.cpp788 rules_[SpvOpCompositeConstruct].push_back(FoldCompositeWithConstants()); in ConstantFoldingRules()
790 rules_[SpvOpCompositeExtract].push_back(FoldExtractWithConstants()); in ConstantFoldingRules()
792 rules_[SpvOpConvertFToS].push_back(FoldFToI()); in ConstantFoldingRules()
793 rules_[SpvOpConvertFToU].push_back(FoldFToI()); in ConstantFoldingRules()
794 rules_[SpvOpConvertSToF].push_back(FoldIToF()); in ConstantFoldingRules()
795 rules_[SpvOpConvertUToF].push_back(FoldIToF()); in ConstantFoldingRules()
797 rules_[SpvOpDot].push_back(FoldOpDotWithConstants()); in ConstantFoldingRules()
798 rules_[SpvOpFAdd].push_back(FoldFAdd()); in ConstantFoldingRules()
799 rules_[SpvOpFDiv].push_back(FoldFDiv()); in ConstantFoldingRules()
800 rules_[SpvOpFMul].push_back(FoldFMul()); in ConstantFoldingRules()
[all …]
Dconst_folding_rules.h60 bool HasFoldingRule(SpvOp opcode) const { return rules_.count(opcode); } in HasFoldingRule()
65 auto it = rules_.find(opcode); in GetRulesForOpcode()
66 if (it != rules_.end()) { in GetRulesForOpcode()
73 std::unordered_map<uint32_t, std::vector<ConstantFoldingRule>> rules_;
Dfolding_rules.cpp2177 rules_[SpvOpCompositeConstruct].push_back(CompositeExtractFeedingConstruct()); in FoldingRules()
2179 rules_[SpvOpCompositeExtract].push_back(InsertFeedingExtract()); in FoldingRules()
2180 rules_[SpvOpCompositeExtract].push_back(CompositeConstructFeedingExtract()); in FoldingRules()
2181 rules_[SpvOpCompositeExtract].push_back(VectorShuffleFeedingExtract()); in FoldingRules()
2182 rules_[SpvOpCompositeExtract].push_back(FMixFeedingExtract()); in FoldingRules()
2184 rules_[SpvOpDot].push_back(DotProductDoingExtract()); in FoldingRules()
2186 rules_[SpvOpExtInst].push_back(RedundantFMix()); in FoldingRules()
2188 rules_[SpvOpFAdd].push_back(RedundantFAdd()); in FoldingRules()
2189 rules_[SpvOpFAdd].push_back(MergeAddNegateArithmetic()); in FoldingRules()
2190 rules_[SpvOpFAdd].push_back(MergeAddAddArithmetic()); in FoldingRules()
[all …]
Dfolding_rules.h64 auto it = rules_.find(opcode); in GetRulesForOpcode()
65 if (it != rules_.end()) { in GetRulesForOpcode()
72 std::unordered_map<uint32_t, std::vector<FoldingRule>> rules_;
/external/webrtc/webrtc/base/
Dfirewallsocketserver.cc148 rules_.push_back(r); in AddRule()
153 rules_.clear(); in ClearRules()
160 for (size_t i = 0; i < rules_.size(); ++i) { in Check()
161 const Rule& r = rules_[i]; in Check()
Dfirewallsocketserver.h85 std::vector<Rule> rules_; variable
/external/v8/src/torque/
Dearley-parser.h183 bool IsTerminal() const { return rules_.empty(); } in IsTerminal()
184 Rule* rule(size_t index) const { return rules_[index].get(); } in rule()
185 size_t rule_number() const { return rules_.size(); } in rule_number()
188 rules_.push_back(base::make_unique<Rule>(rule)); in AddRule()
189 rules_.back()->SetLeftHandSide(this); in AddRule()
196 std::vector<std::unique_ptr<Rule>> rules_;
Dearley-parser.cc51 rules_.clear(); in operator =()
/external/libtextclassifier/annotator/datetime/
Dparser.cc62 rules_.push_back({std::move(regex_pattern), regex, pattern}); in DatetimeParser()
65 locale_to_rules_[locale].push_back(rules_.size() - 1); in DatetimeParser()
142 if ((rules_[rule_id].pattern->enabled_annotation_usecases() & in FindSpansUsingLocales()
147 if (!(rules_[rule_id].pattern->enabled_modes() & mode)) { in FindSpansUsingLocales()
153 if (!ParseWithRule(rules_[rule_id], input, reference_time_ms_utc, in FindSpansUsingLocales()
Dextractor.h59 rules_(extractor_rules), in DatetimeExtractor()
107 const std::vector<std::unique_ptr<const UniLib::RegexPattern>>& rules_; variable
Dextractor.cc173 rules_[rule_id]->Matcher(input); in ExtractType()
279 rules_[rule_id]->Matcher(input); in ParseWrittenNumber()
Dparser.h118 std::vector<CompiledRule> rules_; variable
/external/google-breakpad/src/common/dwarf/
Ddwarf2reader.cc1318 RuleMap rules_; member in dwarf2reader::CallFrameInfo::State
1338 cie_rules_ = rules_; in InterpretCIE()
1517 Rule *cfa_rule = rules_.CFARule(); in DoInstruction()
1551 rules_.SetCFARule(rule); in DoInstruction()
1647 saved_rules_.push(rules_); in DoInstruction()
1658 if (rules_.CFARule() && !new_rules.CFARule()) { in DoInstruction()
1663 rules_.HandleTransitionTo(handler_, address_, new_rules); in DoInstruction()
1664 rules_ = new_rules; in DoInstruction()
1710 rules_.SetCFARule(rule); in DoDefCFA()
1716 Rule *cfa_rule = rules_.CFARule(); in DoDefCFAOffset()
[all …]
/external/libtextclassifier/actions/
Dactions-suggestions.h269 std::vector<CompiledRule> rules_, low_confidence_rules_; variable
Dactions-suggestions.cc422 if (!InitializeRules(decompressor, model_->rules(), &rules_)) { in InitializeRules()
1219 for (const CompiledRule& rule : rules_) { in SuggestActionsFromRules()