Home
last modified time | relevance | path

Searched refs:unscale (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/src/Renderer/
DBlitter.cpp1083 float4 scale, unscale; in ApplyScaleAndClamp() local
1093 unscale = replicate(static_cast<float>(0x7FFFFFFF)); in ApplyScaleAndClamp()
1096 unscale = replicate(static_cast<float>(0xFFFFFFFF)); in ApplyScaleAndClamp()
1102 else if(!GetScale(unscale, state.sourceFormat)) in ApplyScaleAndClamp()
1118 … Float4(1.0f / unscale.x, 1.0f / unscale.y, 1.0f / unscale.z, 1.0f / unscale.w); // Apply unscale in ApplyScaleAndClamp()
1122 else if(unscale != scale) in ApplyScaleAndClamp()
1124 …value *= Float4(scale.x / unscale.x, scale.y / unscale.y, scale.z / unscale.z, scale.w / unscale.w… in ApplyScaleAndClamp()
/external/swiftshader/src/Device/
DBlitter.cpp1341 float4 scale{}, unscale{}; in ApplyScaleAndClamp() local
1352 unscale = float4(static_cast<float>(0x7FFFFFFF)); in ApplyScaleAndClamp()
1355 unscale = float4(static_cast<float>(0xFFFFFFFF)); in ApplyScaleAndClamp()
1363 unscale = state.sourceFormat.getScale(); in ApplyScaleAndClamp()
1374 … Float4(1.0f / unscale.x, 1.0f / unscale.y, 1.0f / unscale.z, 1.0f / unscale.w); // Apply unscale in ApplyScaleAndClamp()
1378 else if(unscale != scale) in ApplyScaleAndClamp()
1380 …value *= Float4(scale.x / unscale.x, scale.y / unscale.y, scale.z / unscale.z, scale.w / unscale.w… in ApplyScaleAndClamp()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp289 bool unscale();
416 bool Formula::unscale() { in unscale() function in Formula
3324 Base.unscale(); in GenerateCombinations()
3535 if (Base.Scale != 0 && !Base.unscale()) in GenerateScales()
3738 F.unscale(); in GenerateCrossUseConstantOffsets()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp374 bool unscale();
534 bool Formula::unscale() { in unscale() function in Formula
3690 Base.unscale(); in GenerateCombinations()
3970 if (Base.Scale != 0 && !Base.unscale()) in GenerateScales()
4207 F.unscale(); in GenerateCrossUseConstantOffsets()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp370 bool unscale();
530 bool Formula::unscale() { in unscale() function in Formula
3689 Base.unscale(); in GenerateCombinations()
3965 if (Base.Scale != 0 && !Base.unscale()) in GenerateScales()
4202 F.unscale(); in GenerateCrossUseConstantOffsets()