Home
last modified time | relevance | path

Searched refs:FrameSize (Results 1 – 25 of 102) sorted by relevance

12345

/external/llvm-project/llvm/lib/Target/VE/
DVESubtarget.cpp50 uint64_t VESubtarget::getAdjustedFrameSize(uint64_t FrameSize) const { in getAdjustedFrameSize()
55 FrameSize += getRsaSize(); in getAdjustedFrameSize()
56 FrameSize = alignTo(FrameSize, TFL->getStackAlign()); in getAdjustedFrameSize()
58 return FrameSize; in getAdjustedFrameSize()
/external/llvm-project/llvm/lib/Target/Lanai/
DLanaiFrameLowering.cpp32 unsigned FrameSize = MFI.getStackSize(); in determineFrameLayout() local
51 FrameSize += MaxCallFrameSize; in determineFrameLayout()
54 FrameSize = alignTo(FrameSize, StackAlign); in determineFrameLayout()
57 MFI.setStackSize(FrameSize); in determineFrameLayout()
/external/llvm/lib/Target/Lanai/
DLanaiFrameLowering.cpp33 unsigned FrameSize = MFI->getStackSize(); in determineFrameLayout() local
52 FrameSize += MaxCallFrameSize; in determineFrameLayout()
55 FrameSize = alignTo(FrameSize, StackAlign); in determineFrameLayout()
58 MFI->setStackSize(FrameSize); in determineFrameLayout()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiFrameLowering.cpp32 unsigned FrameSize = MFI.getStackSize(); in determineFrameLayout() local
51 FrameSize += MaxCallFrameSize; in determineFrameLayout()
54 FrameSize = alignTo(FrameSize, StackAlign); in determineFrameLayout()
57 MFI.setStackSize(FrameSize); in determineFrameLayout()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMips16InstrInfo.cpp210 void Mips16InstrInfo::makeFrame(unsigned SP, int64_t FrameSize, in makeFrame() argument
219 unsigned Opc = ((FrameSize <= 128) && !SaveS2)? Mips::Save16:Mips::SaveX16; in makeFrame()
225 if (isUInt<11>(FrameSize)) in makeFrame()
226 MIB.addImm(FrameSize); in makeFrame()
230 int64_t Remainder = FrameSize - Base; in makeFrame()
240 void Mips16InstrInfo::restoreFrame(unsigned SP, int64_t FrameSize, in restoreFrame() argument
249 unsigned Opc = ((FrameSize <= 128) && !SaveS2)? in restoreFrame()
252 if (!isUInt<11>(FrameSize)) { in restoreFrame()
254 int64_t Remainder = FrameSize - Base; in restoreFrame()
255 FrameSize = Base; // should create template function like isUInt that in restoreFrame()
[all …]
/external/llvm-project/llvm/lib/Target/Mips/
DMips16InstrInfo.cpp210 void Mips16InstrInfo::makeFrame(unsigned SP, int64_t FrameSize, in makeFrame() argument
219 unsigned Opc = ((FrameSize <= 128) && !SaveS2)? Mips::Save16:Mips::SaveX16; in makeFrame()
225 if (isUInt<11>(FrameSize)) in makeFrame()
226 MIB.addImm(FrameSize); in makeFrame()
230 int64_t Remainder = FrameSize - Base; in makeFrame()
240 void Mips16InstrInfo::restoreFrame(unsigned SP, int64_t FrameSize, in restoreFrame() argument
249 unsigned Opc = ((FrameSize <= 128) && !SaveS2)? in restoreFrame()
252 if (!isUInt<11>(FrameSize)) { in restoreFrame()
254 int64_t Remainder = FrameSize - Base; in restoreFrame()
255 FrameSize = Base; // should create template function like isUInt that in restoreFrame()
[all …]
/external/llvm/lib/Target/Mips/
DMips16InstrInfo.cpp194 void Mips16InstrInfo::makeFrame(unsigned SP, int64_t FrameSize, in makeFrame() argument
203 unsigned Opc = ((FrameSize <= 128) && !SaveS2)? Mips::Save16:Mips::SaveX16; in makeFrame()
209 if (isUInt<11>(FrameSize)) in makeFrame()
210 MIB.addImm(FrameSize); in makeFrame()
214 int64_t Remainder = FrameSize - Base; in makeFrame()
224 void Mips16InstrInfo::restoreFrame(unsigned SP, int64_t FrameSize, in restoreFrame() argument
233 unsigned Opc = ((FrameSize <= 128) && !SaveS2)? in restoreFrame()
236 if (!isUInt<11>(FrameSize)) { in restoreFrame()
238 int64_t Remainder = FrameSize - Base; in restoreFrame()
239 FrameSize = Base; // should create template function like isUInt that in restoreFrame()
[all …]
/external/webrtc/modules/video_coding/
Djitter_estimator_tests.cc53 uint32_t FrameSize() const { return 1000 + Delay(); } in FrameSize() function in webrtc::ValueGenerator
67 estimator_->UpdateEstimate(gen.Delay(), gen.FrameSize()); in TEST_F()
83 estimator_->UpdateEstimate(gen.Delay(), gen.FrameSize()); in TEST_F()
136 estimator_->UpdateEstimate(gen.Delay(), gen.FrameSize()); in TEST_F()
/external/llvm-project/llvm/lib/Target/AVR/
DAVRFrameLowering.cpp94 unsigned FrameSize = MFI.getStackSize() - AFI->getCalleeSavedFrameSize(); in emitPrologue() local
114 if (!FrameSize) { in emitPrologue()
119 unsigned Opcode = (isUInt<6>(FrameSize)) ? AVR::SBIWRdK : AVR::SUBIWRdK; in emitPrologue()
123 .addImm(FrameSize) in emitPrologue()
170 unsigned FrameSize = MFI.getStackSize() - AFI->getCalleeSavedFrameSize(); in emitEpilogue() local
175 if (!FrameSize) { in emitEpilogue()
195 if (isUInt<6>(FrameSize)) { in emitEpilogue()
199 FrameSize = -FrameSize; in emitEpilogue()
205 .addImm(FrameSize); in emitEpilogue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRFrameLowering.cpp104 unsigned FrameSize = MFI.getStackSize() - AFI->getCalleeSavedFrameSize(); in emitPrologue() local
124 if (!FrameSize) { in emitPrologue()
129 unsigned Opcode = (isUInt<6>(FrameSize)) ? AVR::SBIWRdK : AVR::SUBIWRdK; in emitPrologue()
133 .addImm(FrameSize) in emitPrologue()
163 unsigned FrameSize = MFI.getStackSize() - AFI->getCalleeSavedFrameSize(); in emitEpilogue() local
181 if (!FrameSize) { in emitEpilogue()
200 if (isUInt<6>(FrameSize)) { in emitEpilogue()
204 FrameSize = -FrameSize; in emitEpilogue()
210 .addImm(FrameSize); in emitEpilogue()
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DOcamlGCPrinter.cpp142 uint64_t FrameSize = FI.getFrameSize(); in finishAssembly() local
143 if (FrameSize >= 1 << 16) { in finishAssembly()
148 Twine(FrameSize) + ">= 65536.\n" in finishAssembly()
168 AP.emitInt16(FrameSize); in finishAssembly()
/external/llvm/lib/CodeGen/AsmPrinter/
DOcamlGCPrinter.cpp138 uint64_t FrameSize = FI.getFrameSize(); in finishAssembly() local
139 if (FrameSize >= 1 << 16) { in finishAssembly()
144 Twine(FrameSize) + ">= 65536.\n" in finishAssembly()
164 AP.EmitInt16(FrameSize); in finishAssembly()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DOcamlGCPrinter.cpp142 uint64_t FrameSize = FI.getFrameSize(); in finishAssembly() local
143 if (FrameSize >= 1 << 16) { in finishAssembly()
148 Twine(FrameSize) + ">= 65536.\n" in finishAssembly()
168 AP.emitInt16(FrameSize); in finishAssembly()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCFrameLowering.cpp286 unsigned FrameSize = determineFrameLayout(MF, UseEstimate, in determineFrameLayoutAndUpdate() local
288 MF.getFrameInfo().setStackSize(FrameSize); in determineFrameLayoutAndUpdate()
290 return FrameSize; in determineFrameLayoutAndUpdate()
303 unsigned FrameSize = in determineFrameLayout() local
323 bool FitsInRedZone = FrameSize <= Subtarget.getRedZoneSize(); in determineFrameLayout()
348 FrameSize += maxCallFrameSize; in determineFrameLayout()
351 FrameSize = alignTo(FrameSize, Alignment); in determineFrameLayout()
353 return FrameSize; in determineFrameLayout()
535 unsigned FrameSize = determineFrameLayout(MF); in twoUniqueScratchRegsRequired() local
536 int NegFrameSize = -FrameSize; in twoUniqueScratchRegsRequired()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCFrameLowering.cpp461 unsigned FrameSize = determineFrameLayout(MF, UseEstimate, in determineFrameLayoutAndUpdate() local
463 MF.getFrameInfo().setStackSize(FrameSize); in determineFrameLayoutAndUpdate()
465 return FrameSize; in determineFrameLayoutAndUpdate()
478 unsigned FrameSize = in determineFrameLayout() local
498 bool FitsInRedZone = FrameSize <= Subtarget.getRedZoneSize(); in determineFrameLayout()
523 FrameSize += maxCallFrameSize; in determineFrameLayout()
526 FrameSize = (FrameSize + AlignMask) & ~AlignMask; in determineFrameLayout()
528 return FrameSize; in determineFrameLayout()
708 unsigned FrameSize = determineFrameLayout(MF); in twoUniqueScratchRegsRequired() local
709 int NegFrameSize = -FrameSize; in twoUniqueScratchRegsRequired()
[all …]
/external/llvm/lib/Target/XCore/
DXCoreFrameLowering.cpp100 int OffsetFromTop, int &Adjusted, int FrameSize, in IfNeededExtSP() argument
103 assert(Adjusted < FrameSize && "OffsetFromTop is beyond FrameSize"); in IfNeededExtSP()
104 int remaining = FrameSize - Adjusted; in IfNeededExtSP()
247 const int FrameSize = MFI->getStackSize() / 4; in emitPrologue() local
251 bool UseENTSP = saveLR && FrameSize in emitPrologue()
260 Adjusted = (FrameSize > MaxImmU16) ? MaxImmU16 : FrameSize; in emitPrologue()
283 IfNeededExtSP(MBB, MBBI, dl, TII, MMI, OffsetFromTop, Adjusted, FrameSize, in emitPrologue()
300 IfNeededExtSP(MBB, MBBI, dl, TII, MMI, FrameSize, Adjusted, FrameSize, in emitPrologue()
302 assert(Adjusted==FrameSize && "IfNeededExtSP has not completed adjustment"); in emitPrologue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreFrameLowering.cpp101 int &Adjusted, int FrameSize, bool emitFrameMoves) { in IfNeededExtSP() argument
103 assert(Adjusted < FrameSize && "OffsetFromTop is beyond FrameSize"); in IfNeededExtSP()
104 int remaining = FrameSize - Adjusted; in IfNeededExtSP()
248 const int FrameSize = MFI.getStackSize() / 4; in emitPrologue() local
252 bool UseENTSP = saveLR && FrameSize in emitPrologue()
261 Adjusted = (FrameSize > MaxImmU16) ? MaxImmU16 : FrameSize; in emitPrologue()
284 IfNeededExtSP(MBB, MBBI, dl, TII, OffsetFromTop, Adjusted, FrameSize, in emitPrologue()
301 IfNeededExtSP(MBB, MBBI, dl, TII, FrameSize, Adjusted, FrameSize, in emitPrologue()
303 assert(Adjusted==FrameSize && "IfNeededExtSP has not completed adjustment"); in emitPrologue()
/external/llvm-project/llvm/lib/Target/XCore/
DXCoreFrameLowering.cpp101 int &Adjusted, int FrameSize, bool emitFrameMoves) { in IfNeededExtSP() argument
103 assert(Adjusted < FrameSize && "OffsetFromTop is beyond FrameSize"); in IfNeededExtSP()
104 int remaining = FrameSize - Adjusted; in IfNeededExtSP()
248 const int FrameSize = MFI.getStackSize() / 4; in emitPrologue() local
252 bool UseENTSP = saveLR && FrameSize in emitPrologue()
261 Adjusted = (FrameSize > MaxImmU16) ? MaxImmU16 : FrameSize; in emitPrologue()
284 IfNeededExtSP(MBB, MBBI, dl, TII, OffsetFromTop, Adjusted, FrameSize, in emitPrologue()
301 IfNeededExtSP(MBB, MBBI, dl, TII, FrameSize, Adjusted, FrameSize, in emitPrologue()
303 assert(Adjusted==FrameSize && "IfNeededExtSP has not completed adjustment"); in emitPrologue()
/external/llvm-project/clang/lib/AST/Interp/
DFunction.h64 unsigned getFrameSize() const { return FrameSize; } in getFrameSize()
120 FrameSize = NewFrameSize; in setCode()
138 unsigned FrameSize; variable
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DGCMetadata.h86 uint64_t FrameSize; variable
130 uint64_t getFrameSize() const { return FrameSize; } in getFrameSize()
131 void setFrameSize(uint64_t S) { FrameSize = S; } in setFrameSize()
/external/llvm-project/llvm/include/llvm/CodeGen/
DGCMetadata.h86 uint64_t FrameSize; variable
130 uint64_t getFrameSize() const { return FrameSize; } in getFrameSize()
131 void setFrameSize(uint64_t S) { FrameSize = S; } in setFrameSize()
/external/llvm/include/llvm/CodeGen/
DGCMetadata.h83 uint64_t FrameSize; variable
130 uint64_t getFrameSize() const { return FrameSize; } in getFrameSize()
131 void setFrameSize(uint64_t S) { FrameSize = S; } in setFrameSize()
/external/llvm/lib/Transforms/Utils/
DASanStackFrameLayout.cpp105 Layout->FrameSize = Offset; in ComputeASanStackFrameLayout()
106 assert((Layout->FrameSize % MinHeaderSize) == 0); in ComputeASanStackFrameLayout()
107 assert(Layout->FrameSize / Granularity == Layout->ShadowBytes.size()); in ComputeASanStackFrameLayout()
/external/llvm/lib/Target/PowerPC/
DPPCFrameLowering.cpp428 unsigned FrameSize = in determineFrameLayout() local
449 FrameSize == 0) && in determineFrameLayout()
450 FrameSize <= 224 && // Fits in red zone. in determineFrameLayout()
478 FrameSize += maxCallFrameSize; in determineFrameLayout()
481 FrameSize = (FrameSize + AlignMask) & ~AlignMask; in determineFrameLayout()
485 MFI->setStackSize(FrameSize); in determineFrameLayout()
487 return FrameSize; in determineFrameLayout()
671 unsigned FrameSize = determineFrameLayout(MF, false); in twoUniqueScratchRegsRequired() local
672 int NegFrameSize = -FrameSize; in twoUniqueScratchRegsRequired()
730 unsigned FrameSize = determineFrameLayout(MF); in emitPrologue() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64StackTaggingPreRA.cpp166 unsigned FrameSize = 0; in mayUseUncheckedLoadStore() local
168 FrameSize += MFI->getObjectSize(i); in mayUseUncheckedLoadStore()
169 bool EntireFrameReachableFromSP = FrameSize < 0xf00; in mayUseUncheckedLoadStore()

12345