Searched refs:RelocationModel (Results 1 – 13 of 13) sorted by relevance
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | CodeGenOptions.cpp | 19 RelocationModel = llvm::Reloc::PIC_; in CodeGenOptions()
|
| /llvm-project-15.0.7/clang/tools/driver/ |
| H A D | cc1as_main.cpp | 144 std::string RelocationModel; member 307 Opts.RelocationModel = in CreateFromArgs() 416 if (Opts.RelocationModel == "static") { in ExecuteAssemblerImpl() 418 } else if (Opts.RelocationModel == "pic") { in ExecuteAssemblerImpl() 421 assert(Opts.RelocationModel == "dynamic-no-pic" && in ExecuteAssemblerImpl()
|
| /llvm-project-15.0.7/llvm/lib/Target/Lanai/ |
| H A D | LanaiTargetMachine.h | 32 Optional<Reloc::Model> RelocationModel,
|
| /llvm-project-15.0.7/clang/lib/Driver/ToolChains/ |
| H A D | WebAssembly.cpp | 265 llvm::Reloc::Model RelocationModel; in addClangTargetOptions() local 268 std::tie(RelocationModel, PICLevel, IsPIE) = in addClangTargetOptions() 270 if (RelocationModel == llvm::Reloc::PIC_) { in addClangTargetOptions()
|
| H A D | Clang.cpp | 2005 llvm::Reloc::Model RelocationModel; in AddMIPSTargetArgs() local 2008 std::tie(RelocationModel, PICLevel, IsPIE) = in AddMIPSTargetArgs() 5011 llvm::Reloc::Model RelocationModel; in ConstructJob() local 5016 bool IsROPI = RelocationModel == llvm::Reloc::ROPI || in ConstructJob() 5018 bool IsRWPI = RelocationModel == llvm::Reloc::RWPI || in ConstructJob() 5045 if (RelocationModel == llvm::Reloc::ROPI || in ConstructJob() 5046 RelocationModel == llvm::Reloc::ROPI_RWPI) in ConstructJob() 5048 if (RelocationModel == llvm::Reloc::RWPI || in ConstructJob() 5049 RelocationModel == llvm::Reloc::ROPI_RWPI) in ConstructJob() 7971 llvm::Reloc::Model RelocationModel; in ConstructJob() local [all …]
|
| H A D | CommonArgs.cpp | 1463 llvm::Reloc::Model RelocationModel; in AddAssemblerKPIC() local 1466 std::tie(RelocationModel, PICLevel, IsPIE) = ParsePICArgs(ToolChain, Args); in AddAssemblerKPIC() 1468 if (RelocationModel != llvm::Reloc::Static) in AddAssemblerKPIC()
|
| H A D | Gnu.cpp | 717 llvm::Reloc::Model RelocationModel; in ConstructJob() local 721 std::tie(RelocationModel, PICLevel, IsPIE) = in ConstructJob() 876 if (RelocationModel == llvm::Reloc::Static) in ConstructJob()
|
| /llvm-project-15.0.7/llvm/tools/gold/ |
| H A D | gold-plugin.cpp | 124 static Optional<Reloc::Model> RelocationModel = None; variable 367 RelocationModel = Reloc::PIC_; in onload() 371 RelocationModel = Reloc::PIC_; in onload() 375 RelocationModel = Reloc::Static; in onload() 897 Conf.RelocModel = RelocationModel; in createLTO()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | CodeGenOptions.h | 234 llvm::Reloc::Model RelocationModel; variable
|
| /llvm-project-15.0.7/clang/unittests/Frontend/ |
| H A D | CompilerInvocationTest.cpp | 390 ASSERT_EQ(Invocation.getCodeGenOpts().RelocationModel, Reloc::Model::Static); in TEST_F() 404 ASSERT_EQ(Invocation.getCodeGenOpts().RelocationModel, Reloc::Model::PIC_); in TEST_F()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | BackendUtil.cpp | 553 llvm::Reloc::Model RM = CodeGenOpts.RelocationModel; in CreateTargetMachine() 1079 Conf.RelocModel = CGOpts.RelocationModel; in runThinLTOBackend()
|
| H A D | CodeGenModule.cpp | 1168 llvm::Reloc::Model RM = CGOpts.RelocationModel; in shouldAssumeDSOLocal()
|
| /llvm-project-15.0.7/clang/include/clang/Driver/ |
| H A D | Options.td | 5290 MarshallingInfoEnum<CodeGenOpts<"RelocationModel">, "PIC_">;
|