Home
last modified time | relevance | path

Searched refs:ConstantFoldingRule (Results 1 – 6 of 6) sorted by relevance

/external/angle/third_party/spirv-tools/src/source/opt/
Dconst_folding_rules.h51 using ConstantFoldingRule = std::function<const analysis::Constant*( variable
75 std::vector<ConstantFoldingRule> value;
76 void push_back(ConstantFoldingRule rule) { value.push_back(rule); } in push_back()
89 const std::vector<ConstantFoldingRule>& GetRulesForInstruction( in GetRulesForInstruction()
124 std::vector<ConstantFoldingRule> empty_vector_;
Dconst_folding_rules.cpp37 ConstantFoldingRule FoldExtractWithConstants() { in FoldExtractWithConstants()
67 ConstantFoldingRule FoldVectorShuffleWithConstants() { in FoldVectorShuffleWithConstants()
123 ConstantFoldingRule FoldVectorTimesScalar() { in FoldVectorTimesScalar()
198 ConstantFoldingRule FoldCompositeWithConstants() { in FoldCompositeWithConstants()
255 ConstantFoldingRule FoldFPUnaryOp(UnaryScalarFoldingRule scalar_rule) { in FoldFPUnaryOp()
352 ConstantFoldingRule FoldFPBinaryOp(BinaryScalarFoldingRule scalar_rule) { in FoldFPBinaryOp()
484 ConstantFoldingRule FoldFToI() { return FoldFPUnaryOp(FoldFToIOp()); } in FoldFToI()
485 ConstantFoldingRule FoldIToF() { return FoldFPUnaryOp(FoldIToFOp()); } in FoldIToF()
486 ConstantFoldingRule FoldQuantizeToF16() { in FoldQuantizeToF16()
492 ConstantFoldingRule FoldFSub() { return FoldFPBinaryOp(FOLD_FPARITH_OP(-)); } in FoldFSub()
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dconst_folding_rules.h51 using ConstantFoldingRule = std::function<const analysis::Constant*( variable
75 std::vector<ConstantFoldingRule> value;
76 void push_back(ConstantFoldingRule rule) { value.push_back(rule); } in push_back()
89 const std::vector<ConstantFoldingRule>& GetRulesForInstruction( in GetRulesForInstruction()
124 std::vector<ConstantFoldingRule> empty_vector_;
Dconst_folding_rules.cpp37 ConstantFoldingRule FoldExtractWithConstants() { in FoldExtractWithConstants()
67 ConstantFoldingRule FoldVectorShuffleWithConstants() { in FoldVectorShuffleWithConstants()
123 ConstantFoldingRule FoldVectorTimesScalar() { in FoldVectorTimesScalar()
198 ConstantFoldingRule FoldCompositeWithConstants() { in FoldCompositeWithConstants()
255 ConstantFoldingRule FoldFPUnaryOp(UnaryScalarFoldingRule scalar_rule) { in FoldFPUnaryOp()
352 ConstantFoldingRule FoldFPBinaryOp(BinaryScalarFoldingRule scalar_rule) { in FoldFPBinaryOp()
484 ConstantFoldingRule FoldFToI() { return FoldFPUnaryOp(FoldFToIOp()); } in FoldFToI()
485 ConstantFoldingRule FoldIToF() { return FoldFPUnaryOp(FoldIToFOp()); } in FoldIToF()
486 ConstantFoldingRule FoldQuantizeToF16() { in FoldQuantizeToF16()
492 ConstantFoldingRule FoldFSub() { return FoldFPBinaryOp(FOLD_FPARITH_OP(-)); } in FoldFSub()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconst_folding_rules.h51 using ConstantFoldingRule = std::function<const analysis::Constant*( variable
75 std::vector<ConstantFoldingRule> value;
76 void push_back(ConstantFoldingRule rule) { value.push_back(rule); } in push_back()
89 const std::vector<ConstantFoldingRule>& GetRulesForInstruction( in GetRulesForInstruction()
124 std::vector<ConstantFoldingRule> empty_vector_;
Dconst_folding_rules.cpp37 ConstantFoldingRule FoldExtractWithConstants() { in FoldExtractWithConstants()
67 ConstantFoldingRule FoldVectorShuffleWithConstants() { in FoldVectorShuffleWithConstants()
123 ConstantFoldingRule FoldVectorTimesScalar() { in FoldVectorTimesScalar()
198 ConstantFoldingRule FoldCompositeWithConstants() { in FoldCompositeWithConstants()
255 ConstantFoldingRule FoldFPUnaryOp(UnaryScalarFoldingRule scalar_rule) { in FoldFPUnaryOp()
352 ConstantFoldingRule FoldFPBinaryOp(BinaryScalarFoldingRule scalar_rule) { in FoldFPBinaryOp()
484 ConstantFoldingRule FoldFToI() { return FoldFPUnaryOp(FoldFToIOp()); } in FoldFToI()
485 ConstantFoldingRule FoldIToF() { return FoldFPUnaryOp(FoldIToFOp()); } in FoldIToF()
486 ConstantFoldingRule FoldQuantizeToF16() { in FoldQuantizeToF16()
492 ConstantFoldingRule FoldFSub() { return FoldFPBinaryOp(FOLD_FPARITH_OP(-)); } in FoldFSub()
[all …]