Home
last modified time | relevance | path

Searched refs:cmp_opcode (Results 1 – 2 of 2) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/opt/
Dconst_folding_rules.cpp625 ConstantFoldingRule FoldFClampFeedingCompare(uint32_t cmp_opcode) { in FoldFClampFeedingCompare() argument
626 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 …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconst_folding_rules.cpp625 ConstantFoldingRule FoldFClampFeedingCompare(uint32_t cmp_opcode) { in FoldFClampFeedingCompare() argument
626 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 …]