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.h76 Reloc::Model RM,
90 Reloc::Model RM,
277 MCCodeGenInfo *createMCCodeGenInfo(StringRef Triple, Reloc::Model RM,
334 Reloc::Model RM = Reloc::Default,
841 static MCCodeGenInfo *Allocator(StringRef TT, Reloc::Model RM,
1012 Reloc::Model RM,
332 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:__anon9739::RelEntry
197 return ((R.Reloc.Type == ELF::R_MIPS_GOT16) && !SD.isExternal()) ||
198 (R.Reloc.Type == ELF::R_MIPS_HI16);
207 return (I->Reloc.Type == ELF::R_MIPS_LO16) && (Hi->Sym == I->Sym) &&
250 if ((R->Reloc.Type == ELF::R_MIPS_LO16) && HasSameSymbol(*HiPos, *R) &&
274 Relocs[--I] = R->Reloc;
/external/llvm/lib/Target/Mips/
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;
115 void emitGlobalAddressUnaligned(const GlobalValue *GV, unsigned Reloc,
237 void MipsCodeEmitter::emitGlobalAddress(const GlobalValue *GV, unsigned Reloc, argument
239 MCE.addRelocation(MachineRelocation::getGV(MCE.getCurrentPCOffset(), Reloc,
245 unsigned Reloc, in
244 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,
141 IsPIC = TM.getRelocationModel() == Reloc::PIC_;
279 unsigned Reloc,
284 if (Reloc == X86::reloc_picrel_word)
286 else if (Reloc
278 emitGlobalAddress(const GlobalValue *GV, unsigned Reloc, intptr_t Disp , intptr_t PCAdj , bool Indirect ) argument
306 emitExternalSymbolAddress(const char *ES, unsigned Reloc) argument
328 emitConstPoolAddress(unsigned CPI, unsigned Reloc, intptr_t Disp , intptr_t PCAdj ) argument
349 emitJumpTableAddress(unsigned JTI, unsigned Reloc, intptr_t PCAdj ) argument
[all...]
/external/llvm/lib/MC/
H A DWinCOFFObjectWriter.cpp676 COFFRelocation Reloc; local
678 Reloc.Data.SymbolTableIndex = 0;
679 Reloc.Data.VirtualAddress = Layout.getFragmentOffset(Fragment);
683 Reloc.Symb = coff_symbol->Section->Symbol;
687 Reloc.Symb = coff_symbol;
689 ++Reloc.Symb->Relocations;
691 Reloc.Data.VirtualAddress += Fixup.getOffset();
698 Reloc.Data.Type = TargetObjectWriter->getRelocType(FixupKind);
702 if (Reloc.Data.Type == COFF::IMAGE_REL_AMD64_REL32 ||
703 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,
397 assert((Target.getRelocationModel() != Reloc
446 getMovi32Value(const MachineInstr &MI, const MachineOperand &MO, unsigned Reloc) argument
487 unsigned Reloc = ((MCID.TSFlags & ARMII::FormMask) == ARMII::VFPLdStFrm) local
501 emitGlobalAddress(const GlobalValue *GV, unsigned Reloc, bool MayNeedFarStub, bool Indirect, intptr_t ACPV) const argument
542 emitMachineBasicBlock(MachineBasicBlock *BB, unsigned Reloc, intptr_t JTBase) const argument
[all...]

Completed in 5664 milliseconds