Home
last modified time | relevance | path

Searched refs:constVal (Results 1 – 3 of 3) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/opt/
Dstrength_reduction_pass.cpp34 uint32_t CountTrailingZeros(uint32_t constVal) { in CountTrailingZeros() argument
38 while ((constVal & 1) == 0) { in CountTrailingZeros()
40 constVal = (constVal >> 1); in CountTrailingZeros()
89 uint32_t constVal = opInst->GetSingleWordOperand(2); in ReplaceMultiplyByPowerOf2() local
91 if (IsPowerOf2(constVal)) { in ReplaceMultiplyByPowerOf2()
93 uint32_t shiftAmount = CountTrailingZeros(constVal); in ReplaceMultiplyByPowerOf2()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dstrength_reduction_pass.cpp34 uint32_t CountTrailingZeros(uint32_t constVal) { in CountTrailingZeros() argument
38 while ((constVal & 1) == 0) { in CountTrailingZeros()
40 constVal = (constVal >> 1); in CountTrailingZeros()
89 uint32_t constVal = opInst->GetSingleWordOperand(2); in ReplaceMultiplyByPowerOf2() local
91 if (IsPowerOf2(constVal)) { in ReplaceMultiplyByPowerOf2()
93 uint32_t shiftAmount = CountTrailingZeros(constVal); in ReplaceMultiplyByPowerOf2()
/external/deqp-deps/glslang/glslang/MachineIndependent/
Dattribute.cpp88 …const TConstUnion* constVal = &args->getSequence()[argNum]->getAsConstantUnion()->getConstArray()[… in getConstUnion() local
89 if (constVal == nullptr || constVal->getType() != basicType) in getConstUnion()
92 return constVal; in getConstUnion()