Home
last modified time | relevance | path

Searched refs:Reloc (Results 1 – 25 of 143) sorted by relevance

123456

/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MCTargetDesc.cpp155 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/
DARMTargetMachine.h42 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,
DARMTargetMachine.cpp179 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()
DARMInstrInfo.cpp94 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/
DMCCodeGenInfo.h25 Reloc::Model RelocationModel;
36 void initMCCodeGenInfo(Reloc::Model RM = Reloc::Default,
40 Reloc::Model getRelocationModel() const { return RelocationModel; } in getRelocationModel()
DMCObjectFileInfo.h193 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/
DSparcTargetMachine.h29 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,
DSparcTargetMachine.cpp60 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/
DTargetMachineC.cpp115 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()
DTargetMachine.cpp77 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/
DAArch64MCTargetDesc.cpp76 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/
DSystemZSubtarget.cpp48 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/
DAArch64TargetMachine.h32 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/
DAMDGPUTargetMachine.h41 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/
DNVPTXTargetMachine.h39 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/
DPPCTargetMachine.h38 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/
DMipsTargetMachine.h43 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/
DMipsMCTargetDesc.cpp85 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/
DCommandFlags.h49 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",
DParallelCG.h36 Reloc::Model RM = Reloc::Default,
/external/llvm/lib/Target/X86/
DX86Subtarget.cpp174 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/
DLTOCodeGenerator.h76 void setCodePICModel(Reloc::Model Model) { RelocModel = Model; } in setCodePICModel()
178 Reloc::Model RelocModel = Reloc::Default;
/external/llvm/tools/llvm-readobj/
DMachODumper.cpp57 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/
DXCoreMCTargetDesc.cpp66 Reloc::Model RM, in createXCoreMCCodeGenInfo()
70 if (RM == Reloc::Default) { in createXCoreMCCodeGenInfo()
71 RM = Reloc::Static; in createXCoreMCCodeGenInfo()
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCTargetDesc.cpp85 Reloc::Model RM, in createSparcMCCodeGenInfo()
103 Reloc::Model RM, in createSparcV9MCCodeGenInfo()
113 CM = RM == Reloc::PIC_ ? CodeModel::Small : CodeModel::Medium; in createSparcV9MCCodeGenInfo()

123456