/freebsd/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() 197 ") offset " + Twine(A.getOffset()) + " overlaps universal headers"); 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() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | JITLink.cpp | 123 << " + " << formatv("{0:x8}", Sym.getOffset()) in operator <<() 134 OS << "edge@" << B.getAddress() + E.getOffset() << ": " << B.getAddress() in printEdge() 135 << " + " << formatv("{0:x}", E.getOffset()) << " -- " << EdgeKindName in printEdge() 154 if (TargetSym.getOffset()) in printEdge() 155 OS << " + " << formatv("{0:x}", 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() 232 BlockSymbols.back()->getOffset() < SplitIndex) { in splitBlock() 236 if (Sym->getOffset() + Sym->getSize() > SplitIndex) in splitBlock() [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() 239 uint32_t AugmentationDataStartOffset = RecordReader.getOffset(); in processCIE() 259 B, RecordReader.getOffset(), "personality") in processCIE() 279 if (RecordReader.getOffset() - AugmentationDataStartOffset > in processCIE() 357 << (RecordAddress + RecordReader.getOffset()) << "\ 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 | 91 assert(E.getOffset() >= (REXPrefix ? 3u : 2u) && in optimizeGOTAndStubAccesses() 96 E.getOffset(); in optimizeGOTAndStubAccesses() 150 E.setOffset(E.getOffset() - 1); in optimizeGOTAndStubAccesses() 176 orc::ExecutorAddr EdgeAddr = B->getAddress() + E.getOffset(); in optimizeGOTAndStubAccesses()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/ |
H A D | BPFAsmBackend.cpp | 84 support::endian::write<uint32_t>(&Data[Fixup.getOffset() + 4], in applyFixup() 88 support::endian::write<uint32_t>(&Data[Fixup.getOffset()], Value, Endian); in applyFixup() 90 support::endian::write<uint64_t>(&Data[Fixup.getOffset()], Value, Endian); in applyFixup() 94 Data[Fixup.getOffset() + 1] = 0x10; in applyFixup() 95 support::endian::write32le(&Data[Fixup.getOffset() + 4], Value); in applyFixup() 97 Data[Fixup.getOffset() + 1] = 0x1; in applyFixup() 98 support::endian::write32be(&Data[Fixup.getOffset() + 4], Value); in applyFixup() 103 support::endian::write<uint32_t>(&Data[Fixup.getOffset() + 4], Value, in applyFixup() 113 support::endian::write<uint16_t>(&Data[Fixup.getOffset() + 2], Value, in applyFixup()
|
/freebsd/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/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() 411 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getOffset(), in hash_value() 415 MO.getOffset()); in hash_value() 418 MO.getOffset()); in hash_value() 688 OS << ", " << CFI.getOffset(); in printCFI() 700 OS << CFI.getOffset(); in printCFI() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | SourceManager.h | 494 SourceLocation::UIntTy getOffset() const { return Offset; } in getOffset() function 1146 return getFileID(SpellingLoc.getOffset()); in getFileID() 1156 return SourceLocation::getFileLoc(Entry->getOffset()); in getLocForStartOfFile() 1164 return SourceLocation::getFileLoc(Entry->getOffset() + in getLocForEndOfFile() 1263 SourceLocation::UIntTy GlobalOffset = Entry->getOffset() + Offset; in getComposedLoc() 1277 return std::make_pair(FID, Loc.getOffset() - Entry->getOffset()); in getDecomposedLoc() 1291 unsigned Offset = Loc.getOffset()-E->getOffset(); in getDecomposedExpansionLoc() 1309 unsigned Offset = Loc.getOffset()-E->getOffset(); in getDecomposedSpellingLoc() 1371 assert(((Start.getOffset() < NextLocalOffset && 1372 Start.getOffset()+Length <= NextLocalOffset) || [all …]
|
/freebsd/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()
|
H A D | DWARFUnitIndex.cpp | 251 Contrib.getOffset(), in dump() 252 Contrib.getOffset() + Contrib.getLength()); in dump() 289 return E1->Contributions[InfoColumn].getOffset() < in getFromOffset() 290 E2->Contributions[InfoColumn].getOffset(); in getFromOffset() 294 return E2->Contributions[InfoColumn].getOffset() <= Offset; in getFromOffset() 301 if ((InfoContrib.getOffset() + InfoContrib.getLength()) <= Offset) in getFromOffset()
|
/freebsd/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/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() 210 if (auto *C = dyn_cast<ConstantSDNode>(N->getOffset())) in matchLSNode() 215 if (auto *C = dyn_cast<ConstantSDNode>(N->getOffset())) in matchLSNode() 245 if (auto *C = dyn_cast<ConstantSDNode>(LSBase->getOffset())) { in matchLSNode() 307 return BaseIndexOffset(LN->getOperand(1), SDValue(), LN->getOffset(), in match()
|
/freebsd/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/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/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/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/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/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/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()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ContainerModeling.cpp | 583 State = invalidateIteratorPositions(State, Pos->getOffset(), BO_GE); in handleInsert() 615 State = invalidateIteratorPositions(State, Pos->getOffset(), BO_GE); in handleErase() 624 State = invalidateIteratorPositions(State, Pos->getOffset(), BO_EQ); in handleErase() 650 State = invalidateIteratorPositions(State, Pos1->getOffset(), BO_GE); in handleErase() 659 State = invalidateIteratorPositions(State, Pos1->getOffset(), BO_GE, in handleErase() 660 Pos2->getOffset(), BO_LT); in handleErase() 679 nonloc::SymbolVal(Pos->getOffset()), in handleEraseAfter() 681 SymMgr.getType(Pos->getOffset())).getAsSymbol(); in handleEraseAfter() 695 State = invalidateIteratorPositions(State, Pos1->getOffset(), BO_GT, in handleEraseAfter() 696 Pos2->getOffset(), BO_LT); in handleEraseAfter() [all …]
|
H A D | STLAlgorithmModeling.cpp | 152 nonloc::SymbolVal(NewPos->getOffset()), in Find() 153 nonloc::SymbolVal(Pos->getOffset()), in Find() 174 nonloc::SymbolVal(NewPos->getOffset()), in Find() 175 nonloc::SymbolVal(Pos->getOffset()), in Find()
|
/freebsd/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,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonCopyToCombine.cpp | 669 .addGlobalAddress(HiOperand.getGlobal(), HiOperand.getOffset(), in emitCombineII() 677 .addGlobalAddress(LoOperand.getGlobal(), LoOperand.getOffset(), in emitCombineII() 685 .addBlockAddress(HiOperand.getBlockAddress(), HiOperand.getOffset(), in emitCombineII() 693 .addBlockAddress(LoOperand.getBlockAddress(), LoOperand.getOffset(), in emitCombineII() 715 .addConstantPoolIndex(HiOperand.getIndex(), HiOperand.getOffset(), in emitCombineII() 723 .addConstantPoolIndex(LoOperand.getIndex(), LoOperand.getOffset(), in emitCombineII() 766 .addGlobalAddress(HiOperand.getGlobal(), HiOperand.getOffset(), in emitCombineIR() 774 .addBlockAddress(HiOperand.getBlockAddress(), HiOperand.getOffset(), in emitCombineIR() 789 .addConstantPoolIndex(HiOperand.getIndex(), HiOperand.getOffset(), in emitCombineIR() 815 .addGlobalAddress(LoOperand.getGlobal(), LoOperand.getOffset(), in emitCombineRI() [all …]
|