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

References

include/llvm/CodeGen/CommandFlags.inc
   47         clEnumValN(Reloc::PIC_, "pic",
include/llvm/LTO/Config.h
   41   Optional<Reloc::Model> RelocModel = Reloc::PIC_;
lib/LTO/LTOBackend.cpp
  140         M.getPICLevel() == PICLevel::NotPIC ? Reloc::Static : Reloc::PIC_;
lib/Target/AArch64/AArch64TargetMachine.cpp
  223     return Reloc::PIC_;
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  350   return Reloc::PIC_;
lib/Target/ARM/ARMTargetMachine.cpp
  192     return TT.isOSBinFormatMachO() ? Reloc::PIC_ : Reloc::Static;
lib/Target/BPF/BPFTargetMachine.cpp
   52     return Reloc::PIC_;
lib/Target/Lanai/LanaiTargetMachine.cpp
   52     return Reloc::PIC_;
lib/Target/NVPTX/NVPTXTargetMachine.cpp
  116                         CPU, FS, Options, Reloc::PIC_,
lib/Target/PowerPC/PPCAsmPrinter.cpp
 1637   if (TM.getRelocationModel() == Reloc::PIC_) {
lib/Target/PowerPC/PPCISelLowering.cpp
 4732     if (getTargetMachine().getRelocationModel() != Reloc::PIC_)
lib/Target/PowerPC/PPCTargetMachine.cpp
  236     return Reloc::PIC_;
lib/Target/Sparc/SparcTargetMachine.cpp
   86     return RM == Reloc::PIC_ ? CodeModel::Small : CodeModel::Medium;
lib/Target/SystemZ/SystemZTargetMachine.cpp
  142     return RM == Reloc::PIC_ ? CodeModel::Small : CodeModel::Medium;
lib/Target/TargetMachine.cpp
   45   return getRelocationModel() == Reloc::PIC_;
  214   bool IsSharedLibrary = RM == Reloc::PIC_ && !IsPIE;
lib/Target/TargetMachineC.cpp
  112       RM = Reloc::PIC_;
lib/Target/X86/X86TargetMachine.cpp
  173         return Reloc::PIC_;
  177       return Reloc::PIC_;
  187       return Reloc::PIC_;
  195     return Reloc::PIC_;
tools/clang/lib/Basic/CodeGenOptions.cpp
   19   RelocationModel = llvm::Reloc::PIC_;
tools/clang/lib/CodeGen/CodeGenModule.cpp
  829   if (RM == llvm::Reloc::PIC_ && GV->hasExternalWeakLinkage())
tools/clang/lib/Driver/ToolChains/Clang.cpp
  960   case llvm::Reloc::PIC_:
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp
  982       return std::make_tuple(llvm::Reloc::PIC_, 2U, false);
 1094     return std::make_tuple(llvm::Reloc::PIC_, IsPICLevelTwo ? 2U : 1U, PIE);
tools/clang/lib/Frontend/CompilerInvocation.cpp
  541                   .Case("pic", llvm::Reloc::PIC_)
  551   return llvm::Reloc::PIC_;
tools/gold/gold-plugin.cpp
  348         RelocationModel = Reloc::PIC_;
  352         RelocationModel = Reloc::PIC_;
tools/lld/COFF/LTO.cpp
   78     c.RelocModel = Reloc::PIC_;
tools/lld/ELF/LTO.cpp
   84     c.RelocModel = Reloc::PIC_;
tools/lld/wasm/LTO.cpp
   59     c.RelocModel = Reloc::PIC_;
tools/lldb/source/Expression/IRExecutionUnit.cpp
  269                               ? llvm::Reloc::PIC_
tools/lto/lto.cpp
  376     unwrap(cg)->setCodePICModel(Reloc::PIC_);
  623     unwrap(cg)->setCodePICModel(Reloc::PIC_);