/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64GenRegisterBankInfo.def | 252 AArch64GenRegisterBankInfo::getFPExtMapping(unsigned DstSize, 268 assert((DstSize == 32 || DstSize == 64) && "Unexpected half extension"); 269 if (DstSize == 32) 275 assert(DstSize == 64 && "Unexpected float extension"); 278 assert((SrcSize == 64 || DstSize == 128) && "Unexpected vector extension");
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
H A D | AArch64InstructionSelector.cpp | 179 MachineInstr *tryAdvSIMDModImm8(Register Dst, unsigned DstSize, APInt Bits, 182 MachineInstr *tryAdvSIMDModImm16(Register Dst, unsigned DstSize, APInt Bits, 185 MachineInstr *tryAdvSIMDModImm32(Register Dst, unsigned DstSize, APInt Bits, 187 MachineInstr *tryAdvSIMDModImm64(Register Dst, unsigned DstSize, APInt Bits, 189 MachineInstr *tryAdvSIMDModImm321s(Register Dst, unsigned DstSize, APInt Bits, 191 MachineInstr *tryAdvSIMDModImmFP(Register Dst, unsigned DstSize, APInt Bits, 956 TypeSize DstSize = RBI.getSizeInBits(DstReg, MRI, TRI); in getRegClassesForCopy() local 967 if (SrcRegBank != DstRegBank && (DstSize == 1 && SrcSize == 1)) in getRegClassesForCopy() 968 SrcSize = DstSize = TypeSize::getFixed(32); in getRegClassesForCopy() 971 getMinClassForRegBank(DstRegBank, DstSize, true)}; in getRegClassesForCopy() [all …]
|
H A D | AArch64PostLegalizerCombiner.cpp | 84 unsigned DstSize = DstTy.getSizeInBits(); in matchExtractVecEltPairwiseAdd() local 85 if (DstSize != 16 && DstSize != 32 && DstSize != 64) in matchExtractVecEltPairwiseAdd()
|
H A D | AArch64RegisterBankInfo.h | 98 getFPExtMapping(unsigned DstSize, unsigned SrcSize);
|
H A D | AArch64RegisterBankInfo.cpp | 190 #define CHECK_VALUEMAP_FPEXT(DstSize, SrcSize) \ in AArch64RegisterBankInfo() argument 192 unsigned PartialMapDstIdx = PMI_FPR##DstSize - PMI_Min; \ in AArch64RegisterBankInfo() 196 const ValueMapping *Map = getFPExtMapping(DstSize, SrcSize); \ in AArch64RegisterBankInfo() 200 Map[0].NumBreakDowns == 1 && "FPR" #DstSize \ in AArch64RegisterBankInfo()
|
H A D | AArch64PreLegalizerCombiner.cpp | 53 const unsigned DstSize = MRI.getType(DstReg).getSizeInBits(); in matchFConstantToConstant() local 54 if (DstSize != 32 && DstSize != 64) in matchFConstantToConstant()
|
H A D | AArch64LegalizerInfo.cpp | 580 unsigned DstSize = Query.Types[0].getSizeInBits(); in AArch64LegalizerInfo() local 586 if (DstSize < 8 || DstSize >= 128 || !isPowerOf2_32(DstSize)) in AArch64LegalizerInfo()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPURegisterBankInfo.cpp | 2759 unsigned DstSize = DstTy.getSizeInBits(); in applyMappingImpl() local 2761 const bool UseSel64 = DstSize > 32 && in applyMappingImpl() 2773 if (DstSize > 32) { in applyMappingImpl() 2776 } else if (DstSize < 32) { in applyMappingImpl() 4091 unsigned DstSize = getSizeInBits(MI.getOperand(0).getReg(), MRI, *TRI); in getInstrMapping() local 4094 OpdsMapping[0] = AMDGPU::getValueMapping(BankID, DstSize); in getInstrMapping() 4102 unsigned DstSize = getSizeInBits(MI.getOperand(0).getReg(), MRI, *TRI); in getInstrMapping() local 4104 OpdsMapping[0] = AMDGPU::getValueMapping(BankID, DstSize); in getInstrMapping() 4113 unsigned DstSize = DstTy.getSizeInBits(); in getInstrMapping() local 4119 OpdsMapping[0] = AMDGPU::getValueMapping(DstBankID, DstSize); in getInstrMapping() [all …]
|
H A D | AMDGPUInstructionSelector.cpp | 500 unsigned DstSize = DstTy.getSizeInBits(); in selectG_EXTRACT() local 504 if (Offset % 32 != 0 || DstSize > 128) in selectG_EXTRACT() 509 if (DstSize == 16) in selectG_EXTRACT() 510 DstSize = 32; in selectG_EXTRACT() 523 DstSize / 32); in selectG_EXTRACT() 550 const unsigned DstSize = DstTy.getSizeInBits(); in selectG_MERGE_VALUES() local 552 TRI.getRegClassForSizeOnBank(DstSize, *DstBank); in selectG_MERGE_VALUES() 588 const unsigned DstSize = DstTy.getSizeInBits(); in selectG_UNMERGE_VALUES() local 601 ArrayRef<int16_t> SubRegs = TRI.getRegSplitParts(SrcRC, DstSize / 8); in selectG_UNMERGE_VALUES() 794 unsigned DstSize = MRI->getType(DstReg).getSizeInBits(); in selectG_INSERT() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | InlineAsmLowering.cpp | 194 unsigned DstSize = TRI->getRegSizeInBits(Dst, *MRI); in buildAnyextOrCopy() local 196 if (DstSize < SrcSize) { in buildAnyextOrCopy() 202 if (DstSize > SrcSize) { in buildAnyextOrCopy() 208 Src = MIRBuilder.buildAnyExt(LLT::scalar(DstSize), Src).getReg(0); in buildAnyextOrCopy()
|
H A D | Utils.cpp | 960 const unsigned DstSize = DstTy.getScalarSizeInBits(); in ConstantFoldCastOp() local 964 return Val->sext(DstSize); in ConstantFoldCastOp() 968 return Val->zext(DstSize); in ConstantFoldCastOp()
|
H A D | CallLowering.cpp | 620 const unsigned DstSize = DstTy.getSizeInBits(); in buildCopyToRegs() local 629 CoveringSize = alignTo(SrcSize, DstSize); in buildCopyToRegs()
|
H A D | LegalizerHelper.cpp | 1855 const int DstSize = DstTy.getSizeInBits(); in widenScalarMergeValues() local 1858 const int NumMerge = (DstSize + WideSize - 1) / WideSize; in widenScalarMergeValues() 1864 if (WideSize >= DstSize) { in widenScalarMergeValues() 1885 if (WideSize > DstSize) in widenScalarMergeValues() 2005 unsigned DstSize = DstTy.getSizeInBits(); in widenScalarUnmergeValues() local 2009 auto ShiftAmt = MIRBuilder.buildConstant(SrcTy, DstSize * I); in widenScalarUnmergeValues() 7504 const unsigned DstSize = DstTy.getSizeInBits(); in lowerUnmergeValues() local 7505 unsigned Offset = DstSize; in lowerUnmergeValues() 7506 for (unsigned I = 1; I != NumDst; ++I, Offset += DstSize) { in lowerUnmergeValues() 7800 unsigned DstSize = DstTy.getSizeInBits(); in lowerExtract() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/GISel/ |
H A D | PPCRegisterBankInfo.cpp | 222 unsigned DstSize = DstTy.getSizeInBits(); in getInstrMapping() local 233 MappingID, Cost, getCopyMapping(DstRB.getID(), SrcRB.getID(), DstSize), in getInstrMapping()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfoImpl.h | 620 unsigned DstSize = Dst->getScalarSizeInBits(); in getCastInstrCost() local 621 if (DL.isLegalInteger(DstSize) && in getCastInstrCost() 622 DstSize >= DL.getPointerTypeSizeInBits(Src)) in getCastInstrCost() 634 TypeSize DstSize = DL.getTypeSizeInBits(Dst); in getCastInstrCost() local 635 if (!DstSize.isScalable() && DL.isLegalInteger(DstSize.getFixedValue())) in getCastInstrCost()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineVerifier.cpp | 1390 unsigned DstSize = DstTy.getScalarSizeInBits(); in verifyPreISelGenericInstruction() local 1394 if (DstSize <= SrcSize) in verifyPreISelGenericInstruction() 1399 if (DstSize >= SrcSize) in verifyPreISelGenericInstruction() 1590 unsigned DstSize = MRI->getType(MI->getOperand(0).getReg()).getSizeInBits(); in verifyPreISelGenericInstruction() local 1592 if (SrcSize == DstSize) in verifyPreISelGenericInstruction() 1595 if (DstSize + OffsetOp.getImm() > SrcSize) in verifyPreISelGenericInstruction() 1612 unsigned DstSize = MRI->getType(MI->getOperand(0).getReg()).getSizeInBits(); in verifyPreISelGenericInstruction() local 1615 if (DstSize <= SrcSize) in verifyPreISelGenericInstruction() 1618 if (SrcSize + OffsetOp.getImm() > DstSize) in verifyPreISelGenericInstruction() 2250 TypeSize DstSize = TRI->getRegSizeInBits(DstReg, *MRI); in visitMachineInstrBefore() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 195 uint64_t DstSize = DstDL.getTypeAllocSize(DstGV->getValueType()); in computeResultingSelectionKind() local 203 From = SrcSize > DstSize ? LinkFrom::Src : LinkFrom::Dst; in computeResultingSelectionKind() 205 if (SrcSize != DstSize) in computeResultingSelectionKind()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCall.cpp | 1174 uint64_t DstSize, CodeGenFunction &CGF) { in EnterStructPointerForCoercedAccess() argument 1186 if (FirstEltSize < DstSize && in EnterStructPointerForCoercedAccess() 1196 return EnterStructPointerForCoercedAccess(SrcPtr, SrcSTy, DstSize, CGF); in EnterStructPointerForCoercedAccess() 1233 uint64_t DstSize = DL.getTypeSizeInBits(DestIntTy); in CoerceIntOrPtrToIntOrPtr() local 1235 if (SrcSize > DstSize) { in CoerceIntOrPtrToIntOrPtr() 1236 Val = CGF.Builder.CreateLShr(Val, SrcSize - DstSize, "coerce.highbits"); in CoerceIntOrPtrToIntOrPtr() 1240 Val = CGF.Builder.CreateShl(Val, DstSize - SrcSize, "coerce.highbits"); in CoerceIntOrPtrToIntOrPtr() 1270 llvm::TypeSize DstSize = CGF.CGM.getDataLayout().getTypeAllocSize(Ty); in CreateCoercedLoad() local 1274 DstSize.getFixedValue(), CGF); in CreateCoercedLoad() 1289 if (!SrcSize.isScalable() && !DstSize.isScalable() && in CreateCoercedLoad() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | LegalizationArtifactCombiner.h | 290 const unsigned DstSize = DstTy.getSizeInBits(); in tryCombineTrunc() local 295 if (DstSize < MergeSrcSize) { in tryCombineTrunc() 306 } else if (DstSize == MergeSrcSize) { in tryCombineTrunc() 313 } else if (DstSize % MergeSrcSize == 0) { in tryCombineTrunc() 324 const unsigned NumSrcs = DstSize / MergeSrcSize; in tryCombineTrunc()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Disassembler/ |
H A D | AMDGPUDisassembler.cpp | 1017 unsigned DstSize = IsGather4 ? 4 : std::max(llvm::popcount(DMask), 1); in convertMIMGInst() local 1021 DstSize = (DstSize + 1) / 2; in convertMIMGInst() 1025 DstSize += 1; in convertMIMGInst() 1027 if (DstSize == Info->VDataDwords && AddrSize == Info->VAddrDwords) in convertMIMGInst() 1031 AMDGPU::getMIMGOpcode(Info->BaseOpcode, Info->MIMGEncoding, DstSize, AddrSize); in convertMIMGInst() 1037 if (DstSize != Info->VDataDwords) { in convertMIMGInst()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstructionSelector.cpp |
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/ |
H A D | X86InstructionSelector.cpp | 280 const unsigned DstSize = RBI.getSizeInBits(DstReg, MRI, TRI); in selectCopy() local 290 if (DstSize > SrcSize && SrcRegBank.getID() == X86::GPRRegBankID && in selectCopy() 316 assert((DstSize == SrcSize || in selectCopy() 320 DstSize <= RBI.getSizeInBits(SrcReg, MRI, TRI))) && in selectCopy() 327 DstRegBank.getID() == X86::GPRRegBankID && SrcSize > DstSize && in selectCopy()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 1204 unsigned DstSize = DestTy->getScalarSizeInBits(); in visitZExt() local 1209 if (SrcSize < DstSize) { in visitZExt() 1216 if (SrcSize == DstSize) { in visitZExt() 1221 if (SrcSize > DstSize) { in visitZExt() 1223 APInt AndValue(APInt::getLowBitsSet(DstSize, MidSize)); in visitZExt()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Instructions.cpp | 2891 unsigned DstSize = DstTy->getScalarSizeInBits(); in isEliminableCastPair() local 2894 if (SrcSize < DstSize) in isEliminableCastPair() 2896 if (SrcSize > DstSize) in isEliminableCastPair() 2909 unsigned DstSize = DstTy->getScalarSizeInBits(); in isEliminableCastPair() local 2910 if (SrcSize <= PtrSize && SrcSize == DstSize) in isEliminableCastPair()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 1067 TypeSize DstSize = DstLT.second.getSizeInBits(); 1083 SrcSize == DstSize) 1139 if (SrcLT.first == DstLT.first && SrcSize == DstSize) {
|