/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.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 getEffectiveSparcCodeModel(Optional<CodeModel::Model> CM, Reloc::Model RM, in getEffectiveSparcCodeModel() 86 return RM == Reloc::PIC_ ? CodeModel::Small : CodeModel::Medium; in getEffectiveSparcCodeModel() 94 const TargetOptions &Options, Optional<Reloc::Model> RM, in SparcTargetMachine() 195 Optional<Reloc::Model> RM, in SparcV8TargetMachine() 205 Optional<Reloc::Model> RM, in SparcV9TargetMachine() 215 Optional<Reloc::Model> RM, in SparcelTargetMachine()
|
D | SparcTargetMachine.h | 30 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, 51 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, 62 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, 72 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ |
D | TargetMachine.cpp | 45 return getRelocationModel() == Reloc::PIC_; in isPositionIndependent() 70 Reloc::Model TargetMachine::getRelocationModel() const { return RM; } in getRelocationModel() 119 Reloc::Model RM = getRelocationModel(); in shouldAssumeDSOLocal() 161 if (RM == Reloc::Static) in shouldAssumeDSOLocal() 172 assert(RM != Reloc::DynamicNoPIC); in shouldAssumeDSOLocal() 175 RM == Reloc::Static || M.getPIELevel() != PIELevel::Default; in shouldAssumeDSOLocal() 194 if (!(GV && GV->isThreadLocal()) && RM == Reloc::Static) in shouldAssumeDSOLocal() 212 Reloc::Model RM = getRelocationModel(); in getTLSModel() 213 bool IsSharedLibrary = RM == Reloc::PIC_ && !IsPIE; in getTLSModel()
|
D | TargetMachineC.cpp | 104 LLVMCodeGenOptLevel Level, LLVMRelocMode Reloc, in LLVMCreateTargetMachine() argument 106 Optional<Reloc::Model> RM; in LLVMCreateTargetMachine() 107 switch (Reloc){ in LLVMCreateTargetMachine() 109 RM = Reloc::Static; in LLVMCreateTargetMachine() 112 RM = Reloc::PIC_; in LLVMCreateTargetMachine() 115 RM = Reloc::DynamicNoPIC; in LLVMCreateTargetMachine() 118 RM = Reloc::ROPI; in LLVMCreateTargetMachine() 121 RM = Reloc::RWPI; in LLVMCreateTargetMachine() 124 RM = Reloc::ROPI_RWPI; in LLVMCreateTargetMachine()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.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 getEffectiveSystemZCodeModel(Optional<CodeModel::Model> CM, Reloc::Model RM, in getEffectiveSystemZCodeModel() 142 return RM == Reloc::PIC_ ? CodeModel::Small : CodeModel::Medium; in getEffectiveSystemZCodeModel() 149 Optional<Reloc::Model> RM, in SystemZTargetMachine()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86TargetMachine.cpp | 158 static Reloc::Model getEffectiveRelocModel(const Triple &TT, in getEffectiveRelocModel() 160 Optional<Reloc::Model> RM) { in getEffectiveRelocModel() 166 return Reloc::Static; in getEffectiveRelocModel() 173 return Reloc::PIC_; in getEffectiveRelocModel() 174 return Reloc::DynamicNoPIC; in getEffectiveRelocModel() 177 return Reloc::PIC_; in getEffectiveRelocModel() 178 return Reloc::Static; in getEffectiveRelocModel() 185 if (*RM == Reloc::DynamicNoPIC) { in getEffectiveRelocModel() 187 return Reloc::PIC_; in getEffectiveRelocModel() 189 return Reloc::Static; in getEffectiveRelocModel() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMTargetMachine.cpp | 188 static Reloc::Model getEffectiveRelocModel(const Triple &TT, in getEffectiveRelocModel() 189 Optional<Reloc::Model> RM) { in getEffectiveRelocModel() 192 return TT.isOSBinFormatMachO() ? Reloc::PIC_ : Reloc::Static; in getEffectiveRelocModel() 194 if (*RM == Reloc::ROPI || *RM == Reloc::RWPI || *RM == Reloc::ROPI_RWPI) in getEffectiveRelocModel() 199 if (*RM == Reloc::DynamicNoPIC && !TT.isOSDarwin()) in getEffectiveRelocModel() 200 return Reloc::Static; in getEffectiveRelocModel() 210 Optional<Reloc::Model> RM, in ARMBaseTargetMachine() 306 Optional<Reloc::Model> RM, in ARMLETargetMachine() 314 Optional<Reloc::Model> RM, in ARMBETargetMachine()
|
D | ARMTargetMachine.h | 44 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, 83 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, 93 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/ |
D | InstrumentationMap.cpp | 110 for (const object::RelocationRef &Reloc : Section.relocations()) { in loadObj() local 111 if (SupportsRelocation && SupportsRelocation(Reloc.getType())) { in loadObj() 112 auto AddendOrErr = object::ELFRelocationRef(Reloc).getAddend(); in loadObj() 114 uint64_t resolved = Resolver(Reloc, Reloc.getSymbol()->getValue(), A); in loadObj() 115 Relocs.insert({Reloc.getOffset(), resolved}); in loadObj() 116 } else if (Reloc.getType() == RelativeRelocation) { in loadObj() 117 if (auto AddendOrErr = object::ELFRelocationRef(Reloc).getAddend()) in loadObj() 118 Relocs.insert({Reloc.getOffset(), *AddendOrErr}); in loadObj()
|
/third_party/skia/third_party/externals/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 …]
|
D | IceASanInstrumentation.cpp | 367 if (auto *Reloc = llvm::dyn_cast<ConstantRelocatable>(Src)) { in instrumentLoad() local 369 Instr->getDest(), instrumentReloc(Reloc)); in instrumentLoad() 383 if (auto *Reloc = llvm::dyn_cast<ConstantRelocatable>(Data)) { in instrumentStore() local 385 InstStore::create(Context.getNode()->getCfg(), instrumentReloc(Reloc), in instrumentStore() 398 ASanInstrumentation::instrumentReloc(ConstantRelocatable *Reloc) { in instrumentReloc() argument 399 std::string DataName = Reloc->getName().toString(); in instrumentReloc() 403 Ctx, Reloc->getType(), in instrumentReloc() 404 RelocatableTuple(Reloc->getOffset(), RelocOffsetArray(0), in instrumentReloc() 406 Reloc->getEmitString())); in instrumentReloc() 408 return Reloc; in instrumentReloc() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.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() 43 Optional<Reloc::Model> RM, in MSP430TargetMachine()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.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() 33 Optional<Reloc::Model> RM, in ARCTargetMachine()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.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() 59 Optional<Reloc::Model> RM, in LanaiTargetMachine()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/VE/ |
D | VETargetMachine.cpp | 49 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel() 51 return Reloc::Static; in getEffectiveRelocModel() 70 Optional<Reloc::Model> RM, in VETargetMachine()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.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() 49 Optional<Reloc::Model> RM, in XCoreTargetMachine()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.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() 46 Optional<Reloc::Model> RM, in AVRTargetMachine()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/ |
D | BPFTargetMachine.cpp | 50 static Reloc::Model getEffectiveRelocModel(Optional<Reloc::Model> RM) { in getEffectiveRelocModel() 52 return Reloc::PIC_; in getEffectiveRelocModel() 59 Optional<Reloc::Model> RM, in BPFTargetMachine()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonAsmBackend.cpp | 423 uint32_t Reloc; in applyFixup() local 447 Reloc = (((Value >> 2) & 0x1f) << 8) | // Value 6-2 = Target 12-8 in applyFixup() 457 Reloc = (((Value >> 7) & 0x3) << 20) | // Value 8-7 = Target 21-20 in applyFixup() 469 Reloc = (((Value >> 12) & 0x1) << 21) | // Value 12 = Target 21 in applyFixup() 480 Reloc = (((Value >> 13) & 0x3) << 22) | // Value 14-13 = Target 23-22 in applyFixup() 492 Reloc = (((Value >> 13) & 0x1ff) << 16) | // Value 21-13 = Target 24-16 in applyFixup() 498 Reloc = (((Value >> 14) & 0xfff) << 16) | // Value 25-14 = Target 27-16 in applyFixup() 507 Reloc = Value; in applyFixup() 519 dbgs().write_hex(OldData) << ": Reloc=0x"; dbgs().write_hex(Reloc);); in applyFixup() 526 InstAddr[i] |= uint8_t(Reloc >> (i * 8)) & 0xff; // Apply new reloc in applyFixup()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/ |
D | RISCVTargetMachine.cpp | 52 static Reloc::Model getEffectiveRelocModel(const Triple &TT, in getEffectiveRelocModel() 53 Optional<Reloc::Model> RM) { in getEffectiveRelocModel() 55 return Reloc::Static; in getEffectiveRelocModel() 62 Optional<Reloc::Model> RM, in RISCVTargetMachine()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64TargetMachine.h | 33 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, 63 Optional<Reloc::Model> RM, 75 Optional<Reloc::Model> RM,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsTargetMachine.cpp | 99 static Reloc::Model getEffectiveRelocModel(bool JIT, in getEffectiveRelocModel() 100 Optional<Reloc::Model> RM) { in getEffectiveRelocModel() 102 return Reloc::Static; in getEffectiveRelocModel() 114 Optional<Reloc::Model> RM, in MipsTargetMachine() 143 Optional<Reloc::Model> RM, in MipsebTargetMachine() 153 Optional<Reloc::Model> RM, in MipselTargetMachine()
|
D | MipsTargetMachine.h | 42 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, 78 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, 90 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/ |
D | JITTargetMachineBuilder.h | 77 JITTargetMachineBuilder &setRelocationModel(Optional<Reloc::Model> RM) { in setRelocationModel() 83 const Optional<Reloc::Model> &getRelocationModel() const { return RM; } in getRelocationModel() 144 Optional<Reloc::Model> RM;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXTargetMachine.h | 40 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, 80 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM, 89 Optional<Reloc::Model> RM, Optional<CodeModel::Model> CM,
|