MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / FoldFDiv

Function FoldFDiv

source/opt/const_folding_rules.cpp:1076–1076  ·  view source on GitHub ↗

Returns the constant folding rule to fold |OpFDiv| with two constants.

Source from the content-addressed store, hash-verified

1074
1075// Returns the constant folding rule to fold |OpFDiv| with two constants.
1076ConstantFoldingRule FoldFDiv() { return FoldFPBinaryOp(FoldScalarFPDivide); }
1077
1078// Get a singular uniform value, which is repeated when the |type| is a vector.
1079const analysis::Constant* GetConstantUniformValue(

Callers 1

AddFoldingRulesMethod · 0.85

Calls 1

FoldFPBinaryOpFunction · 0.85

Tested by

no test coverage detected