/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXTargetMachine.cpp | 110 Optional<Reloc::Model> RM, 116 CPU, FS, Options, Reloc::PIC_, 137 Optional<Reloc::Model> RM, 147 Optional<Reloc::Model> RM,
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Target/ |
H A D | TargetMachine.h | 88 Reloc::Model RM = Reloc::Static; 205 Reloc::Model getRelocationModel() const; 341 const TargetOptions &Options, Reloc::Model RM,
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCTargetMachine.h | 37 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
|
H A D | PPCTargetMachine.cpp | 225 static Reloc::Model getEffectiveRelocModel(const Triple &TT, 226 Optional<Reloc::Model> RM) { 227 assert((!TT.isOSAIX() || !RM.hasValue() || *RM == Reloc::PIC_) && 235 return Reloc::DynamicNoPIC; 239 return Reloc::PIC_; 242 return Reloc::Static; 305 Optional<Reloc::Model> RM,
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | VETargetMachine.h | 32 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyTargetMachine.h | 30 Optional<Reloc::Model> RM,
|
H A D | WebAssemblyTargetMachine.cpp | 96 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM, 102 return Reloc::Static; 109 return Reloc::Static; 119 const TargetOptions &Options, Optional<Reloc::Model> RM,
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonAsmBackend.cpp | 426 uint32_t Reloc; variable 450 Reloc = (((Value >> 2) & 0x1f) << 8) | // Value 6-2 = Target 12-8 460 Reloc = (((Value >> 7) & 0x3) << 20) | // Value 8-7 = Target 21-20 472 Reloc = (((Value >> 12) & 0x1) << 21) | // Value 12 = Target 21 483 Reloc = (((Value >> 13) & 0x3) << 22) | // Value 14-13 = Target 23-22 495 Reloc = (((Value >> 13) & 0x1ff) << 16) | // Value 21-13 = Target 24-16 501 Reloc = (((Value >> 14) & 0xfff) << 16) | // Value 25-14 = Target 27-16 510 Reloc = Value; 522 dbgs().write_hex(OldData) << ": Reloc=0x"; dbgs().write_hex(Reloc);); [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/ |
H A D | MachOReader.cpp | 217 for (auto &Reloc : Sec->Relocations) 218 if (!Reloc.Scattered) { 220 Reloc.getPlainRelocationSymbolNum(MachOObj.isLittleEndian()); 221 if (Reloc.Extern) { 222 Reloc.Symbol = O.SymTable.getSymbolByIndex(SymbolNum); 228 Reloc.Sec = Sections[SymbolNum - 1];
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Object/ |
H A D | WasmObjectFile.cpp | 783 wasm::WasmRelocation Reloc = {}; local 784 Reloc.Type = readVaruint32(Ctx); 785 Reloc.Offset = readVaruint32(Ctx); 786 if (Reloc.Offset < PreviousOffset) 789 PreviousOffset = Reloc.Offset; 790 Reloc.Index = readVaruint32(Ctx); 791 switch (Reloc.Type) { 796 if (!isValidFunctionSymbol(Reloc.Index)) 801 if (Reloc.Index >= Signatures.size()) 808 if (!isValidGlobalSymbol(Reloc [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | MachODumper.cpp | 57 void printRelocation(const RelocationRef &Reloc); 59 void printRelocation(const MachOObjectFile *Obj, const RelocationRef &Reloc); 494 for (const RelocationRef &Reloc : Section.relocations()) 495 printRelocation(Reloc); 521 for (const RelocationRef &Reloc : Section.relocations()) { 528 printRelocation(Reloc); 538 void MachODumper::printRelocation(const RelocationRef &Reloc) { argument 539 return printRelocation(Obj, Reloc); 543 const RelocationRef &Reloc) { 544 uint64_t Offset = Reloc 542 printRelocation(const MachOObjectFile *Obj, const RelocationRef &Reloc) argument [all...] |
H A D | XCOFFDumper.cpp | 143 for (auto Reloc : Relocations) { 145 Obj.getFileName(), Obj.getSymbolNameByIndex(Reloc.SymbolIndex)); 148 W.printHex("Virtual Address", Reloc.VirtualAddress); 149 W.printNumber("Symbol", SymbolName, Reloc.SymbolIndex); 150 W.printString("IsSigned", Reloc.isRelocationSigned() ? "Yes" : "No"); 151 W.printNumber("FixupBitValue", Reloc.isFixupIndicated() ? 1 : 0); 152 W.printNumber("Length", Reloc.getRelocatedLength()); 153 W.printEnum("Type", (uint8_t)Reloc.Type,
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/ |
H A D | RenderScriptExpressionOpts.cpp | 97 llvm::Optional<llvm::Reloc::Model> reloc_model = llvm::None; 119 reloc_model = llvm::Reloc::Static;
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/LTO/legacy/ |
H A D | LTOCodeGenerator.h | 89 void setCodePICModel(Optional<Reloc::Model> Model) { RelocModel = Model; } 224 Optional<Reloc::Model> RelocModel;
|
H A D | ThinLTOCodeGenerator.h | 41 Optional<Reloc::Model> RelocModel; 215 void setCodePICModel(Optional<Reloc::Model> Model) {
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CommandFlags.cpp | 50 CGOPT_EXP(Reloc::Model, RelocModel) 112 static cl::opt<Reloc::Model> RelocModel( 115 clEnumValN(Reloc::Static, "static", "Non-relocatable code"), 116 clEnumValN(Reloc::PIC_, "pic", 118 clEnumValN(Reloc::DynamicNoPIC, "dynamic-no-pic", 121 Reloc::ROPI, "ropi", 124 Reloc::RWPI, "rwpi", 126 clEnumValN(Reloc::ROPI_RWPI, "ropi-rwpi",
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetMachine.cpp | 230 static Reloc::Model getEffectiveRelocModel(const Triple &TT, 231 Optional<Reloc::Model> RM) { 234 return Reloc::PIC_; 238 if (!RM.hasValue() || *RM == Reloc::DynamicNoPIC) 239 return Reloc::Static; 271 Optional<Reloc::Model> RM, 357 const TargetOptions &Options, Optional<Reloc::Model> RM, 365 const TargetOptions &Options, Optional<Reloc::Model> RM,
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMSubtarget.cpp | 344 return TM.getRelocationModel() == Reloc::ROPI || 345 TM.getRelocationModel() == Reloc::ROPI_RWPI; 348 return TM.getRelocationModel() == Reloc::RWPI || 349 TM.getRelocationModel() == Reloc::ROPI_RWPI;
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm-c/ |
H A D | TargetMachine.h | 98 LLVMCodeGenOptLevel Level, LLVMRelocMode Reloc, LLVMCodeModel CodeModel);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/ |
H A D | XCOFFObjectWriter.cpp | 213 void writeRelocation(XCOFFRelocation Reloc, const ControlSection &CSection); 441 XCOFFRelocation Reloc = {Index, FixupOffsetInCsect, SignAndSize, Type}; local 445 SectionMap[RelocationSec]->Relocations.push_back(Reloc); 678 void XCOFFObjectWriter::writeRelocation(XCOFFRelocation Reloc, argument 680 W.write<uint32_t>(CSection.Address + Reloc.FixupOffsetInCsect); 681 W.write<uint32_t>(Reloc.SymbolTableIndex); 682 W.write<uint8_t>(Reloc.SignAndSize); 683 W.write<uint8_t>(Reloc.Type); 697 for (const auto Reloc : Csect.Relocations) 698 writeRelocation(Reloc, Csec [all...] |
H A D | WinCOFFObjectWriter.cpp | 765 COFFRelocation Reloc; local 767 Reloc.Data.SymbolTableIndex = 0; 768 Reloc.Data.VirtualAddress = Layout.getFragmentOffset(Fragment); 776 Reloc.Symb = SectionMap[TargetSection]->Symbol; 782 Reloc.Symb = SymbolMap[&A]; 785 ++Reloc.Symb->Relocations; 787 Reloc.Data.VirtualAddress += Fixup.getOffset(); 788 Reloc.Data.Type = TargetObjectWriter->getRelocType( 794 Reloc.Data.Type == COFF::IMAGE_REL_AMD64_REL32) || 796 Reloc [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
H A D | MipsELFObjectWriter.cpp | 141 static unsigned getMatchingLoType(const ELFRelocationEntry &Reloc) { argument 142 unsigned Type = Reloc.Type; 150 if (Reloc.OriginalSymbol && 151 Reloc.OriginalSymbol->getBinding() != ELF::STB_LOCAL) 455 std::back_inserter(Sorted), [](const ELFRelocationEntry &Reloc) { 456 return getMatchingLoType(Reloc) != ELF::R_MIPS_NONE;
|
/freebsd-13-stable/contrib/llvm-project/lld/MachO/ |
H A D | InputFiles.h | 30 struct Reloc;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDataExtractor.cpp | 61 uint64_t R = E->Resolver(E->Reloc, E->SymbolValue, A);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonTargetMachine.cpp | 177 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { 179 return Reloc::Static; 207 Optional<Reloc::Model> RM,
|