Home
last modified time | relevance | path

Searched refs:FromType (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/
Dtest_cast_main.cpp96 template <typename FromType>
97 void testValue(FromType Val, size_t &TotalTests, size_t &Passes, in testValue()
99 COMPARE(cast, FromType, bool, Val, FromTypeString); in testValue()
100 COMPARE(cast, FromType, uint8_t, Val, FromTypeString); in testValue()
101 COMPARE(cast, FromType, myint8_t, Val, FromTypeString); in testValue()
102 COMPARE(cast, FromType, uint16_t, Val, FromTypeString); in testValue()
103 COMPARE(cast, FromType, int16_t, Val, FromTypeString); in testValue()
104 COMPARE(cast, FromType, uint32_t, Val, FromTypeString); in testValue()
105 COMPARE(cast, FromType, int32_t, Val, FromTypeString); in testValue()
106 COMPARE(cast, FromType, uint64, Val, FromTypeString); in testValue()
[all …]
Dtest_cast.h22 template <typename FromType, typename ToType> ToType cast(FromType a);
23 template <typename FromType, typename ToType> ToType castBits(FromType a);
29 template <typename FromType, typename ToType>
30 ToType cast(int i, FromType a, int j);
31 template <typename FromType, typename ToType>
32 ToType castBits(int i, FromType a, int j);
Dtest_cast.cpp21 template <typename FromType, typename ToType>
22 ToType __attribute__((noinline)) cast(FromType a) { in cast()
26 template <typename FromType, typename ToType>
27 ToType __attribute__((noinline)) castBits(FromType a) { in castBits()
31 template <typename FromType, typename ToType>
32 ToType __attribute__((noinline)) cast(int i, FromType a, int j) { in cast()
38 template <typename FromType, typename ToType>
39 ToType __attribute__((noinline)) castBits(int i, FromType a, int j) { in castBits()
/third_party/skia/third_party/externals/oboe/include/oboe/
DUtilities.h59 template <typename FromType>
60 const char * convertToText(FromType input);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
Dvertexconversion.h82 template <class FromType, std::size_t ScaleBits>
89 static float convert(FromType x)
91 const float divisor = 1.0f / static_cast<float>(static_cast<FromType>(1) << ScaleBits);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTX.h97 enum FromType { enum
DNVPTXISelDAGToDAG.cpp1035 unsigned int FromType; in tryLoadVector() local
1040 FromType = NVPTX::PTXLdStInstCode::Signed; in tryLoadVector()
1042 FromType = ScalarVT.SimpleTy == MVT::f16 ? NVPTX::PTXLdStInstCode::Untyped in tryLoadVector()
1045 FromType = NVPTX::PTXLdStInstCode::Unsigned; in tryLoadVector()
1068 FromType = NVPTX::PTXLdStInstCode::Untyped; in tryLoadVector()
1094 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1121 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1170 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1219 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
/third_party/node/deps/v8/src/torque/
Dtype-oracle.h155 UnionType result = UnionType::FromType(a); in GetUnionType()
Dtypes.h466 static UnionType FromType(const Type* t) { in FromType() function
Dtypes.cc314 UnionType result = UnionType::FromType(a); in SubtractType()
/third_party/googletest/googlemock/test/
Dgmock-actions_test.cc834 class FromType { class
836 explicit FromType(bool* is_converted) : converted_(is_converted) {} in FromType() function in testing::__anon721ce2560111::FromType
846 ToType(const FromType& x) { *x.converted() = true; } // NOLINT in ToType()
851 FromType x(&converted); in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp460 Type *FromType) { in getConvRTLibDesc() argument
462 auto FromMVT = MVT::getVT(FromType); in getConvRTLibDesc()
483 Type *FromType) { in conversionLibcall() argument
484 RTLIB::Libcall Libcall = getConvRTLibDesc(MI.getOpcode(), ToType, FromType); in conversionLibcall()
486 {{MI.getOperand(1).getReg(), FromType}}); in conversionLibcall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp1364 EVT FromType = V.getOperand(0).getValueType(); in getValueBits() local
1367 if (FromType != MVT::i64 || ToType != MVT::i32) in getValueBits()
1369 const unsigned NumAllBits = FromType.getSizeInBits(); in getValueBits()
1398 EVT FromType = cast<VTSDNode>(V.getOperand(1))->getVT(); in getValueBits() local
1399 const unsigned NumValidBits = FromType.getSizeInBits(); in getValueBits()
/third_party/googletest/googlemock/include/gmock/
Dgmock-matchers.h416 using FromType = typename std::remove_cv<typename std::remove_pointer< in MatchAndExplain() local
426 std::is_same<FromType, ToType>::value || in MatchAndExplain()
427 !std::is_base_of<FromType, ToType>::value, in MatchAndExplain()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp962 bool SystemZTargetLowering::isTruncateFree(Type *FromType, Type *ToType) const { in isTruncateFree() argument
963 if (!FromType->isIntegerTy() || !ToType->isIntegerTy()) in isTruncateFree()
965 unsigned FromBits = FromType->getPrimitiveSizeInBits(); in isTruncateFree()
1241 bool SystemZTargetLowering::allowTruncateForTailCall(Type *FromType, in allowTruncateForTailCall() argument
1243 return isTruncateFree(FromType, ToType); in allowTruncateForTailCall()