Home
last modified time | relevance | path

Searched refs:NumBytes (Results 1 – 25 of 113) sorted by relevance

12345

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/VE/
DVEFrameLowering.cpp37 int NumBytes, in emitPrologueInsns() argument
75 int NumBytes, in emitEpilogueInsns() argument
109 int NumBytes) const { in emitSPAdjustment()
114 if (NumBytes >= -64 && NumBytes < 63) { in emitSPAdjustment()
117 .addImm(NumBytes); in emitSPAdjustment()
127 .addImm(LO32(NumBytes)); in emitSPAdjustment()
134 .addImm(HI32(NumBytes)); in emitSPAdjustment()
139 int NumBytes) const { in emitSPExtend()
201 int NumBytes = (int)MFI.getStackSize(); in emitPrologue() local
216 NumBytes += MFI.getMaxCallFrameSize(); in emitPrologue()
[all …]
DVEFrameLowering.h31 MachineBasicBlock::iterator MBBI, int NumBytes,
34 MachineBasicBlock::iterator MBBI, int NumBytes,
72 MachineBasicBlock::iterator MBBI, int NumBytes) const;
76 MachineBasicBlock::iterator MBBI, int NumBytes) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcFrameLowering.cpp43 int NumBytes, in emitSPAdjustment() argument
51 if (NumBytes >= -4096 && NumBytes < 4096) { in emitSPAdjustment()
53 .addReg(SP::O6).addImm(NumBytes); in emitSPAdjustment()
59 if (NumBytes >= 0) { in emitSPAdjustment()
65 .addImm(HI22(NumBytes)); in emitSPAdjustment()
67 .addReg(SP::G1).addImm(LO10(NumBytes)); in emitSPAdjustment()
78 .addImm(HIX22(NumBytes)); in emitSPAdjustment()
80 .addReg(SP::G1).addImm(LOX10(NumBytes)); in emitSPAdjustment()
113 int NumBytes = (int) MFI.getStackSize(); in emitPrologue() local
118 if (NumBytes == 0) in emitPrologue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeHeader.cpp179 unsigned &NumFields, unsigned &NumBytes) { in ReadPrefix() argument
196 NumBytes = static_cast<unsigned>(BufPtr[2]) | in ReadPrefix()
204 unsigned NumFields, unsigned NumBytes) { in ReadFields() argument
205 HeaderSize = NumBytes + (2 * WordSize); in ReadFields()
222 unsigned NumBytes; in Read() local
223 if (ReadPrefix(BufPtr, BufEnd, NumFields, NumBytes)) in Read()
227 if (ReadFields(BufPtr, BufEnd, NumFields, NumBytes)) in Read()
229 BufPtr += NumBytes; in Read()
236 unsigned NumBytes; in Read() local
243 if (ReadPrefix(Buffer, Buffer + sizeof(Buffer), NumFields, NumBytes)) in Read()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DThumb1FrameLowering.cpp70 const ThumbRegisterInfo &MRI, int NumBytes, in emitPrologueEpilogueSPUpdate() argument
74 if (std::abs(NumBytes) > 508 * 3) { in emitPrologueEpilogueSPUpdate()
85 .addImm(NumBytes).setMIFlags(MIFlags); in emitPrologueEpilogueSPUpdate()
87 MRI.emitLoadConstPool(MBB, MBBI, dl, ScratchReg, 0, NumBytes, ARMCC::AL, in emitPrologueEpilogueSPUpdate()
97 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII, in emitPrologueEpilogueSPUpdate()
105 const ThumbRegisterInfo &MRI, int NumBytes, in emitCallSPUpdate() argument
107 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII, in emitCallSPUpdate()
158 unsigned NumBytes = MFI.getStackSize(); in emitPrologue() local
159 assert(NumBytes >= ArgRegsSaveSize && in emitPrologue()
172 NumBytes = (NumBytes + 3) & ~3; in emitPrologue()
[all …]
DThumbRegisterInfo.cpp126 const DebugLoc &dl, unsigned DestReg, unsigned BaseReg, int NumBytes, in emitThumbRegPlusImmInReg() argument
138 if (NumBytes < 0 && !isHigh && CanChangeCC) { in emitThumbRegPlusImmInReg()
140 NumBytes = -NumBytes; in emitThumbRegPlusImmInReg()
148 if (NumBytes <= 255 && NumBytes >= 0 && CanChangeCC) { in emitThumbRegPlusImmInReg()
151 .addImm(NumBytes) in emitThumbRegPlusImmInReg()
153 } else if (NumBytes < 0 && NumBytes >= -255 && CanChangeCC) { in emitThumbRegPlusImmInReg()
156 .addImm(NumBytes) in emitThumbRegPlusImmInReg()
164 .addImm(NumBytes).setMIFlags(MIFlags); in emitThumbRegPlusImmInReg()
166 MRI.emitLoadConstPool(MBB, MBBI, dl, LdReg, 0, NumBytes, ARMCC::AL, 0, in emitThumbRegPlusImmInReg()
189 unsigned BaseReg, int NumBytes, in emitThumbRegPlusImmediate() argument
[all …]
DThumb2InstrInfo.cpp233 unsigned BaseReg, int NumBytes, in emitT2RegPlusImmediate() argument
237 if (NumBytes == 0 && DestReg != BaseReg) { in emitT2RegPlusImmediate()
244 bool isSub = NumBytes < 0; in emitT2RegPlusImmediate()
245 if (isSub) NumBytes = -NumBytes; in emitT2RegPlusImmediate()
250 NumBytes >= 4096 && in emitT2RegPlusImmediate()
251 ARM_AM::getT2SOImmVal(NumBytes) == -1) { in emitT2RegPlusImmediate()
253 if (NumBytes < 65536) { in emitT2RegPlusImmediate()
256 .addImm(NumBytes) in emitT2RegPlusImmediate()
259 } else if ((NumBytes & 0xffff) == 0) { in emitT2RegPlusImmediate()
263 .addImm(NumBytes >> 16) in emitT2RegPlusImmediate()
[all …]
DARMFrameLowering.cpp169 unsigned SrcReg, int NumBytes, unsigned MIFlags = MachineInstr::NoFlags, in emitRegPlusImmediate() argument
172 emitARMRegPlusImmediate(MBB, MBBI, dl, DestReg, SrcReg, NumBytes, in emitRegPlusImmediate()
175 emitT2RegPlusImmediate(MBB, MBBI, dl, DestReg, SrcReg, NumBytes, in emitRegPlusImmediate()
181 const ARMBaseInstrInfo &TII, int NumBytes, in emitSPUpdate() argument
185 emitRegPlusImmediate(isARM, MBB, MBBI, dl, TII, ARM::SP, ARM::SP, NumBytes, in emitSPUpdate()
372 unsigned NumBytes = MFI.getStackSize(); in emitPrologue() local
403 (!STI.isTargetWindows() || !WindowsRequiresStackProbe(MF, NumBytes))) { in emitPrologue()
404 if (NumBytes - ArgRegsSaveSize != 0) { in emitPrologue()
405 emitSPUpdate(isARM, MBB, MBBI, dl, TII, -(NumBytes - ArgRegsSaveSize), in emitPrologue()
408 NumBytes - ArgRegsSaveSize, true); in emitPrologue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430FrameLowering.cpp54 uint64_t NumBytes = 0; in emitPrologue() local
58 NumBytes = FrameSize - MSP430FI->getCalleeSavedFrameSize(); in emitPrologue()
63 MFI.setOffsetAdjustment(-NumBytes); in emitPrologue()
79 NumBytes = StackSize - MSP430FI->getCalleeSavedFrameSize(); in emitPrologue()
88 if (NumBytes) { // adjust stack pointer: SP -= numbytes in emitPrologue()
96 if (NumBytes) { in emitPrologue()
99 .addReg(MSP430::SP).addImm(NumBytes); in emitPrologue()
127 uint64_t NumBytes = 0; in emitEpilogue() local
132 NumBytes = FrameSize - CSSize; in emitEpilogue()
137 NumBytes = StackSize - CSSize; in emitEpilogue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOAArch64.h37 unsigned NumBytes = 1 << RE.Size; in decodeAddend() local
53 if (NumBytes != 4 && NumBytes != 8) { in decodeAddend()
70 assert(NumBytes == 4 && "Invalid relocation size."); in decodeAddend()
82 if (NumBytes == 4) in decodeAddend()
155 void encodeAddend(uint8_t *LocalAddress, unsigned NumBytes, in encodeAddend() argument
163 assert((NumBytes == 4 || NumBytes == 8) && "Invalid relocation size."); in encodeAddend()
170 assert(NumBytes == 4 && "Invalid relocation size."); in encodeAddend()
182 if (NumBytes == 4) in encodeAddend()
491 unsigned NumBytes = 1 << Size; in processSubtractRelocation() local
500 SignExtend64(readBytesUnaligned(LocalAddress, NumBytes), NumBytes * 8); in processSubtractRelocation()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceFixups.h102 AssemblerTextFixup(const std::string &Message, size_t NumBytes) in AssemblerTextFixup() argument
103 : AssemblerFixup(), Message(Message), NumBytes(NumBytes) {} in AssemblerTextFixup()
109 const size_t NumBytes; variable
DIceBrowserCompileServer.cpp158 int onDataCallback(const void *Data, size_t NumBytes) { in onDataCallback() argument
159 return gCompileServer->pushInputBytes(Data, NumBytes) ? 1 : 0; in onDataCallback()
255 bool BrowserCompileServer::pushInputBytes(const void *Data, size_t NumBytes) { in pushInputBytes() argument
263 NumBytes) != NumBytes; in pushInputBytes()
/third_party/vk-gl-cts/framework/common/
DtcuFormatUtil.hpp138 template <typename T, size_t NumBytes = sizeof(T)>
156 return stream << Hex<NumBytes*2>((deUint64)m_value); in toStream()
165 return Hex<NumBytes*2>((deUint64)m_value).toString(); in toString()
173 template <typename T, size_t NumBytes>
174 inline std::ostream& operator<< (std::ostream& stream, const Enum<T, NumBytes>& fmt) { return fmt.t… in operator <<()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp230 uint64_t NumBytes = AFI->getLocalStackSize(); in canUseRedZone() local
232 return !(MFI.hasCalls() || hasFP(MF) || NumBytes > 128 || in canUseRedZone()
920 int64_t NumBytes = IsFunclet ? getWinEHFuncletFrameSize(MF) in emitPrologue() local
922 if (!AFI->hasStackFrame() && !windowsRequiresStackProbe(MF, NumBytes)) { in emitPrologue()
927 AFI->setLocalStackSize(NumBytes); in emitPrologue()
928 if (!NumBytes) in emitPrologue()
937 {-NumBytes, MVT::i8}, TII, MachineInstr::FrameSetup, in emitPrologue()
944 MCCFIInstruction::createDefCfaOffset(FrameLabel, -NumBytes)); in emitPrologue()
969 AFI->setLocalStackSize(NumBytes - PrologueSaveSize); in emitPrologue()
970 bool CombineSPBump = shouldCombineCSRLocalStackBump(MF, NumBytes); in emitPrologue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyAsmBackend.cpp110 unsigned NumBytes = alignTo(Info.TargetSize, 8) / 8; in applyFixup() local
118 assert(Offset + NumBytes <= Data.size() && "Invalid fixup offset!"); in applyFixup()
122 for (unsigned I = 0; I != NumBytes; ++I) in applyFixup()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86FrameLowering.cpp252 int64_t NumBytes, bool InEpilogue) const { in emitSPUpdate() argument
253 bool isSub = NumBytes < 0; in emitSPUpdate()
254 uint64_t Offset = isSub ? -NumBytes : NumBytes; in emitSPUpdate()
1072 uint64_t NumBytes = 0; in emitPrologue() local
1102 NumBytes = FrameSize - X86FI->getCalleeSavedFrameSize(); in emitPrologue()
1106 NumBytes = alignTo(NumBytes, MaxAlign); in emitPrologue()
1160 NumBytes = StackSize - X86FI->getCalleeSavedFrameSize(); in emitPrologue()
1167 MFI.setOffsetAdjustment(-NumBytes); in emitPrologue()
1174 unsigned ParentFrameNumBytes = NumBytes; in emitPrologue()
1176 NumBytes = getWinEHFuncletFrameSize(MF); in emitPrologue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfStringPool.cpp32 Entry.Offset = NumBytes; in getEntryImpl()
35 NumBytes += Str.size() + 1; in getEntryImpl()
36 assert(NumBytes > Entry.Offset && "Unexpected overflow"); in getEntryImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiAsmBackend.cpp108 unsigned NumBytes = (getFixupKindInfo(Kind).TargetSize + 7) / 8; in applyFixup() local
115 for (unsigned i = 0; i != NumBytes; ++i) { in applyFixup()
126 for (unsigned i = 0; i != NumBytes; ++i) { in applyFixup()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DMemory.inc82 Memory::allocateMappedMemory(size_t NumBytes,
87 if (NumBytes == 0)
91 const size_t NumPages = (NumBytes+PageSize-1)/PageSize;
115 return allocateMappedMemory(NumBytes, nullptr, PFlags, EC);
175 Memory::AllocateRWX(size_t NumBytes, const MemoryBlock* NearBlock,
177 if (NumBytes == 0) return MemoryBlock();
180 size_t NumPages = (NumBytes+PageSize-1)/PageSize;
204 return AllocateRWX(NumBytes, nullptr);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/MCTargetDesc/
DMSP430AsmBackend.cpp147 unsigned NumBytes = alignTo(Info.TargetSize + Info.TargetOffset, 8) / 8; in applyFixup() local
149 assert(Offset + NumBytes <= Data.size() && "Invalid fixup offset!"); in applyFixup()
153 for (unsigned i = 0; i != NumBytes; ++i) { in applyFixup()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUAsmBackend.cpp147 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); in applyFixup() local
149 assert(Offset + NumBytes <= Data.size() && "Invalid fixup offset!"); in applyFixup()
153 for (unsigned i = 0; i != NumBytes; ++i) in applyFixup()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp394 unsigned Reg, int64_t NumBytes, in emitIncrement() argument
396 while (NumBytes) { in emitIncrement()
398 int64_t ThisVal = NumBytes; in emitIncrement()
399 if (isInt<16>(NumBytes)) in emitIncrement()
415 NumBytes -= ThisVal; in emitIncrement()
609 uint64_t NumBytes = Offset - 0x7fff8; in emitEpilogue() local
611 NumBytes, ZII); in emitEpilogue()
612 Offset -= NumBytes; in emitEpilogue()
DSystemZAsmPrinter.cpp529 unsigned NumBytes, const MCSubtargetInfo &STI) { in EmitNop() argument
530 if (NumBytes < 2) { in EmitNop()
534 else if (NumBytes < 4) { in EmitNop()
539 else if (NumBytes < 6) { in EmitNop()
665 unsigned NumBytes = Opers.getNumPatchBytes(); in LowerPATCHPOINT() local
666 assert(NumBytes >= EncodedBytes && in LowerPATCHPOINT()
668 assert((NumBytes - EncodedBytes) % 2 == 0 && in LowerPATCHPOINT()
670 while (EncodedBytes < NumBytes) in LowerPATCHPOINT()
671 EncodedBytes += EmitNop(OutContext, *OutStreamer, NumBytes - EncodedBytes, in LowerPATCHPOINT()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
Draw_ostream.cpp232 size_t NumBytes = OutBufEnd - OutBufCur; in write() local
238 assert(NumBytes != 0 && "undefined behavior"); in write()
239 size_t BytesToWrite = Size - (Size % NumBytes); in write()
252 copy_to_buffer(Ptr, NumBytes); in write()
254 return write(Ptr + NumBytes, Size - NumBytes); in write()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCAsmBackend.cpp130 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); in applyFixup() local
135 for (unsigned i = 0; i != NumBytes; ++i) { in applyFixup()
136 unsigned Idx = Endian == support::little ? i : (NumBytes - 1 - i); in applyFixup()

12345