Searched refs:cmp_opcode (Results 1 – 2 of 2) sorted by relevance
625 ConstantFoldingRule FoldFClampFeedingCompare(uint32_t cmp_opcode) { in FoldFClampFeedingCompare() argument626 return [cmp_opcode](IRContext* context, Instruction* inst, in FoldFClampFeedingCompare()676 switch (cmp_opcode) { in FoldFClampFeedingCompare()686 result = (cmp_opcode == SpvOpFOrdLessThan || in FoldFClampFeedingCompare()687 cmp_opcode == SpvOpFUnordLessThan); in FoldFClampFeedingCompare()694 result = !(cmp_opcode == SpvOpFOrdLessThan || in FoldFClampFeedingCompare()695 cmp_opcode == SpvOpFUnordLessThan); in FoldFClampFeedingCompare()705 result = (cmp_opcode == SpvOpFOrdLessThan || in FoldFClampFeedingCompare()706 cmp_opcode == SpvOpFUnordLessThan); in FoldFClampFeedingCompare()714 result = !(cmp_opcode == SpvOpFOrdLessThan || in FoldFClampFeedingCompare()[all …]