/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ValueTypes.cpp | 83 getExtendedSizeInBits() == TypeSize::getFixed(16); in isExtended16BitVector() 88 getExtendedSizeInBits() == TypeSize::getFixed(32); in isExtended32BitVector() 93 getExtendedSizeInBits() == TypeSize::getFixed(64); in isExtended64BitVector() 98 getExtendedSizeInBits() == TypeSize::getFixed(128); in isExtended128BitVector() 103 getExtendedSizeInBits() == TypeSize::getFixed(256); in isExtended256BitVector() 108 getExtendedSizeInBits() == TypeSize::getFixed(512); in isExtended512BitVector() 113 getExtendedSizeInBits() == TypeSize::getFixed(1024); in isExtended1024BitVector() 118 getExtendedSizeInBits() == TypeSize::getFixed(2048); in isExtended2048BitVector() 154 return TypeSize::getFixed(ITy->getBitWidth()); in getExtendedSizeInBits()
|
H A D | StackFrameLayoutAnalysisPass.cpp | 97 Offset.getFixed() + Offset.getScalable(), Slot) > in operator <() 99 Rhs.Offset.getFixed() + Rhs.Offset.getScalable(), in operator <() 183 formatv("\nOffset: [SP{0}", (D.Offset.getFixed() < 0) ? "" : "+").str(); in emitStackSlotRemark() 184 Rem << Prefix << ore::NV("Offset", D.Offset.getFixed()); in emitStackSlotRemark() 208 return StackOffset::getFixed(MFI.getObjectOffset(FrameIdx)); in getStackOffset()
|
H A D | TargetFrameLoweringImpl.cpp | 59 return StackOffset::getFixed(MFI.getObjectOffset(FI) + MFI.getStackSize() - in getFrameIndexReference() 74 return StackOffset::getFixed(MF.getFrameInfo().getObjectOffset(FI) - in getFrameIndexReferenceFromSP()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchRegisterInfo.cpp | 139 StackOffset::getFixed(MI.getOperand(FIOperandNum + 1).getImm()); in eliminateFrameIndex() 143 if (!isInt<12>(Offset.getFixed())) { in eliminateFrameIndex() 150 TII->movImm(MBB, II, DL, ScratchReg, Offset.getFixed()); in eliminateFrameIndex() 161 Offset = StackOffset::getFixed(0); in eliminateFrameIndex() 174 .addImm(Offset.getFixed()); in eliminateFrameIndex() 185 .addImm(Offset.getFixed()); in eliminateFrameIndex() 195 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset.getFixed()); in eliminateFrameIndex()
|
H A D | LoongArchTargetTransformInfo.cpp | 27 return TypeSize::getFixed(ST->is64Bit() ? 64 : 32); in getRegisterBitWidth() 30 return TypeSize::getFixed(256); in getRegisterBitWidth() 32 return TypeSize::getFixed(128); in getRegisterBitWidth()
|
H A D | LoongArchFrameLowering.cpp | 469 StackOffset::getFixed(MFI.getObjectOffset(FI) - getOffsetOfLocalArea() + in getFrameIndexReference() 480 Offset += StackOffset::getFixed(FirstSPAdjustAmount); in getFrameIndexReference() 482 Offset += StackOffset::getFixed(StackSize); in getFrameIndexReference() 488 Offset += StackOffset::getFixed(StackSize); in getFrameIndexReference() 492 Offset += StackOffset::getFixed(LoongArchFI->getVarArgsSaveSize()); in getFrameIndexReference() 494 Offset += StackOffset::getFixed(StackSize); in getFrameIndexReference()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | DataLayout.h | 676 return TypeSize::getFixed(getPointerSizeInBits(0)); in getTypeSizeInBits() 678 return TypeSize::getFixed( in getTypeSizeInBits() 689 return TypeSize::getFixed(Ty->getIntegerBitWidth()); in getTypeSizeInBits() 692 return TypeSize::getFixed(16); in getTypeSizeInBits() 694 return TypeSize::getFixed(32); in getTypeSizeInBits() 697 return TypeSize::getFixed(64); in getTypeSizeInBits() 700 return TypeSize::getFixed(128); in getTypeSizeInBits() 702 return TypeSize::getFixed(8192); in getTypeSizeInBits() 706 return TypeSize::getFixed(80); in getTypeSizeInBits()
|
H A D | VectorBuilder.h | 70 StaticVectorLength(ElementCount::getFixed(0)) {} in Builder() 87 StaticVectorLength = ElementCount::getFixed(NewFixedVL); in setStaticVL()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Type.cpp | 169 return TypeSize::getFixed(16); in getPrimitiveSizeInBits() 171 return TypeSize::getFixed(16); in getPrimitiveSizeInBits() 173 return TypeSize::getFixed(32); in getPrimitiveSizeInBits() 175 return TypeSize::getFixed(64); in getPrimitiveSizeInBits() 177 return TypeSize::getFixed(80); in getPrimitiveSizeInBits() 179 return TypeSize::getFixed(128); in getPrimitiveSizeInBits() 181 return TypeSize::getFixed(128); in getPrimitiveSizeInBits() 183 return TypeSize::getFixed(64); in getPrimitiveSizeInBits() 185 return TypeSize::getFixed(8192); in getPrimitiveSizeInBits() 187 return TypeSize::getFixed(cast<IntegerType>(this)->getBitWidth()); in getPrimitiveSizeInBits() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/ |
H A D | LowLevelType.h | 44 ElementCount::getFixed(0), SizeInBits, in scalar() 51 /*isScalar=*/true, ElementCount::getFixed(0), in token() 60 ElementCount::getFixed(0), SizeInBits, AddressSpace}; in pointer() 102 return vector(ElementCount::getFixed(NumElements), ScalarSizeInBits); in fixed_vector() 108 return vector(ElementCount::getFixed(NumElements), ScalarTy); in fixed_vector() 195 return TypeSize::getFixed(getScalarSizeInBits()); in getSizeInBits()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64FrameLowering.cpp | 576 StackOffset::getFixed(Amount), TII); in eliminateCallFramePseudoInstr() 584 StackOffset::getFixed(-(int64_t)CalleePopAmount), TII); in eliminateCallFramePseudoInstr() 661 StackOffset::getFixed(AFI.getCalleeSavedStackSize(MFI)); in emitCalleeSavedSVELocations() 771 return Size.getScalable() * MAX_BYTES_PER_SCALABLE_BYTE + Size.getFixed(); in upperBound() 828 .addImm(AllocSize.getFixed()) in allocateStackSpace() 829 .addImm(InitialOffset.getFixed()) in allocateStackSpace() 1485 TypeSize Scale = TypeSize::getFixed(1), Width = TypeSize::getFixed(0); in convertCalleeSaveRestoreToSPPrePostIncDec() 1501 StackOffset::getFixed(CSStackSizeInc), TII, FrameFlag, in convertCalleeSaveRestoreToSPPrePostIncDec() 1503 StackOffset::getFixed(CFAOffset)); in convertCalleeSaveRestoreToSPPrePostIncDec() 1885 StackOffset::getFixed(-NumBytes), TII, in emitPrologue() [all …]
|
H A D | AArch64RegisterInfo.cpp | 809 StackOffset SaveOffset = StackOffset::getFixed(Offset); in isFrameOffsetLegal() 843 StackOffset Off = StackOffset::getFixed(Offset); in resolveFrameIndex() 896 DIExpression::appendOffset(Ops, Offset.getFixed()); in getOffsetOpcodes() 940 Offset += StackOffset::getFixed(MI.getOperand(FIOperandNum + 1).getImm()); in eliminateFrameIndex() 942 MI.getOperand(FIOperandNum + 1).ChangeToImmediate(Offset.getFixed()); in eliminateFrameIndex() 951 FI.ChangeToImmediate(Offset.getFixed()); in eliminateFrameIndex() 960 Offset = StackOffset::getFixed(MFI.getObjectOffset(FrameIndex) + in eliminateFrameIndex() 963 StackOffset SPOffset = StackOffset::getFixed( in eliminateFrameIndex() 985 Offset = StackOffset::getFixed(MFI.getObjectOffset(FrameIndex) + in eliminateFrameIndex()
|
H A D | AArch64InstrInfo.cpp | 3552 Scale = TypeSize::getFixed(0); in getMemOpInfo() 3553 Width = TypeSize::getFixed(0); in getMemOpInfo() 3559 Scale = TypeSize::getFixed(16); in getMemOpInfo() 3560 Width = TypeSize::getFixed(16); in getMemOpInfo() 3569 Scale = TypeSize::getFixed(8); in getMemOpInfo() 3570 Width = TypeSize::getFixed(8); in getMemOpInfo() 3579 Scale = TypeSize::getFixed(4); in getMemOpInfo() 3580 Width = TypeSize::getFixed(4); in getMemOpInfo() 3590 Scale = TypeSize::getFixed(2); in getMemOpInfo() 3591 Width = TypeSize::getFixed(2); in getMemOpInfo() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | TypeSize.h | 42 static StackOffset getFixed(int64_t Fixed) { return {Fixed, 0}; } in getFixed() function 49 int64_t getFixed() const { return Fixed; } in getFixed() function 311 static constexpr ElementCount getFixed(ScalarTy MinVal) { in getFixed() function 345 static constexpr TypeSize getFixed(ScalarTy ExactSize) { in getFixed() function 433 return ElementCount::getFixed(~0U - 1);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
H A D | DXILIntrinsicExpansion.cpp | 60 ElementCount::getFixed( in expandAbs() 111 ElementCount::getFixed( in expandExpIntrinsic() 143 ElementCount::getFixed(XVec->getNumElements()), in expandAnyIntrinsic() 147 ElementCount::getFixed(XVec->getNumElements()), in expandAnyIntrinsic() 183 ElementCount::getFixed( in expandLogIntrinsic()
|
H A D | CBufferDataLayout.cpp | 79 return TypeSize::getFixed(0); in getTypeAllocSize() 84 return TypeSize::getFixed(AlignedEltSize * (NumElts - 1) + EltSize); in getTypeAllocSize() 98 TypeSize Offset = TypeSize::getFixed(0); in getStructLayout()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | VETargetTransformInfo.h | 101 return TypeSize::getFixed(64); in getRegisterBitWidth() 104 return TypeSize::getFixed(0); in getRegisterBitWidth()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVFrameLowering.cpp | 433 Offset = StackOffset::getFixed(FixedOffset); in adjustStackForRVV() 623 StackOffset::getFixed(-StackSize), MachineInstr::FrameSetup, in emitPrologue() 670 StackOffset::getFixed(RealStackSize - RVFI->getVarArgsSaveSize()), in emitPrologue() 688 StackOffset::getFixed(-SecondSPAdjustAmount), in emitPrologue() 817 StackOffset::getFixed(-FPOffset), in emitEpilogue() 833 StackOffset::getFixed(SecondSPAdjustAmount), in emitEpilogue() 853 RI->adjustReg(MBB, MBBI, DL, SPReg, SPReg, StackOffset::getFixed(StackSize), in emitEpilogue() 882 Offset = StackOffset::getFixed(MFI.getObjectOffset(FI) + in getFrameIndexReference() 899 Offset += StackOffset::getFixed(FirstSPAdjustAmount); in getFrameIndexReference() 901 Offset += StackOffset::getFixed(getStackSizeWithRVVPadding(MF)); in getFrameIndexReference() [all …]
|
H A D | RISCVRegisterInfo.cpp | 180 if (DestReg == SrcReg && !Offset.getFixed() && !Offset.getScalable()) in adjustReg() 228 int64_t Val = Offset.getFixed(); in adjustReg() 469 Offset += StackOffset::getFixed(MI.getOperand(FIOperandNum + 1).getImm()); in eliminateFrameIndex() 475 int64_t FixedValue = Offset.getFixed(); in eliminateFrameIndex() 481 Offset = StackOffset::getFixed(FixedValue + NumOfVReg * VLENB); in eliminateFrameIndex() 484 if (!isInt<32>(Offset.getFixed())) { in eliminateFrameIndex() 490 int64_t Val = Offset.getFixed(); in eliminateFrameIndex() 522 if (Offset.getScalable() || Offset.getFixed()) { in eliminateFrameIndex() 773 DIExpression::appendOffset(Ops, Offset.getFixed()); in getOffsetOpcodes()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyTargetTransformInfo.cpp | 43 return TypeSize::getFixed(64); in getRegisterBitWidth() 45 return TypeSize::getFixed(getST()->hasSIMD128() ? 128 : 64); in getRegisterBitWidth()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizeMutations.cpp | 52 NewTy.isVector() ? NewTy.getElementCount() : ElementCount::getFixed(1); in changeElementCountTo() 62 : ElementCount::getFixed(1); in changeElementCountTo()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMTargetTransformInfo.h | 168 return TypeSize::getFixed(32); in getRegisterBitWidth() 171 return TypeSize::getFixed(128); in getRegisterBitWidth() 173 return TypeSize::getFixed(128); in getRegisterBitWidth() 174 return TypeSize::getFixed(0); in getRegisterBitWidth()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
H A D | M68kFrameLowering.cpp | 104 return StackOffset::getFixed(Offset + SlotSize); in getFrameIndexReference() 108 return StackOffset::getFixed(Offset + StackSize); in getFrameIndexReference() 113 return StackOffset::getFixed(Offset + SlotSize); in getFrameIndexReference() 117 return StackOffset::getFixed(Offset + StackSize); in getFrameIndexReference() 121 return StackOffset::getFixed(Offset + StackSize); in getFrameIndexReference() 131 return StackOffset::getFixed(Offset); in getFrameIndexReference()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
H A D | AArch64RegisterBankInfo.cpp | 168 TypeSize::getFixed(Size)); \ in AArch64RegisterBankInfo() 352 TypeSize::getFixed(Size)), in getInstrAlternativeMappings() 359 TypeSize::getFixed(Size)), in getInstrAlternativeMappings() 385 getValueMapping(PMI_FirstGPR, TypeSize::getFixed(64))}), in getInstrAlternativeMappings() 392 getValueMapping(PMI_FirstGPR, TypeSize::getFixed(64))}), in getInstrAlternativeMappings() 841 TypeSize::getFixed(OpSize[0])); in getInstrMapping() 1134 getValueMapping(OpRegBankIdx[Idx], TypeSize::getFixed(OpSize[Idx])); in getInstrMapping()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | R600FrameLowering.cpp | 45 return StackOffset::getFixed(OffsetBytes / (getStackWidth(MF) * 4)); in getFrameIndexReference()
|