Searched refs:FoldFPBinaryOp (Results 1 – 2 of 2) sorted by relevance
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | const_folding_rules.cpp | 301 ConstantFoldingRule FoldFPBinaryOp(BinaryScalarFoldingRule scalar_rule) { in FoldFPBinaryOp() function 444 ConstantFoldingRule FoldFSub() { return FoldFPBinaryOp(FOLD_FPARITH_OP(-)); } in FoldFSub() 445 ConstantFoldingRule FoldFAdd() { return FoldFPBinaryOp(FOLD_FPARITH_OP(+)); } in FoldFAdd() 446 ConstantFoldingRule FoldFMul() { return FoldFPBinaryOp(FOLD_FPARITH_OP(*)); } in FoldFMul() 447 ConstantFoldingRule FoldFDiv() { return FoldFPBinaryOp(FOLD_FPARITH_OP(/)); } in FoldFDiv() 492 return FoldFPBinaryOp(FOLD_FPCMP_OP(==, true)); in FoldFOrdEqual() 495 return FoldFPBinaryOp(FOLD_FPCMP_OP(==, false)); in FoldFUnordEqual() 498 return FoldFPBinaryOp(FOLD_FPCMP_OP(!=, true)); in FoldFOrdNotEqual() 501 return FoldFPBinaryOp(FOLD_FPCMP_OP(!=, false)); in FoldFUnordNotEqual() 504 return FoldFPBinaryOp(FOLD_FPCMP_OP(<, true)); in FoldFOrdLessThan() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | const_folding_rules.cpp | 301 ConstantFoldingRule FoldFPBinaryOp(BinaryScalarFoldingRule scalar_rule) { in FoldFPBinaryOp() function 444 ConstantFoldingRule FoldFSub() { return FoldFPBinaryOp(FOLD_FPARITH_OP(-)); } in FoldFSub() 445 ConstantFoldingRule FoldFAdd() { return FoldFPBinaryOp(FOLD_FPARITH_OP(+)); } in FoldFAdd() 446 ConstantFoldingRule FoldFMul() { return FoldFPBinaryOp(FOLD_FPARITH_OP(*)); } in FoldFMul() 447 ConstantFoldingRule FoldFDiv() { return FoldFPBinaryOp(FOLD_FPARITH_OP(/)); } in FoldFDiv() 492 return FoldFPBinaryOp(FOLD_FPCMP_OP(==, true)); in FoldFOrdEqual() 495 return FoldFPBinaryOp(FOLD_FPCMP_OP(==, false)); in FoldFUnordEqual() 498 return FoldFPBinaryOp(FOLD_FPCMP_OP(!=, true)); in FoldFOrdNotEqual() 501 return FoldFPBinaryOp(FOLD_FPCMP_OP(!=, false)); in FoldFUnordNotEqual() 504 return FoldFPBinaryOp(FOLD_FPCMP_OP(<, true)); in FoldFOrdLessThan() [all …]
|