Home
last modified time | relevance | path

Searched refs:ToBits (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/include/private/
DSkNx.h227 AI SkNx operator~() const { return FromBits(~ToBits(fVal)); }
237 AI SkNx operator&(const SkNx& y) const { return FromBits(ToBits(fVal) & ToBits(y.fVal)); }
238 AI SkNx operator|(const SkNx& y) const { return FromBits(ToBits(fVal) | ToBits(y.fVal)); }
239 AI SkNx operator^(const SkNx& y) const { return FromBits(ToBits(fVal) ^ ToBits(y.fVal)); }
279 AI static U ToBits(U v) { return v; }
280 AI static int32_t ToBits(float v) { int32_t bits; memcpy(&bits, &v, sizeof(v)); return bits; }
281 AI static int64_t ToBits(double v) { int64_t bits; memcpy(&bits, &v, sizeof(v)); return bits; }
/third_party/flutter/skia/include/private/
DSkNx.h231 AI SkNx operator~() const { return FromBits(~ToBits(fVal)); }
241 AI SkNx operator&(const SkNx& y) const { return FromBits(ToBits(fVal) & ToBits(y.fVal)); }
242 AI SkNx operator|(const SkNx& y) const { return FromBits(ToBits(fVal) | ToBits(y.fVal)); }
243 AI SkNx operator^(const SkNx& y) const { return FromBits(ToBits(fVal) ^ ToBits(y.fVal)); }
283 AI static U ToBits(U v) { return v; }
284 AI static int32_t ToBits(float v) { int32_t bits; memcpy(&bits, &v, sizeof(v)); return bits; }
285 AI static int64_t ToBits(double v) { int64_t bits; memcpy(&bits, &v, sizeof(v)); return bits; }
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLocal.cpp1865 uint64_t ToBits = ToTy->getPrimitiveSizeInBits(); in replaceAllDbgUsesWith() local
1866 assert(FromBits != ToBits && "Unexpected no-op conversion"); in replaceAllDbgUsesWith()
1870 if (FromBits < ToBits) in replaceAllDbgUsesWith()
1884 return DIExpression::appendExt(DII.getExpression(), ToBits, FromBits, in replaceAllDbgUsesWith()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp966 unsigned ToBits = ToType->getPrimitiveSizeInBits(); in isTruncateFree() local
967 return FromBits > ToBits; in isTruncateFree()
974 unsigned ToBits = ToVT.getSizeInBits(); in isTruncateFree() local
975 return FromBits > ToBits; in isTruncateFree()
5022 unsigned ToBits = OutVT.getScalarSizeInBits(); in lowerExtendVectorInreg() local
5029 } while (FromBits != ToBits); in lowerExtendVectorInreg()