Home
last modified time | relevance | path

Searched refs:getOffset (Results 1 – 25 of 420) sorted by relevance

12345678910>>...17

/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DMachOUniversal.cpp169 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 DJITLink.cpp123 << " + " << 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 DEHFrameSupport.cpp106 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 DDWARFRecordSectionSplitter.cpp46 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 Dx86_64.cpp91 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 DBPFAsmBackend.cpp84 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 DLVSort.cpp47 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 DMachineOperand.cpp340 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 DSourceManager.h494 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 DDWARFDebugInfoEntry.cpp33 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 DDWARFUnitIndex.cpp251 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 Dubsan_handlers_cxx.cpp58 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 DSelectionDAGAddressAnalysis.cpp44 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 DAsmPrinterDwarf.cpp212 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 DContinuationRecordBuilder.cpp22 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 DSimpleTypeSerializer.cpp19 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 DXCoreMCInstLower.cpp43 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 DARCMCInstLower.cpp41 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 DStringTableBuilder.h69 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 DBinaryStreamReader.cpp74 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 DEditedSource.cpp244 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 DContainerModeling.cpp583 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 DSTLAlgorithmModeling.cpp152 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 DDWARFDataExtractor.h57 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 DHexagonCopyToCombine.cpp669 .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 …]

12345678910>>...17