Home
last modified time | relevance | path

Searched refs:getScalable (Results 1 – 25 of 44) sorted by relevance

12

/src/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackFrameLayoutAnalysisPass.cpp97 Offset.getFixed() + Offset.getScalable(), Slot) > in operator <()
99 Rhs.Offset.getFixed() + Rhs.Offset.getScalable(), in operator <()
186 if (D.Offset.getScalable()) { in emitStackSlotRemark()
187 Rem << ((D.Offset.getScalable() < 0) ? "" : "+") in emitStackSlotRemark()
188 << ore::NV("ScalableOffset", D.Offset.getScalable()) << " x vscale"; in emitStackSlotRemark()
H A DGCRootLowering.cpp313 assert(!FrameOffset.getScalable() && in FindStackOffsets()
H A DTargetRegisterInfo.cpp652 assert(!Offset.getScalable() && "Scalable offsets are not handled"); in getOffsetOpcodes()
/src/contrib/llvm-project/llvm/include/llvm/Support/
H A DTypeSize.h43 static StackOffset getScalable(int64_t Scalable) { return {0, Scalable}; } in getScalable() function
52 int64_t getScalable() const { return Scalable; } in getScalable() function
314 static constexpr ElementCount getScalable(ScalarTy MinVal) { in getScalable() function
348 static constexpr TypeSize getScalable(ScalarTy MinimumSize) { in getScalable() function
430 return ElementCount::getScalable(~0U);
/src/contrib/llvm-project/llvm/lib/IR/
H A DVFABIDemangler.cpp309 return ElementCount::getScalable(2); in getElementCountForTy()
311 return ElementCount::getScalable(4); in getElementCountForTy()
313 return ElementCount::getScalable(8); in getElementCountForTy()
315 return ElementCount::getScalable(16); in getElementCountForTy()
327 ElementCount::getScalable(std::numeric_limits<unsigned int>::max()); in getScalableECFromSignature()
H A DType.cpp720 auto EC = ElementCount::getScalable(MinNumElts); in get()
H A DDataLayout.cpp58 StructSize = TypeSize::getScalable(0); in StructLayout()
/src/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVRegisterInfo.cpp180 if (DestReg == SrcReg && !Offset.getFixed() && !Offset.getScalable()) in adjustReg()
190 if (Offset.getScalable()) { in adjustReg()
192 int64_t ScalableValue = Offset.getScalable(); in adjustReg()
471 if (Offset.getScalable() && in eliminateFrameIndex()
476 int64_t ScalableValue = Offset.getScalable(); in eliminateFrameIndex()
518 Offset.getScalable()); in eliminateFrameIndex()
522 if (Offset.getScalable() || Offset.getFixed()) { in eliminateFrameIndex()
770 assert(Offset.getScalable() % 8 == 0 && "Invalid frame offset"); in getOffsetOpcodes()
776 int64_t VLENBSized = Offset.getScalable() / 8; in getOffsetOpcodes()
H A DRISCVFrameLowering.cpp421 StackOffset Offset = StackOffset::getScalable(Amount); in adjustStackForRVV()
885 Offset = StackOffset::getScalable(MFI.getObjectOffset(FI)); in getFrameIndexReference()
/src/contrib/llvm-project/llvm/lib/Target/VE/
H A DVETargetTransformInfo.h106 return TypeSize::getScalable(0); in getRegisterBitWidth()
/src/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/
H A DLowLevelType.h115 return vector(ElementCount::getScalable(MinNumElements), ScalarSizeInBits); in scalable_vector()
121 return vector(ElementCount::getScalable(MinNumElements), ScalarTy); in scalable_vector()
/src/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetTransformInfo.cpp47 return TypeSize::getScalable(0); in getRegisterBitWidth()
/src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInjectTLIMappings.cpp117 for (ElementCount VF = ElementCount::getScalable(2); in addMappingsFromTLI()
/src/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp3778 Scale = TypeSize::getScalable(16); in getMemOpInfo()
3779 Width = TypeSize::getScalable(16 * 4); in getMemOpInfo()
3785 Scale = TypeSize::getScalable(16); in getMemOpInfo()
3786 Width = TypeSize::getScalable(16 * 3); in getMemOpInfo()
3792 Scale = TypeSize::getScalable(16); in getMemOpInfo()
3793 Width = TypeSize::getScalable(16 * 2); in getMemOpInfo()
3799 Scale = TypeSize::getScalable(2); in getMemOpInfo()
3800 Width = TypeSize::getScalable(2); in getMemOpInfo()
3806 Scale = TypeSize::getScalable(2); in getMemOpInfo()
3807 Width = TypeSize::getScalable(2 * 2); in getMemOpInfo()
[all …]
H A DAArch64FrameLowering.cpp447 return StackOffset::getScalable((int64_t)AFI->getStackSizeSVE()); in getSVEStackSize()
660 StackOffset::getScalable(MFI.getObjectOffset(Info.getFrameIdx())) - in emitCalleeSavedSVELocations()
771 return Size.getScalable() * MAX_BYTES_PER_SCALABLE_BYTE + Size.getFixed(); in upperBound()
823 if (AllocSize.getScalable() == 0 && RealignmentPadding == 0) { in allocateStackSpace()
830 .addImm(InitialOffset.getScalable()); in allocateStackSpace()
2169 SVECalleeSavesSize = StackOffset::getScalable(CalleeSavedSize); in emitPrologue()
2481 StackOffset::getScalable(CalleeSavedSize); in emitEpilogue()
2497 StackOffset::getScalable(-CalleeSavedSize), TII, in emitEpilogue()
2804 FPOffset.getScalable() < SPOffset.getScalable() || in resolveFrameOffsetReference()
5052 int64_t start() const { return Offset.getFixed() + Offset.getScalable(); } in start()
[all …]
H A DAArch64RegisterInfo.cpp893 assert(Offset.getScalable() % 2 == 0 && "Invalid frame offset"); in getOffsetOpcodes()
899 int64_t VGSized = Offset.getScalable() / 2; in getOffsetOpcodes()
949 assert(!Offset.getScalable() && in eliminateFrameIndex()
H A DAArch64TargetTransformInfo.cpp550 if (VTy->getElementCount() == ElementCount::getScalable(1)) in getIntrinsicInstrCost()
2329 return TypeSize::getScalable(128); in getRegisterBitWidth()
2331 return TypeSize::getScalable(0); in getRegisterBitWidth()
3040 if (VTy->getElementCount() == ElementCount::getScalable(1)) in getArithmeticInstrCost()
3362 if (VT->getElementCount() == ElementCount::getScalable(1)) in getMaskedMemoryOpCost()
3393 if (VT->getElementCount() == ElementCount::getScalable(1)) in getGatherScatterOpCost()
3433 if (VTy->getElementCount() == ElementCount::getScalable(1) || in getMemoryOpCost()
3436 ElementCount::getScalable(16)))) in getMemoryOpCost()
3822 if (VTy->getElementCount() == ElementCount::getScalable(1)) in getMinMaxReductionCost()
3874 if (VTy->getElementCount() == ElementCount::getScalable(1)) in getArithmeticReductionCost()
[all …]
/src/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationPlanner.h276 ScalableVF(ElementCount::getScalable(0)) {} in FixedScalableVFPair()
H A DLoopVectorizationLegality.cpp779 for (ElementCount VF = ElementCount::getScalable(1); in isTLIScalarize()
/src/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp125 return TypeSize::getScalable(0); in getRegisterBitWidth()
/src/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h176 return TypeSize::getScalable(0); in getRegisterBitWidth()
/src/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h129 SpillOffset.getScalable()) <
131 Other.SpillOffset.getScalable());
H A DVarLocBasedImpl.cpp392 Value.SpillLocation.SpillOffset.getScalable()) < in operator <()
396 Other.Value.SpillLocation.SpillOffset.getScalable()); in operator <()
726 << MLoc.Value.SpillLocation.SpillOffset.getScalable() in dump()
/src/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp495 return TypeSize::getScalable(0); in getRegisterBitWidth()
/src/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp378 return TypeSize::getScalable(0); in getRegisterBitWidth()

12