| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Module.cpp | 615 PICLevel::Level Module::getPICLevel() const { in getPICLevel() 619 return PICLevel::NotPIC; in getPICLevel() 621 return static_cast<PICLevel::Level>( in getPICLevel() 625 void Module::setPICLevel(PICLevel::Level PL) { in setPICLevel() 724 return getPICLevel() == PICLevel::NotPIC; in getDirectAccessExternalData()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | CodeGen.h | 34 namespace PICLevel {
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 1399 if (unsigned PICLevel = LangOpts.PICLevel) { in InitializePredefinedMacros() local 1400 Builder.defineMacro("__PIC__", Twine(PICLevel)); in InitializePredefinedMacros() 1401 Builder.defineMacro("__pic__", Twine(PICLevel)); in InitializePredefinedMacros() 1403 Builder.defineMacro("__PIE__", Twine(PICLevel)); in InitializePredefinedMacros() 1404 Builder.defineMacro("__pie__", Twine(PICLevel)); in InitializePredefinedMacros()
|
| H A D | ASTUnit.cpp | 544 auto PICLevel = LangOpt.PICLevel; in ReadLanguageOptions() local 549 LangOpt.PICLevel = PICLevel; in ReadLanguageOptions()
|
| H A D | CompilerInvocation.cpp | 1619 if (Opts.DirectAccessExternalData && LangOpts->PICLevel != 0) in GenerateCodeGenArgs() 1621 else if (!Opts.DirectAccessExternalData && LangOpts->PICLevel == 0) in GenerateCodeGenArgs() 1937 LangOpts->PICLevel == 0); in ParseCodeGenArgs() 3756 if (Opts.PICLevel != 0) in GenerateLangArgs() 3757 GenerateArg(Consumer, OPT_pic_level, Twine(Opts.PICLevel)); in GenerateLangArgs() 4069 Opts.PICLevel = getLastArgIntValue(Args, OPT_pic_level, 0, Diags); in ParseLangArgs()
|
| /freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | Flang.cpp | 187 unsigned PICLevel; in addPicOptions() local 189 std::tie(RelocationModel, PICLevel, IsPIE) = in addPicOptions() 196 if (PICLevel > 0) { in addPicOptions() 198 CmdArgs.push_back(PICLevel == 1 ? "1" : "2"); in addPicOptions()
|
| H A D | WebAssembly.cpp | 341 unsigned PICLevel; in addClangTargetOptions() local 343 std::tie(RelocationModel, PICLevel, IsPIE) = in addClangTargetOptions()
|
| H A D | Clang.cpp | 1858 unsigned PICLevel; in AddMIPSTargetArgs() local 1860 std::tie(RelocationModel, PICLevel, IsPIE) = in AddMIPSTargetArgs() 5570 unsigned PICLevel; in ConstructJob() local 5572 std::tie(RelocationModel, PICLevel, IsPIE) = ParsePICArgs(TC, Args); in ConstructJob() 5581 if (!PICLevel) in ConstructJob() 5615 if (PICLevel > 0) { in ConstructJob() 5617 CmdArgs.push_back(PICLevel == 1 ? "1" : "2"); in ConstructJob() 5981 (PICLevel == 0)) in ConstructJob() 5983 } else if (PICLevel == 0 && Triple.isLoongArch()) { in ConstructJob() 8685 unsigned PICLevel; in ConstructJob() local [all …]
|
| H A D | Gnu.cpp | 615 unsigned PICLevel; in ConstructJob() local 622 std::tie(RelocationModel, PICLevel, IsPIE) = in ConstructJob()
|
| H A D | CommonArgs.cpp | 2247 unsigned PICLevel; in AddAssemblerKPIC() local 2249 std::tie(RelocationModel, PICLevel, IsPIE) = ParsePICArgs(ToolChain, Args); in AddAssemblerKPIC()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Module.h | 905 PICLevel::Level getPICLevel() const; 908 void setPICLevel(PICLevel::Level PL);
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCMCInstLower.cpp | 142 M->getPICLevel() == PICLevel::BigPIC && in GetSymbolRef()
|
| H A D | PPCAsmPrinter.cpp | 739 M->getPICLevel() == PICLevel::BigPIC) in emitTlsCall() 818 PICLevel::Level PL = M->getPICLevel(); in emitInstruction() 992 M->getPICLevel() == PICLevel::SmallPIC ? "_GLOBAL_OFFSET_TABLE_" in emitInstruction() 1054 if (PL == PICLevel::SmallPIC && !IsAIX) { in emitInstruction() 1924 if (M.getPICLevel() == PICLevel::SmallPIC) in emitStartOfAsmFile() 1951 MF->getFunction().getParent()->getPICLevel() == PICLevel::SmallPIC)) in emitFunctionEntryLabel()
|
| H A D | PPCISelDAGToDAG.cpp | 478 M->getPICLevel() == PICLevel::SmallPIC) { in INITIALIZE_PASS() 5484 Mod->getPICLevel() == PICLevel::SmallPIC) in Select()
|
| H A D | PPCISelLowering.cpp | 3579 PICLevel::Level picLevel = M->getPICLevel(); in LowerGlobalTLSAddressLinux() 3626 else if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddressLinux() 3651 if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddressLinux() 3677 if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddressLinux()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemProfInstrumentation.cpp | 590 if (F.getParent()->getPICLevel() == PICLevel::NotPIC) in insertDynamicShadowAtFunctionEntry()
|
| /freebsd/contrib/llvm-project/llvm/lib/LTO/ |
| H A D | LTOBackend.cpp | 214 M.getPICLevel() == PICLevel::NotPIC ? Reloc::Static : Reloc::PIC_; in createTargetMachine()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | LangOptions.def | 184 VALUE_LANGOPT(PICLevel , 2, 0, Compatible, "__PIC__ level")
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/ |
| H A D | SparcISelLowering.cpp | 2110 PICLevel::Level picLevel = M->getPICLevel(); in makeAddress() 2113 if (picLevel == PICLevel::SmallPIC) { in makeAddress()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenModule.cpp | 1457 if (uint32_t PLevel = Context.getLangOpts().PICLevel) { in Release() 1459 getModule().setPICLevel(static_cast<llvm::PICLevel::Level>(PLevel)); in Release()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Driver/ |
| H A D | Options.td | 8359 MarshallingInfoInt<LangOpts<"PICLevel">>;
|