/freebsd-current/contrib/llvm-project/llvm/lib/Target/Xtensa/ |
H A D | XtensaTargetMachine.cpp | 38 static Reloc::Model getEffectiveRelocModel(bool JIT, 39 std::optional<Reloc::Model> RM) { 41 return Reloc::Static; 48 std::optional<Reloc::Model> RM, 62 std::optional<Reloc::Model> RM,
|
H A D | XtensaTargetMachine.h | 29 std::optional<Reloc::Model> RM, 35 std::optional<Reloc::Model> RM,
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFRelocMap.h | 23 object::RelocationRef Reloc; member in struct:llvm::RelocAddrEntry
|
/freebsd-current/contrib/llvm-project/lld/include/lld/Common/ |
H A D | TargetOptionsCommandFlags.h | 22 std::optional<llvm::Reloc::Model> getRelocModelFromCMModel();
|
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | JITTargetMachineBuilder.cpp | 80 case Reloc::Static: 83 case Reloc::PIC_: 86 case Reloc::DynamicNoPIC: 89 case Reloc::ROPI: 92 case Reloc::RWPI: 95 case Reloc::ROPI_RWPI:
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/MSP430/ |
H A D | MSP430TargetMachine.cpp | 32 static Reloc::Model getEffectiveRelocModel(std::optional<Reloc::Model> RM) { 33 return RM.value_or(Reloc::Static); 44 std::optional<Reloc::Model> RM,
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Sparc/ |
H A D | SparcTargetMachine.h | 31 std::optional<Reloc::Model> RM, 57 std::optional<Reloc::Model> RM, 70 std::optional<Reloc::Model> RM, 81 std::optional<Reloc::Model> RM,
|
H A D | SparcTargetMachine.cpp | 65 static Reloc::Model getEffectiveRelocModel(std::optional<Reloc::Model> RM) { 66 return RM.value_or(Reloc::Static); 71 // SunCC Reloc CodeModel Constraints 80 getEffectiveSparcCodeModel(std::optional<CodeModel::Model> CM, Reloc::Model RM, 92 return RM == Reloc::PIC_ ? CodeModel::Small : CodeModel::Medium; 101 std::optional<Reloc::Model> RM, 203 std::optional<Reloc::Model> RM, 213 std::optional<Reloc::Model> RM, 223 std::optional<Reloc [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Target/ARC/ |
H A D | ARCTargetMachine.cpp | 25 static Reloc::Model getRelocModel(std::optional<Reloc::Model> RM) { 26 return RM.value_or(Reloc::Static); 33 std::optional<Reloc::Model> RM,
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AVR/ |
H A D | AVRTargetMachine.cpp | 42 static Reloc::Model getEffectiveRelocModel(std::optional<Reloc::Model> RM) { 43 return RM.value_or(Reloc::Static); 49 std::optional<Reloc::Model> RM,
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiTargetMachine.cpp | 54 static Reloc::Model getEffectiveRelocModel(std::optional<Reloc::Model> RM) { 55 return RM.value_or(Reloc::PIC_); 60 const TargetOptions &Options, std::optional<Reloc::Model> RM,
|
/freebsd-current/contrib/llvm-project/lld/MachO/ |
H A D | Relocations.h | 52 struct Reloc { struct in namespace:lld::macho 64 Reloc() = default; 66 Reloc(uint8_t type, bool pcrel, uint8_t length, uint32_t offset, function in struct:lld::macho::Reloc 75 const Reloc &); 81 void reportRangeError(void *loc, const Reloc &, const llvm::Twine &v,
|
H A D | Relocations.cpp | 21 static_assert(sizeof(void *) != 8 || sizeof(Reloc) == 24, 22 "Try to minimize Reloc's size; we create many instances"); 24 InputSection *Reloc::getReferentInputSection() const { 35 const InputSection *isec, const Reloc &r) { 95 void macho::reportRangeError(void *loc, const Reloc &r, const Twine &v,
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFPreserveDIType.cpp | 84 uint32_t Reloc; local 86 Reloc = BTF::BTF_TYPE_ID_LOCAL; 88 Reloc = BTF::BTF_TYPE_ID_REMOTE; 98 if (Reloc == BTF::BTF_TYPE_ID_REMOTE) { 112 BaseName + std::to_string(Count) + "$" + std::to_string(Reloc);
|
/freebsd-current/contrib/llvm-project/llvm/lib/XRay/ |
H A D | InstrumentationMap.cpp | 117 for (const object::RelocationRef &Reloc : Section.relocations()) { 119 if (Supports && Supports(Reloc.getType())) { 120 Expected<uint64_t> ValueOrErr = Reloc.getSymbol()->getValue(); 124 {Reloc.getOffset(), 125 object::resolveRelocation(Resolver, Reloc, *ValueOrErr, 0)}); 127 } else if (Supports && Supports(Reloc.getType())) { 128 auto AddendOrErr = object::ELFRelocationRef(Reloc).getAddend(); 130 Expected<uint64_t> ValueOrErr = Reloc.getSymbol()->getValue(); 135 {Reloc.getOffset(), 136 object::resolveRelocation(Resolver, Reloc, *ValueOrEr [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Target/ |
H A D | TargetMachineC.cpp | 40 std::optional<Reloc::Model> RM; 164 LLVMRelocMode Reloc) { 165 std::optional<Reloc::Model> RM; 167 switch (Reloc) { 169 RM = Reloc::Static; 172 RM = Reloc::PIC_; 175 RM = Reloc::DynamicNoPIC; 178 RM = Reloc::ROPI; 181 RM = Reloc::RWPI; 184 RM = Reloc 163 LLVMTargetMachineOptionsSetRelocMode(LLVMTargetMachineOptionsRef Options, LLVMRelocMode Reloc) argument 211 LLVMCreateTargetMachine(LLVMTargetRef T, const char *Triple, const char *CPU, const char *Features, LLVMCodeGenOptLevel Level, LLVMRelocMode Reloc, LLVMCodeModel CodeModel) argument [all...] |
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | WasmDumper.cpp | 70 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc); 84 const RelocationRef &Reloc) { 86 uint64_t RelocType = Reloc.getType(); 87 Reloc.getTypeName(RelocTypeName); 88 const wasm::WasmRelocation &WasmReloc = Obj->getWasmRelocation(Reloc); 91 symbol_iterator SI = Reloc.getSymbol(); 100 W.printHex("Offset", Reloc.getOffset()); 109 OS << W.hex(Reloc.getOffset()) << " " << RelocTypeName << " "; 130 for (const RelocationRef &Reloc : Section.relocations()) { 137 printRelocation(Section, Reloc); 83 printRelocation(const SectionRef &Section, const RelocationRef &Reloc) argument [all...] |
/freebsd-current/contrib/llvm-project/lld/Common/ |
H A D | TargetOptionsCommandFlags.cpp | 19 std::optional<llvm::Reloc::Model> lld::getRelocModelFromCMModel() {
|
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldCOFF.cpp | 88 RelocationValueRef Reloc; local 89 Reloc.SymbolName = Name.data(); 90 auto I = Stubs.find(Reloc); 100 Stubs[Reloc] = EntryOffset;
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | VETargetMachine.cpp | 68 static Reloc::Model getEffectiveRelocModel(std::optional<Reloc::Model> RM) { 69 return RM.value_or(Reloc::Static); 89 std::optional<Reloc::Model> RM,
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreTargetMachine.cpp | 29 static Reloc::Model getEffectiveRelocModel(std::optional<Reloc::Model> RM) { 30 return RM.value_or(Reloc::Static); 48 std::optional<Reloc::Model> RM,
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86TargetMachine.cpp | 170 static Reloc::Model getEffectiveRelocModel(const Triple &TT, bool JIT, 171 std::optional<Reloc::Model> RM) { 177 return Reloc::Static; 184 return Reloc::PIC_; 185 return Reloc::DynamicNoPIC; 188 return Reloc::PIC_; 189 return Reloc::Static; 196 if (*RM == Reloc::DynamicNoPIC) { 198 return Reloc::PIC_; 200 return Reloc [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetMachine.cpp | 89 static Reloc::Model getEffectiveRelocModel(std::optional<Reloc::Model> RM) { 92 if (!RM || *RM == Reloc::DynamicNoPIC) 93 return Reloc::Static; 128 Reloc::Model RM, bool JIT) { 137 return RM == Reloc::PIC_ ? CodeModel::Small : CodeModel::Medium; 144 std::optional<Reloc::Model> RM,
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetMachine.h | 33 std::optional<Reloc::Model> RM, 86 std::optional<Reloc::Model> RM, 99 std::optional<Reloc::Model> RM,
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsTargetMachine.h | 42 std::optional<Reloc::Model> RM, 91 std::optional<Reloc::Model> RM, 104 std::optional<Reloc::Model> RM,
|