| /src/external/apache2/llvm/dist/llvm/lib/Support/ |
| FormattedStream.cpp | 76 unsigned NumBytes; 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));
|
| /src/external/apache2/llvm/dist/clang/lib/Rewrite/ |
| RewriteRope.cpp | 119 /// 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 -= CoverBytes [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/VE/ |
| VEFrameLowering.cpp | 138 uint64_t NumBytes, 186 uint64_t NumBytes, 229 int64_t NumBytes, 234 if (NumBytes == 0) { 236 } else if (isInt<7>(NumBytes)) { 237 // adds.l %s11, NumBytes@lo, %s11 240 .addImm(NumBytes); 241 } else if (isInt<32>(NumBytes)) { 242 // lea %s11, NumBytes@lo(, %s11) 246 .addImm(Lo_32(NumBytes)); [all...] |
| VEFrameLowering.h | 32 MachineBasicBlock::iterator MBBI, uint64_t NumBytes, 35 MachineBasicBlock::iterator MBBI, uint64_t NumBytes, 78 MachineBasicBlock::iterator MBBI, int64_t NumBytes,
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/Sparc/ |
| SparcFrameLowering.cpp | 43 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), %g [all...] |
| SparcFrameLowering.h | 62 int NumBytes, unsigned ADDrr, unsigned ADDri) const;
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/ |
| MSP430FrameLowering.cpp | 54 uint64_t NumBytes = 0; 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); [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| WebAssemblyAsmBackend.cpp | 103 unsigned NumBytes = alignTo(Info.TargetSize, 8) / 8; 111 assert(Offset + NumBytes <= Data.size() && "Invalid fixup offset!"); 115 for (unsigned I = 0; I != NumBytes; ++I)
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/MSF/ |
| IMSFFile.h | 33 uint32_t NumBytes) const = 0;
|
| MSFCommon.h | 108 inline uint64_t bytesToBlocks(uint64_t NumBytes, uint64_t BlockSize) { 109 return divideCeil(NumBytes, BlockSize);
|
| /src/external/apache2/llvm/dist/clang/include/clang/Rewrite/Core/ |
| RewriteRope.h | 161 void erase(unsigned Offset, unsigned NumBytes); 207 void erase(unsigned Offset, unsigned NumBytes) { 208 assert(Offset+NumBytes <= size() && "Invalid region to erase!"); 209 if (NumBytes == 0) return; 210 Chunks.erase(Offset, NumBytes);
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/CSKY/MCTargetDesc/ |
| CSKYAsmBackend.cpp | 116 unsigned NumBytes = alignTo(Info.TargetSize + Info.TargetOffset, 8) / 8; 118 assert(Offset + NumBytes <= Data.size() && "Invalid fixup offset!"); 124 if (IsLittleEndian && (NumBytes == 4)) { 130 for (unsigned I = 0; I != NumBytes; I++) { 131 unsigned Idx = IsLittleEndian ? I : (NumBytes - 1 - I);
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
| Thumb1FrameLowering.cpp | 70 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(); 161 assert(NumBytes >= ArgRegsSaveSize && 162 "ArgRegsSaveSize is included in NumBytes"); [all...] |
| ThumbRegisterInfo.cpp | 125 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) [all...] |
| Thumb2InstrInfo.cpp | 278 Register BaseReg, int NumBytes, 282 if (NumBytes == 0 && DestReg != BaseReg) { 289 bool isSub = NumBytes < 0; 290 if (isSub) NumBytes = -NumBytes; 295 NumBytes >= 4096 && 296 ARM_AM::getT2SOImmVal(NumBytes) == -1) { 298 if (NumBytes < 65536) { 301 .addImm(NumBytes) 304 } else if ((NumBytes & 0xffff) == 0) [all...] |
| ARMFrameLowering.cpp | 243 unsigned SrcReg, int NumBytes, unsigned MIFlags = MachineInstr::NoFlags, 246 emitARMRegPlusImmediate(MBB, MBBI, dl, DestReg, SrcReg, NumBytes, 249 emitT2RegPlusImmediate(MBB, MBBI, dl, DestReg, SrcReg, NumBytes, 255 const ARMBaseInstrInfo &TII, int NumBytes, 259 emitRegPlusImmediate(isARM, MBB, MBBI, dl, TII, ARM::SP, ARM::SP, NumBytes, 447 unsigned NumBytes = MFI.getStackSize(); 479 (!STI.isTargetWindows() || !WindowsRequiresStackProbe(MF, NumBytes))) { 480 if (NumBytes - ArgRegsSaveSize != 0) { 481 emitSPUpdate(isARM, MBB, MBBI, dl, TII, -(NumBytes - ArgRegsSaveSize), 484 NumBytes - ArgRegsSaveSize, true) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/MCTargetDesc/ |
| LanaiAsmBackend.cpp | 99 unsigned NumBytes = (getFixupKindInfo(Kind).TargetSize + 7) / 8; 106 for (unsigned i = 0; i != NumBytes; ++i) { 117 for (unsigned i = 0; i != NumBytes; ++i) {
|
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
| DwarfStringPool.h | 31 uint64_t NumBytes = 0;
|
| DwarfStringPool.cpp | 31 Entry.Offset = NumBytes; 34 NumBytes += Str.size() + 1;
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/VE/MCTargetDesc/ |
| VEAsmBackend.cpp | 199 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); 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;
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/M68k/ |
| M68kFrameLowering.cpp | 339 int64_t NumBytes, bool InEpilogue) const { 340 bool IsSub = NumBytes < 0; 341 uint64_t Offset = IsSub ? -NumBytes : NumBytes; 527 uint64_t NumBytes = 0; 538 NumBytes = FrameSize - MMFI->getCalleeSavedFrameSize(); 542 NumBytes = alignTo(NumBytes, MaxAlign); 547 MFI.setOffsetAdjustment(-NumBytes); 587 NumBytes = StackSize - MMFI->getCalleeSavedFrameSize() [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| RuntimeDyldMachOAArch64.h | 37 unsigned NumBytes = 1 << RE.Size; 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, 163 assert((NumBytes == 4 || NumBytes == 8) && "Invalid relocation size."); 170 assert(NumBytes == 4 && "Invalid relocation size."); 182 if (NumBytes == 4 [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/MCTargetDesc/ |
| MSP430AsmBackend.cpp | 139 unsigned NumBytes = alignTo(Info.TargetSize + Info.TargetOffset, 8) / 8; 141 assert(Offset + NumBytes <= Data.size() && "Invalid fixup offset!"); 145 for (unsigned i = 0; i != NumBytes; ++i) {
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-dwarfdump/ |
| SectionSizes.cpp | 63 std::string NumBytes = std::to_string(It.second); 64 OS << right_justify(NumBytes, SizeColWidth) << " ("
|
| /src/external/apache2/llvm/dist/llvm/lib/Support/Windows/ |
| Memory.inc | 100 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);
|