| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Core/ |
| H A D | Replacement.cpp | 99 if (LHS.getOffset() != RHS.getOffset()) in operator <() 100 return LHS.getOffset() < RHS.getOffset(); in operator <() 111 return LHS.getOffset() == RHS.getOffset() && in operator ==() 202 if (PrevEnd < R.getOffset()) { in getCanonicalReplacements() 270 if (I != Replaces.end() && R.getOffset() == I->getOffset()) { in add() 463 FirstI->getOffset() < SecondI->getOffset() + Delta); in merge() 487 if (LHS.getOffset() != RHS.getOffset()) in combineAndSortRanges() 488 return LHS.getOffset() < RHS.getOffset(); in combineAndSortRanges() 494 Result.back().getOffset() + Result.back().getLength() < R.getOffset()) { in combineAndSortRanges() 501 Range(Result.back().getOffset(), NewEnd - Result.back().getOffset()); in combineAndSortRanges() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Object/ |
| H A D | MachOUniversal.cpp | 169 uint64_t bigSize = A.getOffset(); in MachOUniversalBinary() 187 if(A.getOffset() % (1ull << A.getAlign()) != 0){ in MachOUniversalBinary() 188 Err = malformedError("offset: " + Twine(A.getOffset()) + in MachOUniversalBinary() 194 if (A.getOffset() < MinSize) { in MachOUniversalBinary() 213 if ((A.getOffset() >= B.getOffset() && in MachOUniversalBinary() 214 A.getOffset() < B.getOffset() + B.getSize()) || in MachOUniversalBinary() 215 (A.getOffset() + A.getSize() > B.getOffset() && in MachOUniversalBinary() 216 A.getOffset() + A.getSize() < B.getOffset() + B.getSize()) || in MachOUniversalBinary() 217 (A.getOffset() <= B.getOffset() && in MachOUniversalBinary() 218 A.getOffset() + A.getSize() >= B.getOffset() + B.getSize())) { in MachOUniversalBinary() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | JITLink.cpp | 123 << " + " << formatv("{0:x8}", Sym.getOffset()) in operator <<() 154 if (TargetSym.getOffset()) in printEdge() 202 if (I->getOffset() < SplitIndex) { in splitBlock() 206 I->setOffset(I->getOffset() - SplitIndex); in splitBlock() 225 return LHS->getOffset() > RHS->getOffset(); in splitBlock() 237 Sym->setSize(SplitIndex - Sym->getOffset()); in splitBlock() 244 Sym->setOffset(Sym->getOffset() - SplitIndex); in splitBlock() 261 if (LHS->getOffset() != RHS->getOffset()) in dump() 262 return LHS->getOffset() < RHS->getOffset(); in dump() 307 return LHS.getOffset() < RHS.getOffset(); in dump() [all …]
|
| H A D | EHFrameSupport.cpp | 106 formatv("{0:x}", B.getAddress() + R.getOffset() - 12) + in readCFIRecordLength() 133 if (BlockEdges.Multiple.contains(E.getOffset())) in processBlock() 139 auto It = BlockEdges.TargetMap.find(E.getOffset()); in processBlock() 142 BlockEdges.Multiple.insert(E.getOffset()); in processBlock() 144 BlockEdges.TargetMap[E.getOffset()] = EdgeTarget(E); in processBlock() 164 uint64_t CIEDeltaFieldOffset = BlockReader.getOffset(); in processBlock() 259 B, RecordReader.getOffset(), "personality") in processCIE() 279 if (RecordReader.getOffset() - AugmentationDataStartOffset > in processCIE() 361 RecordReader.getOffset(), "PC begin")) { in processFDE() 397 RecordReader.getOffset(), "LSDA") in processFDE() [all …]
|
| H A D | DWARFRecordSectionSplitter.cpp | 46 return LHS->getOffset() > RHS->getOffset(); in operator ()() 82 uint64_t RecordStartOffset = BlockReader.getOffset(); in processBlock() 109 uint64_t BlockSize = BlockReader.getOffset() - RecordStartOffset; in processBlock()
|
| H A D | x86_64.cpp | 89 assert(E.getOffset() >= (REXPrefix ? 3u : 2u) && in optimizeGOTAndStubAccesses() 94 E.getOffset(); in optimizeGOTAndStubAccesses() 148 E.setOffset(E.getOffset() - 1); in optimizeGOTAndStubAccesses() 174 orc::ExecutorAddr EdgeAddr = B->getAddress() + E.getOffset(); in optimizeGOTAndStubAccesses()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/ |
| H A D | BPFAsmBackend.cpp | 91 support::endian::write<uint32_t>(&Data[Fixup.getOffset() + 4], in applyFixup() 95 support::endian::write<uint32_t>(&Data[Fixup.getOffset()], Value, Endian); in applyFixup() 97 support::endian::write<uint64_t>(&Data[Fixup.getOffset()], Value, Endian); in applyFixup() 101 Data[Fixup.getOffset() + 1] = 0x10; in applyFixup() 102 support::endian::write32le(&Data[Fixup.getOffset() + 4], Value); in applyFixup() 104 Data[Fixup.getOffset() + 1] = 0x1; in applyFixup() 105 support::endian::write32be(&Data[Fixup.getOffset() + 4], Value); in applyFixup() 110 support::endian::write<uint32_t>(&Data[Fixup.getOffset() + 4], Value, in applyFixup() 120 support::endian::write<uint16_t>(&Data[Fixup.getOffset() + 2], Value, in applyFixup()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
| H A D | LVSort.cpp | 47 return LHS->getOffset() < RHS->getOffset(); in compareOffset() 70 LHS->kind(), LHS->getName(), LHS->getLineNumber(), LHS->getOffset()); in sortByKind() 72 RHS->kind(), RHS->getName(), RHS->getLineNumber(), RHS->getOffset()); in sortByKind() 82 LHS->getLineNumber(), LHS->getName(), LHS->kind(), LHS->getOffset()); in sortByLine() 84 RHS->getLineNumber(), RHS->getName(), RHS->kind(), RHS->getOffset()); in sortByLine() 94 LHS->getName(), LHS->getLineNumber(), LHS->kind(), LHS->getOffset()); in sortByName() 96 RHS->getName(), RHS->getLineNumber(), RHS->kind(), RHS->getOffset()); in sortByName()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | SourceManager.h | 1142 return getFileID(SpellingLoc.getOffset()); in getFileID() 1273 return std::make_pair(FID, Loc.getOffset() - Entry->getOffset()); in getDecomposedLoc() 1287 unsigned Offset = Loc.getOffset()-E->getOffset(); in getDecomposedExpansionLoc() 1305 unsigned Offset = Loc.getOffset()-E->getOffset(); in getDecomposedSpellingLoc() 1367 assert(((Start.getOffset() < NextLocalOffset && 1372 SourceLocation::UIntTy LocOffs = Loc.getOffset(); 1391 SourceLocation::UIntTy LHSOffs = LHS.getOffset(), RHSOffs = RHS.getOffset(); in isInSameSLocAddrSpace() 1566 SourceLocation::UIntTy Offs = Loc.getOffset(); 1778 return isLoadedOffset(Loc.getOffset()); in isLoadedSourceLocation() 1783 return isLocalOffset(Loc.getOffset()); in isLocalSourceLocation() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineOperand.cpp | 340 return getIndex() == Other.getIndex() && getOffset() == Other.getOffset(); in isIdenticalTo() 344 return getGlobal() == Other.getGlobal() && getOffset() == Other.getOffset(); in isIdenticalTo() 347 getOffset() == Other.getOffset(); in isIdenticalTo() 350 getOffset() == Other.getOffset(); in isIdenticalTo() 407 MO.getOffset()); in hash_value() 688 OS << ", " << CFI.getOffset(); in printCFI() 700 OS << CFI.getOffset(); in printCFI() 707 OS << ", " << CFI.getOffset(); in printCFI() 714 OS << ", " << CFI.getOffset(); in printCFI() 722 OS << ", " << CFI.getOffset(); in printCFI() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugInfoEntry.cpp | 33 U.getOffset(), U.getNextUnitOffset(), *OffsetPtr)); in extractFast() 49 U.getOffset(), U.getAbbreviationsOffset())); in extractFast() 61 U.getOffset(), AbbrCode, *OffsetPtr, in extractFast() 89 U.getOffset(), AttrSpec.Form, *OffsetPtr)); in extractFast()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/ubsan/ |
| H A D | ubsan_handlers_cxx.cpp | 58 if (DTI.getOffset() < -VptrMaxOffsetToTop || DTI.getOffset() > VptrMaxOffsetToTop) { in HandleDynamicTypeCacheMiss() 68 } else if (!DTI.getOffset()) in HandleDynamicTypeCacheMiss() 75 Diag(Pointer - DTI.getOffset(), DL_Note, ET, in HandleDynamicTypeCacheMiss() 77 << DTI.getOffset() << TypeName(DTI.getMostDerivedTypeName()) in HandleDynamicTypeCacheMiss()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGAddressAnalysis.cpp | 44 Off += B->getOffset() - A->getOffset(); in equalBaseIndex() 63 Off += B->getOffset() - A->getOffset(); in equalBaseIndex() 214 if (auto *C = dyn_cast<ConstantSDNode>(N->getOffset())) in matchLSNode() 219 if (auto *C = dyn_cast<ConstantSDNode>(N->getOffset())) in matchLSNode() 249 if (auto *C = dyn_cast<ConstantSDNode>(LSBase->getOffset())) { in matchLSNode() 311 return BaseIndexOffset(LN->getOperand(1), SDValue(), LN->getOffset(), in match()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinterDwarf.cpp | 212 OutStreamer->emitCFIDefCfaOffset(Inst.getOffset(), Loc); in emitCFIInstruction() 215 OutStreamer->emitCFIAdjustCfaOffset(Inst.getOffset(), Loc); in emitCFIInstruction() 218 OutStreamer->emitCFIDefCfa(Inst.getRegister(), Inst.getOffset(), Loc); in emitCFIInstruction() 224 OutStreamer->emitCFILLVMDefAspaceCfa(Inst.getRegister(), Inst.getOffset(), in emitCFIInstruction() 228 OutStreamer->emitCFIOffset(Inst.getRegister(), Inst.getOffset(), Loc); in emitCFIInstruction() 243 OutStreamer->emitCFIGnuArgsSize(Inst.getOffset(), Loc); in emitCFIInstruction() 268 Twine::utohexstr(Die.getOffset()) + ":0x" + in emitDwarfDIE()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreMCInstLower.cpp | 43 Offset += MO.getOffset(); in LowerSymbolOperand() 47 Offset += MO.getOffset(); in LowerSymbolOperand() 51 Offset += MO.getOffset(); in LowerSymbolOperand() 58 Offset += MO.getOffset(); in LowerSymbolOperand()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARC/ |
| H A D | ARCMCInstLower.cpp | 41 Offset += MO.getOffset(); in LowerSymbolOperand() 45 Offset += MO.getOffset(); in LowerSymbolOperand() 49 Offset += MO.getOffset(); in LowerSymbolOperand() 56 Offset += MO.getOffset(); in LowerSymbolOperand()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
| H A D | ContinuationRecordBuilder.cpp | 22 uint32_t Align = Writer.getOffset() % 4; in addPadding() 58 assert(SegmentWriter.getOffset() == 0); in begin() 81 uint32_t OriginalOffset = SegmentWriter.getOffset(); in writeMemberType() 107 uint32_t MemberLength = SegmentWriter.getOffset() - OriginalOffset; in writeMemberType() 122 return SegmentWriter.getOffset() - SegmentOffsets.back(); in getCurrentSegmentLength() 229 uint32_t End = SegmentWriter.getOffset(); in end()
|
| H A D | SimpleTypeSerializer.cpp | 19 uint32_t Align = Writer.getOffset() % 4; in addPadding() 55 Prefix->RecordLen = Writer.getOffset() - sizeof(uint16_t); in serialize() 57 return {ScratchBuffer.data(), static_cast<size_t>(Writer.getOffset())}; in serialize()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | StringTableBuilder.h | 69 size_t getOffset(CachedHashStringRef S) const; 70 size_t getOffset(StringRef S) const { in getOffset() function 71 return getOffset(CachedHashStringRef(S)); in getOffset()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | BinaryStreamReader.cpp | 74 uint64_t OriginalOffset = getOffset(); in readCString() 77 uint64_t ThisOffset = getOffset(); in readCString() 103 uint64_t OriginalOffset = getOffset(); in readWideString() 112 uint64_t NewOffset = getOffset(); in readWideString() 143 Ref.Offset = getOffset(); in readSubstream()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Edit/ |
| H A D | EditedSource.cpp | 244 unsigned diff = EndOffs.getOffset() - TopEnd.getOffset(); in commitRemove() 266 unsigned diff = E.getOffset() - TopEnd.getOffset(); in commitRemove() 350 unsigned begin = offs.getOffset(); in adjustRemoval() 388 Loc = Loc.getLocWithOffset(offs.getOffset()); in applyRewrite() 459 BLoc = BLoc.getLocWithOffset(BeginOffs.getOffset()); in getSourceText() 462 ELoc = BLoc.getLocWithOffset(EndOffs.getOffset() - BeginOffs.getOffset()); in getSourceText()
|
| H A D | Commit.cpp | 26 Loc = Loc.getLocWithOffset(Offset.getOffset()); in getFileLocation() 38 Loc = Loc.getLocWithOffset(InsertFromRangeOffs.getOffset()); in getInsertFromRange() 159 OuterBegin, InnerBegin.getOffset() - OuterBegin.getOffset()); in replaceWithInner() 161 InnerEnd, OuterEnd.getOffset() - InnerEnd.getOffset()); in replaceWithInner() 337 return file.substr(Offs.getOffset()).starts_with(text); in canReplaceText()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | STLAlgorithmModeling.cpp | 131 nonloc::SymbolVal(NewPos->getOffset()), in Find() 132 nonloc::SymbolVal(Pos->getOffset()), in Find() 153 nonloc::SymbolVal(NewPos->getOffset()), in Find() 154 nonloc::SymbolVal(Pos->getOffset()), in Find()
|
| H A D | ContainerModeling.cpp | 655 Pos2->getOffset(), BO_LT); in handleErase() 674 nonloc::SymbolVal(Pos->getOffset()), in handleEraseAfter() 676 SymMgr.getType(Pos->getOffset())).getAsSymbol(); in handleEraseAfter() 690 State = invalidateIteratorPositions(State, Pos1->getOffset(), BO_GT, in handleEraseAfter() 691 Pos2->getOffset(), BO_LT); in handleEraseAfter() 938 !compare(State, Pos.getOffset(), Offset, Opc); in invalidateAllIteratorPositionsExcept() 950 return compare(State, Pos.getOffset(), Offset, Opc); in invalidateIteratorPositions() 964 return compare(State, Pos.getOffset(), Offset1, Opc1) && in invalidateIteratorPositions() 965 compare(State, Pos.getOffset(), Offset2, Opc2); in invalidateIteratorPositions() 992 !compare(State, Pos.getOffset(), Offset, Opc); in reassignAllIteratorPositionsUnless() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFDataExtractor.h | 57 return getInitialLength(&getOffset(C), &getError(C)); in getInitialLength() 67 return getRelocatedValue(Size, &getOffset(C), SectionIndex, &getError(C)); 76 return getRelocatedValue(getAddressSize(), &getOffset(C), SecIx,
|