/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64StackOffset.h | 37 class StackOffset { 46 StackOffset() : Bytes(0), ScalableBytes(0) {} in StackOffset() function 48 StackOffset(int64_t Offset, MVT::SimpleValueType T) : StackOffset() { in StackOffset() function 53 StackOffset(const StackOffset &Other) in StackOffset() function 56 StackOffset &operator=(const StackOffset &) = default; 58 StackOffset &operator+=(const StackOffset::Part &Other) { 67 StackOffset &operator+=(const StackOffset &Other) { 73 StackOffset operator+(const StackOffset &Other) const { 74 StackOffset Res(*this); 79 StackOffset &operator-=(const StackOffset &Other) { [all …]
|
D | AArch64RegisterInfo.cpp | 401 StackOffset SaveOffset(Offset, MVT::i8); in isFrameOffsetLegal() 432 StackOffset Off(Offset, MVT::i8); in resolveFrameIndex() 469 StackOffset Offset = in eliminateFrameIndex() 473 Offset += StackOffset(MI.getOperand(FIOperandNum + 1).getImm(), MVT::i8); in eliminateFrameIndex() 486 StackOffset Offset; in eliminateFrameIndex() 495 StackOffset SPOffset = { in eliminateFrameIndex()
|
D | AArch64FrameLowering.h | 43 StackOffset resolveFrameIndexReference(const MachineFunction &MF, int FI, 46 StackOffset resolveFrameOffsetReference(const MachineFunction &MF,
|
D | AArch64FrameLowering.cpp | 199 StackOffset Offset; in estimateRSStackSizeLimit() 215 static StackOffset getSVEStackSize(const MachineFunction &MF) { in getSVEStackSize() 912 const StackOffset &SVEStackSize = getSVEStackSize(MF); in emitPrologue() 1131 StackOffset AllocateBefore = SVEStackSize, AllocateAfter = {}; in emitPrologue() 1146 StackOffset OffsetToCalleeSavesFromSP = in emitPrologue() 1147 StackOffset(OffsetToFirstCalleeSaveFromSP, MVT::nxv1i8) + SVEStackSize; in emitPrologue() 1511 const StackOffset &SVEStackSize = getSVEStackSize(MF); in emitEpilogue() 1531 StackOffset DeallocateBefore = {}, DeallocateAfter = SVEStackSize; in emitEpilogue() 1545 StackOffset OffsetToCalleeSavesFromSP = in emitEpilogue() 1546 StackOffset(OffsetToFirstCalleeSaveFromSP, MVT::nxv1i8) + SVEStackSize; in emitEpilogue() [all …]
|
/external/llvm-project/llvm/unittests/Target/AArch64/ |
D | DecomposeStackOffsetTest.cpp | 15 TEST(StackOffset, decomposeStackOffsetForFrameOffsets) { in TEST() argument 16 StackOffset A = StackOffset::getFixed(8); in TEST() 17 StackOffset B = StackOffset::getFixed(4); in TEST() 18 StackOffset C = StackOffset::getScalable(16); in TEST() 31 StackOffset D = StackOffset::getScalable(2); in TEST() 37 StackOffset E = StackOffset::getScalable(64); in TEST() 38 StackOffset F = StackOffset::getScalable(2); in TEST() 47 StackOffset G = StackOffset::getScalable(128); in TEST() 48 StackOffset H = StackOffset::getScalable(2); in TEST()
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64FrameLowering.h | 44 StackOffset getFrameIndexReference(const MachineFunction &MF, int FI, 46 StackOffset resolveFrameIndexReference(const MachineFunction &MF, int FI, 49 StackOffset resolveFrameOffsetReference(const MachineFunction &MF, 97 StackOffset 101 StackOffset getNonLocalFrameIndexReference(const MachineFunction &MF, 136 const StackOffset &OffsetFromSP) const; 138 const StackOffset &OffsetFromDefCFA) const;
|
D | AArch64FrameLowering.cpp | 240 StackOffset Offset; in estimateRSStackSizeLimit() 274 static StackOffset getSVEStackSize(const MachineFunction &MF) { in getSVEStackSize() 276 return StackOffset::getScalable((int64_t)AFI->getStackSizeSVE()); in getSVEStackSize() 369 StackOffset::getFixed(Amount), TII); in eliminateCallFramePseudoInstr() 376 StackOffset::getFixed(-(int64_t)CalleePopAmount), TII); in eliminateCallFramePseudoInstr() 414 const TargetRegisterInfo &TRI, const StackOffset &OffsetFromSP) const { in createDefCFAExpressionFromSP() 442 const StackOffset &OffsetFromDefCFA) const { in createCfaOffset() 498 StackOffset Offset; in emitCalleeSavedFrameMoves() 502 StackOffset::getScalable(MFI.getObjectOffset(Info.getFrameIdx())) - in emitCalleeSavedFrameMoves() 503 StackOffset::getFixed(AFI->getCalleeSavedStackSize(MFI)); in emitCalleeSavedFrameMoves() [all …]
|
D | AArch64RegisterInfo.cpp | 527 StackOffset SaveOffset = StackOffset::getFixed(Offset); in isFrameOffsetLegal() 558 StackOffset Off = StackOffset::getFixed(Offset); in resolveFrameIndex() 617 StackOffset Offset = in eliminateFrameIndex() 621 Offset += StackOffset::getFixed(MI.getOperand(FIOperandNum + 1).getImm()); in eliminateFrameIndex() 629 StackOffset Offset = TFI->getNonLocalFrameIndexReference(MF, FrameIndex); in eliminateFrameIndex() 636 StackOffset Offset; in eliminateFrameIndex() 641 Offset = StackOffset::getFixed(MFI.getObjectOffset(FrameIndex) + in eliminateFrameIndex() 644 StackOffset SPOffset = StackOffset::getFixed( in eliminateFrameIndex() 666 Offset = StackOffset::getFixed(MFI.getObjectOffset(FrameIndex) + in eliminateFrameIndex()
|
D | AArch64InstrInfo.h | 295 static void decomposeStackOffsetForFrameOffsets(const StackOffset &Offset, 299 static void decomposeStackOffsetForDwarfOffsets(const StackOffset &Offset, 344 StackOffset Offset, const TargetInstrInfo *TII, 353 unsigned FrameReg, StackOffset &Offset, 377 int isAArch64FrameOffsetLegal(const MachineInstr &MI, StackOffset &Offset,
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | TypeSize.h | 120 class StackOffset; variable 121 template <> struct LinearPolyBaseTypeTraits<StackOffset> { 130 class StackOffset : public LinearPolyBase<StackOffset> { 132 StackOffset(ScalarTy Fixed, ScalarTy Scalable) 133 : LinearPolyBase<StackOffset>({Fixed, Scalable}) {} 136 StackOffset() : StackOffset({0, 0}) {} 137 StackOffset(const LinearPolyBase<StackOffset> &Other) 138 : LinearPolyBase<StackOffset>(Other) {} 139 static StackOffset getFixed(ScalarTy Fixed) { return {Fixed, 0}; } 140 static StackOffset getScalable(ScalarTy Scalable) { return {0, Scalable}; } [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | CallingConvLower.h | 204 unsigned StackOffset; variable 278 return StackOffset; in getNextStackOffset() 285 return alignTo(StackOffset, MaxStackArgAlign); in getAlignedCallFrameSize() 416 StackOffset = alignTo(StackOffset, Align); in AllocateStack() 417 unsigned Result = StackOffset; in AllocateStack() 418 StackOffset += Size; in AllocateStack()
|
D | GCMetadata.h | 65 int StackOffset; ///< Offset from the stack pointer. member 69 GCRoot(int N, const Constant *MD) : Num(N), StackOffset(-1), Metadata(MD) {} in GCRoot()
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | CallingConvLower.h | 201 unsigned StackOffset; variable 265 return StackOffset; in getNextStackOffset() 272 return alignTo(StackOffset, MaxStackArgAlign); in getAlignedCallFrameSize() 426 StackOffset = alignTo(StackOffset, Alignment); in AllocateStack() 427 unsigned Result = StackOffset; in AllocateStack() 428 StackOffset += Size; in AllocateStack()
|
D | TargetFrameLowering.h | 301 virtual StackOffset getFrameIndexReference(const MachineFunction &MF, int FI, 310 virtual StackOffset 321 virtual StackOffset getNonLocalFrameIndexReference(const MachineFunction &MF, in getNonLocalFrameIndexReference()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | CallingConvLower.h | 201 unsigned StackOffset; variable 273 return StackOffset; in getNextStackOffset() 280 return alignTo(StackOffset, MaxStackArgAlign); in getAlignedCallFrameSize() 428 StackOffset = alignTo(StackOffset, CheckedAlignment); in AllocateStack() 429 unsigned Result = StackOffset; in AllocateStack() 430 StackOffset += Size; in AllocateStack()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | R600FrameLowering.cpp | 21 StackOffset 48 return StackOffset::getFixed(OffsetBytes / (getStackWidth(MF) * 4)); in getFrameIndexReference()
|
D | SIMachineFunctionInfo.h | 122 unsigned StackOffset; member 127 SIArgument() : IsRegister(false), StackOffset(0) {} in SIArgument() 134 StackOffset = Other.StackOffset; in SIArgument() 143 StackOffset = Other.StackOffset; 170 YamlIO.mapRequired("offset", A.StackOffset); 177 YamlIO.mapRequired("offset", A.StackOffset);
|
D | AMDGPUArgumentUsageInfo.h | 31 unsigned StackOffset; member 79 return StackOffset; in getStackOffset()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIMachineFunctionInfo.h | 122 unsigned StackOffset; member 127 SIArgument() : IsRegister(false), StackOffset(0) {} in SIArgument() 134 StackOffset = Other.StackOffset; in SIArgument() 143 StackOffset = Other.StackOffset; 170 YamlIO.mapRequired("offset", A.StackOffset); 177 YamlIO.mapRequired("offset", A.StackOffset);
|
D | AMDGPUArgumentUsageInfo.h | 33 unsigned StackOffset; member 78 return StackOffset; in getStackOffset()
|
/external/llvm-project/llvm/lib/Target/NVPTX/ |
D | NVPTXFrameLowering.cpp | 66 StackOffset 71 return StackOffset::getFixed(MFI.getObjectOffset(FI) - in getFrameIndexReference()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86FrameLowering.h | 106 StackOffset getFrameIndexReference(const MachineFunction &MF, int FI, 111 StackOffset getFrameIndexReferenceSP(const MachineFunction &MF, int FI, 113 StackOffset
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | TargetFrameLoweringImpl.cpp | 44 StackOffset 55 return StackOffset::getFixed(MFI.getObjectOffset(FI) + MFI.getStackSize() - in getFrameIndexReference()
|
/external/llvm-project/llvm/lib/MC/ |
D | MCWin64EH.cpp | 683 int StackOffset = 0; in tryPackedUnwind() local 804 if (StackOffset == 0) in tryPackedUnwind() 805 StackOffset = Inst.Offset; in tryPackedUnwind() 806 else if (StackOffset != 4080) in tryPackedUnwind() 809 StackOffset += Inst.Offset; in tryPackedUnwind() 818 StackOffset = Inst.Offset; in tryPackedUnwind() 852 if (FPLRPair && StackOffset < 16) in tryPackedUnwind() 854 if (StackOffset % 16) in tryPackedUnwind() 856 uint32_t FrameSize = (StackOffset + SavSZ) / 16; in tryPackedUnwind()
|
/external/llvm-project/llvm/lib/Target/VE/ |
D | VEFrameLowering.cpp | 449 StackOffset VEFrameLowering::getFrameIndexReference(const MachineFunction &MF, in getFrameIndexReference() 461 return StackOffset::getFixed(FrameOffset + in getFrameIndexReference() 471 return StackOffset::getFixed(FrameOffset + in getFrameIndexReference() 476 return StackOffset::getFixed(FrameOffset); in getFrameIndexReference()
|