Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/X86/
DX86Subtarget.cpp174 return isTargetELF() || TM.getRelocationModel() == Reloc::Static; in IsLegalToCallImmediateAddr()
320 if (TM.getRelocationModel() == Reloc::Static) { in X86Subtarget()
329 if (TM.getRelocationModel() == Reloc::PIC_) in X86Subtarget()
332 assert(TM.getRelocationModel() == Reloc::DynamicNoPIC); in X86Subtarget()
/external/llvm/lib/Target/
DTargetMachine.cpp77 Reloc::Model TargetMachine::getRelocationModel() const { in getRelocationModel() function in TargetMachine
80 return CodeGenInfo->getRelocationModel(); in getRelocationModel()
112 bool isPIC = getRelocationModel() == Reloc::PIC_; in getTLSModel()
DTargetLoweringObjectFile.cpp46 InitMCObjectFileInfo(TM.getTargetTriple(), TM.getRelocationModel(), in Initialize()
137 Reloc::Model ReloModel = TM.getRelocationModel(); in getKindForGlobal()
/external/llvm/lib/Target/Mips/
DMipsSubtarget.cpp117 if (NoABICalls && TM.getRelocationModel() == Reloc::PIC_) in MipsSubtarget()
163 Reloc::Model MipsSubtarget::getRelocationModel() const { in getRelocationModel() function in MipsSubtarget
164 return TM.getRelocationModel(); in getRelocationModel()
DMipsLongBranch.cpp67 IsPIC(TM.getRelocationModel() == Reloc::PIC_), in MipsLongBranch()
187 TM.getRelocationModel() == Reloc::PIC_))) in initMBBInfo()
460 if ((TM.getRelocationModel() == Reloc::PIC_) && in runOnMachineFunction()
509 if (TM.getRelocationModel() == Reloc::PIC_) { in runOnMachineFunction()
DMips16HardFloat.cpp264 if (TM.getRelocationModel() == Reloc::PIC_) in assureFPCallStub()
450 if (TM.getRelocationModel() != Reloc::PIC_ ) { in fixupFPReturnAndCall()
464 bool PicMode = TM.getRelocationModel() == Reloc::PIC_; in createFPFnStub()
DMipsSubtarget.h277 Reloc::Model getRelocationModel() const;
DMips16ISelDAGToDAG.cpp184 if (TM.getRelocationModel() != Reloc::PIC_) { in selectAddr16()
DMipsAsmPrinter.cpp706 Reloc::Model RM = TM.getRelocationModel(); in EmitStartOfAsmFile()
993 assert(TM.getRelocationModel() != Reloc::PIC_ && in EmitFPCallStub()
DMipsSEISelDAGToDAG.cpp165 if (MF.getTarget().getRelocationModel() == Reloc::Static) { in initGlobalBaseReg()
330 if (TM.getRelocationModel() != Reloc::PIC_) { in selectAddrRegImm()
DMipsSEInstrInfo.cpp28 : MipsInstrInfo(STI, STI.getRelocationModel() == Reloc::PIC_ ? Mips::B in MipsSEInstrInfo()
700 if (TM.getRelocationModel() == Reloc::PIC_) in expandEhReturn()
DMipsISelLowering.cpp1602 if ((getTargetMachine().getRelocationModel() == Reloc::PIC_) || ABI.IsN64()) { in lowerBR_JT()
1685 if (getTargetMachine().getRelocationModel() != Reloc::PIC_ && !ABI.IsN64()) { in lowerGlobalAddress()
1717 if (getTargetMachine().getRelocationModel() != Reloc::PIC_ && !ABI.IsN64()) in lowerBlockAddress()
1811 if (getTargetMachine().getRelocationModel() != Reloc::PIC_ && !ABI.IsN64()) in lowerJumpTable()
1823 if (getTargetMachine().getRelocationModel() != Reloc::PIC_ && !ABI.IsN64()) { in lowerConstantPool()
2589 bool IsPIC = getTargetMachine().getRelocationModel() == Reloc::PIC_; in LowerCall()
DMipsSEFrameLowering.cpp558 if ((STI.getRelocationModel() != Reloc::Static)) in emitInterruptPrologueStub()
/external/llvm/lib/Target/AArch64/
DAArch64Subtarget.cpp78 if (TM.getRelocationModel() == Reloc::Static) in ClassifyGlobalReference()
92 if (TM.getRelocationModel() != Reloc::Static && GV->hasDefaultVisibility()) { in ClassifyGlobalReference()
/external/llvm/lib/Target/PowerPC/
DPPCSubtarget.cpp150 if (!HasLazyResolverStubs || TM.getRelocationModel() == Reloc::Static) in hasLazyResolverStub()
230 if (TM.getRelocationModel() == Reloc::PIC_) { in classifyGlobalReference()
DPPCAsmPrinter.cpp198 if (TM.getRelocationModel() != Reloc::Static && in printOperand()
473 TM.getRelocationModel() == Reloc::PIC_) in EmitTlsCall()
1041 TM.getRelocationModel() != Reloc::PIC_) in EmitStartOfAsmFile()
1070 (TM.getRelocationModel() != Reloc::PIC_ || in EmitFunctionEntryLabel()
1285 if (TM.getRelocationModel() == Reloc::PIC_) { in EmitStartOfAsmFile()
1291 } else if (TM.getRelocationModel() == Reloc::DynamicNoPIC) { in EmitStartOfAsmFile()
1334 if (TM.getRelocationModel() == Reloc::PIC_) { in EmitFunctionStubs()
DPPCRegisterInfo.cpp237 TM.getRelocationModel() == Reloc::PIC_) in getReservedRegs()
244 TM.getRelocationModel() == Reloc::PIC_) in getReservedRegs()
911 TM.getRelocationModel() == Reloc::PIC_) in getBaseRegister()
DPPCTargetMachine.cpp385 if (getPPCTargetMachine().getRelocationModel() == Reloc::PIC_) in addPreRegAlloc()
/external/llvm/include/llvm/MC/
DMCCodeGenInfo.h40 Reloc::Model getRelocationModel() const { return RelocationModel; } in getRelocationModel() function
/external/llvm/include/llvm/Target/
DTargetMachine.h178 Reloc::Model getRelocationModel() const;
/external/llvm/lib/Target/Sparc/
DSparcAsmPrinter.cpp188 if (TM.getRelocationModel() != Reloc::PIC_) { in LowerGETPCXAndEmitMCInsts()
/external/llvm/lib/Target/ARM/
DARMAsmPrinter.cpp693 if (TM.getRelocationModel() == Reloc::PIC_) { in emitAttributes()
869 Subtarget->GVIsIndirectSymbol(GV, TM.getRelocationModel()); in GetARMGVSymbol()
994 if (TM.getRelocationModel() == Reloc::PIC_) in EmitJumpTableAddrs()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp1373 Reloc::Model RM = HTM.getRelocationModel(); in LowerConstantPool()
1390 Reloc::Model RM = HTM.getRelocationModel(); in LowerJumpTable()
1460 Reloc::Model RM = HTM.getRelocationModel(); in LowerGLOBALADDRESS()
1491 Reloc::Model RM = HTM.getRelocationModel(); in LowerBlockAddress()
2743 return HTM.getRelocationModel() == Reloc::Static; in isOffsetFoldingLegal()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1505 if (TM.getRelocationModel() == Reloc::Static && in EmitSpecialLLVMGlobal()
1518 if (TM.getRelocationModel() == Reloc::Static && in EmitSpecialLLVMGlobal()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp241 if (getTargetMachine().getRelocationModel() != Reloc::PIC_) in getJumpTableEncoding()
277 if (getTargetMachine().getRelocationModel() == Reloc::Static) in isOffsetFoldingLegal()
281 if (getTargetMachine().getRelocationModel() == Reloc::DynamicNoPIC && in isOffsetFoldingLegal()

12