Lines Matching defs:Reloc

72         IsPIC(TM.getRelocationModel() == Reloc::PIC_), IsThumb(false) {}
341 unsigned Reloc);
349 void emitGlobalAddress(const GlobalValue *GV, unsigned Reloc,
352 void emitExternalSymbolAddress(const char *ES, unsigned Reloc) const;
353 void emitConstPoolAddress(unsigned CPI, unsigned Reloc) const;
354 void emitJumpTableAddress(unsigned JTIndex, unsigned Reloc) const;
355 void emitMachineBasicBlock(MachineBasicBlock *BB, unsigned Reloc,
378 assert((Target.getRelocationModel() != Reloc::Default ||
379 Target.getRelocationModel() != Reloc::Static) &&
390 IsPIC = TM.getRelocationModel() == Reloc::PIC_;
429 unsigned Reloc) {
430 assert(((Reloc == ARM::reloc_arm_movt) || (Reloc == ARM::reloc_arm_movw))
436 emitGlobalAddress(MO.getGlobal(), Reloc, true, false);
438 emitExternalSymbolAddress(MO.getSymbolName(), Reloc);
440 emitMachineBasicBlock(MO.getMBB(), Reloc);
465 unsigned Reloc = ((MCID.TSFlags & ARMII::FormMask) == ARMII::VFPLdStFrm)
467 emitConstPoolAddress(MO.getIndex(), Reloc);
479 void ARMCodeEmitter::emitGlobalAddress(const GlobalValue *GV, unsigned Reloc,
483 ? MachineRelocation::getIndirectSymbol(MCE.getCurrentPCOffset(), Reloc,
486 : MachineRelocation::getGV(MCE.getCurrentPCOffset(), Reloc,
496 emitExternalSymbolAddress(const char *ES, unsigned Reloc) const {
498 Reloc, ES));
504 void ARMCodeEmitter::emitConstPoolAddress(unsigned CPI, unsigned Reloc) const {
507 Reloc, CPI, 0, true));
514 emitJumpTableAddress(unsigned JTIndex, unsigned Reloc) const {
516 Reloc, JTIndex, 0, true));
521 unsigned Reloc,
524 Reloc, BB, JTBase));
652 Reloc::Model RelocM = TM.getRelocationModel();