Home
last modified time | relevance | path

Searched refs:DstSize (Results 1 – 23 of 23) sorted by relevance

/third_party/vk-gl-cts/modules/glshared/
DglsLongStressCase.hpp114 template <typename T, int SrcSize, int DstSize>
115 static inline void vecToArr (const tcu::Vector<T, SrcSize>& src, T (&dst)[DstSize]) in vecToArr()
117 DE_STATIC_ASSERT(DstSize >= SrcSize); in vecToArr()
122 template <int ValRows, int ValCols, int DstSize>
123 …static inline void matToArr (const tcu::Matrix<float, ValRows, ValCols>& src, float (&dst)[DstSize in matToArr()
125 DE_STATIC_ASSERT(DstSize >= ValRows*ValCols); in matToArr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64GenRegisterBankInfo.def238 AArch64GenRegisterBankInfo::getFPExtMapping(unsigned DstSize,
254 assert((DstSize == 32 || DstSize == 64) && "Unexpected half extension");
255 if (DstSize == 32)
261 assert(DstSize == 64 && "Unexpected float extension");
264 assert((SrcSize == 64 || DstSize == 128) && "Unexpected vector extension");
DAArch64InstructionSelector.cpp589 const unsigned DstSize = RBI.getSizeInBits(DstReg, MRI, TRI); in isValidCopy() local
594 (DstSize == SrcSize || in isValidCopy()
597 (Register::isPhysicalRegister(SrcReg) && DstSize <= SrcSize) || in isValidCopy()
601 (((DstSize + 31) / 32 == (SrcSize + 31) / 32) && DstSize > SrcSize)) && in isValidCopy()
605 assert((DstSize <= 64 || DstBank.getID() == AArch64::FPRRegBankID) && in isValidCopy()
652 unsigned DstSize = RBI.getSizeInBits(DstReg, MRI, TRI); in getRegClassesForCopy() local
663 if (SrcRegBank != DstRegBank && (DstSize == 1 && SrcSize == 1)) in getRegClassesForCopy()
664 SrcSize = DstSize = 32; in getRegClassesForCopy()
667 getMinClassForRegBank(DstRegBank, DstSize, true)}; in getRegClassesForCopy()
721 unsigned DstSize = TRI.getRegSizeInBits(*DstRC); in selectCopy() local
[all …]
DAArch64LegalizerInfo.cpp347 unsigned DstSize = Query.Types[0].getSizeInBits(); in AArch64LegalizerInfo() local
349 if (DstSize == 128 && !Query.Types[0].isVector()) in AArch64LegalizerInfo()
354 if (DstSize < 8 || DstSize > 128 || !isPowerOf2_32(DstSize)) in AArch64LegalizerInfo()
DAArch64RegisterBankInfo.cpp177 #define CHECK_VALUEMAP_FPEXT(DstSize, SrcSize) \ in AArch64RegisterBankInfo() argument
179 unsigned PartialMapDstIdx = PMI_FPR##DstSize - PMI_Min; \ in AArch64RegisterBankInfo()
183 const ValueMapping *Map = getFPExtMapping(DstSize, SrcSize); \ in AArch64RegisterBankInfo()
187 Map[0].NumBreakDowns == 1 && "FPR" #DstSize \ in AArch64RegisterBankInfo()
DAArch64RegisterBankInfo.h96 getFPExtMapping(unsigned DstSize, unsigned SrcSize);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIAddIMGInit.cpp126 uint32_t DstSize = in runOnMachineFunction() local
128 if (DstSize < InitIdx) in runOnMachineFunction()
142 if (DstSize == 1) { in runOnMachineFunction()
DAMDGPURegisterBankInfo.cpp1821 unsigned DstSize = DstTy.getSizeInBits(); in applyMappingImpl() local
1823 const bool UseSel64 = DstSize > 32 && in applyMappingImpl()
1835 if (DstSize > 32) { in applyMappingImpl()
1838 } else if (DstSize < 32) { in applyMappingImpl()
2670 unsigned DstSize = getSizeInBits(MI.getOperand(0).getReg(), MRI, *TRI); in getInstrMapping() local
2673 OpdsMapping[0] = AMDGPU::getValueMapping(BankID, DstSize); in getInstrMapping()
2681 unsigned DstSize = getSizeInBits(MI.getOperand(0).getReg(), MRI, *TRI); in getInstrMapping() local
2683 OpdsMapping[0] = AMDGPU::getValueMapping(BankID, DstSize); in getInstrMapping()
2692 unsigned DstSize = DstTy.getSizeInBits(); in getInstrMapping() local
2698 OpdsMapping[0] = AMDGPU::getValueMapping(DstBankID, DstSize); in getInstrMapping()
[all …]
DAMDGPUInstructionSelector.cpp455 const unsigned DstSize = DstTy.getSizeInBits(); in selectG_EXTRACT() local
459 if (Offset % DstSize != 0) in selectG_EXTRACT()
468 ArrayRef<int16_t> SubRegs = TRI.getRegSplitParts(SrcRC, DstSize / 8); in selectG_EXTRACT()
472 .addReg(SrcReg, 0, SubRegs[Offset / DstSize]); in selectG_EXTRACT()
497 const unsigned DstSize = DstTy.getSizeInBits(); in selectG_MERGE_VALUES() local
499 TRI.getRegClassForSizeOnBank(DstSize, *DstBank, *MRI); in selectG_MERGE_VALUES()
535 const unsigned DstSize = DstTy.getSizeInBits(); in selectG_UNMERGE_VALUES() local
550 ArrayRef<int16_t> SubRegs = TRI.getRegSplitParts(SrcRC, DstSize / 8); in selectG_UNMERGE_VALUES()
593 unsigned DstSize = MRI->getType(DstReg).getSizeInBits(); in selectG_INSERT() local
606 TRI.getRegClassForSizeOnBank(DstSize, *DstBank, *MRI); in selectG_INSERT()
[all …]
DAMDGPULegalizerInfo.cpp759 const unsigned DstSize = DstTy.getSizeInBits(); in AMDGPULegalizerInfo() local
763 if (DstSize > MemSize) in AMDGPULegalizerInfo()
766 if (DstSize > 32 && (DstSize % 32 != 0)) { in AMDGPULegalizerInfo()
769 return std::make_pair(0, LLT::scalar(32 * (DstSize / 32))); in AMDGPULegalizerInfo()
DSIRegisterInfo.cpp1709 unsigned DstSize = getRegSizeInBits(*DstRC); in shouldCoalesce() local
1716 if (SrcSize <= 32 || DstSize <= 32) in shouldCoalesce()
1719 return NewSize <= DstSize || NewSize <= SrcSize; in shouldCoalesce()
DSIInstrInfo.cpp2178 unsigned DstSize = RI.getRegSizeInBits(*DstRC); in insertSelect() local
2180 if (DstSize == 32) { in insertSelect()
2194 if (DstSize == 64 && Pred == SCC_TRUE) { in insertSelect()
2221 int NElts = DstSize / 32; in insertSelect()
3425 uint32_t DstSize = RI.getRegSizeInBits(*DstRC) / 32; in verifyInstruction() local
3426 if (RegCount > DstSize) { in verifyInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Disassembler/
DAMDGPUDisassembler.cpp519 unsigned DstSize = IsGather4 ? 4 : std::max(countPopulation(DMask), 1u); in convertMIMGInst() local
523 DstSize = (DstSize + 1) / 2; in convertMIMGInst()
530 if (DstSize == Info->VDataDwords && AddrSize == Info->VAddrDwords) in convertMIMGInst()
534 AMDGPU::getMIMGOpcode(Info->BaseOpcode, Info->MIMGEncoding, DstSize, AddrSize); in convertMIMGInst()
540 if (DstSize != Info->VDataDwords) { in convertMIMGInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineVerifier.cpp1142 unsigned DstSize = DstElTy.getSizeInBits(); in verifyPreISelGenericInstruction() local
1146 if (DstSize <= SrcSize) in verifyPreISelGenericInstruction()
1151 if (DstSize >= SrcSize) in verifyPreISelGenericInstruction()
1291 unsigned DstSize = MRI->getType(MI->getOperand(0).getReg()).getSizeInBits(); in verifyPreISelGenericInstruction() local
1293 if (SrcSize == DstSize) in verifyPreISelGenericInstruction()
1296 if (DstSize + OffsetOp.getImm() > SrcSize) in verifyPreISelGenericInstruction()
1313 unsigned DstSize = MRI->getType(MI->getOperand(0).getReg()).getSizeInBits(); in verifyPreISelGenericInstruction() local
1316 if (DstSize <= SrcSize) in verifyPreISelGenericInstruction()
1319 if (SrcSize + OffsetOp.getImm() > DstSize) in verifyPreISelGenericInstruction()
1543 unsigned DstSize = TRI->getRegSizeInBits(DstOp.getReg(), *MRI); in visitMachineInstrBefore() local
[all …]
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_mosaic_info.h140 virtual dng_point DstSize (const dng_point &downScale) const;
Ddng_mosaic_info.cpp1769 dng_point dng_mosaic_info::DstSize (const dng_point &downScale) const in DstSize() function in dng_mosaic_info
Ddng_negative.cpp4067 dng_point dstSize = info.DstSize (downScale); in DoInterpolateStage3()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/
DLinkModules.cpp194 uint64_t DstSize = DstDL.getTypeAllocSize(DstGV->getValueType()); in computeResultingSelectionKind() local
202 LinkFromSrc = SrcSize > DstSize; in computeResultingSelectionKind()
204 if (SrcSize != DstSize) in computeResultingSelectionKind()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstructionSelector.cpp234 const unsigned DstSize = RBI.getSizeInBits(DstReg, MRI, TRI); in selectCopy() local
244 if (DstSize > SrcSize && SrcRegBank.getID() == X86::GPRRegBankID && in selectCopy()
270 assert((DstSize == SrcSize || in selectCopy()
274 DstSize <= RBI.getSizeInBits(SrcReg, MRI, TRI))) && in selectCopy()
281 DstRegBank.getID() == X86::GPRRegBankID && SrcSize > DstSize && in selectCopy()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp1188 const int DstSize = DstTy.getSizeInBits(); in widenScalarMergeValues() local
1191 const int NumMerge = (DstSize + WideSize - 1) / WideSize; in widenScalarMergeValues()
1197 if (WideSize >= DstSize) { in widenScalarMergeValues()
1218 if (WideSize > DstSize) in widenScalarMergeValues()
3472 unsigned DstSize = Ty.getSizeInBits(); in narrowScalarMul() local
3474 if (DstSize % NarrowSize != 0 || SrcSize % NarrowSize != 0) in narrowScalarMul()
3477 unsigned NumDstParts = DstSize / NarrowSize; in narrowScalarMul()
4181 const unsigned DstSize = DstTy.getSizeInBits(); in lowerUnmergeValues() local
4182 unsigned Offset = DstSize; in lowerUnmergeValues()
4183 for (unsigned I = 1; I != NumDst; ++I, Offset += DstSize) { in lowerUnmergeValues()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1150 unsigned DstSize = CI.getType()->getScalarSizeInBits(); in visitZExt() local
1155 if (SrcSize < DstSize) { in visitZExt()
1162 if (SrcSize == DstSize) { in visitZExt()
1167 if (SrcSize > DstSize) { in visitZExt()
1169 APInt AndValue(APInt::getLowBitsSet(DstSize, MidSize)); in visitZExt()
DInstCombineShifts.cpp734 unsigned DstSize = TI->getType()->getScalarSizeInBits(); in FoldShiftByConstant() local
735 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize)); in FoldShiftByConstant()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstructions.cpp2656 unsigned DstSize = DstTy->getScalarSizeInBits(); in isEliminableCastPair() local
2657 if (SrcSize == DstSize) in isEliminableCastPair()
2659 else if (SrcSize < DstSize) in isEliminableCastPair()
2672 unsigned DstSize = DstTy->getScalarSizeInBits(); in isEliminableCastPair() local
2673 if (SrcSize <= PtrSize && SrcSize == DstSize) in isEliminableCastPair()