Home
last modified time | relevance | path

Searched refs:Reloc (Results 1 – 25 of 197) sorted by relevance

12345678

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
DWasmDumper.cpp66 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc);
77 const RelocationRef &Reloc) { in printRelocation() argument
79 uint64_t RelocType = Reloc.getType(); in printRelocation()
80 Reloc.getTypeName(RelocTypeName); in printRelocation()
81 const wasm::WasmRelocation &WasmReloc = Obj->getWasmRelocation(Reloc); in printRelocation()
84 symbol_iterator SI = Reloc.getSymbol(); in printRelocation()
103 W.printHex("Offset", Reloc.getOffset()); in printRelocation()
112 OS << W.hex(Reloc.getOffset()) << " " << RelocTypeName << " "; in printRelocation()
133 for (const RelocationRef &Reloc : Section.relocations()) { in printRelocations() local
140 printRelocation(Section, Reloc); in printRelocations()
[all …]
/external/llvm/lib/Target/X86/
DX86TargetMachine.cpp109 static Reloc::Model getEffectiveRelocModel(const Triple &TT, in getEffectiveRelocModel()
110 Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
118 return Reloc::PIC_; in getEffectiveRelocModel()
119 return Reloc::DynamicNoPIC; in getEffectiveRelocModel()
122 return Reloc::PIC_; in getEffectiveRelocModel()
123 return Reloc::Static; in getEffectiveRelocModel()
130 if (*RM == Reloc::DynamicNoPIC) { in getEffectiveRelocModel()
132 return Reloc::PIC_; in getEffectiveRelocModel()
134 return Reloc::Static; in getEffectiveRelocModel()
139 if (*RM == Reloc::Static && TT.isOSDarwin() && is64Bit) in getEffectiveRelocModel()
[all …]
/external/llvm/lib/Target/
DTargetMachine.cpp60 return getRelocationModel() == Reloc::PIC_; in isPositionIndependent()
84 Reloc::Model TargetMachine::getRelocationModel() const { return RM; } in getRelocationModel()
113 Reloc::Model RM = getRelocationModel(); in shouldAssumeDSOLocal()
128 if (RM == Reloc::Static) in shouldAssumeDSOLocal()
134 assert(RM != Reloc::DynamicNoPIC); in shouldAssumeDSOLocal()
137 RM == Reloc::Static || M.getPIELevel() != PIELevel::Default; in shouldAssumeDSOLocal()
145 if (!IsTLS && (RM == Reloc::Static || CanUseCopyRelocWithPIE)) in shouldAssumeDSOLocal()
155 Reloc::Model RM = getRelocationModel(); in getTLSModel()
156 bool IsSharedLibrary = RM == Reloc::PIC_ && !IsPIE; in getTLSModel()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/
DSparcTargetMachine.cpp57 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
59 return Reloc::Static; in getEffectiveRelocModel()
74 Reloc::Model RM, bool Is64Bit, in getEffectiveCodeModel()
81 return RM == Reloc::PIC_ ? CodeModel::Small : CodeModel::Medium; in getEffectiveCodeModel()
89 const TargetOptions &Options, Optional<Reloc::Model> RM, in SparcTargetMachine()
190 Optional<Reloc::Model> RM, in SparcV8TargetMachine()
200 Optional<Reloc::Model> RM, in SparcV9TargetMachine()
210 Optional<Reloc::Model> RM, in SparcelTargetMachine()
/external/llvm/lib/Target/ARM/
DARMTargetMachine.h42 Optional<Reloc::Model> RM, CodeModel::Model CM,
68 Optional<Reloc::Model> RM, CodeModel::Model CM,
79 Optional<Reloc::Model> RM, CodeModel::Model CM,
90 Optional<Reloc::Model> RM, CodeModel::Model CM,
103 Optional<Reloc::Model> RM, CodeModel::Model CM,
114 Optional<Reloc::Model> RM, CodeModel::Model CM,
125 Optional<Reloc::Model> RM, CodeModel::Model CM,
DARMTargetMachine.cpp177 static Reloc::Model getEffectiveRelocModel(const Triple &TT, in getEffectiveRelocModel()
178 Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
181 return TT.isOSBinFormatMachO() ? Reloc::PIC_ : Reloc::Static; in getEffectiveRelocModel()
184 if (*RM == Reloc::DynamicNoPIC && !TT.isOSDarwin()) in getEffectiveRelocModel()
185 return Reloc::Static; in getEffectiveRelocModel()
195 Optional<Reloc::Model> RM, in ARMBaseTargetMachine()
269 Optional<Reloc::Model> RM, in ARMTargetMachine()
284 Optional<Reloc::Model> RM, in ARMLETargetMachine()
294 Optional<Reloc::Model> RM, in ARMBETargetMachine()
304 Optional<Reloc::Model> RM, in ThumbTargetMachine()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/
DTargetMachine.cpp51 return getRelocationModel() == Reloc::PIC_; in isPositionIndependent()
88 Reloc::Model TargetMachine::getRelocationModel() const { return RM; } in getRelocationModel()
137 Reloc::Model RM = getRelocationModel(); in shouldAssumeDSOLocal()
162 if (RM == Reloc::Static) in shouldAssumeDSOLocal()
168 assert(RM != Reloc::DynamicNoPIC); in shouldAssumeDSOLocal()
171 RM == Reloc::Static || M.getPIELevel() != PIELevel::Default; in shouldAssumeDSOLocal()
191 if (!IsTLS && !IsPPC && (RM == Reloc::Static || IsAccessViaCopyRelocs)) in shouldAssumeDSOLocal()
209 Reloc::Model RM = getRelocationModel(); in getTLSModel()
210 bool IsSharedLibrary = RM == Reloc::PIC_ && !IsPIE; in getTLSModel()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86TargetMachine.cpp162 static Reloc::Model getEffectiveRelocModel(const Triple &TT, in getEffectiveRelocModel()
164 Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
170 return Reloc::Static; in getEffectiveRelocModel()
177 return Reloc::PIC_; in getEffectiveRelocModel()
178 return Reloc::DynamicNoPIC; in getEffectiveRelocModel()
181 return Reloc::PIC_; in getEffectiveRelocModel()
182 return Reloc::Static; in getEffectiveRelocModel()
189 if (*RM == Reloc::DynamicNoPIC) { in getEffectiveRelocModel()
191 return Reloc::PIC_; in getEffectiveRelocModel()
193 return Reloc::Static; in getEffectiveRelocModel()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZTargetMachine.cpp94 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
97 if (!RM.hasValue() || *RM == Reloc::DynamicNoPIC) in getEffectiveRelocModel()
98 return Reloc::Static; in getEffectiveRelocModel()
132 Reloc::Model RM, bool JIT) { in getEffectiveCodeModel()
136 return RM == Reloc::PIC_ ? CodeModel::Small : CodeModel::Medium; in getEffectiveCodeModel()
143 Optional<Reloc::Model> RM, in SystemZTargetMachine()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMTargetMachine.cpp180 static Reloc::Model getEffectiveRelocModel(const Triple &TT, in getEffectiveRelocModel()
181 Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
184 return TT.isOSBinFormatMachO() ? Reloc::PIC_ : Reloc::Static; in getEffectiveRelocModel()
186 if (*RM == Reloc::ROPI || *RM == Reloc::RWPI || *RM == Reloc::ROPI_RWPI) in getEffectiveRelocModel()
191 if (*RM == Reloc::DynamicNoPIC && !TT.isOSDarwin()) in getEffectiveRelocModel()
192 return Reloc::Static; in getEffectiveRelocModel()
208 Optional<Reloc::Model> RM, in ARMBaseTargetMachine()
297 Optional<Reloc::Model> RM, in ARMLETargetMachine()
305 Optional<Reloc::Model> RM, in ARMBETargetMachine()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Nios2/
DNios2TargetMachine.cpp34 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
36 return Reloc::Static; in getEffectiveRelocModel()
41 Reloc::Model RM, bool JIT) { in getEffectiveCodeModel()
50 Optional<Reloc::Model> RM, in Nios2TargetMachine()
/external/swiftshader/third_party/subzero/src/
DIceInstMIPS32.h34 inline void emitRelocOp(Ostream &Str, RelocOp Reloc) { in emitRelocOp() argument
35 switch (Reloc) { in emitRelocOp()
363 RelocOp Reloc = RO_No) {
365 InstMIPS32UnaryopGPR(Func, Dest, Src, Reloc);
390 RelocOp Reloc = RO_No)
391 : InstMIPS32(Func, K, 1, Dest), Reloc(Reloc) {
397 const RelocOp Reloc; variable
596 OperandMIPS32Mem *Mem, RelocOp Reloc = RO_No) {
598 InstMIPS32Load(Func, Value, Mem, Reloc);
643 emitRelocOp(Str, Reloc); in emit()
[all …]
/external/llvm/lib/Target/MSP430/
DMSP430TargetMachine.cpp29 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
31 return Reloc::Static; in getEffectiveRelocModel()
38 Optional<Reloc::Model> RM, in MSP430TargetMachine()
/external/llvm/lib/Target/Sparc/
DSparcTargetMachine.cpp57 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
59 return Reloc::Static; in getEffectiveRelocModel()
67 Optional<Reloc::Model> RM, in SparcTargetMachine()
189 Optional<Reloc::Model> RM, in SparcV8TargetMachine()
199 Optional<Reloc::Model> RM, in SparcV9TargetMachine()
209 Optional<Reloc::Model> RM, in SparcelTargetMachine()
/external/llvm/lib/Target/BPF/
DBPFTargetMachine.cpp40 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
42 return Reloc::PIC_; in getEffectiveRelocModel()
49 Optional<Reloc::Model> RM, in BPFTargetMachine()
/external/llvm/lib/Target/XCore/
DXCoreTargetMachine.cpp24 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
26 return Reloc::Static; in getEffectiveRelocModel()
35 Optional<Reloc::Model> RM, in XCoreTargetMachine()
/external/llvm/lib/Target/AVR/
DAVRTargetMachine.cpp37 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
38 return RM.hasValue() ? *RM : Reloc::Static; in getEffectiveRelocModel()
44 Optional<Reloc::Model> RM, CodeModel::Model CM, in AVRTargetMachine()
/external/llvm/lib/Target/Lanai/
DLanaiTargetMachine.cpp49 static Reloc::Model getEffectiveRelocModel(const Triple &TT, in getEffectiveRelocModel()
50 Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
52 return Reloc::PIC_; in getEffectiveRelocModel()
59 Optional<Reloc::Model> RM, in LanaiTargetMachine()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARC/
DARCTargetMachine.cpp23 static Reloc::Model getRelocModel(Optional<Reloc::Model> RM) { in getRelocModel()
25 return Reloc::Static; in getRelocModel()
39 Optional<Reloc::Model> RM, in ARCTargetMachine()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/MSP430/
DMSP430TargetMachine.cpp29 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
31 return Reloc::Static; in getEffectiveRelocModel()
49 Optional<Reloc::Model> RM, in MSP430TargetMachine()
/external/llvm/lib/Target/SystemZ/
DSystemZTargetMachine.cpp83 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
86 if (!RM.hasValue() || *RM == Reloc::DynamicNoPIC) in getEffectiveRelocModel()
87 return Reloc::Static; in getEffectiveRelocModel()
94 Optional<Reloc::Model> RM, in SystemZTargetMachine()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/
DLanaiTargetMachine.cpp50 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
52 return Reloc::PIC_; in getEffectiveRelocModel()
65 Optional<Reloc::Model> RM, in LanaiTargetMachine()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/
DRISCVTargetMachine.cpp41 static Reloc::Model getEffectiveRelocModel(const Triple &TT, in getEffectiveRelocModel()
42 Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
44 return Reloc::Static; in getEffectiveRelocModel()
57 Optional<Reloc::Model> RM, in RISCVTargetMachine()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/
DXCoreTargetMachine.cpp28 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
30 return Reloc::Static; in getEffectiveRelocModel()
48 Optional<Reloc::Model> RM, in XCoreTargetMachine()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/
DAVRTargetMachine.cpp39 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel()
40 return RM.hasValue() ? *RM : Reloc::Static; in getEffectiveRelocModel()
52 Optional<Reloc::Model> RM, in AVRTargetMachine()

12345678