Home
last modified time | relevance | path

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

12

/freebsd-10-stable/contrib/llvm/lib/Target/
DTargetMachine.cpp91 Reloc::Model TargetMachine::getRelocationModel() const { in getRelocationModel() function in TargetMachine
94 return CodeGenInfo->getRelocationModel(); in getRelocationModel()
132 bool isPIC = getRelocationModel() == Reloc::PIC_; in getTLSModel()
DTargetLoweringObjectFile.cpp44 TM.getRelocationModel(), TM.getCodeModel(), *Ctx); in Initialize()
132 Reloc::Model ReloModel = TM.getRelocationModel(); in getKindForGlobal()
/freebsd-10-stable/contrib/llvm/lib/Target/X86/
DX86TargetMachine.cpp89 if (getRelocationModel() == Reloc::Static) { in X86TargetMachine()
98 if (getRelocationModel() == Reloc::PIC_) in X86TargetMachine()
101 assert(getRelocationModel() == Reloc::DynamicNoPIC); in X86TargetMachine()
DX86Subtarget.cpp170 return isTargetELF() || TM.getRelocationModel() == Reloc::Static; in IsLegalToCallImmediateAddr()
/freebsd-10-stable/contrib/llvm/lib/Target/PowerPC/
DPPCCodeEmitter.cpp98 assert((MF.getTarget().getRelocationModel() != Reloc::Default || in runOnMachineFunction()
99 MF.getTarget().getRelocationModel() != Reloc::Static) && in runOnMachineFunction()
133 assert(TM.getRelocationModel() == Reloc::PIC_); in emitBasicBlock()
159 if (TM.getRelocationModel() == Reloc::PIC_) { in GetRelocation()
DPPCAsmPrinter.cpp174 if (TM.getRelocationModel() == Reloc::Static) { in printOperand()
197 if (TM.getRelocationModel() != Reloc::Static && in printOperand()
870 if (TM.getRelocationModel() == Reloc::PIC_) { in EmitStartOfAsmFile()
876 } else if (TM.getRelocationModel() == Reloc::DynamicNoPIC) { in EmitStartOfAsmFile()
909 if (TM.getRelocationModel() == Reloc::PIC_) { in EmitFunctionStubs()
DPPCSubtarget.cpp155 if (!HasLazyResolverStubs || TM.getRelocationModel() == Reloc::Static) in hasLazyResolverStub()
/freebsd-10-stable/contrib/llvm/include/llvm/MC/
DMCCodeGenInfo.h40 Reloc::Model getRelocationModel() const { return RelocationModel; } in getRelocationModel() function
/freebsd-10-stable/contrib/llvm/lib/Target/Mips/
DMipsLongBranch.cpp68 IsPIC(TM.getRelocationModel() == Reloc::PIC_), in MipsLongBranch()
190 TM.getRelocationModel() == Reloc::PIC_))) in initMBBInfo()
417 if ((TM.getRelocationModel() == Reloc::PIC_) && in runOnMachineFunction()
457 if (TM.getRelocationModel() == Reloc::PIC_) { in runOnMachineFunction()
DMips16HardFloat.cpp245 if (Subtarget.getRelocationModel() == Reloc::PIC_) in assureFPCallStub()
405 if (Subtarget.getRelocationModel() != Reloc::PIC_ ) { in fixupFPReturnAndCall()
419 bool PicMode = Subtarget.getRelocationModel() == Reloc::PIC_; in createFPFnStub()
DMipsSubtarget.h226 Reloc::Model getRelocationModel() const {return RM;} in getRelocationModel() function
DMipsAsmPrinter.cpp621 Reloc::Model RM = Subtarget->getRelocationModel(); in EmitStartOfAsmFile()
679 Reloc::Model RM = Subtarget.getRelocationModel(); in emitELFHeaderFlagsCG()
DMips16ISelDAGToDAG.cpp180 if (TM.getRelocationModel() != Reloc::PIC_) { in selectAddr16()
DMipsSEISelDAGToDAG.cpp161 if (MF.getTarget().getRelocationModel() == Reloc::Static) { in initGlobalBaseReg()
271 if (TM.getRelocationModel() != Reloc::PIC_) { in selectAddrRegImm()
DMipsSEInstrInfo.cpp29 tm.getRelocationModel() == Reloc::PIC_ ? Mips::B : Mips::J), in MipsSEInstrInfo()
559 if (TM.getRelocationModel() == Reloc::PIC_) in expandEhReturn()
DMipsCodeEmitter.cpp70 IsPIC(TM.getRelocationModel() == Reloc::PIC_) {} in MipsCodeEmitter()
/freebsd-10-stable/contrib/llvm/lib/Target/ARM/
DARMInstrInfo.cpp107 if (TM->getRelocationModel() != Reloc::PIC_) in runOnMachineFunction()
DARMCodeEmitter.cpp72 IsPIC(TM.getRelocationModel() == Reloc::PIC_), IsThumb(false) {} in ARMCodeEmitter()
378 assert((Target.getRelocationModel() != Reloc::Default || in runOnMachineFunction()
379 Target.getRelocationModel() != Reloc::Static) && in runOnMachineFunction()
390 IsPIC = TM.getRelocationModel() == Reloc::PIC_; in runOnMachineFunction()
652 Reloc::Model RelocM = TM.getRelocationModel(); in emitConstPoolInstruction()
DARMAsmPrinter.cpp451 Reloc::Model RelocM = TM.getRelocationModel(); in EmitStartOfAsmFile()
779 Subtarget->GVIsIndirectSymbol(GV, TM.getRelocationModel()); in GetARMGVSymbol()
889 if (TM.getRelocationModel() == Reloc::PIC_) in EmitJumpTable()
/freebsd-10-stable/contrib/llvm/include/llvm/Target/
DTargetMachine.h203 Reloc::Model getRelocationModel() const;
/freebsd-10-stable/contrib/llvm/patches/
Dpatch-r262261-llvm-r200961-sparc.diff53 + unsigned TF = ((getTargetMachine().getRelocationModel() == Reloc::PIC_)
68 + unsigned TF = ((getTargetMachine().getRelocationModel() == Reloc::PIC_)
82 if (getTargetMachine().getRelocationModel() == Reloc::PIC_) {
Dpatch-r262261-llvm-r199775-sparc.diff121 + if (TM.getRelocationModel() != Reloc::PIC_) {
/freebsd-10-stable/contrib/llvm/lib/Target/AArch64/
DAArch64AsmPrinter.cpp93 Reloc::Model RelocM = TM.getRelocationModel(); in printSymbolicAddress()
/freebsd-10-stable/contrib/llvm/lib/Target/Sparc/
DSparcCodeEmitter.cpp53 IsPIC(TM.getRelocationModel() == Reloc::PIC_) {} in SparcCodeEmitter()
DSparcAsmPrinter.cpp177 if (TM.getRelocationModel() != Reloc::PIC_) { in LowerGETPCXAndEmitMCInsts()

12