Home
last modified time | relevance | path

Searched refs:shiftAmount (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dstrength_reduction_pass.cpp37 uint32_t shiftAmount = 0; in CountTrailingZeros() local
39 ++shiftAmount; in CountTrailingZeros()
42 return shiftAmount; in CountTrailingZeros()
93 uint32_t shiftAmount = CountTrailingZeros(constVal); in ReplaceMultiplyByPowerOf2() local
94 uint32_t shiftConstResultId = GetConstantId(shiftAmount); in ReplaceMultiplyByPowerOf2()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dstrength_reduction_pass.cpp37 uint32_t shiftAmount = 0; in CountTrailingZeros() local
39 ++shiftAmount; in CountTrailingZeros()
42 return shiftAmount; in CountTrailingZeros()
93 uint32_t shiftAmount = CountTrailingZeros(constVal); in ReplaceMultiplyByPowerOf2() local
94 uint32_t shiftConstResultId = GetConstantId(shiftAmount); in ReplaceMultiplyByPowerOf2()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dstrength_reduction_pass.cpp37 uint32_t shiftAmount = 0; in CountTrailingZeros() local
39 ++shiftAmount; in CountTrailingZeros()
42 return shiftAmount; in CountTrailingZeros()
93 uint32_t shiftAmount = CountTrailingZeros(constVal); in ReplaceMultiplyByPowerOf2() local
94 uint32_t shiftConstResultId = GetConstantId(shiftAmount); in ReplaceMultiplyByPowerOf2()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DBnMath.c494 uint32_t shiftAmount in BnShiftRight() argument
497 uint32_t offset = (shiftAmount >> RADIX_LOG2); in BnShiftRight()
502 shiftAmount = shiftAmount & RADIX_MASK; in BnShiftRight()
503 shiftIn = RADIX_BITS - shiftAmount; in BnShiftRight()
510 finalSize -= (toShift->d[toShift->size - 1] >> shiftAmount) == 0 ? 1 : 0; in BnShiftRight()
520 result->d[i] = (toShift->d[i + offset] >> shiftAmount) in BnShiftRight()
524 result->d[i] = toShift->d[i] >> shiftAmount; in BnShiftRight()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DBnMath_fp.h198 uint32_t shiftAmount
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1201 uint64_t shiftAmount = Src2.AggregateVal[i].IntVal.getZExtValue(); in visitShl() local
1203 Result.IntVal = valueToShift.shl(getShiftAmount(shiftAmount, valueToShift)); in visitShl()
1208 uint64_t shiftAmount = Src2.IntVal.getZExtValue(); in visitShl() local
1210 Dest.IntVal = valueToShift.shl(getShiftAmount(shiftAmount, valueToShift)); in visitShl()
1228 uint64_t shiftAmount = Src2.AggregateVal[i].IntVal.getZExtValue(); in visitLShr() local
1230 Result.IntVal = valueToShift.lshr(getShiftAmount(shiftAmount, valueToShift)); in visitLShr()
1235 uint64_t shiftAmount = Src2.IntVal.getZExtValue(); in visitLShr() local
1237 Dest.IntVal = valueToShift.lshr(getShiftAmount(shiftAmount, valueToShift)); in visitLShr()
1255 uint64_t shiftAmount = Src2.AggregateVal[i].IntVal.getZExtValue(); in visitAShr() local
1257 Result.IntVal = valueToShift.ashr(getShiftAmount(shiftAmount, valueToShift)); in visitAShr()
[all …]
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1149 uint64_t shiftAmount = Src2.AggregateVal[i].IntVal.getZExtValue(); in visitShl() local
1151 Result.IntVal = valueToShift.shl(getShiftAmount(shiftAmount, valueToShift)); in visitShl()
1156 uint64_t shiftAmount = Src2.IntVal.getZExtValue(); in visitShl() local
1158 Dest.IntVal = valueToShift.shl(getShiftAmount(shiftAmount, valueToShift)); in visitShl()
1176 uint64_t shiftAmount = Src2.AggregateVal[i].IntVal.getZExtValue(); in visitLShr() local
1178 Result.IntVal = valueToShift.lshr(getShiftAmount(shiftAmount, valueToShift)); in visitLShr()
1183 uint64_t shiftAmount = Src2.IntVal.getZExtValue(); in visitLShr() local
1185 Dest.IntVal = valueToShift.lshr(getShiftAmount(shiftAmount, valueToShift)); in visitLShr()
1203 uint64_t shiftAmount = Src2.AggregateVal[i].IntVal.getZExtValue(); in visitAShr() local
1205 Result.IntVal = valueToShift.ashr(getShiftAmount(shiftAmount, valueToShift)); in visitAShr()
[all …]
/external/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1198 uint64_t shiftAmount = Src2.AggregateVal[i].IntVal.getZExtValue(); in visitShl() local
1200 Result.IntVal = valueToShift.shl(getShiftAmount(shiftAmount, valueToShift)); in visitShl()
1205 uint64_t shiftAmount = Src2.IntVal.getZExtValue(); in visitShl() local
1207 Dest.IntVal = valueToShift.shl(getShiftAmount(shiftAmount, valueToShift)); in visitShl()
1225 uint64_t shiftAmount = Src2.AggregateVal[i].IntVal.getZExtValue(); in visitLShr() local
1227 Result.IntVal = valueToShift.lshr(getShiftAmount(shiftAmount, valueToShift)); in visitLShr()
1232 uint64_t shiftAmount = Src2.IntVal.getZExtValue(); in visitLShr() local
1234 Dest.IntVal = valueToShift.lshr(getShiftAmount(shiftAmount, valueToShift)); in visitLShr()
1252 uint64_t shiftAmount = Src2.AggregateVal[i].IntVal.getZExtValue(); in visitAShr() local
1254 Result.IntVal = valueToShift.ashr(getShiftAmount(shiftAmount, valueToShift)); in visitAShr()
[all …]
/external/deqp/framework/common/
DtcuAstcUtil.cpp945 const int shiftAmount = (mode >> 1) ^ 3; in decodeHDREndpointMode11() local
946 a <<= shiftAmount; in decodeHDREndpointMode11()
947 c <<= shiftAmount; in decodeHDREndpointMode11()
948 b0 <<= shiftAmount; in decodeHDREndpointMode11()
949 b1 <<= shiftAmount; in decodeHDREndpointMode11()
950 d0 <<= shiftAmount; in decodeHDREndpointMode11()
951 d1 <<= shiftAmount; in decodeHDREndpointMode11()