| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64GenRegisterBankInfo.def | 246 AArch64GenRegisterBankInfo::getFPExtMapping(unsigned DstSize, 262 assert((DstSize == 32 || DstSize == 64) && "Unexpected half extension"); 263 if (DstSize == 32) 269 assert(DstSize == 64 && "Unexpected float extension"); 272 assert((SrcSize == 64 || DstSize == 128) && "Unexpected vector extension");
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64InstructionSelector.cpp | 1088 switch (DstSize) { in selectFPConvOpc() 2805 I.getOperand(3).setImm((DstSize - LSB) % DstSize); in select() 2808 if (DstSize < 64) { in select() 3270 if (DstSize == 0) { in select() 3275 if (DstSize != 64 && DstSize > 32) { in select() 3282 if (DstSize > 32) { in select() 5329 if (DstSize != 32 && DstSize != 64) in selectUSMovFromExtend() 5445 if (DstSize == 128) { in tryAdvSIMDModImm8() 5469 if (DstSize == 128) { in tryAdvSIMDModImm16() 5859 if (DstSize < 32) in tryOptConstantBuildVec() [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 | AArch64LegalizerInfo.cpp | 576 unsigned DstSize = Query.Types[0].getSizeInBits(); in AArch64LegalizerInfo() local 582 if (DstSize < 8 || DstSize >= 128 || !isPowerOf2_32(DstSize)) in AArch64LegalizerInfo() 1977 const unsigned DstSize = DstTy.getSizeInBits(); in legalizeFCopySign() local 1978 assert((DstSize == 32 || DstSize == 64) && "Unexpected dst type!"); in legalizeFCopySign() 1987 switch (DstSize) { in legalizeFCopySign() 2015 if (DstSize == 64) in legalizeFCopySign()
|
| H A D | AArch64RegisterBankInfo.cpp | 188 #define CHECK_VALUEMAP_FPEXT(DstSize, SrcSize) \ in AArch64RegisterBankInfo() argument 190 unsigned PartialMapDstIdx = PMI_FPR##DstSize - PMI_Min; \ in AArch64RegisterBankInfo() 194 const ValueMapping *Map = getFPExtMapping(DstSize, SrcSize); \ in AArch64RegisterBankInfo() 198 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()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPURegisterBankInfo.cpp | 2760 unsigned DstSize = DstTy.getSizeInBits(); in applyMappingImpl() local 2762 const bool UseSel64 = DstSize > 32 && in applyMappingImpl() 2774 if (DstSize > 32) { in applyMappingImpl() 2777 } else if (DstSize < 32) { in applyMappingImpl() 4087 OpdsMapping[0] = AMDGPU::getValueMapping(BankID, DstSize); in getInstrMapping() 4097 OpdsMapping[0] = AMDGPU::getValueMapping(BankID, DstSize); in getInstrMapping() 4106 unsigned DstSize = DstTy.getSizeInBits(); in getInstrMapping() local 4126 OpdsMapping[0] = AMDGPU::getValueMapping(Bank, DstSize); in getInstrMapping() 4168 unsigned DstSize = getSizeInBits(Dst, MRI, *TRI); in getInstrMapping() local 4170 OpdsMapping[0] = AMDGPU::getValueMapping(Bank, DstSize); in getInstrMapping() [all …]
|
| H A D | AMDGPUInstructionSelector.cpp | 506 unsigned DstSize = DstTy.getSizeInBits(); in selectG_EXTRACT() local 510 if (Offset % 32 != 0 || DstSize > 128) in selectG_EXTRACT() 515 if (DstSize == 16) in selectG_EXTRACT() 516 DstSize = 32; in selectG_EXTRACT() 556 const unsigned DstSize = DstTy.getSizeInBits(); in selectG_MERGE_VALUES() local 594 const unsigned DstSize = DstTy.getSizeInBits(); in selectG_UNMERGE_VALUES() local 2267 unsigned DstSize = DstTy.getSizeInBits(); in selectG_TRUNC() local 2349 int SubRegIdx = sizeToSubRegIndex(DstSize); in selectG_TRUNC() 2405 const unsigned DstSize = DstTy.getSizeInBits(); in selectG_SZA_EXT() local 2414 if (DstSize <= 32) in selectG_SZA_EXT() [all …]
|
| H A D | SIRegisterInfo.cpp | 3026 unsigned DstSize = getRegSizeInBits(*DstRC); in shouldCoalesce() local 3033 if (SrcSize <= 32 || DstSize <= 32) in shouldCoalesce() 3036 return NewSize <= DstSize || NewSize <= SrcSize; in shouldCoalesce()
|
| /freebsd-14.2/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 | 937 const unsigned DstSize = DstTy.getScalarSizeInBits(); in ConstantFoldCastOp() local 941 return Val->sext(DstSize); in ConstantFoldCastOp() 945 return Val->zext(DstSize); in ConstantFoldCastOp()
|
| H A D | CallLowering.cpp | 576 const unsigned DstSize = DstTy.getSizeInBits(); in buildCopyToRegs() local 585 CoveringSize = alignTo(SrcSize, DstSize); in buildCopyToRegs()
|
| H A D | LegalizerHelper.cpp | 1791 const int DstSize = DstTy.getSizeInBits(); in widenScalarMergeValues() local 1794 const int NumMerge = (DstSize + WideSize - 1) / WideSize; in widenScalarMergeValues() 1800 if (WideSize >= DstSize) { in widenScalarMergeValues() 1821 if (WideSize > DstSize) in widenScalarMergeValues() 1941 unsigned DstSize = DstTy.getSizeInBits(); in widenScalarUnmergeValues() local 7106 const unsigned DstSize = DstTy.getSizeInBits(); in lowerUnmergeValues() local 7107 unsigned Offset = DstSize; in lowerUnmergeValues() 7108 for (unsigned I = 1; I != NumDst; ++I, Offset += DstSize) { in lowerUnmergeValues() 7315 unsigned DstSize = DstTy.getSizeInBits(); in lowerExtract() local 7318 (Offset + DstSize <= SrcTy.getSizeInBits())) { in lowerExtract() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/GISel/ |
| H A D | PPCRegisterBankInfo.cpp | 221 unsigned DstSize = DstTy.getSizeInBits(); in getInstrMapping() local 232 MappingID, Cost, getCopyMapping(DstRB.getID(), SrcRB.getID(), DstSize), in getInstrMapping()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineVerifier.cpp | 1341 unsigned DstSize = DstElTy.getSizeInBits(); in verifyPreISelGenericInstruction() local 1345 if (DstSize <= SrcSize) in verifyPreISelGenericInstruction() 1350 if (DstSize >= SrcSize) in verifyPreISelGenericInstruction() 1511 if (SrcSize == DstSize) in verifyPreISelGenericInstruction() 1514 if (DstSize + OffsetOp.getImm() > SrcSize) in verifyPreISelGenericInstruction() 1534 if (DstSize <= SrcSize) in verifyPreISelGenericInstruction() 1537 if (SrcSize + OffsetOp.getImm() > DstSize) in verifyPreISelGenericInstruction() 1964 TypeSize DstSize = TRI->getRegSizeInBits(DstReg, *MRI); in visitMachineInstrBefore() local 1976 DstSize = TRI->getRegSizeInBits(*DstRC); in visitMachineInstrBefore() 1990 !DstSize.isScalable()) in visitMachineInstrBefore() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 597 unsigned DstSize = Dst->getScalarSizeInBits(); in getCastInstrCost() local 598 if (DL.isLegalInteger(DstSize) && in getCastInstrCost() 599 DstSize >= DL.getPointerTypeSizeInBits(Src)) in getCastInstrCost() 611 TypeSize DstSize = DL.getTypeSizeInBits(Dst); in getCastInstrCost() local 612 if (!DstSize.isScalable() && DL.isLegalInteger(DstSize.getFixedValue())) in getCastInstrCost()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizationArtifactCombiner.h | 276 const unsigned DstSize = DstTy.getSizeInBits(); in tryCombineTrunc() local 281 if (DstSize < MergeSrcSize) { in tryCombineTrunc() 292 } else if (DstSize == MergeSrcSize) { in tryCombineTrunc() 299 } else if (DstSize % MergeSrcSize == 0) { in tryCombineTrunc() 310 const unsigned NumSrcs = DstSize / MergeSrcSize; in tryCombineTrunc()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCall.cpp | 1182 if (FirstEltSize < DstSize && in EnterStructPointerForCoercedAccess() 1229 uint64_t DstSize = DL.getTypeSizeInBits(DestIntTy); in CoerceIntOrPtrToIntOrPtr() local 1231 if (SrcSize > DstSize) { in CoerceIntOrPtrToIntOrPtr() 1285 if (!SrcSize.isScalable() && !DstSize.isScalable() && in CreateCoercedLoad() 1286 SrcSize.getFixedValue() >= DstSize.getFixedValue()) { in CreateCoercedLoad() 1402 SrcSize.getFixedValue() <= DstSize.getFixedValue()) { in CreateCoercedStore() 3258 uint64_t DstSize = PtrElementSize.getFixedValue(); in EmitFunctionProlog() local 3261 if (SrcSize <= DstSize) { in EmitFunctionProlog() 3276 if (SrcSize > DstSize) { in EmitFunctionProlog() 5335 uint64_t DstSize = DstTypeSize.getFixedValue(); in EmitCall() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/Disassembler/ |
| H A D | AMDGPUDisassembler.cpp | 1100 unsigned DstSize = IsGather4 ? 4 : std::max(llvm::popcount(DMask), 1); in convertMIMGInst() local 1104 DstSize = (DstSize + 1) / 2; in convertMIMGInst() 1108 DstSize += 1; in convertMIMGInst() 1110 if (DstSize == Info->VDataDwords && AddrSize == Info->VAddrDwords) in convertMIMGInst() 1114 AMDGPU::getMIMGOpcode(Info->BaseOpcode, Info->MIMGEncoding, DstSize, AddrSize); in convertMIMGInst() 1120 if (DstSize != Info->VDataDwords) { in convertMIMGInst()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/GISel/ |
| H A D | X86InstructionSelector.cpp | 273 const unsigned DstSize = RBI.getSizeInBits(DstReg, MRI, TRI); in selectCopy() local 283 if (DstSize > SrcSize && SrcRegBank.getID() == X86::GPRRegBankID && in selectCopy() 309 assert((DstSize == SrcSize || in selectCopy() 313 DstSize <= RBI.getSizeInBits(SrcReg, MRI, TRI))) && in selectCopy() 320 DstRegBank.getID() == X86::GPRRegBankID && SrcSize > DstSize && in selectCopy()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 1166 unsigned DstSize = DestTy->getScalarSizeInBits(); in visitZExt() local 1171 if (SrcSize < DstSize) { in visitZExt() 1178 if (SrcSize == DstSize) { in visitZExt() 1183 if (SrcSize > DstSize) { in visitZExt() 1185 APInt AndValue(APInt::getLowBitsSet(DstSize, MidSize)); in visitZExt()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 1053 TypeSize DstSize = DstLT.second.getSizeInBits(); 1069 SrcSize == DstSize) 1125 if (SrcLT.first == DstLT.first && SrcSize == DstSize) {
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instructions.cpp | 3252 unsigned DstSize = DstTy->getScalarSizeInBits(); in isEliminableCastPair() local 3255 if (SrcSize < DstSize) in isEliminableCastPair() 3257 if (SrcSize > DstSize) in isEliminableCastPair() 3270 unsigned DstSize = DstTy->getScalarSizeInBits(); in isEliminableCastPair() local 3271 if (SrcSize <= PtrSize && SrcSize == DstSize) in isEliminableCastPair()
|