Searched defs:Reloc (Results 1 - 9 of 9) sorted by relevance

/external/llvm/include/llvm/Support/
H A DCodeGen.h21 namespace Reloc { namespace in namespace:llvm
H A DTargetRegistry.h77 Reloc::Model RM,
91 Reloc::Model RM,
286 MCCodeGenInfo *createMCCodeGenInfo(StringRef Triple, Reloc::Model RM,
343 Reloc::Model RM = Reloc::Default,
874 static MCCodeGenInfo *Allocator(StringRef TT, Reloc::Model RM,
1045 Reloc::Model RM,
341 createTargetMachine(StringRef Triple, StringRef CPU, StringRef Features, const TargetOptions &Options, Reloc::Model RM = Reloc::Default, CodeModel::Model CM = CodeModel::Default, CodeGenOpt::Level OL = CodeGenOpt::Default) const argument
/external/llvm/lib/ExecutionEngine/JIT/
H A DJIT.h103 Reloc::Model RM = Reloc::Default,
97 create(Module *M, std::string *Err, JITMemoryManager *JMM, CodeGenOpt::Level OptLevel = CodeGenOpt::Default, bool GVsWithCode = true, Reloc::Model RM = Reloc::Default, CodeModel::Model CMM = CodeModel::JITDefault) argument
/external/llvm/lib/Target/
H A DTargetMachineC.cpp62 char* CPU, char* Features, LLVMCodeGenOptLevel Level, LLVMRelocMode Reloc,
64 Reloc::Model RM;
65 switch (Reloc){
67 RM = Reloc::Static;
70 RM = Reloc::PIC_;
73 RM = Reloc::DynamicNoPIC;
76 RM = Reloc::Default;
61 LLVMCreateTargetMachine(LLVMTargetRef T, char* Triple, char* CPU, char* Features, LLVMCodeGenOptLevel Level, LLVMRelocMode Reloc, LLVMCodeModel CodeModel) argument
/external/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsELFObjectWriter.cpp26 Reloc(R), Sym(S), Offset(O) {}
27 ELFRelocationEntry Reloc; member in struct:__anon8946::RelEntry
193 return ((R.Reloc.Type == ELF::R_MIPS_GOT16) && !SD.isExternal()) ||
194 (R.Reloc.Type == ELF::R_MIPS_HI16);
203 return (I->Reloc.Type == ELF::R_MIPS_LO16) && (Hi->Sym == I->Sym) &&
246 if ((R->Reloc.Type == ELF::R_MIPS_LO16) && HasSameSymbol(*HiPos, *R) &&
270 Relocs[--I] = R->Reloc;
/external/llvm/lib/Target/Mips/
H A DMipsCodeEmitter.cpp70 IsPIC(TM.getRelocationModel() == Reloc::PIC_) {
92 void emitGlobalAddress(const GlobalValue *GV, unsigned Reloc,
94 void emitExternalSymbolAddress(const char *ES, unsigned Reloc) const;
95 void emitConstPoolAddress(unsigned CPI, unsigned Reloc) const;
96 void emitJumpTableAddress(unsigned JTIndex, unsigned Reloc) const;
97 void emitMachineBasicBlock(MachineBasicBlock *BB, unsigned Reloc) const;
121 void emitGlobalAddressUnaligned(const GlobalValue *GV, unsigned Reloc,
242 void MipsCodeEmitter::emitGlobalAddress(const GlobalValue *GV, unsigned Reloc, argument
244 MCE.addRelocation(MachineRelocation::getGV(MCE.getCurrentPCOffset(), Reloc,
250 unsigned Reloc, in
249 emitGlobalAddressUnaligned(const GlobalValue *GV, unsigned Reloc, int Offset) const argument
[all...]
/external/llvm/lib/Target/X86/
H A DX86CodeEmitter.cpp57 IsPIC(TM.getRelocationModel() == Reloc::PIC_) {}
62 IsPIC(TM.getRelocationModel() == Reloc::PIC_) {}
92 void emitGlobalAddress(const GlobalValue *GV, unsigned Reloc,
95 void emitExternalSymbolAddress(const char *ES, unsigned Reloc);
96 void emitConstPoolAddress(unsigned CPI, unsigned Reloc, intptr_t Disp = 0,
98 void emitJumpTableAddress(unsigned JTI, unsigned Reloc,
133 IsPIC = TM.getRelocationModel() == Reloc::PIC_;
271 unsigned Reloc,
276 if (Reloc == X86::reloc_picrel_word)
278 else if (Reloc
270 emitGlobalAddress(const GlobalValue *GV, unsigned Reloc, intptr_t Disp , intptr_t PCAdj , bool Indirect ) argument
298 emitExternalSymbolAddress(const char *ES, unsigned Reloc) argument
320 emitConstPoolAddress(unsigned CPI, unsigned Reloc, intptr_t Disp , intptr_t PCAdj ) argument
341 emitJumpTableAddress(unsigned JTI, unsigned Reloc, intptr_t PCAdj ) argument
[all...]
/external/llvm/lib/MC/
H A DWinCOFFObjectWriter.cpp677 COFFRelocation Reloc; local
679 Reloc.Data.SymbolTableIndex = 0;
680 Reloc.Data.VirtualAddress = Layout.getFragmentOffset(Fragment);
684 Reloc.Symb = coff_symbol->Section->Symbol;
688 Reloc.Symb = coff_symbol;
690 ++Reloc.Symb->Relocations;
692 Reloc.Data.VirtualAddress += Fixup.getOffset();
699 Reloc.Data.Type = TargetObjectWriter->getRelocType(FixupKind);
703 if (Reloc.Data.Type == COFF::IMAGE_REL_AMD64_REL32 ||
704 Reloc
[all...]
/external/llvm/lib/Target/ARM/
H A DARMCodeEmitter.cpp72 IsPIC(TM.getRelocationModel() == Reloc::PIC_), IsThumb(false) {}
282 unsigned Reloc = (MCID.Opcode == ARM::MOVi16 ? local
286 emitGlobalAddress(MO.getGlobal(), Reloc, true, false);
360 unsigned Reloc);
368 void emitGlobalAddress(const GlobalValue *GV, unsigned Reloc,
371 void emitExternalSymbolAddress(const char *ES, unsigned Reloc) const;
372 void emitConstPoolAddress(unsigned CPI, unsigned Reloc) const;
373 void emitJumpTableAddress(unsigned JTIndex, unsigned Reloc) const;
374 void emitMachineBasicBlock(MachineBasicBlock *BB, unsigned Reloc,
395 assert((MF.getTarget().getRelocationModel() != Reloc
442 getMovi32Value(const MachineInstr &MI, const MachineOperand &MO, unsigned Reloc) argument
483 unsigned Reloc = ((MCID.TSFlags & ARMII::FormMask) == ARMII::VFPLdStFrm) local
497 emitGlobalAddress(const GlobalValue *GV, unsigned Reloc, bool MayNeedFarStub, bool Indirect, intptr_t ACPV) const argument
538 emitMachineBasicBlock(MachineBasicBlock *BB, unsigned Reloc, intptr_t JTBase) const argument
[all...]

Completed in 171 milliseconds