Searched refs:Rel (Results 26 - 50 of 52) sorted by relevance

123

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Object/
H A DWasmObjectFile.cpp1526 void WasmObjectFile::moveRelocationNext(DataRefImpl &Rel) const { Rel.d.b++; }
1529 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); local
1530 return Rel.Offset;
1534 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); local
1535 if (Rel.Type == wasm::R_WASM_TYPE_INDEX_LEB)
1539 Sym.d.b = Rel.Index;
1544 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); local
1545 return Rel.Type;
1550 const wasm::WasmRelocation &Rel local
[all...]
H A DMachOObjectFile.cpp2120 void MachOObjectFile::moveRelocationNext(DataRefImpl &Rel) const {
2121 ++Rel.d.b;
2124 uint64_t MachOObjectFile::getRelocationOffset(DataRefImpl Rel) const {
2128 MachO::any_relocation_info RE = getRelocation(Rel);
2133 MachOObjectFile::getRelocationSymbol(DataRefImpl Rel) const {
2134 MachO::any_relocation_info RE = getRelocation(Rel);
2154 MachOObjectFile::getRelocationSection(DataRefImpl Rel) const {
2155 return section_iterator(getAnyRelocationSection(getRelocation(Rel)));
2158 uint64_t MachOObjectFile::getRelocationType(DataRefImpl Rel) const {
2159 MachO::any_relocation_info RE = getRelocation(Rel);
2163 getRelocationTypeName( DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
[all...]
/freebsd-13-stable/contrib/llvm-project/lld/ELF/
H A DConfig.h60 enum class Target2Policy { Abs, Rel, GotRel }; member in class:lld::elf::Target2Policy
H A DInputFiles.h183 using Elf_Rel = typename ELFT::Rel;
H A DSyntheticSections.h459 using Elf_Rel = typename ELFT::Rel;
511 using Elf_Rel = typename ELFT::Rel;
524 using Elf_Rel = typename ELFT::Rel;
H A DInputSection.cpp1213 copyRelocations<ELFT>(buf + outSecOff, getDataAs<typename ELFT::Rel>());
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DELF.h92 using Elf_Rel = typename ELFT::Rel;
159 Expected<const Elf_Sym *> getRelocationSymbol(const Elf_Rel *Rel,
508 ELFFile<ELFT>::getRelocationSymbol(const Elf_Rel *Rel, argument
510 uint32_t Index = Rel->getSymbol(isMips64EL());
H A DELFTypes.h62 using Rel = Elf_Rel_Impl<ELFType<E, Is64>, false>;
80 using RelRange = ArrayRef<Rel>;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DCOFFYAML.h200 static void mapping(IO &IO, COFFYAML::Relocation &Rel);
H A DELFYAML.h713 static void mapping(IO &IO, ELFYAML::StackSizeEntry &Rel);
717 static void mapping(IO &IO, ELFYAML::GnuHashHeader &Rel);
721 static void mapping(IO &IO, ELFYAML::DynamicEntry &Rel);
749 static void mapping(IO &IO, ELFYAML::Relocation &Rel);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.cpp570 RelocationValueRef &Rel) {
576 Rel.SymbolName = nullptr;
577 Rel.SectionID = 0;
593 Rel.SectionID = *SectionIDOrErr;
602 Rel.Addend = 0x8000;
611 RelocationValueRef &Rel) {
664 if (Rel.Addend != (int64_t)TargetSymbolOffset)
677 Rel.SectionID = *SectionIDOrErr;
680 Rel.Addend = (intptr_t)Addend;
568 findPPC64TOCSection(const ELFObjectFileBase &Obj, ObjSectionToIDMap &LocalSections, RelocationValueRef &Rel) argument
609 findOPDEntrySection(const ELFObjectFileBase &Obj, ObjSectionToIDMap &LocalSections, RelocationValueRef &Rel) argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp175 typedef typename ELFT::Rel Elf_Rel;
1196 for (const auto &Rel : Section.Relocations) {
1197 unsigned SymIdx = Rel.Symbol ? toSymbolIndex(*Rel.Symbol, Section.Name,
1203 REntry.r_offset = Rel.Offset;
1204 REntry.r_addend = Rel.Addend;
1205 REntry.setSymbolAndType(SymIdx, Rel.Type, isMips64EL(Doc));
1210 REntry.r_offset = Rel.Offset;
1211 REntry.setSymbolAndType(SymIdx, Rel.Type, isMips64EL(Doc));
H A DELFYAML.cpp1609 ELFYAML::DynamicEntry &Rel) {
1612 IO.mapRequired("Tag", Rel.Tag);
1613 IO.mapRequired("Value", Rel.Val);
1655 ELFYAML::Relocation &Rel) {
1659 IO.mapOptional("Offset", Rel.Offset, (Hex64)0);
1660 IO.mapOptional("Symbol", Rel.Symbol);
1665 IO, Rel.Type);
1671 IO.mapRequired("Type", Rel.Type);
1673 IO.mapOptional("Addend", Rel.Addend, (ELFYAML::YAMLIntUInt)0);
1608 mapping(IO &IO, ELFYAML::DynamicEntry &Rel) argument
1654 mapping(IO &IO, ELFYAML::Relocation &Rel) argument
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp528 static Error getRelocationValueString(const RelocationRef &Rel,
530 const ObjectFile *Obj = Rel.getObject();
532 return getELFRelocationValueString(ELF, Rel, Result);
534 return getCOFFRelocationValueString(COFF, Rel, Result);
536 return getWasmRelocationValueString(Wasm, Rel, Result);
538 return getMachORelocationValueString(MachO, Rel, Result);
540 return getXCOFFRelocationValueString(XCOFF, Rel, Result);
553 DataRefImpl Rel = RelRef.getRawDataRefImpl();
554 uint64_t Type = MachO->getRelocationType(Rel);
564 if (Type == MachO::X86_64_RELOC_UNSIGNED && Rel
[all...]
H A DCOFFDump.cpp478 const RelocationRef &Rel,
480 symbol_iterator SymI = Rel.getSymbol();
477 getCOFFRelocationValueString(const COFFObjectFile *Obj, const RelocationRef &Rel, SmallVectorImpl<char> &Result) argument
H A DMachODump.cpp493 DataRefImpl Rel = RelRef.getRawDataRefImpl(); local
494 MachO::any_relocation_info RE = Obj->getRelocation(Rel);
518 DataRefImpl RelNext = Rel;
567 DataRefImpl RelNext = Rel;
589 DataRefImpl RelNext = Rel;
629 DataRefImpl RelNext = Rel;
878 const DataRefImpl Rel = Reloc->getRawDataRefImpl(); local
879 const MachO::any_relocation_info RE = O->getRelocation(Rel);
1465 DataRefImpl Rel; local
1468 Rel
1615 DataRefImpl Rel; local
2628 DataRefImpl Rel; local
2702 DataRefImpl Rel; local
2740 DataRefImpl Rel; local
2805 DataRefImpl Rel; local
3332 DataRefImpl Rel; local
6887 DataRefImpl Rel; local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp96 using Elf_Rel = typename ELFT::Rel; \
784 void printStackSize(const ELFObjectFile<ELFT> *Obj, RelocationRef Rel,
979 void printRelocation(const ELFO *Obj, unsigned SecIndex, Elf_Rela Rel,
981 void printDynamicRelocation(const ELFO *Obj, Elf_Rela Rel);
4563 for (const Elf_Rel &Rel : this->dumper()->dyn_rels()) {
4565 Rela.r_offset = Rel.r_offset;
4566 Rela.r_info = Rel.r_info;
4598 for (const Elf_Rel &Rel : DynPLTRelRegion.getAsArrayRef<Elf_Rel>()) {
4600 Rela.r_offset = Rel.r_offset;
4601 Rela.r_info = Rel
6257 printRelocation(const ELFO *Obj, unsigned SecIndex, Elf_Rela Rel, unsigned RelIndex, const Elf_Shdr *SymTab) argument
6519 printDynamicRelocation(const ELFO *Obj, Elf_Rela Rel) argument
[all...]
H A DARMEHABIPrinter.h327 typedef typename ET::Rel Elf_Rel;
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/
H A DObject.h131 using Elf_Rel = typename ELFT::Rel;
150 using Elf_Rel = typename ELFT::Rel;
762 void addRelocation(Relocation Rel) { Relocations.push_back(Rel); } argument
H A DObject.cpp864 static void setAddend(Elf_Rel_Impl<ELFT, false> &Rel, uint64_t Addend) {} argument
1430 static void getAddend(uint64_t &ToSet, const Elf_Rel_Impl<ELFT, false> &Rel) {} argument
1440 for (const auto &Rel : RelRange) {
1442 ToAdd.Offset = Rel.r_offset;
1443 getAddend(ToAdd.Addend, Rel);
1444 ToAdd.Type = Rel.getType(false);
1446 if (uint32_t Sym = Rel.getSymbol(false)) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DRDFGraph.cpp1054 NodeList Rel = getRelatedRefs(IA, DA); local
1055 NodeAddr<DefNode*> PDA = Rel.front();
1069 for (NodeAddr<NodeBase*> T : Rel)
1100 NodeList Rel = getRelatedRefs(IA, DA); local
1101 NodeAddr<DefNode*> PDA = Rel.front();
1123 for (NodeAddr<NodeBase*> T : Rel)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonCommonGEP.cpp464 static const NodeSet *node_class(GepNode *N, NodeSymRel &Rel) { argument
465 for (NodeSymRel::iterator I = Rel.begin(), E = Rel.end(); I != E; ++I)
/freebsd-13-stable/contrib/llvm-project/lld/ELF/Arch/
H A DX86.cpp478 write32le(buf + 5, i * sizeof(object::ELF32LE::Rel));
H A DARM.cpp115 if (config->target2 == Target2Policy::Rel)
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp312 // See if Sym is known to be a relation Rel with Bound.
313 static bool isInRelation(BinaryOperator::Opcode Rel, SymbolRef Sym, argument
317 SVB.evalBinOpNN(State, Rel, nonloc::SymbolVal(Sym),

Completed in 470 milliseconds

123