| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | JITLink.cpp | 94 return OS << formatv("{0:x16}", B.getAddress()) << " -- " in operator <<() 104 OS << formatv("{0:x16}", Sym.getAddress()) << " (" in operator <<() 118 << formatv("{0:x16}", B.getAddress()) << " + " in printEdge() 129 if (B->getAddress() < SecAddress) in printEdge() 130 SecAddress = B->getAddress(); in printEdge() 132 JITTargetAddress SecDelta = TargetSym.getAddress() - SecAddress; in printEdge() 133 OS << formatv("{0:x16}", TargetSym.getAddress()) << " (section " in printEdge() 175 B.setAddress(B.getAddress() + SplitIndex); in splitBlock() 260 return LHS->getAddress() < RHS->getAddress(); in dump() 264 OS << " block " << formatv("{0:x16}", B->getAddress()) in dump() [all …]
|
| H A D | MachO_arm64.cpp | 157 FixupValue -= ToSymbol->getAddress(); in parsePairRelocation() 171 Addend = FixupValue - (FixupAddress - ToSymbol->getAddress()); in parsePairRelocation() 190 JITTargetAddress SectionAddress = S.getAddress(); in addRelocations() 323 Addend = TargetAddress - TargetSymbol->getAddress(); in addRelocations() 533 JITTargetAddress FixupAddress = B.getAddress() + E.getOffset(); in applyFixup() 557 uint64_t Value = E.getTarget().getAddress() + E.getAddend(); in applyFixup() 565 uint64_t Value = E.getTarget().getAddress() + E.getAddend(); in applyFixup() 574 (E.getTarget().getAddress() + E.getAddend()) & in applyFixup() 593 (E.getTarget().getAddress() + E.getAddend()) & 0xfff; in applyFixup() 613 uint32_t TargetOffset = E.getTarget().getAddress() & 0xfff; in applyFixup() [all …]
|
| H A D | ELF_x86_64.cpp | 169 JITTargetAddress EdgeAddr = B->getAddress() + E.getOffset(); in optimizeELF_x86_64_GOTAndStubs() 170 JITTargetAddress TargetAddr = GOTTarget.getAddress(); in optimizeELF_x86_64_GOTAndStubs() 205 JITTargetAddress EdgeAddr = B->getAddress() + E.getOffset(); in optimizeELF_x86_64_GOTAndStubs() 206 JITTargetAddress TargetAddr = GOTTarget.getAddress(); in optimizeELF_x86_64_GOTAndStubs() 347 Edge GE(*Kind, FixupAddress - BlockToFix->getAddress(), *TargetSymbol, in addRelocations() 353 BlockToFix->addEdge(*Kind, FixupAddress - BlockToFix->getAddress(), in addRelocations() 435 JITTargetAddress FixupAddress = B.getAddress() + E.getOffset(); in applyFixup() 441 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() 449 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() 454 int64_t Value = E.getTarget().getAddress() + E.getAddend(); in applyFixup() [all …]
|
| H A D | MachO_x86_64.cpp | 175 FixupValue -= ToSymbol->getAddress(); in parsePairRelocation() 184 Addend = FixupValue + (FixupAddress - FromSymbol->getAddress()); in parsePairRelocation() 190 Addend = FixupValue - (FixupAddress - ToSymbol->getAddress()); in parsePairRelocation() 209 JITTargetAddress SectionAddress = S.getAddress(); in addRelocations() 267 size_t FixupOffset = FixupAddress - BlockToFix->getAddress(); in addRelocations() 346 Addend = TargetAddress - TargetSymbol->getAddress(); in addRelocations() 367 Addend = TargetAddress - TargetSymbol->getAddress() - 4; in addRelocations() 514 JITTargetAddress EdgeAddr = B->getAddress() + E.getOffset(); in optimizeMachO_x86_64_GOTAndStubs() 515 JITTargetAddress TargetAddr = GOTTarget.getAddress(); in optimizeMachO_x86_64_GOTAndStubs() 552 JITTargetAddress EdgeAddr = B->getAddress() + E.getOffset(); in optimizeMachO_x86_64_GOTAndStubs() [all …]
|
| H A D | EHFrameSupport.cpp | 93 << formatv("{0:x16}", B.getAddress()) << "\n"; in processBlock() 166 return LHS->getAddress() < RHS->getAddress(); in operator ()() 202 " block at address " + formatv("{0:x16}", B.getAddress())); in processBlock() 240 formatv("{0:x16}", B.getAddress() + RecordStartOffset)); in processBlock() 347 formatv("{0:x16}", CIESymbol.getAddress())); in processCIE() 362 formatv("{0:x16}", CIESymbol.getAddress())); in processCIE() 376 formatv("{0:x16}", CIESymbol.getAddress())); in processCIE() 390 assert(!PC.CIEInfos.count(CIESymbol.getAddress()) && in processCIE() 392 PC.CIEInfos[CIESymbol.getAddress()] = std::move(CIEInfo); in processCIE() 404 JITTargetAddress RecordAddress = B.getAddress() + RecordOffset; in processFDE() [all …]
|
| H A D | ELF_riscv.cpp | 79 JITTargetAddress FixupAddress = B.getAddress() + E.getOffset(); in applyFixup() 82 int64_t Value = E.getTarget().getAddress() + E.getAddend(); in applyFixup() 89 int64_t Value = E.getTarget().getAddress() + E.getAddend(); in applyFixup() 97 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() 108 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() 118 int64_t Value = RelHI20->getTarget().getAddress() + in applyFixup() 119 RelHI20->getAddend() - E.getTarget().getAddress(); in applyFixup() 128 int64_t Value = RelHI20->getTarget().getAddress() + in applyFixup() 129 RelHI20->getAddend() - E.getTarget().getAddress(); in applyFixup() 256 BlockToFix->addEdge(*Kind, FixupAddress - BlockToFix->getAddress(), in addRelocations()
|
| H A D | MachOLinkGraphBuilder.cpp | 331 assert(!AddrToCanonicalSymbol.count(Sym.getAddress()) && in addSectionStartSymAndBlock() 333 AddrToCanonicalSymbol[Sym.getAddress()] = &Sym; in addSectionStartSymAndBlock() 544 if (LastCanonicalAddr != Sym.getAddress()) { in graphifyRegularSymbols() 547 LastCanonicalAddr = Sym.getAddress(); in graphifyRegularSymbols() 659 dbgs() << " Created block " << formatv("{0:x}", B.getAddress()) in graphifyCStringSection() 660 << " -- " << formatv("{0:x}", B.getAddress() + B.getSize()) in graphifyCStringSection() 665 if (NSyms.empty() || NSyms.back()->Value != B.getAddress()) { in graphifyCStringSection() 670 << formatv("{0:x16} -- {1:x16}", S.getAddress(), in graphifyCStringSection() 671 S.getAddress() + BlockSize) in graphifyCStringSection() 677 JITTargetAddress LastCanonicalAddr = B.getAddress() + BlockEnd; in graphifyCStringSection() [all …]
|
| H A D | JITLinkGeneric.cpp | 210 if (LHS->getAddress() != RHS->getAddress()) in layOutBlocks() 211 return LHS->getAddress() < RHS->getAddress(); in layOutBlocks() 319 assert(Sym->getAddress() == 0 && in getExternalSymbolNames() 336 assert(Sym->getAddress() == 0 && "Symbol already resolved"); in applyLookupResult() 340 Sym->getAddressable().setAddress(ResultI->second.getAddress()); in applyLookupResult() 350 << formatv("{0:x16}", Sym->getAddress()) << "\n"; in applyLookupResult()
|
| H A D | PerGraphGOTAndPLTStubsBuilder.h | 51 << " (" << formatv("{0:x}", B->getAddress()) << " + " in run() 59 << " (" << formatv("{0:x}", B->getAddress()) << " + " in run()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/ |
| H A D | x86_64.h | 266 JITTargetAddress FixupAddress = B.getAddress() + E.getOffset(); in applyFixup() 271 uint64_t Value = E.getTarget().getAddress() + E.getAddend(); in applyFixup() 277 uint64_t Value = E.getTarget().getAddress() + E.getAddend(); in applyFixup() 291 E.getTarget().getAddress() - (FixupAddress + 4) + E.getAddend(); in applyFixup() 300 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup() 306 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup() 315 int64_t Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup() 321 int64_t Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup()
|
| H A D | JITLink.h | 122 JITTargetAddress getAddress() const { return Address; } in getAddress() function 328 return getAddress() + E.getOffset(); in getFixupAddress() 548 JITTargetAddress getAddress() const { return Base->getAddress() + Offset; } in getAddress() function 753 if (B->getAddress() < First->getAddress()) in SectionRange() 755 if (B->getAddress() > Last->getAddress()) in SectionRange() 772 return First ? First->getAddress() : 0; in getStart() 1393 auto I = AddrToBlock.upper_bound(B.getAddress()); 1398 if (B.getAddress() + B.getSize() > I->second->getAddress()) 1406 if (PrevBlock.getAddress() + PrevBlock.getSize() > B.getAddress()) 1460 if (Addr < B->getAddress() + B->getSize()) in getBlockCovering() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprAgg.cpp | 131 CGF.EmitAggregateStore(Result, Dest.getAddress(), in VisitConstantExpr() 276 RetAddr = Dest.getAddress(); in withReturnValueSlot() 378 LValue DestLV = CGF.MakeAddrLValue(dest.getAddress(), type); in EmitCopy() 379 LValue SrcLV = CGF.MakeAddrLValue(src.getAddress(), type); in EmitCopy() 393 Address ArrayPtr = Array.getAddress(CGF); in VisitCXXStdInitializerListExpr() 1619 EmitArrayInit(Dest.getAddress(), AType, E->getType(), E); in VisitInitListExpr() 1654 Dest.getAddress(), CXXRD, BaseRD, in VisitInitListExpr() 1777 Address destPtr = EnsureSlot(E->getType()).getAddress(); in VisitArrayInitLoopExpr() 1974 Address Loc = Slot.getAddress(); in CheckAggExprForMemSetUse() 2057 Address DestPtr = Dest.getAddress(*this); in EmitAggregateCopy() [all …]
|
| H A D | CGNonTrivialStruct.cpp | 720 CGF->EmitStoreOfScalar(getNullForVariable(SrcLV.getAddress(*CGF)), SrcLV); in visitARCStrong() 783 CGF->EmitStoreOfScalar(getNullForVariable(SrcLV.getAddress(*CGF)), SrcLV); in visitARCStrong() 820 Builder.CreateBitCast(Dst.getAddress(*this), CGM.Int8PtrPtrTy); in defaultInitNonTrivialCStructVar() 852 Address DstPtr = Dst.getAddress(*this); in callCStructDefaultConstructor() 876 Address DstPtr = Dst.getAddress(*this); in callCStructDestructor() 887 Address DstPtr = Dst.getAddress(*this), SrcPtr = Src.getAddress(*this); in callCStructCopyConstructor() 901 Address DstPtr = Dst.getAddress(*this), SrcPtr = Src.getAddress(*this); in callCStructCopyAssignmentOperator() 912 Address DstPtr = Dst.getAddress(*this), SrcPtr = Src.getAddress(*this); in callCStructMoveConstructor() 926 Address DstPtr = Dst.getAddress(*this), SrcPtr = Src.getAddress(*this); in callCStructMoveAssignmentOperator()
|
| H A D | CGValue.h | 329 Address getAddress(CodeGenFunction &CGF) const { in getAddress() function 466 return RValue::getAggregate(getAddress(CGF), isVolatileQualified()); in asAggregateRValue() 579 return forAddr(LV.getAddress(CGF), LV.getQuals(), isDestructed, needsGC, 615 Address getAddress() const { in getAddress() function 643 return RValue::getAggregate(getAddress(), isVolatile()); in asRValue()
|
| H A D | CGStmtOpenMP.cpp | 379 .getAddress(CGF); in castValueFromUintptr() 566 Address ArgAddr = ArgLVal.getAddress(CGF); in emitOutlinedFunctionPrologue() 665 LV.getAddress(WrapperCGF), in GenerateOpenMPCapturedStmtFunction() 3224 LB.getAddress(CGF), UB.getAddress(CGF), ST.getAddress(CGF), in EmitOMPWorksharingLoop() 3268 LB.getAddress(*this), UB.getAddress(*this), ST.getAddress(*this), in EmitOMPWorksharingLoop() 3768 LB.getAddress(CGF), UB.getAddress(CGF), ST.getAddress(CGF)); in EmitSections() 5008 SrcLVal.getAddress(*this), in EmitOMPScanDirective() 5050 SrcLVal.getAddress(*this), in EmitOMPScanDirective() 5179 LB.getAddress(*this), UB.getAddress(*this), ST.getAddress(*this), in EmitOMPDistributeLoop() 5255 LB.getAddress(*this), UB.getAddress(*this), ST.getAddress(*this), in EmitOMPDistributeLoop() [all …]
|
| H A D | CGExpr.cpp | 599 Object = LV.getAddress(*this); in EmitMaterializeTemporaryExpr() 1167 return LV.getAddress(*this); in EmitPointerWithAlignment() 1898 Address AddrWeakObj = LV.getAddress(*this); in EmitLoadOfLValue() 2132 Address LvalueDst = Dst.getAddress(*this); in EmitStoreThroughLValue() 2140 Address LvalueDst = Dst.getAddress(*this); in EmitStoreThroughLValue() 3539 Address Addr = LV.getAddress(*this); in EmitArrayToPointerDecay() 3892 Address Addr = BaseLVal.getAddress(CGF); in emitOMPArraySectionBase() 4290 Address Addr = base.getAddress(*this); in EmitLValueForField() 4365 Address addr = base.getAddress(*this); in EmitLValueForField() 4678 Address V = LV.getAddress(*this); in EmitCastLValue() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldMachO.cpp | 48 uint8_t *Src = Sections[RE.SectionID].getAddress() + RE.Offset; in memcpyAddend() 76 uint64_t SectionBaseAddr = TargetSI->getAddress(); in processScatteredVANILLA() 133 uint64_t Addr = Sec.getAddress(); in getRelocationValueRef() 145 Value.Offset += RI->getOffset() + OffsetToNextPC + SecI->getAddress(); in makeValueAddendPCRel() 151 uint8_t *LocalAddress = Section.getAddress() + RE.Offset; in dumpRelocationToResolve() 169 uint64_t SAddr = SI->getAddress(); in getSectionByAddress() 336 uint8_t *P = EHFrame->getAddress(); in registerEHFrames() 342 MemMgr.registerEHFrames(EHFrame->getAddress(), EHFrame->getLoadAddress(), in registerEHFrames()
|
| H A D | RuntimeDyldELF.cpp | 224 uint8_t *EHFrameAddr = Sections[EHFrameSID].getAddress(); in registerEHFrames() 313 Section.getAddress()[Offset] = TruncOffset; in resolveX86_64Relocation() 1149 StubTargetAddr - Section.getAddress() + 4, in resolveAArch64Branch() 1152 StubTargetAddr - Section.getAddress() + 8, in resolveAArch64Branch() 1155 StubTargetAddr - Section.getAddress() + 12, in resolveAArch64Branch() 1375 StubTargetAddr - Section.getAddress() + 4, in processRelocationRef() 1471 StubTargetAddr - Section.getAddress() + 4, in processRelocationRef() 1484 StubTargetAddr - Section.getAddress(), in processRelocationRef() 1699 uintptr_t BaseAddress = uintptr_t(Section.getAddress()); in processRelocationRef() 1747 StubAddress = uintptr_t(Section->getAddress()) + i->second; in processRelocationRef() [all …]
|
| H A D | JITSymbol.cpp | 114 if (auto AddrOrErr = Sym.getAddress()) in lookup() 126 if (auto AddrOrErr = Sym.getAddress()) in lookup()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/ |
| H A D | SymbolizableObjectFile.cpp | 53 OpdAddress = Section->getAddress(); in create() 187 Expected<uint64_t> SymbolAddressOrErr = Symbol.getAddress(); in addSymbol() 205 SymbolAddress = OpdExtractor->getAddress(&OpdOffset); in addSymbol() 349 if (Address >= Sec.getAddress() && in getModuleSectionIndexForAddress() 350 Address < Sec.getAddress() + Sec.getSize()) in getModuleSectionIndexForAddress()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | IndirectBrExpandPass.cpp | 200 cast<IntegerType>(DL.getIntPtrType(IBr->getAddress()->getType())); in runOnFunction() 207 IBr->getAddress(), CommonITy, in runOnFunction() 208 Twine(IBr->getAddress()->getName()) + ".switch_cast", IBr); in runOnFunction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
| H A D | GsymReader.cpp | 209 Optional<uint64_t> GsymReader::getAddress(size_t Index) const { in getAddress() function in GsymReader 265 if (Optional<uint64_t> OptAddr = getAddress(*AddressIndex)) { in getFunctionInfo() 287 if (Optional<uint64_t> OptAddr = getAddress(*AddressIndex)) in lookup() 320 OS << " (" << HEX64(*getAddress(I)) << ")\n"; in dump() 342 if (auto FI = getFunctionInfo(*getAddress(I))) in dump()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/ |
| H A D | JITSymbol.h | 251 JITTargetAddress getAddress() const { return Address; } in getAddress() function 285 : CachedAddr(Sym.getAddress()), Flags(Sym.getFlags()) {} in JITSymbol() 341 Expected<JITTargetAddress> getAddress() { in getAddress() function
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/ |
| H A D | OProfileJITEventListener.cpp | 101 Expected<uint64_t> AddrOrErr = Sym.getAddress(); in notifyObjectLoaded() 157 Expected<uint64_t> AddrOrErr = I->getAddress(); in notifyFreeingObject()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | ELFDump.cpp | 153 if ((Phdr.p_type == ELF::PT_LOAD) && (Phdr.p_vaddr <= Sec.getAddress()) && in getSectionLMA() 154 (Phdr.p_vaddr + Phdr.p_memsz > Sec.getAddress())) in getSectionLMA() 155 return Sec.getAddress() - Phdr.p_vaddr + Phdr.p_paddr; in getSectionLMA() 158 return Sec.getAddress(); in getSectionLMA()
|