Searched refs:NumBytes (Results 1 - 25 of 123) sorted by relevance

12345

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DFormattedStream.cpp76 unsigned NumBytes; local
77 for (const char *End = Ptr + Size; Ptr < End; Ptr += NumBytes) {
78 NumBytes = getNumBytesForUTF8(*Ptr);
85 if ((unsigned)(End - Ptr) < NumBytes) {
90 ProcessUTF8CodePoint(StringRef(Ptr, NumBytes));
/freebsd-13-stable/contrib/llvm-project/clang/lib/Rewrite/
H A DRewriteRope.cpp119 /// erase - Remove NumBytes from this node at the specified offset. We are
121 void erase(unsigned Offset, unsigned NumBytes);
219 /// erase - Remove NumBytes from this node at the specified offset. We are
221 void erase(unsigned Offset, unsigned NumBytes);
335 /// erase - Remove NumBytes from this node at the specified offset. We are
337 void RopePieceBTreeLeaf::erase(unsigned Offset, unsigned NumBytes) {
348 // Figure out how many pieces completely cover 'NumBytes'. We want to remove
350 for (; Offset+NumBytes > PieceOffs+getPiece(i).size(); ++i)
354 if (Offset+NumBytes == PieceOffs+getPiece(i).size()) {
371 NumBytes
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcFrameLowering.cpp43 int NumBytes,
51 if (NumBytes >= -4096 && NumBytes < 4096) {
53 .addReg(SP::O6).addImm(NumBytes);
59 if (NumBytes >= 0) {
61 // sethi %hi(NumBytes), %g1
62 // or %g1, %lo(NumBytes), %g1
65 .addImm(HI22(NumBytes));
67 .addReg(SP::G1).addImm(LO10(NumBytes));
74 // sethi %hix(NumBytes),
40 emitSPAdjustment(MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, int NumBytes, unsigned ADDrr, unsigned ADDri) const argument
113 int NumBytes = (int) MFI.getStackSize(); local
235 int NumBytes = (int) MFI.getStackSize(); local
[all...]
H A DSparcFrameLowering.h61 int NumBytes, unsigned ADDrr, unsigned ADDri) const;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEFrameLowering.cpp39 uint64_t NumBytes,
88 uint64_t NumBytes,
132 int64_t NumBytes,
138 if (NumBytes >= -64 && NumBytes < 63) {
141 .addImm(NumBytes);
147 // lea %s13,%lo(NumBytes)
149 // lea.sl %sp,%hi(NumBytes)(%sp, %s13)
153 .addImm(Lo_32(NumBytes));
160 .addImm(Hi_32(NumBytes));
36 emitPrologueInsns(MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, uint64_t NumBytes, bool RequireFPUpdate) const argument
85 emitEpilogueInsns(MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, uint64_t NumBytes, bool RequireFPUpdate) const argument
129 emitSPAdjustment(MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, int64_t NumBytes, MaybeAlign MaybeAlign) const argument
230 uint64_t NumBytes = MFI.getStackSize(); local
296 uint64_t NumBytes = MFI.getStackSize(); local
[all...]
H A DVEFrameLowering.h31 MachineBasicBlock::iterator MBBI, uint64_t NumBytes,
34 MachineBasicBlock::iterator MBBI, uint64_t NumBytes,
75 MachineBasicBlock::iterator MBBI, int64_t NumBytes,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430FrameLowering.cpp54 uint64_t NumBytes = 0; local
58 NumBytes = FrameSize - MSP430FI->getCalleeSavedFrameSize();
63 MFI.setOffsetAdjustment(-NumBytes);
79 NumBytes = StackSize - MSP430FI->getCalleeSavedFrameSize();
88 if (NumBytes) { // adjust stack pointer: SP -= numbytes
91 //NumBytes -= mergeSPUpdates(MBB, MBBI, true);
94 // mergeSPUpdatesDown(MBB, MBBI, &NumBytes);
96 if (NumBytes) {
99 .addReg(MSP430::SP).addImm(NumBytes);
127 uint64_t NumBytes local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/MSF/
H A DIMSFFile.h33 uint32_t NumBytes) const = 0;
H A DMSFCommon.h108 inline uint64_t bytesToBlocks(uint64_t NumBytes, uint64_t BlockSize) { argument
109 return divideCeil(NumBytes, BlockSize);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Rewrite/Core/
H A DRewriteRope.h156 void erase(unsigned Offset, unsigned NumBytes);
202 void erase(unsigned Offset, unsigned NumBytes) { argument
203 assert(Offset+NumBytes <= size() && "Invalid region to erase!");
204 if (NumBytes == 0) return;
205 Chunks.erase(Offset, NumBytes);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DThumb1FrameLowering.cpp70 const ThumbRegisterInfo &MRI, int NumBytes,
74 if (std::abs(NumBytes) > 508 * 3) {
85 .addImm(NumBytes).setMIFlags(MIFlags);
87 MRI.emitLoadConstPool(MBB, MBBI, dl, ScratchReg, 0, NumBytes, ARMCC::AL,
99 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII,
107 const ThumbRegisterInfo &MRI, int NumBytes,
109 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII,
160 unsigned NumBytes = MFI.getStackSize(); local
161 assert(NumBytes >= ArgRegsSaveSize &&
162 "ArgRegsSaveSize is included in NumBytes");
67 emitPrologueEpilogueSPUpdate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, const TargetInstrInfo &TII, const DebugLoc &dl, const ThumbRegisterInfo &MRI, int NumBytes, unsigned ScratchReg, unsigned MIFlags) argument
104 emitCallSPUpdate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, const TargetInstrInfo &TII, const DebugLoc &dl, const ThumbRegisterInfo &MRI, int NumBytes, unsigned MIFlags = MachineInstr::NoFlags) argument
484 int NumBytes = (int)MFI.getStackSize(); local
[all...]
H A DThumbRegisterInfo.cpp125 const DebugLoc &dl, Register DestReg, Register BaseReg, int NumBytes,
137 if (NumBytes < 0 && !isHigh && CanChangeCC) {
139 NumBytes = -NumBytes;
147 if (NumBytes <= 255 && NumBytes >= 0 && CanChangeCC) {
150 .addImm(NumBytes)
152 } else if (NumBytes < 0 && NumBytes >= -255 && CanChangeCC) {
155 .addImm(NumBytes)
123 emitThumbRegPlusImmInReg( MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, const DebugLoc &dl, Register DestReg, Register BaseReg, int NumBytes, bool CanChangeCC, const TargetInstrInfo &TII, const ARMBaseRegisterInfo &MRI, unsigned MIFlags = MachineInstr::NoFlags) argument
185 emitThumbRegPlusImmediate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, const DebugLoc &dl, Register DestReg, Register BaseReg, int NumBytes, const TargetInstrInfo &TII, const ARMBaseRegisterInfo &MRI, unsigned MIFlags) argument
[all...]
H A DThumb2InstrInfo.cpp233 Register BaseReg, int NumBytes,
237 if (NumBytes == 0 && DestReg != BaseReg) {
244 bool isSub = NumBytes < 0;
245 if (isSub) NumBytes = -NumBytes;
250 NumBytes >= 4096 &&
251 ARM_AM::getT2SOImmVal(NumBytes) == -1) {
253 if (NumBytes < 65536) {
256 .addImm(NumBytes)
259 } else if ((NumBytes
230 emitT2RegPlusImmediate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, const DebugLoc &dl, Register DestReg, Register BaseReg, int NumBytes, ARMCC::CondCodes Pred, Register PredReg, const ARMBaseInstrInfo &TII, unsigned MIFlags) argument
[all...]
H A DARMFrameLowering.cpp148 unsigned SrcReg, int NumBytes, unsigned MIFlags = MachineInstr::NoFlags,
151 emitARMRegPlusImmediate(MBB, MBBI, dl, DestReg, SrcReg, NumBytes,
154 emitT2RegPlusImmediate(MBB, MBBI, dl, DestReg, SrcReg, NumBytes,
160 const ARMBaseInstrInfo &TII, int NumBytes,
164 emitRegPlusImmediate(isARM, MBB, MBBI, dl, TII, ARM::SP, ARM::SP, NumBytes,
352 unsigned NumBytes = MFI.getStackSize(); local
384 (!STI.isTargetWindows() || !WindowsRequiresStackProbe(MF, NumBytes))) {
385 if (NumBytes - ArgRegsSaveSize != 0) {
386 emitSPUpdate(isARM, MBB, MBBI, dl, TII, -(NumBytes - ArgRegsSaveSize),
389 NumBytes
145 emitRegPlusImmediate( bool isARM, MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, const DebugLoc &dl, const ARMBaseInstrInfo &TII, unsigned DestReg, unsigned SrcReg, int NumBytes, unsigned MIFlags = MachineInstr::NoFlags, ARMCC::CondCodes Pred = ARMCC::AL, unsigned PredReg = 0) argument
158 emitSPUpdate(bool isARM, MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, const DebugLoc &dl, const ARMBaseInstrInfo &TII, int NumBytes, unsigned MIFlags = MachineInstr::NoFlags, ARMCC::CondCodes Pred = ARMCC::AL, unsigned PredReg = 0) argument
567 DefCFAOffsetCandidates.addInst(std::prev(MBBI), NumBytes); local
777 int NumBytes = (int)MFI.getStackSize(); local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiAsmBackend.cpp104 unsigned NumBytes = (getFixupKindInfo(Kind).TargetSize + 7) / 8; local
111 for (unsigned i = 0; i != NumBytes; ++i) {
122 for (unsigned i = 0; i != NumBytes; ++i) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyAsmBackend.cpp108 unsigned NumBytes = alignTo(Info.TargetSize, 8) / 8; local
116 assert(Offset + NumBytes <= Data.size() && "Invalid fixup offset!");
120 for (unsigned I = 0; I != NumBytes; ++I)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfStringPool.h31 unsigned NumBytes = 0; member in class:llvm::DwarfStringPool
H A DDwarfStringPool.cpp32 Entry.Offset = NumBytes;
35 NumBytes += Str.size() + 1;
36 assert(NumBytes > Entry.Offset && "Unexpected overflow");
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/
H A DVEAsmBackend.cpp199 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); variable
201 assert(Offset + NumBytes <= Data.size() && "Invalid fixup offset!");
205 for (unsigned i = 0; i != NumBytes; ++i) {
206 unsigned Idx = Endian == support::little ? i : (NumBytes - 1) - i;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOAArch64.h37 unsigned NumBytes = 1 << RE.Size; local
53 if (NumBytes != 4 && NumBytes != 8) {
70 assert(NumBytes == 4 && "Invalid relocation size.");
82 if (NumBytes == 4)
155 void encodeAddend(uint8_t *LocalAddress, unsigned NumBytes, argument
163 assert((NumBytes == 4 || NumBytes == 8) && "Invalid relocation size.");
170 assert(NumBytes == 4 && "Invalid relocation size.");
182 if (NumBytes
491 unsigned NumBytes = 1 << Size; local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/MSP430/MCTargetDesc/
H A DMSP430AsmBackend.cpp144 unsigned NumBytes = alignTo(Info.TargetSize + Info.TargetOffset, 8) / 8; local
146 assert(Offset + NumBytes <= Data.size() && "Invalid fixup offset!");
150 for (unsigned i = 0; i != NumBytes; ++i) {
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A DSectionSizes.cpp65 auto NumBytes = std::to_string(DebugSec.getValue()); local
66 OS << right_justify(NumBytes, SizeColWidth) << " ("
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackOffset.h108 void getForFrameOffset(int64_t &NumBytes, int64_t &NumPredicateVectors, argument
112 NumBytes = Bytes;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/Windows/
H A DMemory.inc100 MemoryBlock Memory::allocateMappedMemory(size_t NumBytes,
105 if (NumBytes == 0)
121 size_t NumBlocks = (NumBytes + Granularity - 1) / Granularity;
140 return allocateMappedMemory(NumBytes, NULL, Flags & ~MF_HUGE_HINT, EC);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFAbbreviationDeclaration.cpp101 FixedAttributeSize->NumBytes += *ByteSize;
187 size_t ByteSize = NumBytes;

Completed in 124 milliseconds

12345