Home
last modified time | relevance | path

Searched refs:getFixed (Results 1 – 25 of 130) sorted by relevance

123456

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DValueTypes.cpp83 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 DStackFrameLayoutAnalysisPass.cpp97 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 DTargetFrameLoweringImpl.cpp59 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 DLoongArchRegisterInfo.cpp139 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 DLoongArchTargetTransformInfo.cpp27 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 DLoongArchFrameLowering.cpp469 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 DDataLayout.h676 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 DVectorBuilder.h70 StaticVectorLength(ElementCount::getFixed(0)) {} in Builder()
87 StaticVectorLength = ElementCount::getFixed(NewFixedVL); in setStaticVL()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp169 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 DLowLevelType.h44 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 DAArch64FrameLowering.cpp576 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 DAArch64RegisterInfo.cpp809 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 DAArch64InstrInfo.cpp3552 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 DTypeSize.h42 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 DDXILIntrinsicExpansion.cpp60 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 DCBufferDataLayout.cpp79 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 DVETargetTransformInfo.h101 return TypeSize::getFixed(64); in getRegisterBitWidth()
104 return TypeSize::getFixed(0); in getRegisterBitWidth()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp433 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 DRISCVRegisterInfo.cpp180 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 DWebAssemblyTargetTransformInfo.cpp43 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 DLegalizeMutations.cpp52 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 DARMTargetTransformInfo.h168 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 DM68kFrameLowering.cpp104 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 DAArch64RegisterBankInfo.cpp168 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 DR600FrameLowering.cpp45 return StackOffset::getFixed(OffsetBytes / (getStackWidth(MF) * 4)); in getFrameIndexReference()

123456