reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/CodeGen/CommandFlags.inc
   46         clEnumValN(Reloc::Static, "static", "Non-relocatable code"),
include/llvm/Target/TargetMachine.h
   88   Reloc::Model RM = Reloc::Static;
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  863   if (TM.getRelocationModel() == Reloc::Static) {
lib/LTO/LTOBackend.cpp
  140         M.getPICLevel() == PICLevel::NotPIC ? Reloc::Static : Reloc::PIC_;
lib/Target/AArch64/AArch64TargetMachine.cpp
  228     return Reloc::Static;
lib/Target/ARC/ARCTargetMachine.cpp
   25     return Reloc::Static;
lib/Target/ARM/ARMTargetMachine.cpp
  192     return TT.isOSBinFormatMachO() ? Reloc::PIC_ : Reloc::Static;
  200     return Reloc::Static;
lib/Target/AVR/AVRTargetMachine.cpp
   40   return RM.hasValue() ? *RM : Reloc::Static;
lib/Target/Hexagon/HexagonISelLowering.cpp
 1025   if (RM == Reloc::Static) {
 1055   if (RM == Reloc::Static) {
 3100   return HTM.getRelocationModel() == Reloc::Static;
lib/Target/Hexagon/HexagonTargetMachine.cpp
  179     return Reloc::Static;
lib/Target/MSP430/MSP430TargetMachine.cpp
   31     return Reloc::Static;
lib/Target/Mips/MipsSEFrameLowering.cpp
  580   if ((STI.getRelocationModel() != Reloc::Static))
lib/Target/Mips/MipsTargetMachine.cpp
  101     return Reloc::Static;
lib/Target/PowerPC/PPCTargetMachine.cpp
  239   return Reloc::Static;
lib/Target/RISCV/RISCVTargetMachine.cpp
   53     return Reloc::Static;
lib/Target/Sparc/SparcTargetMachine.cpp
   59     return Reloc::Static;
lib/Target/SystemZ/SystemZTargetMachine.cpp
   98     return Reloc::Static;
lib/Target/TargetLoweringObjectFile.cpp
  229       if (ReloModel == Reloc::Static || ReloModel == Reloc::ROPI ||
lib/Target/TargetMachine.cpp
  161     if (RM == Reloc::Static)
  175       RM == Reloc::Static || M.getPIELevel() != PIELevel::Default;
  195     if (!IsTLS && !IsPPC && (RM == Reloc::Static || IsAccessViaCopyRelocs))
lib/Target/TargetMachineC.cpp
  109       RM = Reloc::Static;
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
   92     return Reloc::Static;
   99     return Reloc::Static;
lib/Target/X86/X86FastISel.cpp
 3827     if (TM.getRelocationModel() == Reloc::Static &&
lib/Target/X86/X86Subtarget.cpp
  226   return isTargetELF() || TM.getRelocationModel() == Reloc::Static;
lib/Target/X86/X86TargetMachine.cpp
  166       return Reloc::Static;
  178     return Reloc::Static;
  189       return Reloc::Static;
  194   if (*RM == Reloc::Static && TT.isOSDarwin() && is64Bit)
lib/Target/XCore/XCoreTargetMachine.cpp
   30     return Reloc::Static;
tools/clang/lib/CodeGen/CodeGenModule.cpp
  819   if (RM != llvm::Reloc::Static && !LOpts.PIE && !LOpts.OpenMPIsDevice)
  841         (RM == llvm::Reloc::Static || CGOpts.PIECopyRelocations))
  847   if (isa<llvm::Function>(GV) && !CGOpts.NoPLT && RM == llvm::Reloc::Static)
tools/clang/lib/Driver/ToolChains/Clang.cpp
  958   case llvm::Reloc::Static:
 1640                (RelocationModel == llvm::Reloc::Static && ABIName == "n64");
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp
  983     return std::make_tuple(llvm::Reloc::Static, 0U, false);
 1087       return std::make_tuple(llvm::Reloc::Static, 0U, false);
 1096   llvm::Reloc::Model RelocM = llvm::Reloc::Static;
 1148   if (RelocationModel != llvm::Reloc::Static)
tools/clang/lib/Driver/ToolChains/Gnu.cpp
  798     if (RelocationModel == llvm::Reloc::Static)
tools/clang/lib/Frontend/CompilerInvocation.cpp
  540                   .Case("static", llvm::Reloc::Static)
tools/gold/gold-plugin.cpp
  356         RelocationModel = Reloc::Static;
tools/lld/COFF/LTO.cpp
   76     c.RelocModel = Reloc::Static;
tools/lld/ELF/LTO.cpp
   86     c.RelocModel = Reloc::Static;
tools/lld/wasm/LTO.cpp
   61     c.RelocModel = Reloc::Static;
tools/lldb/source/Expression/IRExecutionUnit.cpp
  270                               : llvm::Reloc::Static)
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp
  119     reloc_model = llvm::Reloc::Static;
tools/llvm-exegesis/lib/LlvmState.cpp
   32           Triple, CpuName, Features, Options, Reloc::Model::Static)));
   58           Reloc::Model::Static)));
tools/lto/lto.cpp
  373     unwrap(cg)->setCodePICModel(Reloc::Static);
  620     unwrap(cg)->setCodePICModel(Reloc::Static);
unittests/CodeGen/MachineInstrTest.cpp
  129                           Reloc::Static, CodeModel::Small, CodeGenOpt::Default),
unittests/tools/llvm-exegesis/Common/AssemblerUtils.h
   69                                                        Reloc::Model::Static);