/third_party/vk-gl-cts/modules/glshared/ |
D | glsLongStressCase.hpp | 114 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() 118 for (int i = 0; i < SrcSize; i++) in vecToArr()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | MemCpyOptimizer.cpp | 1022 Value *SrcSize = MemCpy->getLength(); in processMemSetMemCpyDependence() local 1031 if (ConstantInt *SrcSizeC = dyn_cast<ConstantInt>(SrcSize)) in processMemSetMemCpyDependence() 1037 if (DestSize->getType() != SrcSize->getType()) { in processMemSetMemCpyDependence() 1039 SrcSize->getType()->getIntegerBitWidth()) in processMemSetMemCpyDependence() 1040 SrcSize = Builder.CreateZExt(SrcSize, DestSize->getType()); in processMemSetMemCpyDependence() 1042 DestSize = Builder.CreateZExt(DestSize, SrcSize->getType()); in processMemSetMemCpyDependence() 1045 Value *Ule = Builder.CreateICmpULE(DestSize, SrcSize); in processMemSetMemCpyDependence() 1046 Value *SizeDiff = Builder.CreateSub(DestSize, SrcSize); in processMemSetMemCpyDependence() 1051 SrcSize), in processMemSetMemCpyDependence()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/ |
D | LinkModules.cpp | 195 uint64_t SrcSize = SrcDL.getTypeAllocSize(SrcGV->getValueType()); in computeResultingSelectionKind() local 202 LinkFromSrc = SrcSize > DstSize; in computeResultingSelectionKind() 204 if (SrcSize != DstSize) in computeResultingSelectionKind() 296 uint64_t SrcSize = DL.getTypeAllocSize(Src.getValueType()); in shouldLinkFromSource() local 297 LinkFromSrc = SrcSize > DestSize; in shouldLinkFromSource()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64GenRegisterBankInfo.def | 239 unsigned SrcSize) { 253 if (SrcSize == 16) { 260 if (SrcSize == 32) { 264 assert((SrcSize == 64 || DstSize == 128) && "Unexpected vector extension");
|
D | AArch64RegisterBankInfo.cpp | 177 #define CHECK_VALUEMAP_FPEXT(DstSize, SrcSize) \ in AArch64RegisterBankInfo() argument 180 unsigned PartialMapSrcIdx = PMI_FPR##SrcSize - PMI_Min; \ in AArch64RegisterBankInfo() 183 const ValueMapping *Map = getFPExtMapping(DstSize, SrcSize); \ in AArch64RegisterBankInfo() 191 Map[1].NumBreakDowns == 1 && "FPR" #SrcSize \ in AArch64RegisterBankInfo()
|
D | AArch64RegisterBankInfo.h | 96 getFPExtMapping(unsigned DstSize, unsigned SrcSize);
|
D | AArch64InstructionSelector.cpp | 590 const unsigned SrcSize = RBI.getSizeInBits(SrcReg, 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() 653 unsigned SrcSize = RBI.getSizeInBits(SrcReg, MRI, TRI); in getRegClassesForCopy() local 663 if (SrcRegBank != DstRegBank && (DstSize == 1 && SrcSize == 1)) in getRegClassesForCopy() 664 SrcSize = DstSize = 32; in getRegClassesForCopy() 666 return {getMinClassForRegBank(SrcRegBank, SrcSize, true), in getRegClassesForCopy() 720 unsigned SrcSize = TRI.getRegSizeInBits(*SrcRC); in selectCopy() local 725 if (SrcSize > DstSize) { in selectCopy() [all …]
|
D | AArch64LegalizerInfo.cpp | 366 unsigned SrcSize = SrcTy.getSizeInBits(); in AArch64LegalizerInfo() local 367 if (SrcSize < 8 || !isPowerOf2_32(SrcSize)) in AArch64LegalizerInfo()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInstructionSelector.cpp | 454 const unsigned SrcSize = SrcTy.getSizeInBits(); in selectG_EXTRACT() local 464 TRI.getRegClassForSizeOnBank(SrcSize, *SrcBank, *MRI); in selectG_EXTRACT() 491 const unsigned SrcSize = SrcTy.getSizeInBits(); in selectG_MERGE_VALUES() local 492 if (SrcSize < 32) in selectG_MERGE_VALUES() 503 ArrayRef<int16_t> SubRegs = TRI.getRegSplitParts(DstRC, SrcSize / 8); in selectG_MERGE_VALUES() 536 const unsigned SrcSize = SrcTy.getSizeInBits(); in selectG_UNMERGE_VALUES() local 541 TRI.getRegClassForSizeOnBank(SrcSize, *SrcBank, *MRI); in selectG_UNMERGE_VALUES() 1268 unsigned SrcSize = SrcTy.getSizeInBits(); in selectG_TRUNC() local 1271 = TRI.getRegClassForSizeOnBank(SrcSize, *SrcRB, *MRI); in selectG_TRUNC() 1275 if (SrcSize > 32) { in selectG_TRUNC() [all …]
|
D | AMDGPURegisterBankInfo.cpp | 2671 unsigned SrcSize = getSizeInBits(MI.getOperand(1).getReg(), MRI, *TRI); in getInstrMapping() local 2674 OpdsMapping[1] = AMDGPU::getValueMapping(BankID, SrcSize); in getInstrMapping() 2682 unsigned SrcSize = getSizeInBits(MI.getOperand(1).getReg(), MRI, *TRI); in getInstrMapping() local 2684 OpdsMapping[1] = AMDGPU::getValueMapping(BankID, SrcSize); in getInstrMapping() 2693 unsigned SrcSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits(); in getInstrMapping() local 2699 OpdsMapping[1] = AMDGPU::getValueMapping(Src0BankID, SrcSize); in getInstrMapping() 2700 OpdsMapping[2] = AMDGPU::getValueMapping(Src1BankID, SrcSize); in getInstrMapping() 2711 unsigned SrcSize = MRI.getType(MI.getOperand(1).getReg()).getSizeInBits(); in getInstrMapping() local 2716 OpdsMapping[i] = AMDGPU::getValueMapping(Bank, SrcSize); in getInstrMapping() 2741 unsigned SrcSize = getSizeInBits(Src, MRI, *TRI); in getInstrMapping() local [all …]
|
D | AMDGPUCallLowering.cpp | 228 const unsigned SrcSize = SrcTy.getSizeInBits(); in unpackRegsToOrigType() local 241 if (SrcSize % PartSize == 0) { in unpackRegsToOrigType() 246 const int NumRoundedParts = (SrcSize + PartSize - 1) / PartSize; in unpackRegsToOrigType()
|
D | SIRegisterInfo.cpp | 1708 unsigned SrcSize = getRegSizeInBits(*SrcRC); in shouldCoalesce() local 1716 if (SrcSize <= 32 || DstSize <= 32) in shouldCoalesce() 1719 return NewSize <= DstSize || NewSize <= SrcSize; in shouldCoalesce()
|
D | AMDGPUISelLowering.cpp | 776 unsigned SrcSize = Source.getSizeInBits(); in isTruncateFree() local 779 return DestSize < SrcSize && DestSize % 32 == 0 ; in isTruncateFree() 785 unsigned SrcSize = Source->getScalarSizeInBits(); in isTruncateFree() local 789 return SrcSize >= 32; in isTruncateFree() 791 return DestSize < SrcSize && DestSize % 32 == 0; in isTruncateFree() 795 unsigned SrcSize = Src->getScalarSizeInBits(); in isZExtFree() local 798 if (SrcSize == 16 && Subtarget->has16BitInsts()) in isZExtFree() 801 return SrcSize == 32 && DestSize == 64; in isZExtFree()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineVerifier.cpp | 1143 unsigned SrcSize = SrcElTy.getSizeInBits(); in verifyPreISelGenericInstruction() local 1146 if (DstSize <= SrcSize) in verifyPreISelGenericInstruction() 1151 if (DstSize >= SrcSize) in verifyPreISelGenericInstruction() 1292 unsigned SrcSize = MRI->getType(SrcOp.getReg()).getSizeInBits(); in verifyPreISelGenericInstruction() local 1293 if (SrcSize == DstSize) in verifyPreISelGenericInstruction() 1296 if (DstSize + OffsetOp.getImm() > SrcSize) in verifyPreISelGenericInstruction() 1314 unsigned SrcSize = MRI->getType(SrcOp.getReg()).getSizeInBits(); in verifyPreISelGenericInstruction() local 1316 if (DstSize <= SrcSize) in verifyPreISelGenericInstruction() 1319 if (SrcSize + OffsetOp.getImm() > DstSize) in verifyPreISelGenericInstruction() 1542 unsigned SrcSize = TRI->getRegSizeInBits(SrcOp.getReg(), *MRI); in visitMachineInstrBefore() local [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86InstructionSelector.cpp | 238 const unsigned SrcSize = RBI.getSizeInBits(SrcReg, MRI, TRI); in selectCopy() local 244 if (DstSize > SrcSize && SrcRegBank.getID() == X86::GPRRegBankID && in selectCopy() 270 assert((DstSize == SrcSize || in selectCopy() 281 DstRegBank.getID() == X86::GPRRegBankID && SrcSize > DstSize && in selectCopy() 1366 unsigned SrcSize = SrcTy.getSizeInBits(); in selectMergeValues() local 1384 .addImm((Idx - 1) * SrcSize); in selectMergeValues()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMInstructionSelector.cpp | 872 unsigned SrcSize = SrcTy.getSizeInBits(); in select() local 873 switch (SrcSize) { in select() 901 unsigned NewOpc = selectSimpleExtOpc(I.getOpcode(), SrcSize); in select()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 1148 unsigned SrcSize = A->getType()->getScalarSizeInBits(); in visitZExt() local 1155 if (SrcSize < DstSize) { in visitZExt() 1156 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt() 1162 if (SrcSize == DstSize) { in visitZExt() 1163 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt() 1167 if (SrcSize > DstSize) { in visitZExt()
|
D | InstCombineShifts.cpp | 733 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits(); in FoldShiftByConstant() local 735 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize)); in FoldShiftByConstant()
|
D | InstructionCombining.cpp | 2106 uint64_t SrcSize = DL.getTypeAllocSize(StrippedPtrEltTy); in visitGetElementPtrInst() local 2107 if (ResSize && SrcSize % ResSize == 0) { in visitGetElementPtrInst() 2110 uint64_t Scale = SrcSize / ResSize; in visitGetElementPtrInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | LegalizerHelper.cpp | 951 uint64_t SrcSize = MRI.getType(MI.getOperand(2).getReg()).getSizeInBits(); in narrowScalar() local 952 if (NarrowSize * 2 != SrcSize) in narrowScalar() 1189 const int SrcSize = SrcTy.getSizeInBits(); in widenScalarMergeValues() local 1248 const int GCD = greatestCommonDivisor(SrcSize, WideSize); in widenScalarMergeValues() 1259 if (GCD == SrcSize) { in widenScalarMergeValues() 3471 unsigned SrcSize = MRI.getType(Src1).getSizeInBits(); in narrowScalarMul() local 3474 if (DstSize % NarrowSize != 0 || SrcSize % NarrowSize != 0) in narrowScalarMul() 3478 unsigned NumSrcParts = SrcSize / NarrowSize; in narrowScalarMul()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Instructions.cpp | 2655 unsigned SrcSize = SrcTy->getScalarSizeInBits(); in isEliminableCastPair() local 2657 if (SrcSize == DstSize) in isEliminableCastPair() 2659 else if (SrcSize < DstSize) in isEliminableCastPair() 2671 unsigned SrcSize = SrcTy->getScalarSizeInBits(); in isEliminableCastPair() local 2673 if (SrcSize <= PtrSize && SrcSize == DstSize) in isEliminableCastPair()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeDAG.cpp | 1763 unsigned SrcSize = SrcOp.getValueSizeInBits(); in EmitStackConvert() local 1773 if (SrcSize > SlotSize) in EmitStackConvert() 1777 assert(SrcSize == SlotSize && "Invalid store"); in EmitStackConvert()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceTargetLoweringX8664.cpp | 298 const SizeT SrcSize = PInst->getSrcSize(); in invalidateProducersOnStore() local 299 for (SizeT I = 0; I < SrcSize; ++I) { in invalidateProducersOnStore()
|
D | IceTargetLoweringX8632.cpp | 289 const SizeT SrcSize = PInst->getSrcSize(); in invalidateProducersOnStore() local 290 for (SizeT I = 0; I < SrcSize; ++I) { in invalidateProducersOnStore()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 7530 unsigned SrcSize = N1.getValueType().getSizeInBits(); in LowerTRUNCATEVector() local 7531 assert(SrcSize <= 128 && "Source must fit in an Altivec/VSX vector"); in LowerTRUNCATEVector() 7532 SDValue WideSrc = SrcSize == 128 ? N1 : widenVec(DAG, N1, DL); in LowerTRUNCATEVector() 7541 unsigned SizeMult = SrcSize / TrgVT.getSizeInBits(); in LowerTRUNCATEVector()
|