Searched refs:ConstantFoldingRule (Results 1 – 6 of 6) sorted by relevance
51 using ConstantFoldingRule = std::function<const analysis::Constant*( variable75 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_;
37 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 …]