Home
last modified time | relevance | path

Searched refs:DstType (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DMachineIRBuilder.h67 enum class DstType { Ty_LLT, Ty_Reg, Ty_RC }; enum
68 DstOp(unsigned R) : Reg(R), Ty(DstType::Ty_Reg) {} in DstOp()
69 DstOp(Register R) : Reg(R), Ty(DstType::Ty_Reg) {} in DstOp()
70 DstOp(const MachineOperand &Op) : Reg(Op.getReg()), Ty(DstType::Ty_Reg) {} in DstOp()
71 DstOp(const LLT &T) : LLTTy(T), Ty(DstType::Ty_LLT) {} in DstOp()
72 DstOp(const TargetRegisterClass *TRC) : RC(TRC), Ty(DstType::Ty_RC) {} in DstOp()
76 case DstType::Ty_Reg: in addDefToMIB()
79 case DstType::Ty_LLT: in addDefToMIB()
82 case DstType::Ty_RC: in addDefToMIB()
90 case DstType::Ty_RC: in getLLTTy()
[all …]
/third_party/vk-gl-cts/framework/randomshaders/
DrsgExpression.cpp537 template <typename SrcType, typename DstType>
538 inline DstType convert (SrcType src) in convert()
541 return Scalar::min<DstType>().template as<DstType>(); in convert()
543 return Scalar::max<DstType>().template as<DstType>(); in convert()
545 return DstType(src); in convert()
567 template <typename SrcType, typename DstType>
568 inline void convertValueRange (SrcType srcMin, SrcType srcMax, DstType& dstMin, DstType& dstMax) in convertValueRange()
570 dstMin = convert<SrcType, DstType>(srcMin); in convertValueRange()
571 dstMax = convert<SrcType, DstType>(srcMax); in convertValueRange()
598 template <typename SrcType, typename DstType>
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCSEMIRBuilder.cpp61 case DstOp::DstType::Ty_RC: in profileDstOp()
119 DstOp::DstType DT = Op.getDstOpKind(); in checkCopyToDefsPossible()
120 return DT == DstOp::DstType::Ty_LLT || DT == DstOp::DstType::Ty_RC; in checkCopyToDefsPossible()
131 if (Op.getDstOpKind() == DstOp::DstType::Ty_Reg) in generateCopiesIfRequired()
DCombinerHelper.cpp205 LLT DstType = MRI.getType(MI.getOperand(0).getReg()); in matchCombineShuffleVector() local
211 unsigned DstNumElts = DstType.isVector() ? DstType.getNumElements() : 1; in matchCombineShuffleVector()
/third_party/flutter/skia/tests/
DVkHardwareBufferTest.cpp1064 enum class DstType { enum
1070 SrcType srcType, DstType dstType, bool shareSyncs) { in run_test()
1090 if (DstType::kVulkan == dstType) { in run_test()
1093 SkASSERT(DstType::kEGL == dstType); in run_test()
1275 run_test(reporter, options, SrcType::kCPU, DstType::kVulkan, false); in DEF_GPUTEST()
1279 run_test(reporter, options, SrcType::kEGL, DstType::kVulkan, false); in DEF_GPUTEST()
1283 run_test(reporter, options, SrcType::kVulkan, DstType::kVulkan, false); in DEF_GPUTEST()
1287 run_test(reporter, options, SrcType::kCPU, DstType::kEGL, false); in DEF_GPUTEST()
1291 run_test(reporter, options, SrcType::kEGL, DstType::kEGL, false); in DEF_GPUTEST()
1295 run_test(reporter, options, SrcType::kVulkan, DstType::kEGL, false); in DEF_GPUTEST()
[all …]
/third_party/skia/tests/
DVkHardwareBufferTest.cpp1076 enum class DstType { enum
1082 SrcType srcType, DstType dstType, bool shareSyncs) { in run_test()
1106 if (DstType::kVulkan == dstType) { in run_test()
1110 SkASSERT(DstType::kEGL == dstType); in run_test()
1295 run_test(reporter, options, SrcType::kCPU, DstType::kVulkan, false); in DEF_GPUTEST()
1299 run_test(reporter, options, SrcType::kVulkan, DstType::kVulkan, false); in DEF_GPUTEST()
1303 run_test(reporter, options, SrcType::kVulkan, DstType::kVulkan, true); in DEF_GPUTEST()
1308 run_test(reporter, options, SrcType::kEGL, DstType::kVulkan, false); in DEF_GPUTEST()
1312 run_test(reporter, options, SrcType::kCPU, DstType::kEGL, false); in DEF_GPUTEST()
1316 run_test(reporter, options, SrcType::kEGL, DstType::kEGL, false); in DEF_GPUTEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceAssemblerMIPS32.cpp798 const Type DstType = OpRd->getType(); in move() local
801 if ((isScalarIntegerType(DstType) && isScalarFloatingType(SrcType)) || in move()
802 (isScalarFloatingType(DstType) && isScalarIntegerType(SrcType))) { in move()
803 if (isScalarFloatingType(DstType)) { in move()
809 switch (DstType) { in move()
DIceInstMIPS32.cpp550 const Type DstType = Dest->getType(); in emit() local
554 if ((isScalarIntegerType(DstType) && isScalarFloatingType(SrcType)) || in emit()
555 (isScalarFloatingType(DstType) && isScalarIntegerType(SrcType))) { in emit()
556 if (isScalarFloatingType(DstType)) { in emit()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPrintfRuntimeBinding.cpp477 Type *DstType = (Size == 32) ? Int32Ty : Int64Ty; in lowerPrintfForGpu() local
478 Arg = new PtrToIntInst(Arg, DstType, "PrintArgPtr", Brnch); in lowerPrintfForGpu()