Searched refs:Reloc (Results 1 - 25 of 164) sorted by relevance

1234567

/freebsd-current/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaTargetMachine.cpp38 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 DXtensaTargetMachine.h29 std::optional<Reloc::Model> RM,
35 std::optional<Reloc::Model> RM,
/freebsd-current/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFRelocMap.h23 object::RelocationRef Reloc; member in struct:llvm::RelocAddrEntry
/freebsd-current/contrib/llvm-project/lld/include/lld/Common/
H A DTargetOptionsCommandFlags.h22 std::optional<llvm::Reloc::Model> getRelocModelFromCMModel();
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DJITTargetMachineBuilder.cpp80 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 DMSP430TargetMachine.cpp32 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 DSparcTargetMachine.h31 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 DSparcTargetMachine.cpp65 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 DARCTargetMachine.cpp25 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 DAVRTargetMachine.cpp42 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 DLanaiTargetMachine.cpp54 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 DRelocations.h52 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 DRelocations.cpp21 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 DBPFPreserveDIType.cpp84 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 DInstrumentationMap.cpp117 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 DTargetMachineC.cpp40 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 DWasmDumper.cpp70 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 DTargetOptionsCommandFlags.cpp19 std::optional<llvm::Reloc::Model> lld::getRelocModelFromCMModel() {
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldCOFF.cpp88 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 DVETargetMachine.cpp68 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 DXCoreTargetMachine.cpp29 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 DX86TargetMachine.cpp170 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 DSystemZTargetMachine.cpp89 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 DAArch64TargetMachine.h33 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 DMipsTargetMachine.h42 std::optional<Reloc::Model> RM,
91 std::optional<Reloc::Model> RM,
104 std::optional<Reloc::Model> RM,

Completed in 307 milliseconds

1234567