Home
last modified time | relevance | path

Searched refs:ToType (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/
Dtest_cast.cpp21 template <typename FromType, typename ToType>
22 ToType __attribute__((noinline)) cast(FromType a) { in cast()
23 return (ToType)a; in cast()
26 template <typename FromType, typename ToType>
27 ToType __attribute__((noinline)) castBits(FromType a) { in castBits()
28 return *(ToType *)&a; in castBits()
31 template <typename FromType, typename ToType>
32 ToType __attribute__((noinline)) cast(int i, FromType a, int j) { in cast()
35 return (ToType)a; in cast()
38 template <typename FromType, typename ToType>
[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_main.cpp123 template <typename FromType, typename ToType>
141 COMPARE_VEC(cast, FromType, ToType, Value, FromTypeString, ToTypeString); in testVector()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h2108 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2109 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2110 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2111 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2112 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2113 LLVMValueRef LLVMConstUIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2114 LLVMValueRef LLVMConstSIToFP(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2115 LLVMValueRef LLVMConstFPToUI(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2116 LLVMValueRef LLVMConstFPToSI(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
2117 LLVMValueRef LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DCore.cpp1661 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstTrunc() argument
1663 unwrap(ToType))); in LLVMConstTrunc()
1666 LLVMValueRef LLVMConstSExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstSExt() argument
1668 unwrap(ToType))); in LLVMConstSExt()
1671 LLVMValueRef LLVMConstZExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstZExt() argument
1673 unwrap(ToType))); in LLVMConstZExt()
1676 LLVMValueRef LLVMConstFPTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPTrunc() argument
1678 unwrap(ToType))); in LLVMConstFPTrunc()
1681 LLVMValueRef LLVMConstFPExt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstFPExt() argument
1683 unwrap(ToType))); in LLVMConstFPExt()
[all …]
/third_party/googletest/googlemock/scripts/generator/cpp/
Dast.py475 def ToType(self, tokens): member in TypeConverter
509 AddType(self.ToType(new_tokens))
568 templated_types = self.ToType(templated_tokens)
1426 new_type = self.converter.ToType(tokens)[0]
1519 bases_ast = self.converter.ToType(base)
/third_party/vk-gl-cts/external/amber/src/src/amberscript/
Dparser.cc57 std::unique_ptr<type::Type> ToType(const std::string& str_in) { in ToType() function
99 type = ToType(str.substr(5, str.length() - 6)); in ToType()
121 type = ToType(str.substr(7, str.length() - 8)); in ToType()
743 auto type = ToType(token->AsString()); in ParseShaderSpecialization()
1564 auto type = ToType(token->AsString()); in ParsePipelineSet()
2008 auto t = ToType(token->AsString()); in ParseStruct()
2193 auto new_type = ToType(token->AsString()); in ParseImage()
2329 auto new_type = ToType(token->AsString()); in ParseBufferInitializer()
/third_party/googletest/googlemock/test/
Dgmock-actions_test.cc581 class ToType { class
584 ToType(const FromType& x) { *x.converted() = true; } // NOLINT in ToType() function in __anon4f8a56340111::ToType
590 Action<ToType()> action(Return(x)); in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.cpp1904 unsigned ToType; in tryStoreVector() local
1906 ToType = ScalarVT.SimpleTy == MVT::f16 ? NVPTX::PTXLdStInstCode::Untyped in tryStoreVector()
1909 ToType = NVPTX::PTXLdStInstCode::Unsigned; in tryStoreVector()
1940 ToType = NVPTX::PTXLdStInstCode::Untyped; in tryStoreVector()
1947 StOps.push_back(getI32Imm(ToType, DL)); in tryStoreVector()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp459 static RTLIB::Libcall getConvRTLibDesc(unsigned Opcode, Type *ToType, in getConvRTLibDesc() argument
461 auto ToMVT = MVT::getVT(ToType); in getConvRTLibDesc()
482 conversionLibcall(MachineInstr &MI, MachineIRBuilder &MIRBuilder, Type *ToType, in conversionLibcall() argument
484 RTLIB::Libcall Libcall = getConvRTLibDesc(MI.getOpcode(), ToType, FromType); in conversionLibcall()
485 return createLibcall(MIRBuilder, Libcall, {MI.getOperand(0).getReg(), ToType}, in conversionLibcall()
/third_party/googletest/googlemock/include/gmock/
Dgmock-matchers.h415 using ToType = typename std::remove_cv<typename std::remove_pointer< in MatchAndExplain() local
423 std::is_same<FromType, ToType>::value || in MatchAndExplain()
424 !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()
963 if (!FromType->isIntegerTy() || !ToType->isIntegerTy()) in isTruncateFree()
966 unsigned ToBits = ToType->getPrimitiveSizeInBits(); in isTruncateFree()
1242 Type *ToType) const { in allowTruncateForTailCall()
1243 return isTruncateFree(FromType, ToType); in allowTruncateForTailCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp1365 EVT ToType = V.getValueType(); in getValueBits() local
1367 if (FromType != MVT::i64 || ToType != MVT::i32) in getValueBits()
1373 const unsigned NumValidBits = ToType.getSizeInBits(); in getValueBits()