Home
last modified time | relevance | path

Searched refs:getRelocationModel (Results 1 – 25 of 41) sorted by relevance

12

/external/llvm/lib/Target/X86/
DX86TargetMachine.cpp41 if (getRelocationModel() == Reloc::Static) { in X86TargetMachine()
50 if (getRelocationModel() == Reloc::PIC_) in X86TargetMachine()
53 assert(getRelocationModel() == Reloc::DynamicNoPIC); in X86TargetMachine()
DX86Subtarget.cpp182 return isTargetELF() || TM.getRelocationModel() == Reloc::Static; in IsLegalToCallImmediateAddr()
DX86CodeEmitter.cpp58 IsPIC(TM.getRelocationModel() == Reloc::PIC_) {} in Emitter()
137 IsPIC = TM.getRelocationModel() == Reloc::PIC_; in runOnMachineFunction()
/external/llvm/lib/Target/
DTargetMachine.cpp76 Reloc::Model TargetMachine::getRelocationModel() const { in getRelocationModel() function in TargetMachine
79 return CodeGenInfo->getRelocationModel(); in getRelocationModel()
111 bool isPIC = getRelocationModel() == Reloc::PIC_; in getTLSModel()
DTargetLoweringObjectFile.cpp47 TM.getRelocationModel(), TM.getCodeModel(), *Ctx); in Initialize()
137 Reloc::Model ReloModel = TM.getRelocationModel(); in getKindForGlobal()
/external/llvm/lib/Target/PowerPC/
DPPCCodeEmitter.cpp100 assert((MF.getTarget().getRelocationModel() != Reloc::Default || in runOnMachineFunction()
101 MF.getTarget().getRelocationModel() != Reloc::Static) && in runOnMachineFunction()
136 assert(TM.getRelocationModel() == Reloc::PIC_); in emitBasicBlock()
162 if (TM.getRelocationModel() == Reloc::PIC_) { in GetRelocation()
DPPCSubtarget.cpp214 if (!HasLazyResolverStubs || TM.getRelocationModel() == Reloc::Static) in hasLazyResolverStub()
DPPCAsmPrinter.cpp177 if (TM.getRelocationModel() != Reloc::Static && in printOperand()
860 if (TM.getRelocationModel() == Reloc::PIC_) { in EmitStartOfAsmFile()
866 } else if (TM.getRelocationModel() == Reloc::DynamicNoPIC) { in EmitStartOfAsmFile()
899 if (TM.getRelocationModel() == Reloc::PIC_) { in EmitFunctionStubs()
/external/llvm/include/llvm/MC/
DMCCodeGenInfo.h40 Reloc::Model getRelocationModel() const { return RelocationModel; } in getRelocationModel() function
/external/llvm/lib/Target/Mips/
DMipsLongBranch.cpp66 IsPIC(TM.getRelocationModel() == Reloc::PIC_), in MipsLongBranch()
189 TM.getRelocationModel() == Reloc::PIC_))) in initMBBInfo()
454 if ((TM.getRelocationModel() == Reloc::PIC_) && in runOnMachineFunction()
503 if (TM.getRelocationModel() == Reloc::PIC_) { in runOnMachineFunction()
DMips16HardFloat.cpp252 if (Subtarget.getRelocationModel() == Reloc::PIC_) in assureFPCallStub()
429 if (Subtarget.getRelocationModel() != Reloc::PIC_ ) { in fixupFPReturnAndCall()
443 bool PicMode = Subtarget.getRelocationModel() == Reloc::PIC_; in createFPFnStub()
DMipsSubtarget.h273 Reloc::Model getRelocationModel() const {return RM;} in getRelocationModel() function
DMips16ISelDAGToDAG.cpp181 if (TM.getRelocationModel() != Reloc::PIC_) { in selectAddr16()
DMipsAsmPrinter.cpp675 Reloc::Model RM = Subtarget->getRelocationModel(); in EmitStartOfAsmFile()
924 if (Subtarget->getRelocationModel() == Reloc::PIC_) in EmitFPCallStub()
DMipsSEISelDAGToDAG.cpp162 if (MF.getTarget().getRelocationModel() == Reloc::Static) { in initGlobalBaseReg()
303 if (TM.getRelocationModel() != Reloc::PIC_) { in selectAddrRegImm()
DMipsFastISel.cpp62 TargetSupported = ((Subtarget->getRelocationModel() == Reloc::PIC_) && in MipsFastISel()
DMipsSEInstrInfo.cpp29 tm.getRelocationModel() == Reloc::PIC_ ? Mips::B : Mips::J), in MipsSEInstrInfo()
609 if (TM.getRelocationModel() == Reloc::PIC_) in expandEhReturn()
DMipsCodeEmitter.cpp71 IsPIC(TM.getRelocationModel() == Reloc::PIC_) {} in MipsCodeEmitter()
/external/llvm/lib/Target/AArch64/
DAArch64Subtarget.cpp94 if (TM.getRelocationModel() != Reloc::Static && GV->hasDefaultVisibility()) { in ClassifyGlobalReference()
/external/llvm/lib/Target/ARM/
DARMInstrInfo.cpp107 if (TM->getRelocationModel() != Reloc::PIC_) in runOnMachineFunction()
DARMCodeEmitter.cpp74 IsPIC(TM.getRelocationModel() == Reloc::PIC_), IsThumb(false) {} in ARMCodeEmitter()
368 assert((Target.getRelocationModel() != Reloc::Default || in runOnMachineFunction()
369 Target.getRelocationModel() != Reloc::Static) && in runOnMachineFunction()
380 IsPIC = TM.getRelocationModel() == Reloc::PIC_; in runOnMachineFunction()
642 Reloc::Model RelocM = TM.getRelocationModel(); in emitConstPoolInstruction()
DARMAsmPrinter.cpp417 Reloc::Model RelocM = TM.getRelocationModel(); in EmitStartOfAsmFile()
675 if (TM.getRelocationModel() == Reloc::PIC_) { in emitAttributes()
800 Subtarget->GVIsIndirectSymbol(GV, TM.getRelocationModel()); in GetARMGVSymbol()
933 if (TM.getRelocationModel() == Reloc::PIC_) in EmitJumpTable()
/external/llvm/include/llvm/Target/
DTargetMachine.h167 Reloc::Model getRelocationModel() const;
/external/llvm/lib/Target/Sparc/
DSparcCodeEmitter.cpp54 IsPIC(TM.getRelocationModel() == Reloc::PIC_) {} in SparcCodeEmitter()
DSparcAsmPrinter.cpp188 if (TM.getRelocationModel() != Reloc::PIC_) { in LowerGETPCXAndEmitMCInsts()

12