/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/ |
D | WasmDumper.cpp | 66 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/ |
D | X86TargetMachine.cpp | 109 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/ |
D | TargetMachine.cpp | 60 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/ |
D | SparcTargetMachine.cpp | 57 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/ |
D | ARMTargetMachine.h | 42 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,
|
D | ARMTargetMachine.cpp | 177 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/ |
D | TargetMachine.cpp | 51 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/ |
D | X86TargetMachine.cpp | 162 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/ |
D | SystemZTargetMachine.cpp | 94 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/ |
D | ARMTargetMachine.cpp | 180 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/ |
D | Nios2TargetMachine.cpp | 34 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/ |
D | IceInstMIPS32.h | 34 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/ |
D | MSP430TargetMachine.cpp | 29 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/ |
D | SparcTargetMachine.cpp | 57 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/ |
D | BPFTargetMachine.cpp | 40 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/ |
D | XCoreTargetMachine.cpp | 24 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/ |
D | AVRTargetMachine.cpp | 37 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/ |
D | LanaiTargetMachine.cpp | 49 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/ |
D | ARCTargetMachine.cpp | 23 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/ |
D | MSP430TargetMachine.cpp | 29 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/ |
D | SystemZTargetMachine.cpp | 83 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/ |
D | LanaiTargetMachine.cpp | 50 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/ |
D | RISCVTargetMachine.cpp | 41 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/ |
D | XCoreTargetMachine.cpp | 28 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/ |
D | AVRTargetMachine.cpp | 39 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()
|