Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/
DSPUFrameLowering.cpp60 unsigned FrameSize = MFI->getStackSize(); in determineFrameLayout() local
81 FrameSize += maxCallFrameSize; in determineFrameLayout()
84 FrameSize = (FrameSize + AlignMask) & ~AlignMask; in determineFrameLayout()
87 MFI->setStackSize(FrameSize); in determineFrameLayout()
108 int FrameSize = MFI->getStackSize(); in emitPrologue() local
110 assert((FrameSize & 0xf) == 0 in emitPrologue()
114 if (FrameSize > 16 || MFI->adjustsStack()) { in emitPrologue()
115 FrameSize = -(FrameSize + SPUFrameLowering::minStackSize()); in emitPrologue()
126 if (isInt<10>(FrameSize)) { in emitPrologue()
128 BuildMI(MBB, MBBI, dl, TII.get(SPU::STQDr32), SPU::R1).addImm(FrameSize) in emitPrologue()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/Blackfin/
DBlackfinFrameLowering.cpp54 int FrameSize = MFI->getStackSize(); in emitPrologue() local
55 if (FrameSize%4) { in emitPrologue()
56 FrameSize = (FrameSize+3) & ~3; in emitPrologue()
57 MFI->setStackSize(FrameSize); in emitPrologue()
63 RegInfo->adjustRegister(MBB, MBBI, dl, BF::SP, BF::P1, -FrameSize); in emitPrologue()
68 if (FrameSize <= 0x3ffff) { in emitPrologue()
69 BuildMI(MBB, MBBI, dl, TII.get(BF::LINK)).addImm(FrameSize); in emitPrologue()
85 RegInfo->loadConstant(MBB, MBBI, dl, BF::P1, -FrameSize); in emitPrologue()
102 int FrameSize = MFI->getStackSize(); in emitEpilogue() local
103 assert(FrameSize%4 == 0 && "Misaligned frame size"); in emitEpilogue()
[all …]
/external/webrtc/webrtc/modules/video_coding/
Djitter_estimator_tests.cc54 uint32_t FrameSize() { return 1000 + Delay(); } in FrameSize() function in webrtc::ValueGenerator
68 regular_estimator_.UpdateEstimate(gen.Delay(), gen.FrameSize()); in TEST_F()
70 low_rate_estimator_.UpdateEstimate(gen.Delay(), gen.FrameSize()); in TEST_F()
85 regular_estimator_.UpdateEstimate(gen.Delay(), gen.FrameSize()); in TEST_F()
87 low_rate_estimator_.UpdateEstimate(gen.Delay(), gen.FrameSize()); in TEST_F()
102 regular_estimator_.UpdateEstimate(gen.Delay(), gen.FrameSize()); in TEST_F()
104 low_rate_estimator_.UpdateEstimate(gen.Delay(), gen.FrameSize()); in TEST_F()
119 regular_estimator_.UpdateEstimate(gen.Delay(), gen.FrameSize()); in TEST_F()
121 low_rate_estimator_.UpdateEstimate(gen.Delay(), gen.FrameSize()); in TEST_F()
134 regular_estimator_.UpdateEstimate(low_gen.Delay(), low_gen.FrameSize()); in TEST_F()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/XCore/
DXCoreFrameLowering.cpp111 int FrameSize = MFI->getStackSize(); in emitPrologue() local
112 assert(FrameSize%4 == 0 && "Misaligned frame size"); in emitPrologue()
113 FrameSize/=4; in emitPrologue()
115 bool isU6 = isImmU6(FrameSize); in emitPrologue()
117 if (!isU6 && !isImmU16(FrameSize)) { in emitPrologue()
119 report_fatal_error("emitPrologue Frame size too big: " + Twine(FrameSize)); in emitPrologue()
124 if (FrameSize) { in emitPrologue()
136 BuildMI(MBB, MBBI, dl, TII.get(Opcode)).addImm(FrameSize); in emitPrologue()
146 MachineLocation SPSrc(MachineLocation::VirtualFP, -FrameSize * 4); in emitPrologue()
157 storeToStack(MBB, MBBI, XCore::LR, LRSpillOffset + FrameSize*4, dl, TII); in emitPrologue()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCFrameLowering.cpp177 unsigned FrameSize = MFI->getStackSize(); in determineFrameLayout() local
191 FrameSize <= 224 && // Fits in red zone. in determineFrameLayout()
217 FrameSize += maxCallFrameSize; in determineFrameLayout()
220 FrameSize = (FrameSize + AlignMask) & ~AlignMask; in determineFrameLayout()
223 MFI->setStackSize(FrameSize); in determineFrameLayout()
283 unsigned FrameSize = MFI->getStackSize(); in emitPrologue() local
285 int NegFrameSize = -FrameSize; in emitPrologue()
344 if (!FrameSize) return; in emitPrologue()
528 int FrameSize = MFI->getStackSize(); in emitEpilogue() local
570 FrameSize += (StackAdj +Delta); in emitEpilogue()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMips16InstrInfo.cpp215 void Mips16InstrInfo::makeFrame(unsigned SP, int64_t FrameSize, in makeFrame() argument
224 unsigned Opc = ((FrameSize <= 128) && !SaveS2)? Mips::Save16:Mips::SaveX16; in makeFrame()
230 if (isUInt<11>(FrameSize)) in makeFrame()
231 MIB.addImm(FrameSize); in makeFrame()
235 int64_t Remainder = FrameSize - Base; in makeFrame()
245 void Mips16InstrInfo::restoreFrame(unsigned SP, int64_t FrameSize, in restoreFrame() argument
254 unsigned Opc = ((FrameSize <= 128) && !SaveS2)? in restoreFrame()
257 if (!isUInt<11>(FrameSize)) { in restoreFrame()
259 int64_t Remainder = FrameSize - Base; in restoreFrame()
260 FrameSize = Base; // should create template function like isUInt that in restoreFrame()
[all …]
/external/swiftshader/third_party/llvm-7.0/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/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/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/swiftshader/third_party/llvm-7.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/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DOcamlGCPrinter.cpp126 uint64_t FrameSize = FI.getFrameSize(); in finishAssembly() local
127 if (FrameSize >= 1<<16) { in finishAssembly()
131 "Frame size " + Twine(FrameSize) + ">= 65536.\n" in finishAssembly()
149 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-7.0/llvm/lib/CodeGen/AsmPrinter/
DOcamlGCPrinter.cpp143 uint64_t FrameSize = FI.getFrameSize(); in finishAssembly() local
144 if (FrameSize >= 1 << 16) { in finishAssembly()
149 Twine(FrameSize) + ">= 65536.\n" in finishAssembly()
169 AP.emitInt16(FrameSize); in finishAssembly()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/
DXCoreFrameLowering.cpp102 int &Adjusted, int FrameSize, bool emitFrameMoves) { in IfNeededExtSP() argument
104 assert(Adjusted < FrameSize && "OffsetFromTop is beyond FrameSize"); in IfNeededExtSP()
105 int remaining = FrameSize - Adjusted; in IfNeededExtSP()
249 const int FrameSize = MFI.getStackSize() / 4; in emitPrologue() local
253 bool UseENTSP = saveLR && FrameSize in emitPrologue()
262 Adjusted = (FrameSize > MaxImmU16) ? MaxImmU16 : FrameSize; in emitPrologue()
285 IfNeededExtSP(MBB, MBBI, dl, TII, OffsetFromTop, Adjusted, FrameSize, in emitPrologue()
302 IfNeededExtSP(MBB, MBBI, dl, TII, FrameSize, Adjusted, FrameSize, in emitPrologue()
304 assert(Adjusted==FrameSize && "IfNeededExtSP has not completed adjustment"); in emitPrologue()
/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-7.0/llvm/lib/Target/PowerPC/
DPPCFrameLowering.cpp446 unsigned FrameSize = in determineFrameLayout() local
465 bool FitsInRedZone = FrameSize <= Subtarget.getRedZoneSize(); in determineFrameLayout()
492 FrameSize += maxCallFrameSize; in determineFrameLayout()
495 FrameSize = (FrameSize + AlignMask) & ~AlignMask; in determineFrameLayout()
499 MFI.setStackSize(FrameSize); in determineFrameLayout()
501 return FrameSize; in determineFrameLayout()
681 unsigned FrameSize = determineFrameLayout(MF, false); in twoUniqueScratchRegsRequired() local
682 int NegFrameSize = -FrameSize; in twoUniqueScratchRegsRequired()
739 unsigned FrameSize = determineFrameLayout(MF); in emitPrologue() local
740 int NegFrameSize = -FrameSize; in emitPrologue()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DGCMetadata.h91 uint64_t FrameSize; variable
133 uint64_t getFrameSize() const { return FrameSize; } in getFrameSize()
134 void setFrameSize(uint64_t S) { FrameSize = S; } in setFrameSize()
/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-7.0/llvm/include/llvm/CodeGen/
DGCMetadata.h88 uint64_t FrameSize; variable
132 uint64_t getFrameSize() const { return FrameSize; } in getFrameSize()
133 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/swiftshader/third_party/LLVM/lib/Target/MSP430/
DMSP430FrameLowering.cpp57 uint64_t FrameSize = StackSize - 2; in emitPrologue() local
58 NumBytes = FrameSize - MSP430FI->getCalleeSavedFrameSize(); in emitPrologue()
131 uint64_t FrameSize = StackSize - 2; in emitEpilogue() local
132 NumBytes = FrameSize - CSSize; in emitEpilogue()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DASanStackFrameLayout.cpp93 Layout.FrameSize = Offset; in ComputeASanStackFrameLayout()
94 assert((Layout.FrameSize % MinHeaderSize) == 0); in ComputeASanStackFrameLayout()
131 SB.resize(Layout.FrameSize / Granularity, kAsanStackRightRedzoneMagic); in GetShadowBytes()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/MSP430/
DMSP430FrameLowering.cpp58 uint64_t FrameSize = StackSize - 2; in emitPrologue() local
59 NumBytes = FrameSize - MSP430FI->getCalleeSavedFrameSize(); in emitPrologue()
132 uint64_t FrameSize = StackSize - 2; in emitEpilogue() local
133 NumBytes = FrameSize - CSSize; in emitEpilogue()
/external/llvm/lib/Target/MSP430/
DMSP430FrameLowering.cpp58 uint64_t FrameSize = StackSize - 2; in emitPrologue() local
59 NumBytes = FrameSize - MSP430FI->getCalleeSavedFrameSize(); in emitPrologue()
132 uint64_t FrameSize = StackSize - 2; in emitEpilogue() local
133 NumBytes = FrameSize - CSSize; in emitEpilogue()

123