Home
last modified time | relevance | path

Searched refs:FromBits (Results 1 – 18 of 18) sorted by relevance

/external/v8/src/wasm/baseline/
Dliftoff-register.h276 return FromBits(regs_ & ~mask.regs_); in MaskOut()
279 static LiftoffRegList FromBits(storage_t bits) { in FromBits() function
285 static constexpr LiftoffRegList FromBits() { in FromBits() function
309 LiftoffRegList::FromBits<LiftoffRegList::kGpMask>();
311 LiftoffRegList::FromBits<LiftoffRegList::kFpMask>();
/external/v8/src/
Dboxed-float.h45 static constexpr Float32 FromBits(uint32_t bits) { return Float32(bits); } in FromBits() function
84 static constexpr Float64 FromBits(uint64_t bits) { return Float64(bits); } in FromBits() function
Dcode-stubs.h614 FromBits::encode(from_kind) | ToBits::encode(to_kind) | in ElementsTransitionAndStoreStub()
618 ElementsKind from_kind() const { return FromBits::decode(minor_key_); } in from_kind()
626 class FromBits
Ddeoptimizer.cc2607 return Float32::FromBits(GetUInt32Slot(fp, slot_offset)); in GetFloatSlot()
2609 return Float32::FromBits(Memory<uint32_t>(fp + slot_offset)); in GetFloatSlot()
2614 return Float64::FromBits(Memory<uint64_t>(fp + slot_offset)); in GetDoubleSlot()
/external/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)); }
245 AI SkNx operator==(const SkNx& y) const { return FromBits(fVal == y.fVal ? ~0 : 0); }
246 AI SkNx operator!=(const SkNx& y) const { return FromBits(fVal != y.fVal ? ~0 : 0); }
247 AI SkNx operator<=(const SkNx& y) const { return FromBits(fVal <= y.fVal ? ~0 : 0); }
248 AI SkNx operator>=(const SkNx& y) const { return FromBits(fVal >= y.fVal ? ~0 : 0); }
249 AI SkNx operator< (const SkNx& y) const { return FromBits(fVal < y.fVal ? ~0 : 0); }
250 AI SkNx operator> (const SkNx& y) const { return FromBits(fVal > y.fVal ? ~0 : 0); }
[all …]
/external/skqp/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)); }
245 AI SkNx operator==(const SkNx& y) const { return FromBits(fVal == y.fVal ? ~0 : 0); }
246 AI SkNx operator!=(const SkNx& y) const { return FromBits(fVal != y.fVal ? ~0 : 0); }
247 AI SkNx operator<=(const SkNx& y) const { return FromBits(fVal <= y.fVal ? ~0 : 0); }
248 AI SkNx operator>=(const SkNx& y) const { return FromBits(fVal >= y.fVal ? ~0 : 0); }
249 AI SkNx operator< (const SkNx& y) const { return FromBits(fVal < y.fVal ? ~0 : 0); }
250 AI SkNx operator> (const SkNx& y) const { return FromBits(fVal > y.fVal ? ~0 : 0); }
[all …]
/external/v8/src/arm/
Dconstants-arm.cc28 return Float64::FromBits(imm); in DoubleImmedVmov()
Dsimulator-arm.cc1887 constexpr Float32 kDefaultNaN = Float32::FromBits(0x7FC00000u); in canonicalizeNaN()
1905 Float64::FromBits(uint64_t{0x7FF8000000000000}); in canonicalizeNaN()
3171 Float64 dd = Float64::FromBits(dm.get_bits() & ~kSignBit64); in DecodeTypeVFP()
3177 Float32 sd = Float32::FromBits(sm.get_bits() & ~kSignBit32); in DecodeTypeVFP()
3186 Float64 dd = Float64::FromBits(dm.get_bits() ^ kSignBit64); in DecodeTypeVFP()
3192 Float32 sd = Float32::FromBits(sm.get_bits() ^ kSignBit32); in DecodeTypeVFP()
/external/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp179 bool isValueExtension(const SDValue &Val, unsigned FromBits, SDValue &Src);
1455 unsigned FromBits, SDValue &Src) { in isValueExtension() argument
1463 if (T.isInteger() && T.getSizeInBits() == FromBits) { in isValueExtension()
1474 if (T->getVT().getSizeInBits() == FromBits) { in isValueExtension()
1482 uint64_t FromMask = (1 << FromBits) - 1; in isValueExtension()
1500 uint64_t FromMask = (1 << FromBits) - 1; in isValueExtension()
/external/v8/src/wasm/
Dwasm-interpreter.cc320 return Float32::FromBits((a.get_bits() & ~kFloat32SignBitMask) | in ExecuteF32CopySign()
333 return Float64::FromBits((a.get_bits() & ~kFloat64SignBitMask) | in ExecuteF64CopySign()
410 return Float32::FromBits(a.get_bits() & ~kFloat32SignBitMask); in ExecuteF32Abs()
414 return Float32::FromBits(a.get_bits() ^ kFloat32SignBitMask); in ExecuteF32Neg()
433 return Float64::FromBits(a.get_bits() & ~kFloat64SignBitMask); in ExecuteF64Abs()
437 return Float64::FromBits(a.get_bits() ^ kFloat64SignBitMask); in ExecuteF64Neg()
591 return Float32::FromBits(a); in ExecuteF32ReinterpretI32()
616 return Float64::FromBits(a); in ExecuteF64ReinterpretI64()
1047 Float64 operator()(uint64_t val) const { return Float64::FromBits(val); } in operator ()()
1051 Float32 operator()(uint32_t val) const { return Float32::FromBits(val); } in operator ()()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLocal.cpp1840 uint64_t FromBits = FromTy->getPrimitiveSizeInBits(); in replaceAllDbgUsesWith() local
1842 assert(FromBits != ToBits && "Unexpected no-op conversion"); in replaceAllDbgUsesWith()
1846 if (FromBits < ToBits) in replaceAllDbgUsesWith()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp537 unsigned FromBits = FromType->getPrimitiveSizeInBits(); in isTruncateFree() local
539 return FromBits > ToBits; in isTruncateFree()
545 unsigned FromBits = FromVT.getSizeInBits(); in isTruncateFree() local
547 return FromBits > ToBits; in isTruncateFree()
4415 unsigned FromBits = InVT.getVectorElementType().getSizeInBits(); in lowerExtendVectorInreg() local
4417 FromBits *= 2; in lowerExtendVectorInreg()
4418 EVT OutVT = MVT::getVectorVT(MVT::getIntegerVT(FromBits), in lowerExtendVectorInreg()
4419 SystemZ::VectorBits / FromBits); in lowerExtendVectorInreg()
4421 } while (FromBits != ToBits); in lowerExtendVectorInreg()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp727 unsigned FromBits = FromType->getPrimitiveSizeInBits(); in isTruncateFree() local
729 return FromBits > ToBits; in isTruncateFree()
735 unsigned FromBits = FromVT.getSizeInBits(); in isTruncateFree() local
737 return FromBits > ToBits; in isTruncateFree()
4704 unsigned FromBits = InVT.getScalarSizeInBits(); in lowerExtendVectorInreg() local
4706 FromBits *= 2; in lowerExtendVectorInreg()
4707 EVT OutVT = MVT::getVectorVT(MVT::getIntegerVT(FromBits), in lowerExtendVectorInreg()
4708 SystemZ::VectorBits / FromBits); in lowerExtendVectorInreg()
4710 } while (FromBits != ToBits); in lowerExtendVectorInreg()
/external/v8/src/compiler/arm/
Dcode-generator-arm.cc2558 Float32::FromBits(four_lanes)); in AssembleArchInstruction()
3294 Float32::FromBits(src.ToFloat32AsInt())); in AssembleMove()
3322 __ vmov(temp, Float32::FromBits(src.ToFloat32AsInt())); in AssembleMove()
/external/v8/src/wasm/baseline/ia32/
Dliftoff-assembler-ia32.h46 LiftoffRegList::FromBits<Register::ListOf<eax, ecx, edx, ebx>()>();
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2843 unsigned FromBits = EVT.getScalarType().getSizeInBits(); in getNode() local
2844 Val <<= Val.getBitWidth()-FromBits; in getNode()
2845 Val = Val.ashr(Val.getBitWidth()-FromBits); in getNode()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp3645 unsigned FromBits = EVT.getScalarType().getSizeInBits(); in getNode() local
3646 Val <<= Val.getBitWidth() - FromBits; in getNode()
3647 Val = Val.ashr(Val.getBitWidth() - FromBits); in getNode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp4577 unsigned FromBits = EVT.getScalarSizeInBits(); in getNode() local
4578 Val <<= Val.getBitWidth() - FromBits; in getNode()
4579 Val.ashrInPlace(Val.getBitWidth() - FromBits); in getNode()