| 772 | } |
| 773 | |
| 774 | bool Instruction::IsFoldable() const { |
| 775 | return IsFoldableByFoldScalar() || IsFoldableByFoldVector() || |
| 776 | context()->get_instruction_folder().HasConstFoldingRule(this); |
| 777 | } |
| 778 | |
| 779 | bool Instruction::IsFoldableByFoldScalar() const { |
| 780 | const InstructionFolder& folder = context()->get_instruction_folder(); |
no test coverage detected