/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MCTargetDesc.cpp | 155 static MCCodeGenInfo *createX86MCCodeGenInfo(const Triple &TT, Reloc::Model RM, in createX86MCCodeGenInfo() 162 if (RM == Reloc::Default) { in createX86MCCodeGenInfo() 168 RM = Reloc::PIC_; in createX86MCCodeGenInfo() 170 RM = Reloc::DynamicNoPIC; in createX86MCCodeGenInfo() 172 RM = Reloc::PIC_; in createX86MCCodeGenInfo() 174 RM = Reloc::Static; in createX86MCCodeGenInfo() 181 if (RM == Reloc::DynamicNoPIC) { in createX86MCCodeGenInfo() 183 RM = Reloc::PIC_; in createX86MCCodeGenInfo() 185 RM = Reloc::Static; in createX86MCCodeGenInfo() 190 if (RM == Reloc::Static && TT.isOSDarwin() && is64Bit) in createX86MCCodeGenInfo() [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMTargetMachine.h | 42 Reloc::Model RM, CodeModel::Model CM, 67 StringRef FS, const TargetOptions &Options, Reloc::Model RM, 78 Reloc::Model RM, CodeModel::Model CM, 89 Reloc::Model RM, CodeModel::Model CM, 102 Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL, 113 Reloc::Model RM, CodeModel::Model CM, 124 Reloc::Model RM, CodeModel::Model CM,
|
D | ARMTargetMachine.cpp | 179 Reloc::Model RM, CodeModel::Model CM, in ARMBaseTargetMachine() 251 Reloc::Model RM, CodeModel::Model CM, in ARMTargetMachine() 265 Reloc::Model RM, CodeModel::Model CM, in ARMLETargetMachine() 274 Reloc::Model RM, CodeModel::Model CM, in ARMBETargetMachine() 283 Reloc::Model RM, CodeModel::Model CM, in ThumbTargetMachine() 294 Reloc::Model RM, CodeModel::Model CM, in ThumbLETargetMachine() 303 Reloc::Model RM, CodeModel::Model CM, in ThumbBETargetMachine()
|
D | ARMInstrInfo.cpp | 94 Reloc::Model RM) const { in expandLoadStackGuard() 99 if (RM == Reloc::PIC_) in expandLoadStackGuard() 106 if (RM != Reloc::PIC_) { in expandLoadStackGuard()
|
/external/llvm/include/llvm/MC/ |
D | MCCodeGenInfo.h | 25 Reloc::Model RelocationModel; 36 void initMCCodeGenInfo(Reloc::Model RM = Reloc::Default, 40 Reloc::Model getRelocationModel() const { return RelocationModel; } in getRelocationModel()
|
D | MCObjectFileInfo.h | 193 void InitMCObjectFileInfo(const Triple &TT, Reloc::Model RM, 196 void InitMCObjectFileInfo(StringRef TT, Reloc::Model RM, 339 Reloc::Model getRelocM() const { return RelocM; } in getRelocM() 343 Reloc::Model RelocM;
|
/external/llvm/lib/Target/Sparc/ |
D | SparcTargetMachine.h | 29 Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL, 51 Reloc::Model RM, CodeModel::Model CM, 62 Reloc::Model RM, CodeModel::Model CM, 72 Reloc::Model RM, CodeModel::Model CM,
|
D | SparcTargetMachine.cpp | 60 Reloc::Model RM, CodeModel::Model CM, in SparcTargetMachine() 112 Reloc::Model RM, CodeModel::Model CM, in SparcV8TargetMachine() 121 Reloc::Model RM, CodeModel::Model CM, in SparcV9TargetMachine() 130 Reloc::Model RM, CodeModel::Model CM, in SparcelTargetMachine()
|
/external/llvm/lib/Target/ |
D | TargetMachineC.cpp | 115 LLVMCodeGenOptLevel Level, LLVMRelocMode Reloc, in LLVMCreateTargetMachine() argument 117 Reloc::Model RM; in LLVMCreateTargetMachine() 118 switch (Reloc){ in LLVMCreateTargetMachine() 120 RM = Reloc::Static; in LLVMCreateTargetMachine() 123 RM = Reloc::PIC_; in LLVMCreateTargetMachine() 126 RM = Reloc::DynamicNoPIC; in LLVMCreateTargetMachine() 129 RM = Reloc::Default; in LLVMCreateTargetMachine()
|
D | TargetMachine.cpp | 77 Reloc::Model TargetMachine::getRelocationModel() const { in getRelocationModel() 79 return Reloc::Default; in getRelocationModel() 112 bool isPIC = getRelocationModel() == Reloc::PIC_; in getTLSModel()
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MCTargetDesc.cpp | 76 Reloc::Model RM, in createAArch64MCCodeGenInfo() 95 RM = Reloc::PIC_; in createAArch64MCCodeGenInfo() 99 else if (RM == Reloc::Default || RM == Reloc::DynamicNoPIC) in createAArch64MCCodeGenInfo() 100 RM = Reloc::Static; in createAArch64MCCodeGenInfo()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZSubtarget.cpp | 48 static bool bindsLocally(const GlobalValue *GV, Reloc::Model RM) { in bindsLocally() 50 if (RM == Reloc::Static) in bindsLocally() 57 Reloc::Model RM, in isPC32DBLSymbol()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetMachine.h | 32 Reloc::Model RM, CodeModel::Model CM, 59 Reloc::Model RM, CodeModel::Model CM, 70 Reloc::Model RM, CodeModel::Model CM,
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUTargetMachine.h | 41 StringRef CPU, TargetOptions Options, Reloc::Model RM, 67 StringRef CPU, TargetOptions Options, Reloc::Model RM, 81 StringRef CPU, TargetOptions Options, Reloc::Model RM,
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXTargetMachine.h | 39 Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OP, 73 Reloc::Model RM, CodeModel::Model CM, 82 Reloc::Model RM, CodeModel::Model CM,
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCTargetMachine.h | 38 StringRef FS, const TargetOptions &Options, Reloc::Model RM, 67 Reloc::Model RM, CodeModel::Model CM, 78 Reloc::Model RM, CodeModel::Model CM,
|
/external/llvm/lib/Target/Mips/ |
D | MipsTargetMachine.h | 43 StringRef FS, const TargetOptions &Options, Reloc::Model RM, 78 Reloc::Model RM, CodeModel::Model CM, 89 Reloc::Model RM, CodeModel::Model CM,
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCTargetDesc.cpp | 85 static MCCodeGenInfo *createMipsMCCodeGenInfo(const Triple &TT, Reloc::Model RM, in createMipsMCCodeGenInfo() 90 RM = Reloc::Static; in createMipsMCCodeGenInfo() 91 else if (RM == Reloc::Default) in createMipsMCCodeGenInfo() 92 RM = Reloc::PIC_; in createMipsMCCodeGenInfo()
|
/external/llvm/include/llvm/CodeGen/ |
D | CommandFlags.h | 49 cl::opt<Reloc::Model> 52 cl::init(Reloc::Default), 54 clEnumValN(Reloc::Default, "default", 56 clEnumValN(Reloc::Static, "static", 58 clEnumValN(Reloc::PIC_, "pic", 60 clEnumValN(Reloc::DynamicNoPIC, "dynamic-no-pic",
|
D | ParallelCG.h | 36 Reloc::Model RM = Reloc::Default,
|
/external/llvm/lib/Target/X86/ |
D | X86Subtarget.cpp | 174 return isTargetELF() || TM.getRelocationModel() == Reloc::Static; in IsLegalToCallImmediateAddr() 320 if (TM.getRelocationModel() == Reloc::Static) { in X86Subtarget() 329 if (TM.getRelocationModel() == Reloc::PIC_) in X86Subtarget() 332 assert(TM.getRelocationModel() == Reloc::DynamicNoPIC); in X86Subtarget()
|
/external/llvm/include/llvm/LTO/ |
D | LTOCodeGenerator.h | 76 void setCodePICModel(Reloc::Model Model) { RelocModel = Model; } in setCodePICModel() 178 Reloc::Model RelocModel = Reloc::Default;
|
/external/llvm/tools/llvm-readobj/ |
D | MachODumper.cpp | 57 void printRelocation(const RelocationRef &Reloc); 59 void printRelocation(const MachOObjectFile *Obj, const RelocationRef &Reloc); 472 for (const RelocationRef &Reloc : Section.relocations()) in printSections() local 473 printRelocation(Reloc); in printSections() 507 for (const RelocationRef &Reloc : Section.relocations()) { in printRelocations() local 514 printRelocation(Reloc); in printRelocations() 524 void MachODumper::printRelocation(const RelocationRef &Reloc) { in printRelocation() argument 525 return printRelocation(Obj, Reloc); in printRelocation() 529 const RelocationRef &Reloc) { in printRelocation() argument 530 uint64_t Offset = Reloc.getOffset(); in printRelocation() [all …]
|
/external/llvm/lib/Target/XCore/MCTargetDesc/ |
D | XCoreMCTargetDesc.cpp | 66 Reloc::Model RM, in createXCoreMCCodeGenInfo() 70 if (RM == Reloc::Default) { in createXCoreMCCodeGenInfo() 71 RM = Reloc::Static; in createXCoreMCCodeGenInfo()
|
/external/llvm/lib/Target/Sparc/MCTargetDesc/ |
D | SparcMCTargetDesc.cpp | 85 Reloc::Model RM, in createSparcMCCodeGenInfo() 103 Reloc::Model RM, in createSparcV9MCCodeGenInfo() 113 CM = RM == Reloc::PIC_ ? CodeModel::Small : CodeModel::Medium; in createSparcV9MCCodeGenInfo()
|