/llvm-project/llvm/lib/Target/ |
H A D | TargetMachine.cpp | 123 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 D | TargetLoweringObjectFile.cpp | 301 Reloc::Model ReloModel = TM.getRelocationModel(); in getKindForGlobal()
|
/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMSubtarget.cpp | 343 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 D | X86Subtarget.cpp | 181 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 D | X86FastISel.cpp | 3530 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 D | MipsSubtarget.cpp | 280 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 D | MipsSubtarget.h | 371 Reloc::Model getRelocationModel() const;
|
H A D | MipsSEFrameLowering.cpp | 578 if ((STI.getRelocationModel() != Reloc::Static)) in emitInterruptPrologueStub()
|
/llvm-project/llvm/unittests/Target/PowerPC/ |
H A D | AIXRelocModelTest.cpp | 36 EXPECT_TRUE(Target->getRelocationModel() == Reloc::PIC_); in TEST_F()
|
/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | JITTargetMachineBuilder.h | 90 const std::optional<Reloc::Model> &getRelocationModel() const { return RM; } in getRelocationModel() function
|
/llvm-project/llvm/include/llvm/Target/ |
H A D | TargetMachine.h | 231 Reloc::Model getRelocationModel() const;
|
/llvm-project/flang/lib/Frontend/ |
H A D | CompilerInstance.cpp | 378 /*Reloc::Model=*/CGOpts.getRelocationModel(),
|
/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfCompileUnit.cpp | 335 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 D | AsmPrinter.cpp | 711 if (TM.getRelocationModel() != Reloc::Static && in emitGlobalVariable()
|
/llvm-project/llvm/lib/LTO/ |
H A D | LTOBackend.cpp | 651 TM->getRelocationModel() != Reloc::Static && in thinBackend()
|
H A D | ThinLTOCodeGenerator.cpp | 445 TM.getRelocationModel() != Reloc::Static && in ProcessThinLTOModule()
|
/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | OrcV2CBindings.cpp | 783 .setRelocationModel(TemplateTM->getRelocationModel()) in LLVMOrcJITTargetMachineBuilderCreateFromTargetMachine()
|
/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLowering.cpp | 1239 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 D | TargetLoweringBase.cpp | 1982 TM.getRelocationModel() == Reloc::Static)) in InstructionOpcodeToISD()
|
H A D | TargetLoweringObjectFileImpl.cpp | 1240 if (TM.getRelocationModel() == Reloc::Static) { in emitModuleMetadata()
|
/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 5170 if (getTargetMachine().getRelocationModel() != Reloc::PIC_) in IsEligibleForTailCallOptimization() 5540 Subtarget.getTargetMachine().getRelocationModel() == Reloc::PIC_; in transformCallee()
|