Home
last modified time | relevance | path

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

/llvm-project/llvm/lib/Target/
H A DTargetMachine.cpp123 return getRelocationModel() == Reloc::PIC_;
149 Reloc::Model TargetMachine::getRelocationModel() const { return RM; } in getMaxCodeSize()
185 Reloc::Model RM = getRelocationModel(); in shouldAssumeDSOLocal()
245 Reloc::Model RM = getRelocationModel(); in getTLSModel()
144 Reloc::Model TargetMachine::getRelocationModel() const { return RM; } getRelocationModel() function in TargetMachine
H A DTargetLoweringObjectFile.cpp301 Reloc::Model ReloModel = TM.getRelocationModel(); in getKindForGlobal()
/llvm-project/llvm/lib/Target/ARM/
H A DARMSubtarget.cpp343 return TM.getRelocationModel() == Reloc::ROPI || in isROPI()
344 TM.getRelocationModel() == Reloc::ROPI_RWPI; in isRWPI()
347 return TM.getRelocationModel() == Reloc::RWPI || in isRWPI()
348 TM.getRelocationModel() == Reloc::ROPI_RWPI;
/llvm-project/llvm/lib/Target/X86/
H A DX86Subtarget.cpp181 if (TM.getRelocationModel() == Reloc::Static) in classifyGlobalReference()
223 if (!is64Bit() && !GV && TM.getRelocationModel() == Reloc::Static) in classifyGlobalFunctionReference()
247 return isTargetELF() || TM.getRelocationModel() == Reloc::Static; in isLegalToCallImmediateAddr()
H A DX86FastISel.cpp3530 TM.getRelocationModel() == Reloc::Static && isa<Function>(GV) && in fastLowerCall()
3865 if (TM.getRelocationModel() == Reloc::Static && in X86MaterializeGV()
/llvm-project/llvm/lib/Target/Mips/
H A DMipsSubtarget.cpp280 Reloc::Model MipsSubtarget::getRelocationModel() const { in isABI_N64()
281 return TM.getRelocationModel(); in isABI_N32()
276 Reloc::Model MipsSubtarget::getRelocationModel() const { getRelocationModel() function in MipsSubtarget
H A DMipsSubtarget.h371 Reloc::Model getRelocationModel() const;
H A DMipsSEFrameLowering.cpp578 if ((STI.getRelocationModel() != Reloc::Static)) in emitInterruptPrologueStub()
/llvm-project/llvm/unittests/Target/PowerPC/
H A DAIXRelocModelTest.cpp36 EXPECT_TRUE(Target->getRelocationModel() == Reloc::PIC_); in TEST_F()
/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DJITTargetMachineBuilder.h90 const std::optional<Reloc::Model> &getRelocationModel() const { return RM; } in getRelocationModel() function
/llvm-project/llvm/include/llvm/Target/
H A DTargetMachine.h231 Reloc::Model getRelocationModel() const;
/llvm-project/flang/lib/Frontend/
H A DCompilerInstance.cpp378 /*Reloc::Model=*/CGOpts.getRelocationModel(),
/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.cpp335 Asm->TM.getRelocationModel() == Reloc::PIC_) { in addLocationAttribute()
342 } else if ((Asm->TM.getRelocationModel() == Reloc::RWPI || in addLocationAttribute()
343 Asm->TM.getRelocationModel() == Reloc::ROPI_RWPI) && in addLocationAttribute()
H A DAsmPrinter.cpp711 if (TM.getRelocationModel() != Reloc::Static && in emitGlobalVariable()
/llvm-project/llvm/lib/LTO/
H A DLTOBackend.cpp651 TM->getRelocationModel() != Reloc::Static && in thinBackend()
H A DThinLTOCodeGenerator.cpp445 TM.getRelocationModel() != Reloc::Static && in ProcessThinLTOModule()
/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DOrcV2CBindings.cpp783 .setRelocationModel(TemplateTM->getRelocationModel()) in LLVMOrcJITTargetMachineBuilderCreateFromTargetMachine()
/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp1239 Reloc::Model RM = HTM.getRelocationModel(); in LowerGLOBALADDRESS()
1270 Reloc::Model RM = HTM.getRelocationModel(); in LowerBlockAddress()
3699 return HTM.getRelocationModel() == Reloc::Static; in isLegalAddressingMode()
/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp1982 TM.getRelocationModel() == Reloc::Static)) in InstructionOpcodeToISD()
H A DTargetLoweringObjectFileImpl.cpp1240 if (TM.getRelocationModel() == Reloc::Static) { in emitModuleMetadata()
/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp5170 if (getTargetMachine().getRelocationModel() != Reloc::PIC_) in IsEligibleForTailCallOptimization()
5540 Subtarget.getTargetMachine().getRelocationModel() == Reloc::PIC_; in transformCallee()