Searched refs:FoldingRule (Results 1 – 6 of 6) sorted by relevance
55 using FoldingRule = std::function<bool( variable63 const std::vector<FoldingRule>& GetRulesForOpcode(SpvOp opcode) const { in GetRulesForOpcode()72 std::unordered_map<uint32_t, std::vector<FoldingRule>> rules_;73 std::vector<FoldingRule> empty_vector_;
202 FoldingRule ReciprocalFDiv() { in ReciprocalFDiv()246 FoldingRule MergeNegateArithmetic() { in MergeNegateArithmetic()280 FoldingRule MergeNegateMulDivArithmetic() { in MergeNegateMulDivArithmetic()338 FoldingRule MergeNegateAddSubArithmetic() { in MergeNegateAddSubArithmetic()570 FoldingRule MergeMulMulArithmetic() { in MergeMulMulArithmetic()622 FoldingRule MergeMulDivArithmetic() { in MergeMulDivArithmetic()696 FoldingRule MergeMulNegateArithmetic() { in MergeMulNegateArithmetic()736 FoldingRule MergeDivDivArithmetic() { in MergeDivDivArithmetic()807 FoldingRule MergeDivMulArithmetic() { in MergeDivMulArithmetic()879 FoldingRule MergeDivNegateArithmetic() { in MergeDivNegateArithmetic()[all …]
243 for (const FoldingRule& rule : GetFoldingRules().GetRulesForOpcode(opcode)) { in FoldInstructionInternal()
225 for (const FoldingRule& rule : GetFoldingRules().GetRulesForOpcode(opcode)) { in FoldInstructionInternal()