Home
last modified time | relevance | path

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

12

/external/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()
122 Reloc::Model ReloModel = TM.getRelocationModel(); in getKindForGlobal()
/external/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()
DX86CodeEmitter.cpp57 IsPIC(TM.getRelocationModel() == Reloc::PIC_) {} in Emitter()
136 IsPIC = TM.getRelocationModel() == Reloc::PIC_; in runOnMachineFunction()
/external/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()
DPPCSubtarget.cpp151 if (!HasLazyResolverStubs || TM.getRelocationModel() == Reloc::Static) in hasLazyResolverStub()
DPPCAsmPrinter.cpp173 if (TM.getRelocationModel() == Reloc::Static) { in printOperand()
196 if (TM.getRelocationModel() != Reloc::Static && in printOperand()
867 if (TM.getRelocationModel() == Reloc::PIC_) { in EmitStartOfAsmFile()
873 } else if (TM.getRelocationModel() == Reloc::DynamicNoPIC) { in EmitStartOfAsmFile()
906 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/
DMipsConstantIslandPass.cpp53 IsPIC(TM.getRelocationModel() == Reloc::PIC_), in MipsConstantIslands()
DMipsLongBranch.cpp68 IsPIC(TM.getRelocationModel() == Reloc::PIC_), in MipsLongBranch()
190 TM.getRelocationModel() == Reloc::PIC_))) in initMBBInfo()
412 if ((TM.getRelocationModel() == Reloc::PIC_) && in runOnMachineFunction()
450 if (TM.getRelocationModel() == Reloc::PIC_) { in runOnMachineFunction()
DMips16HardFloat.cpp244 if (Subtarget.getRelocationModel() == Reloc::PIC_) in assureFPCallStub()
373 if (Subtarget.getRelocationModel() != Reloc::PIC_ ) { in fixupFPReturnAndCall()
387 bool PicMode = Subtarget.getRelocationModel() == Reloc::PIC_; in createFPFnStub()
DMipsSubtarget.h207 Reloc::Model getRelocationModel() const {return RM;} in getRelocationModel() function
DMipsSEISelDAGToDAG.cpp146 if (MF.getTarget().getRelocationModel() == Reloc::Static) { in initGlobalBaseReg()
256 if (TM.getRelocationModel() != Reloc::PIC_) { in selectAddrRegImm()
DMips16ISelDAGToDAG.cpp179 if (TM.getRelocationModel() != Reloc::PIC_) { in selectAddr16()
DMipsSEInstrInfo.cpp34 tm.getRelocationModel() == Reloc::PIC_ ? Mips::B : Mips::J), in MipsSEInstrInfo()
525 if (TM.getRelocationModel() == Reloc::PIC_) in expandEhReturn()
DMipsCodeEmitter.cpp70 IsPIC(TM.getRelocationModel() == Reloc::PIC_) {} in MipsCodeEmitter()
DMipsAsmPrinter.cpp564 Reloc::Model RM = Subtarget->getRelocationModel(); in EmitStartOfAsmFile()
DMipsISelLowering.cpp1413 if ((getTargetMachine().getRelocationModel() == Reloc::PIC_) || IsN64) { in lowerBR_JT()
1494 if (getTargetMachine().getRelocationModel() != Reloc::PIC_ && !IsN64) { in lowerGlobalAddress()
1525 if (getTargetMachine().getRelocationModel() != Reloc::PIC_ && !IsN64) in lowerBlockAddress()
1615 if (getTargetMachine().getRelocationModel() != Reloc::PIC_ && !IsN64) in lowerJumpTable()
1634 if (getTargetMachine().getRelocationModel() != Reloc::PIC_ && !IsN64) in lowerConstantPool()
2342 bool IsPIC = getTargetMachine().getRelocationModel() == Reloc::PIC_; in LowerCall()
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFStreamer.cpp66 Reloc::Model RM = Subtarget.getRelocationModel(); in emitELFHeaderFlagsCG()
/external/llvm/lib/Target/ARM/
DARMInstrInfo.cpp106 if (TM->getRelocationModel() != Reloc::PIC_) in runOnMachineFunction()
DARMCodeEmitter.cpp72 IsPIC(TM.getRelocationModel() == Reloc::PIC_), IsThumb(false) {} in ARMCodeEmitter()
399 assert((Target.getRelocationModel() != Reloc::Default || in runOnMachineFunction()
400 Target.getRelocationModel() != Reloc::Static) && in runOnMachineFunction()
411 IsPIC = TM.getRelocationModel() == Reloc::PIC_; in runOnMachineFunction()
728 Reloc::Model RelocM = TM.getRelocationModel(); in emitConstPoolInstruction()
DARMAsmPrinter.cpp591 Reloc::Model RelocM = TM.getRelocationModel(); in EmitStartOfAsmFile()
924 Subtarget->GVIsIndirectSymbol(GV, TM.getRelocationModel()); in GetARMGVSymbol()
1034 if (TM.getRelocationModel() == Reloc::PIC_) in EmitJumpTable()
/external/llvm/include/llvm/Target/
DTargetMachine.h197 Reloc::Model getRelocationModel() const;
/external/llvm/lib/Target/AArch64/
DAArch64AsmPrinter.cpp92 Reloc::Model RelocM = TM.getRelocationModel(); in printSymbolicAddress()

12