/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/ |
H A D | FormatTokenLexer.cpp | 394 const char *Offset = Lex->getBufferLocation(); local 395 const char *RegexBegin = Offset - RegexToken->TokenText.size(); 399 for (; !HaveClosingSlash && Offset != Buffer.end(); ++Offset) { 403 switch (*Offset) { 406 ++Offset; 424 RegexToken->TokenText = StringRef(RegexBegin, Offset - RegexBegin); 427 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset))); 452 const char *Offset = Lex->getBufferLocation(); local 453 const char *TmplBegin = Offset 725 const char *Offset = Lex->getBufferLocation(); local 877 resetLexer(unsigned Offset) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Serialization/ |
H A D | ASTRecordReader.h | 95 bool readLexicalDeclContextStorage(uint64_t Offset, DeclContext *DC) { argument 96 return Reader->ReadLexicalDeclContextStorage(*F, F->DeclsCursor, Offset, 101 bool readVisibleDeclContextStorage(uint64_t Offset, argument 103 return Reader->ReadVisibleDeclContextStorage(*F, F->DeclsCursor, Offset, 339 : Cursor(Cursor), Offset(Cursor.GetCurrentBitNo()) {} 342 if (llvm::Error Err = Cursor.JumpToBit(Offset)) 350 uint64_t Offset; member in struct:clang::SavedStreamPosition
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | LoopUnrollAnalyzer.cpp | 52 auto *Offset = 54 if (!Offset) 58 Address.Offset = Offset->getValue(); 100 ConstantInt *SimplifiedAddrOp = AddressIt->second.Offset; 185 LHS = LHSAddr.Offset; 186 RHS = RHSAddr.Offset;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCLoopInstrFormPrep.cpp | 130 BucketElement(const SCEVConstant *O, Instruction *I) : Offset(O), Instr(I) {} 131 BucketElement(Instruction *I) : Offset(nullptr), Instr(I) {} 133 const SCEVConstant *Offset; member in struct:__anon2363::BucketElement 375 // key: value of (Offset urem DispConstraint). For DSForm, it can 383 if (!BucketChain.Elements[j].Offset) 387 BucketChain.Elements[j].Offset->getAPInt().urem(Form); 426 const SCEV *Offset = local 427 BucketChain.Elements[RemainderOffsetInfo[MaxCountRemainder].first].Offset; 428 BucketChain.BaseSCEV = SE->getAddExpr(BucketChain.BaseSCEV, Offset); 430 if (E.Offset) 472 const SCEV *Offset = BucketChain.Elements[j].Offset; local [all...] |
H A D | PPCBranchSelector.cpp | 50 unsigned GetAlignmentAdjustment(MachineBasicBlock &MBB, unsigned Offset); 81 /// original Offset. 83 unsigned Offset) { 91 return offsetToAlignment(Offset, Alignment); 97 return Alignment.value() + offsetToAlignment(Offset, Alignment); 152 unsigned Offset = GetInitialOffset(Fn); local 160 Offset -= BS.second; 162 unsigned AlignExtra = GetAlignmentAdjustment(*MBB, Offset); 167 Offset += AlignExtra; 170 Offset 82 GetAlignmentAdjustment(MachineBasicBlock &MBB, unsigned Offset) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFInstrInfo.cpp | 87 unsigned Offset = IterationNum * Alignment; local 93 .addReg(ScratchReg, RegState::Define).addReg(SrcReg).addImm(Offset); 95 .addReg(ScratchReg, RegState::Kill).addReg(DstReg).addImm(Offset); 96 Offset += 4; 100 .addReg(ScratchReg, RegState::Define).addReg(SrcReg).addImm(Offset); 102 .addReg(ScratchReg, RegState::Kill).addReg(DstReg).addImm(Offset); 103 Offset += 2; 107 .addReg(ScratchReg, RegState::Define).addReg(SrcReg).addImm(Offset); 109 .addReg(ScratchReg, RegState::Kill).addReg(DstReg).addImm(Offset);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | TypeHashing.cpp | 45 uint32_t PreLen = Ref.Offset - Off; 50 auto RefData = RecordData.slice(Ref.Offset, Ref.Count * sizeof(TypeIndex)); 72 Off = Ref.Offset + Ref.Count * sizeof(TypeIndex);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | InfoStream.cpp | 45 uint32_t Offset = Reader.getOffset(); local 49 NamedStreamMapByteSize = NewOffset - Offset; 51 Reader.setOffset(Offset);
|
H A D | PDBStringTableBuilder.cpp | 38 StringRef StringTableHashTraits::storageKeyToLookupKey(uint32_t Offset) const { 39 return Table->getStringForId(Offset); 182 uint32_t Offset = Pair.getValue(); local 189 Buckets[Slot] = Offset;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/ |
H A D | LanaiAsmBackend.cpp | 107 unsigned Offset = Fixup.getOffset(); local 117 CurVal |= static_cast<uint64_t>(static_cast<uint8_t>(Data[Offset + Idx])) 128 Data[Offset + Idx] = static_cast<uint8_t>((CurVal >> (i * 8)) & 0xff);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/ |
H A D | SystemZMCAsmBackend.cpp | 103 unsigned Offset = Fixup.getOffset(); local 107 assert(Offset + Size <= Data.size() && "Invalid fixup offset!"); 115 Data[Offset + I] |= uint8_t(Value >> ShiftValue);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldMachO.cpp | 48 uint8_t *Src = Sections[RE.SectionID].getAddress() + RE.Offset; 68 uint64_t Offset = RelI->getOffset(); local 69 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset); 87 RelocationEntry R(SectionID, Offset, RelocType, Addend, IsPCRel, Size); 120 Value.Offset = SymInfo.getOffset() + RE.Addend; 123 Value.Offset = RE.Addend; 134 Value.Offset = RE.Addend - Addr; 145 Value.Offset += RI->getOffset() + OffsetToNextPC + SecI->getAddress(); 151 uint8_t *LocalAddress = Section.getAddress() + RE.Offset; 152 uint64_t FinalAddress = Section.getLoadAddress() + RE.Offset; 285 uint32_t Offset = readBytesUnaligned(P, 4); local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/ |
H A D | AVRInstPrinter.cpp | 157 int64_t Offset = OffsetOp.getImm(); local 159 if (Offset >= 0) 162 O << Offset; local
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
H A D | RuntimeDyldMachOARM.h | 51 bool isAddrTargetThumb(unsigned SectionID, uint64_t Offset) { argument 52 auto TargetObjAddr = Sections[SectionID].getObjAddress() + Offset; 65 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); 187 RE.IsTargetThumbFunc = isAddrTargetThumb(Value.SectionID, Value.Offset); 193 RE.Addend = Value.Offset; 206 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); 211 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset); 331 MachO::GENERIC_RELOC_VANILLA, Value.Offset, false, 2); 339 RelocationEntry TargetRE(RE.SectionID, RE.Offset, RE.RelType, 0, 363 uint64_t Offset local [all...] |
H A D | RuntimeDyldMachOAArch64.h | 36 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); 335 Value.Offset = 0; 339 RE.Addend = Value.Offset; 359 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); 381 // Addend is the GOT entry address and RE.Offset the target of the 384 RE.IsPCRel ? (RE.Addend - RE.Offset) : (Value + RE.Addend); 392 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset); 401 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset); 449 int64_t Offset; local 451 Offset 489 uint64_t Offset = RelI->getOffset(); local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | BranchRelaxation.cpp | 50 /// Offset - Distance from the beginning of the function to the beginning 54 unsigned Offset = 0; member in struct:__anon1694::BranchRelaxation::BasicBlockInfo 68 const unsigned PO = Offset + Size; 132 assert(isAligned(MBB.getAlignment(), BlockInfo[Num].Offset)); 133 assert(!Num || BlockInfo[PrevNum].postOffset(MBB) <= BlockInfo[Num].Offset); 145 dbgs() << format("%%bb.%u\toffset=%08x\t", MBB.getNumber(), BBI.Offset) 185 unsigned Offset = BlockInfo[MBB->getNumber()].Offset; local 190 Offset += TII->getInstSizeInBytes(*I); 193 return Offset; [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
H A D | WebAssemblyAsmBackend.cpp | 79 // Name Offset (bits) Size (bits) Flags 117 unsigned Offset = Fixup.getOffset(); local 118 assert(Offset + NumBytes <= Data.size() && "Invalid fixup offset!"); 123 Data[Offset + I] |= uint8_t((Value >> (I * 8)) & 0xff);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMBaseRegisterInfo.cpp | 549 needsFrameBaseReg(MachineInstr *MI, int64_t Offset) const { 591 int64_t FPOffset = Offset - 8; 599 Offset += MFI.getLocalFrameSize(); 603 Offset += 128; // 128 bytes of spill slots 620 if (!MFI.hasVarSizedObjects() && isFrameOffsetLegal(MI, ARM::SP, Offset)) 632 int64_t Offset) const { 649 .addFrameIndex(FrameIdx).addImm(Offset); 656 int64_t Offset) const { 662 int Off = Offset; // ARM doesn't need the general 64-bit offsets 684 int64_t Offset) cons 764 int Offset = TFI->ResolveFrameIndexReference(MF, FrameIndex, FrameReg, SPAdj); local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/ |
H A D | Archive.cpp | 69 uint64_t Offset = RawHeaderPtr - Parent->getData().data(); local 70 *Err = malformedError(Msg + "at offset " + Twine(Offset)); 89 uint64_t Offset = RawHeaderPtr - Parent->getData().data(); local 90 *Err = malformedError(Msg + "at offset " + Twine(Offset)); 105 uint64_t Offset = reinterpret_cast<const char *>(ArMemHdr) - local 108 "header at offset " + Twine(Offset)); 235 uint64_t Offset = reinterpret_cast<const char *>(ArMemHdr) - local 239 "member header at offset " + Twine(Offset)); 253 uint64_t Offset = reinterpret_cast<const char *>(ArMemHdr) - local 257 "archive member header at offset " + Twine(Offset)); 273 uint64_t Offset = reinterpret_cast<const char *>(ArMemHdr) - local 293 uint64_t Offset = reinterpret_cast<const char *>(ArMemHdr) - local 312 uint64_t Offset = reinterpret_cast<const char *>(ArMemHdr) - local 383 uint64_t Offset = Start - Parent->getData().data(); local 475 uint64_t Offset = Data.data() - Parent->getData().data(); local 806 uint64_t Offset = 0; local [all...] |
H A D | COFFImportFile.cpp | 75 size_t Offset = B.size(); local 88 support::ulittle32_t Length(B.size() - Offset); 89 support::endian::write32le(&B[Offset], Length); 299 // TODO: Name.Offset.Offset here and in the all similar places below 301 SymbolTable[0].Name.Offset.Offset = 303 SymbolTable[5].Name.Offset.Offset = 305 SymbolTable[6].Name.Offset [all...] |
H A D | COFFObjectFile.cpp | 109 uintptr_t Offset = uintptr_t(Addr) - uintptr_t(base()); local 111 assert((Offset - getPointerToSymbolTable()) % sizeof(coff_symbol_type) == 0 && 126 uintptr_t Offset = uintptr_t(Addr) - uintptr_t(SectionTable); local 127 assert(Offset % sizeof(coff_section) == 0 && 332 uintptr_t Offset = local 334 assert((Offset % sizeof(coff_section)) == 0); 335 return (Offset / sizeof(coff_section)) + 1; 463 uint32_t Offset = Addr - SectionStart; local 464 Res = uintptr_t(base()) + Section->PointerToRawData + Offset; 987 std::error_code COFFObjectFile::getString(uint32_t Offset, argument 1031 uintptr_t Offset = uintptr_t(Aux) - uintptr_t(base()); local 1045 uintptr_t Offset = local 1066 uint32_t Offset; local 1511 int Offset = 0; local 1673 getDirStringAtOffset(uint32_t Offset) argument 1689 getTableAtOffset(uint32_t Offset) argument 1700 getTableEntryAtOffset(uint32_t Offset) argument 1711 getDataEntryAtOffset(uint32_t Offset) argument 1853 uint64_t Offset = VA - S.getAddress(); local [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Core/ |
H A D | Replacement.cpp | 47 Replacement::Replacement(StringRef FilePath, unsigned Offset, unsigned Length, argument 49 : FilePath(FilePath), ReplacementRange(Offset, Length), 370 Offset(R.getOffset() + (MergeSecond ? 0 : Delta)), Length(R.getLength()), 382 unsigned End = Offset + Text.size(); 388 StringRef Head = TextRef.substr(0, R.getOffset() + Delta - Offset); 389 StringRef Tail = TextRef.substr(REnd - Offset); 393 unsigned End = Offset + Length; 398 Length = R.getOffset() + R.getLength() - Offset; 411 return Offset + Text.size() < R.getOffset() + Delta; 412 return Offset 436 const unsigned Offset; member in class:__anon919::MergedReplacement 538 unsigned Offset = R.getOffset() + Shift; local 547 unsigned Offset = 0; local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | ASanStackFrameLayout.h | 38 size_t Offset; // Offset from the beginning of the frame; member in struct:llvm::ASanStackVariableDescription
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm-c/ |
H A D | DisassemblerTypes.h | 34 * instruction are specified by the Offset parameter and its byte widith is the 36 * operand per instruction, the Offset parameter will be zero and Size parameter 43 uint64_t Offset, uint64_t Size, 48 * expression is "AddSymbol - SubtractSymbol + Offset". For some Darwin targets 51 * platforms only allow a relocatable expression of the form AddSymbol + Offset 58 * the fields of the structure with the Offset of the relocatable expression
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | ContinuationRecordBuilder.h | 44 void insertSegmentEnd(uint32_t Offset);
|