| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | JITLink.cpp | 94 return OS << formatv("{0:x16}", B.getAddress()) << " -- " in operator <<() 95 << formatv("{0:x8}", B.getAddress() + B.getSize()) << ": " in operator <<() 104 OS << formatv("{0:x16}", Sym.getAddress()) << " (" in operator <<() 117 OS << "edge@" << formatv("{0:x16}", B.getAddress() + E.getOffset()) << ": " in printEdge() 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() 137 OS << " / block " << formatv("{0:x16}", TargetBlock.getAddress()); in printEdge() [all …]
|
| H A D | MachO_arm64.cpp | 157 FixupValue -= ToSymbol->getAddress(); in parsePairRelocation() 166 Addend = FixupValue + (FixupAddress - FromSymbol->getAddress()); in parsePairRelocation() 171 Addend = FixupValue - (FixupAddress - ToSymbol->getAddress()); in parsePairRelocation() 190 JITTargetAddress SectionAddress = S.getAddress(); in addRelocations() 244 BlockToFix->getAddress() + BlockToFix->getContent().size()) in addRelocations() 250 (FixupAddress - BlockToFix->getAddress()); in addRelocations() 323 Addend = TargetAddress - TargetSymbol->getAddress(); in addRelocations() 392 Edge GE(*Kind, FixupAddress - BlockToFix->getAddress(), *TargetSymbol, in addRelocations() 398 BlockToFix->addEdge(*Kind, FixupAddress - BlockToFix->getAddress(), in addRelocations() 534 JITTargetAddress FixupAddress = B.getAddress() + E.getOffset(); 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() 259 BlockToFix->getAddress() + BlockToFix->getContent().size()) in addRelocations() 265 (FixupAddress - BlockToFix->getAddress()); in addRelocations() 267 size_t FixupOffset = FixupAddress - BlockToFix->getAddress(); in addRelocations() 338 Addend = TargetAddress - TargetSymbol->getAddress(); in addRelocations() 359 Addend = TargetAddress - TargetSymbol->getAddress() - 4; in addRelocations() 375 Addend = TargetAddress - TargetSymbol->getAddress() - Delta; in addRelocations() [all …]
|
| H A D | EHFrameSupport.cpp | 70 dbgs() << " Processing block at " << formatv("{0:x16}", B.getAddress()) in processBlock() 93 << formatv("{0:x16}", B.getAddress()) << "\n"; in processBlock() 166 return LHS->getAddress() < RHS->getAddress(); in operator ()() 180 dbgs() << " Processing block at " << formatv("{0:x16}", B.getAddress()) in processBlock() 202 " block at address " + formatv("{0:x16}", B.getAddress())); in processBlock() 216 << formatv("{0:x16}", B.getAddress() + RecordStartOffset) << "\n"; 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() [all …]
|
| H A D | ELF_x86_64.cpp | 176 JITTargetAddress EdgeAddr = B->getAddress() + E.getOffset(); in optimizeELF_x86_64_GOTAndStubs() 177 JITTargetAddress TargetAddr = GOTTarget.getAddress(); in optimizeELF_x86_64_GOTAndStubs() 212 JITTargetAddress EdgeAddr = B->getAddress() + E.getOffset(); in optimizeELF_x86_64_GOTAndStubs() 213 JITTargetAddress TargetAddr = GOTTarget.getAddress(); in optimizeELF_x86_64_GOTAndStubs() 509 Edge GE(*Kind, FixupAddress - BlockToFix->getAddress(), *TargetSymbol, in addRelocations() 515 BlockToFix->addEdge(*Kind, FixupAddress - BlockToFix->getAddress(), in addRelocations() 788 JITTargetAddress FixupAddress = B.getAddress() + E.getOffset(); in applyFixup() 794 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() 802 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() 807 int64_t Value = E.getTarget().getAddress() + E.getAddend(); in applyFixup() [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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-jitlink/ |
| H A D | llvm-jitlink-elf.cpp | 109 if (Sym->getAddress() < FirstSym->getAddress()) in registerELFGraphInfo() 111 if (Sym->getAddress() > LastSym->getAddress()) in registerELFGraphInfo() 124 Sym->getAddress()}; in registerELFGraphInfo() 136 Sym->getAddress()}; in registerELFGraphInfo() 144 S.SymbolInfos[Sym->getName()] = {Sym->getSize(), Sym->getAddress()}; in registerELFGraphInfo() 148 Sym->getAddress()}; in registerELFGraphInfo() 154 JITTargetAddress SecAddr = FirstSym->getAddress(); in registerELFGraphInfo() 156 (LastSym->getBlock().getAddress() + LastSym->getBlock().getSize()) - in registerELFGraphInfo()
|
| H A D | llvm-jitlink-macho.cpp | 111 if (Sym->getAddress() < FirstSym->getAddress()) in registerMachOGraphInfo() 113 if (Sym->getAddress() > LastSym->getAddress()) in registerMachOGraphInfo() 122 Sym->getAddress()}; in registerMachOGraphInfo() 133 Sym->getAddress()}; in registerMachOGraphInfo() 139 S.SymbolInfos[Sym->getName()] = {Sym->getSize(), Sym->getAddress()}; in registerMachOGraphInfo() 143 Sym->getAddress()}; in registerMachOGraphInfo() 149 JITTargetAddress SecAddr = FirstSym->getAddress(); in registerMachOGraphInfo() 151 (LastSym->getBlock().getAddress() + LastSym->getBlock().getSize()) - in registerMachOGraphInfo()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/examples/OrcV2Examples/LLJITWithObjectLinkingLayerPlugin/ |
| H A D | LLJITWithObjectLinkingLayerPlugin.cpp | 98 outs() << " " << formatv("{0:x16}", B.getAddress()) << ": " in printBlockContent() 103 JITTargetAddress InitAddr = B.getAddress() & ~(LineWidth - 1); in printBlockContent() 104 JITTargetAddress StartAddr = B.getAddress(); in printBlockContent() 105 JITTargetAddress EndAddr = B.getAddress() + B.getSize(); in printBlockContent() 135 outs() << " " << formatv("{0:x16}", Sym->getAddress()) << ": "; in printGraph() 148 outs() << " Block " << formatv("{0:x16}", B.getAddress()) in printGraph() 152 outs() << " Block " << formatv("{0:x16}", B.getAddress()) in printGraph() 163 << formatv("{0:x16}", B.getAddress() + E.getOffset()) in printGraph() 244 auto *Entry = (int (*)())EntrySym.getAddress(); in main()
|
| /netbsd-src/external/apache2/llvm/dist/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 | 121 JITTargetAddress getAddress() const { return Address; } in getAddress() function 267 return getAddress() + E.getOffset(); in getFixupAddress() 485 JITTargetAddress getAddress() const { return Base->getAddress() + Offset; } in getAddress() function 677 if (B->getAddress() < First->getAddress()) in SectionRange() 679 if (B->getAddress() > Last->getAddress()) in SectionRange() 696 return First ? First->getAddress() : 0; in getStart() 699 return Last ? Last->getAddress() + Last->getSize() : 0; in getEnd() 1226 static bool includeNonNull(const Block &B) { return B.getAddress(); } in includeNonNull() 1237 auto I = AddrToBlock.upper_bound(B.getAddress()); 1242 if (B.getAddress() + B.getSize() > I->second->getAddress()) [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGExprAgg.cpp | 131 CGF.EmitAggregateStore(Result, Dest.getAddress(), in VisitConstantExpr() 267 (RequiresDestruction && !Dest.getAddress().isValid()); in withReturnValueSlot() 276 RetAddr = Dest.getAddress(); in withReturnValueSlot() 333 Dest.getAddress(), Dest.isVolatile() ? type.withVolatile() : type); in EmitFinalDestCopy() 369 dest.getAddress(), in EmitCopy() 370 src.getAddress(), in EmitCopy() 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() 416 LValue DestLV = CGF.MakeAddrLValue(Dest.getAddress(), E->getType()); in VisitCXXStdInitializerListExpr() [all …]
|
| H A D | CGNonTrivialStruct.cpp | 724 CGF->EmitStoreOfScalar(getNullForVariable(SrcLV.getAddress(*CGF)), SrcLV); in visitARCStrong() 787 CGF->EmitStoreOfScalar(getNullForVariable(SrcLV.getAddress(*CGF)), SrcLV); in visitARCStrong() 824 Builder.CreateBitCast(Dst.getAddress(*this), CGM.Int8PtrPtrTy); in defaultInitNonTrivialCStructVar() 856 Address DstPtr = Dst.getAddress(*this); in callCStructDefaultConstructor() 880 Address DstPtr = Dst.getAddress(*this); in callCStructDestructor() 891 Address DstPtr = Dst.getAddress(*this), SrcPtr = Src.getAddress(*this); in callCStructCopyConstructor() 905 Address DstPtr = Dst.getAddress(*this), SrcPtr = Src.getAddress(*this); in callCStructCopyAssignmentOperator() 916 Address DstPtr = Dst.getAddress(*this), SrcPtr = Src.getAddress(*this); in callCStructMoveConstructor() 930 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 | 94 return CGF.EmitLValue(&DRE).getAddress(CGF); in OMPLexicalScope() 269 return CGF.EmitLValue(&DRE).getAddress(CGF); in OMPSimdLexicalScope() 362 CapturedVars.push_back(EmitLValue(*I).getAddress(*this).getPointer()); in GenerateOpenMPCapturedVars() 373 AddrLV.getAddress(CGF).getPointer(), Ctx.getUIntPtrType(), in castValueFromUintptr() 377 .getAddress(CGF); in castValueFromUintptr() 560 Address ArgAddr = ArgLVal.getAddress(CGF); in emitOutlinedFunctionPrologue() 582 : ArgLVal.getAddress(CGF)}}); in emitOutlinedFunctionPrologue() 587 LocalAddrs.insert({Args[Cnt], {nullptr, ArgLVal.getAddress(CGF)}}); in emitOutlinedFunctionPrologue() 659 LV.getAddress(WrapperCGF), in GenerateOpenMPCapturedStmtFunction() 661 LV.getAddress(WrapperCGF).getAddressSpace()))); in GenerateOpenMPCapturedStmtFunction() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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() 1143 RelocationEntry REmovz_g3(SectionID, StubTargetAddr - Section.getAddress(), in resolveAArch64Branch() 1146 StubTargetAddr - Section.getAddress() + 4, in resolveAArch64Branch() 1149 StubTargetAddr - Section.getAddress() + 8, in resolveAArch64Branch() 1152 StubTargetAddr - Section.getAddress() + 12, in resolveAArch64Branch() 1311 RelocationEntry RE(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef() 1369 RelocationEntry REHi(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef() 1372 StubTargetAddr - Section.getAddress() + 4, in processRelocationRef() 1465 RelocationEntry REHi(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/ |
| H A D | ProfiledBinary.cpp | 63 if ((Phdr.p_type == ELF::PT_LOAD) && (Phdr.p_vaddr <= Sec.getAddress()) && in getELFImageLMAForSec() 64 (Phdr.p_vaddr + Phdr.p_memsz > Sec.getAddress())) in getELFImageLMAForSec() 215 uint64_t SectionOffset = Section.getAddress() - PreferredBaseAddress; in dissassembleSymbol() 360 const uint64_t Addr = unwrapOrError(Symbol.getAddress(), FileName); in disassemble() 382 uint64_t SectionOffset = Section.getAddress() - ImageLoadAddr; in disassemble()
|
| /netbsd-src/external/apache2/llvm/dist/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
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|