Searched refs:Reloc (Results 1 - 25 of 123) sorted by relevance

12345

/external/llvm/include/llvm/MC/
H A DMCCodeGenInfo.h25 Reloc::Model RelocationModel;
36 void InitMCCodeGenInfo(Reloc::Model RM = Reloc::Default,
40 Reloc::Model getRelocationModel() const { return RelocationModel; }
/external/llvm/lib/MC/
H A DMCCodeGenInfo.cpp18 void MCCodeGenInfo::InitMCCodeGenInfo(Reloc::Model RM, CodeModel::Model CM,
/external/llvm/lib/Target/Sparc/
H A DSparcCodeEmitter.cpp54 IsPIC(TM.getRelocationModel() == Reloc::PIC_) {}
90 void emitGlobalAddress(const GlobalValue *GV, unsigned Reloc) const;
91 void emitExternalSymbolAddress(const char *ES, unsigned Reloc) const;
92 void emitConstPoolAddress(unsigned CPI, unsigned Reloc) const;
93 void emitMachineBasicBlock(MachineBasicBlock *BB, unsigned Reloc) const;
248 unsigned Reloc) const {
249 MCE.addRelocation(MachineRelocation::getGV(MCE.getCurrentPCOffset(), Reloc,
255 emitExternalSymbolAddress(const char *ES, unsigned Reloc) const {
257 Reloc, ES, 0, 0));
261 emitConstPoolAddress(unsigned CPI, unsigned Reloc) cons
[all...]
H A DSparcTargetMachine.cpp31 Reloc::Model RM, CodeModel::Model CM,
85 Reloc::Model RM,
97 Reloc::Model RM,
H A DSparcTargetMachine.h28 Reloc::Model RM, CodeModel::Model CM,
65 Reloc::Model RM, CodeModel::Model CM,
77 Reloc::Model RM, CodeModel::Model CM,
/external/llvm/lib/Target/SystemZ/
H A DSystemZSubtarget.cpp56 static bool bindsLocally(const GlobalValue *GV, Reloc::Model RM) {
58 if (RM == Reloc::Static)
65 Reloc::Model RM,
H A DSystemZTargetMachine.h31 Reloc::Model RM, CodeModel::Model CM,
/external/llvm/lib/Target/ARM/
H A DARMTargetMachine.h31 Reloc::Model RM, CodeModel::Model CM,
74 const TargetOptions &Options, Reloc::Model RM,
85 Reloc::Model RM, CodeModel::Model CM,
95 const TargetOptions &Options, Reloc::Model RM,
107 const TargetOptions &Options, Reloc::Model RM,
118 Reloc::Model RM, CodeModel::Model CM,
129 Reloc::Model RM, CodeModel::Model CM,
H A DARMTargetMachine.cpp51 Reloc::Model RM, CodeModel::Model CM,
75 Reloc::Model RM, CodeModel::Model CM,
89 Reloc::Model RM, CodeModel::Model CM,
98 Reloc::Model RM, CodeModel::Model CM,
107 Reloc::Model RM, CodeModel::Model CM,
119 Reloc::Model RM, CodeModel::Model CM,
128 Reloc::Model RM, CodeModel::Model CM,
/external/llvm/lib/Target/AArch64/
H A DAArch64TargetMachine.h31 Reloc::Model RM, CodeModel::Model CM,
70 Reloc::Model RM, CodeModel::Model CM,
81 Reloc::Model RM, CodeModel::Model CM,
/external/llvm/lib/Target/Mips/
H A DMipsTargetMachine.h32 const TargetOptions &Options, Reloc::Model RM,
79 Reloc::Model RM, CodeModel::Model CM,
90 Reloc::Model RM, CodeModel::Model CM,
H A DMipsCodeEmitter.cpp71 IsPIC(TM.getRelocationModel() == Reloc::PIC_) {}
93 void emitGlobalAddress(const GlobalValue *GV, unsigned Reloc,
95 void emitExternalSymbolAddress(const char *ES, unsigned Reloc) const;
96 void emitConstPoolAddress(unsigned CPI, unsigned Reloc) const;
97 void emitJumpTableAddress(unsigned JTIndex, unsigned Reloc) const;
98 void emitMachineBasicBlock(MachineBasicBlock *BB, unsigned Reloc) const;
312 void MipsCodeEmitter::emitGlobalAddress(const GlobalValue *GV, unsigned Reloc, argument
314 MCE.addRelocation(MachineRelocation::getGV(MCE.getCurrentPCOffset(), Reloc,
320 emitExternalSymbolAddress(const char *ES, unsigned Reloc) const {
322 Reloc, E
[all...]
/external/llvm/lib/Target/NVPTX/
H A DNVPTXTargetMachine.h35 const TargetOptions &Options, Reloc::Model RM,
85 Reloc::Model RM, CodeModel::Model CM,
94 Reloc::Model RM, CodeModel::Model CM,
/external/llvm/lib/Target/PowerPC/
H A DPPCTargetMachine.h32 Reloc::Model RM, CodeModel::Model CM,
76 Reloc::Model RM, CodeModel::Model CM,
87 Reloc::Model RM, CodeModel::Model CM,
/external/llvm/lib/Target/CppBackend/
H A DCPPTargetMachine.h27 Reloc::Model RM, CodeModel::Model CM,
/external/llvm/lib/Target/X86/
H A DX86TargetMachine.cpp36 Reloc::Model RM, CodeModel::Model CM,
41 if (getRelocationModel() == Reloc::Static) {
50 if (getRelocationModel() == Reloc::PIC_)
53 assert(getRelocationModel() == Reloc::DynamicNoPIC);
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCTargetDesc.cpp69 static MCCodeGenInfo *createHexagonMCCodeGenInfo(StringRef TT, Reloc::Model RM,
75 X->InitMCCodeGenInfo(Reloc::Static, CM, OL);
/external/llvm/tools/llvm-readobj/
H A DMachODumper.cpp44 void printRelocation(const RelocationRef &Reloc);
46 void printRelocation(const MachOObjectFile *Obj, const RelocationRef &Reloc);
253 for (const RelocationRef &Reloc : Section.relocations())
254 printRelocation(Reloc);
288 for (const RelocationRef &Reloc : Section.relocations()) {
295 printRelocation(Reloc);
305 void MachODumper::printRelocation(const RelocationRef &Reloc) { argument
306 return printRelocation(Obj, Reloc);
310 const RelocationRef &Reloc) {
313 if (error(Reloc
309 printRelocation(const MachOObjectFile *Obj, const RelocationRef &Reloc) argument
[all...]
/external/llvm/lib/Target/
H A DTargetMachineC.cpp108 LLVMCodeGenOptLevel Level, LLVMRelocMode Reloc,
110 Reloc::Model RM;
111 switch (Reloc){
113 RM = Reloc::Static;
116 RM = Reloc::PIC_;
119 RM = Reloc::DynamicNoPIC;
122 RM = Reloc::Default;
106 LLVMCreateTargetMachine(LLVMTargetRef T, const char* Triple, const char* CPU, const char* Features, LLVMCodeGenOptLevel Level, LLVMRelocMode Reloc, LLVMCodeModel CodeModel) argument
/external/llvm/lib/Target/Hexagon/
H A DHexagonTargetMachine.h31 Reloc::Model RM, CodeModel::Model CM,
/external/llvm/lib/Target/MSP430/
H A DMSP430TargetMachine.cpp30 Reloc::Model RM, CodeModel::Model CM,
H A DMSP430TargetMachine.h32 Reloc::Model RM, CodeModel::Model CM,
/external/llvm/lib/Target/XCore/
H A DXCoreTargetMachine.h27 Reloc::Model RM, CodeModel::Model CM,
/external/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCTargetDesc.cpp301 static MCCodeGenInfo *createX86MCCodeGenInfo(StringRef TT, Reloc::Model RM,
309 if (RM == Reloc::Default) {
315 RM = Reloc::PIC_;
317 RM = Reloc::DynamicNoPIC;
319 RM = Reloc::PIC_;
321 RM = Reloc::Static;
328 if (RM == Reloc::DynamicNoPIC) {
330 RM = Reloc::PIC_;
332 RM = Reloc::Static;
337 if (RM == Reloc
[all...]
/external/llvm/include/llvm/CodeGen/
H A DCommandFlags.h42 cl::opt<Reloc::Model>
45 cl::init(Reloc::Default),
47 clEnumValN(Reloc::Default, "default",
49 clEnumValN(Reloc::Static, "static",
51 clEnumValN(Reloc::PIC_, "pic",
53 clEnumValN(Reloc::DynamicNoPIC, "dynamic-no-pic",

Completed in 3025 milliseconds

12345