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/
H A 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);
H A 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, uint6 in testValue()
[all...]
H A 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/
H A DUtilities.h59 template <typename FromType>
60 const char * convertToText(FromType input);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A Dvertexconversion.h82 template <class FromType, std::size_t ScaleBits>
89 static float convert(FromType x) in convert()
91 const float divisor = 1.0f / static_cast<float>(static_cast<FromType>(1) << ScaleBits); in convert()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
H A DNVPTX.h97 enum FromType { enum
H A DNVPTXISelDAGToDAG.cpp1035 unsigned int FromType;
1040 FromType = NVPTX::PTXLdStInstCode::Signed;
1042 FromType = ScalarVT.SimpleTy == MVT::f16 ? NVPTX::PTXLdStInstCode::Untyped
1045 FromType = NVPTX::PTXLdStInstCode::Unsigned;
1068 FromType = NVPTX::PTXLdStInstCode::Untyped;
1094 getI32Imm(VecType, DL), getI32Imm(FromType, DL),
1121 getI32Imm(VecType, DL), getI32Imm(FromType, DL),
1170 getI32Imm(VecType, DL), getI32Imm(FromType, DL),
1219 getI32Imm(VecType, DL), getI32Imm(FromType, DL),
/third_party/googletest/googlemock/test/
H A Dgmock-actions_test.cc834 class FromType { class
836 explicit FromType(bool* is_converted) : converted_(is_converted) {} in FromType() function in testing::__anon2997::FromType
846 ToType(const FromType& x) { *x.converted() = true; } // NOLINT in ToType()
851 FromType x(&converted); in TEST()
/third_party/node/deps/v8/src/torque/
H A Dtype-oracle.h155 UnionType result = UnionType::FromType(a); in GetUnionType()
H A Dtypes.h466 static UnionType FromType(const Type* t) { in FromType() function in v8::internal::torque::final
H A Dtypes.cc314 UnionType result = UnionType::FromType(a); in SubtractType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp460 Type *FromType) { in getConvRTLibDesc()
462 auto FromMVT = MVT::getVT(FromType); in getConvRTLibDesc()
483 Type *FromType) { in conversionLibcall()
484 RTLIB::Libcall Libcall = getConvRTLibDesc(MI.getOpcode(), ToType, FromType); in conversionLibcall()
486 {{MI.getOperand(1).getReg(), FromType}}); in conversionLibcall()
459 getConvRTLibDesc(unsigned Opcode, Type *ToType, Type *FromType) getConvRTLibDesc() argument
482 conversionLibcall(MachineInstr &MI, MachineIRBuilder &MIRBuilder, Type *ToType, Type *FromType) conversionLibcall() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
H A 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/
H A Dgmock-matchers.h416 using FromType = typename std::remove_cv<typename std::remove_pointer<
426 std::is_same<FromType, ToType>::value ||
427 !std::is_base_of<FromType, ToType>::value,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
H A 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()

Completed in 65 milliseconds