Home
last modified time | relevance | path

Searched refs:IsPow2 (Results 1 – 13 of 13) sorted by relevance

/external/mesa3d/src/amd/addrlib/core/
Daddrcommon.h305 static inline UINT_32 IsPow2( in IsPow2() function
320 static inline UINT_64 IsPow2( in IsPow2() function
342 ADDR_ASSERT(IsPow2(align)); in PowTwoAlign()
361 ADDR_ASSERT(IsPow2(align)); in PowTwoAlign()
489 ADDR_ASSERT(IsPow2(x)); in Log2()
Daddrlib1.cpp3297 if (IsPow2(pitchAlign)) in PadDimensions()
3310 if (IsPow2(heightAlign)) in PadDimensions()
/external/deqp-deps/glslang/glslang/Include/
DCommon.h266 template <class T> bool IsPow2(T powerOf2)
278 assert(IsPow2(powerOf2));
284 assert(IsPow2(powerOf2));
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dutils.h159 static bool IsPow2(T value)
172 SWR_ASSERT(IsPow2(alignment));
206 if (IsPow2(alignment)) { return AlignDownPow2(value, alignment); }
/external/swiftshader/third_party/LLVM/lib/MC/MCParser/
DAsmParser.cpp218 bool ParseDirectiveAlign(bool IsPow2, unsigned ValueSize);
1104 bool IsPow2 = !getContext().getAsmInfo().getAlignmentIsInBytes(); in ParseStatement() local
1105 return ParseDirectiveAlign(IsPow2, /*ExprSize=*/1); in ParseStatement()
1108 bool IsPow2 = !getContext().getAsmInfo().getAlignmentIsInBytes(); in ParseStatement() local
1109 return ParseDirectiveAlign(IsPow2, /*ExprSize=*/4); in ParseStatement()
1943 bool AsmParser::ParseDirectiveAlign(bool IsPow2, unsigned ValueSize) { in ParseDirectiveAlign() argument
1989 if (IsPow2) { in ParseDirectiveAlign()
/external/mesa3d/src/amd/addrlib/r800/
Dciaddrlib.cpp229 ADDR_ASSERT(IsPow2(fastClearBaseAlign)); in HwlComputeDccInfo()
249 ADDR_ASSERT(IsPow2(pOut->dccRamBaseAlign)); in HwlComputeDccInfo()
2112 ADDR_ASSERT(IsPow2(dccFastClearByteAlign)); in HwlPadDimensions()
2140 if (IsPow2(dccFastClearPitchAlignInPixels)) in HwlPadDimensions()
Degbaddrlib.cpp295 if (IsPow2(pOut->pitchAlign)) in ComputeSurfaceInfoLinear()
312 if (IsPow2(pOut->heightAlign)) in ComputeSurfaceInfoLinear()
Dsiaddrlib.cpp1725 ADDR_ASSERT(IsPow2(expPitch)); in HwlPreHandleBaseLvl3xPitch()
2718 ((pIn->basePitch != 0) && IsPow2(pIn->basePitch))); in HwlComputeMipLevel()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/
DAsmParser.cpp532 bool parseDirectiveAlign(bool IsPow2, unsigned ValueSize);
1927 bool IsPow2 = !getContext().getAsmInfo()->getAlignmentIsInBytes(); in parseStatement() local
1928 return parseDirectiveAlign(IsPow2, /*ExprSize=*/1); in parseStatement()
1931 bool IsPow2 = !getContext().getAsmInfo()->getAlignmentIsInBytes(); in parseStatement() local
1932 return parseDirectiveAlign(IsPow2, /*ExprSize=*/4); in parseStatement()
3189 bool AsmParser::parseDirectiveAlign(bool IsPow2, unsigned ValueSize) { in parseDirectiveAlign() argument
3220 if (IsPow2 && (ValueSize == 1) && getTok().is(AsmToken::EndOfStatement)) { in parseDirectiveAlign()
3231 if (IsPow2) { in parseDirectiveAlign()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp433 bool parseDirectiveAlign(bool IsPow2, unsigned ValueSize);
1665 bool IsPow2 = !getContext().getAsmInfo()->getAlignmentIsInBytes(); in parseStatement() local
1666 return parseDirectiveAlign(IsPow2, /*ExprSize=*/1); in parseStatement()
1669 bool IsPow2 = !getContext().getAsmInfo()->getAlignmentIsInBytes(); in parseStatement() local
1670 return parseDirectiveAlign(IsPow2, /*ExprSize=*/4); in parseStatement()
2912 bool AsmParser::parseDirectiveAlign(bool IsPow2, unsigned ValueSize) { in parseDirectiveAlign() argument
2958 if (IsPow2) { in parseDirectiveAlign()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DParseHelper.cpp1625 …if (!IsPow2(semantics & (gl_SemanticsAcquire | gl_SemanticsRelease | gl_SemanticsAcquireRelease)))… in memorySemanticsCheck()
1631 …if (!IsPow2(semantics & (gl_SemanticsAcquire | gl_SemanticsRelease | gl_SemanticsAcquireRelease)))… in memorySemanticsCheck()
1637 …if (!IsPow2(semantics2 & (gl_SemanticsAcquire | gl_SemanticsRelease | gl_SemanticsAcquireRelease))… in memorySemanticsCheck()
2020 else if (!IsPow2(size)) in builtInOpCheck()
4942 if (! IsPow2(value)) in setLayoutQualifier()
5062 if (! IsPow2(value)) in setLayoutQualifier()
/external/mesa3d/src/amd/addrlib/gfx9/
Dgfx9addrlib.cpp3441 if (IsPow2(clientPreferredSwSet.value)) in HwlGetPreferredSurfaceSetting()
/external/deqp-deps/glslang/hlsl/
DhlslParseHelper.cpp7027 if (! IsPow2(value)) in setLayoutQualifier()