Searched refs:ToBits (Results 1 – 6 of 6) sorted by relevance
/external/skia/include/private/ |
D | SkNx.h | 231 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; }
|
/external/skqp/include/private/ |
D | SkNx.h | 231 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; }
|
/external/v8/src/ |
D | code-stubs.h | 614 FromBits::encode(from_kind) | ToBits::encode(to_kind) | in ElementsTransitionAndStoreStub() 619 ElementsKind to_kind() const { return ToBits::decode(minor_key_); } in to_kind() 628 class ToBits : public BitField<ElementsKind, 11, 8> {};
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 1841 uint64_t ToBits = ToTy->getPrimitiveSizeInBits(); in replaceAllDbgUsesWith() local 1842 assert(FromBits != ToBits && "Unexpected no-op conversion"); in replaceAllDbgUsesWith() 1846 if (FromBits < ToBits) in replaceAllDbgUsesWith() 1870 (ToBits - 1), dwarf::DW_OP_shr, in replaceAllDbgUsesWith()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 538 unsigned ToBits = ToType->getPrimitiveSizeInBits(); in isTruncateFree() local 539 return FromBits > ToBits; in isTruncateFree() 546 unsigned ToBits = ToVT.getSizeInBits(); in isTruncateFree() local 547 return FromBits > ToBits; in isTruncateFree() 4414 unsigned ToBits = OutVT.getVectorElementType().getSizeInBits(); in lowerExtendVectorInreg() local 4421 } while (FromBits != ToBits); in lowerExtendVectorInreg()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 728 unsigned ToBits = ToType->getPrimitiveSizeInBits(); in isTruncateFree() local 729 return FromBits > ToBits; in isTruncateFree() 736 unsigned ToBits = ToVT.getSizeInBits(); in isTruncateFree() local 737 return FromBits > ToBits; in isTruncateFree() 4703 unsigned ToBits = OutVT.getScalarSizeInBits(); in lowerExtendVectorInreg() local 4710 } while (FromBits != ToBits); in lowerExtendVectorInreg()
|