| /openbsd-src/gnu/llvm/clang/lib/Driver/ToolChains/ |
| H A D | Flang.cpp | 66 unsigned PICLevel; in addPicOptions() local 68 std::tie(RelocationModel, PICLevel, IsPIE) = in addPicOptions() 75 if (PICLevel > 0) { in addPicOptions() 77 CmdArgs.push_back(PICLevel == 1 ? "1" : "2"); in addPicOptions()
|
| H A D | WebAssembly.cpp | 266 unsigned PICLevel; in addClangTargetOptions() local 268 std::tie(RelocationModel, PICLevel, IsPIE) = in addClangTargetOptions()
|
| H A D | Clang.cpp | 1921 unsigned PICLevel; in AddMIPSTargetArgs() local 1923 std::tie(RelocationModel, PICLevel, IsPIE) = in AddMIPSTargetArgs() 5046 unsigned PICLevel; in ConstructJob() local 5048 std::tie(RelocationModel, PICLevel, IsPIE) = ParsePICArgs(TC, Args); in ConstructJob() 5057 if (!PICLevel) in ConstructJob() 5091 if (PICLevel > 0) { in ConstructJob() 5093 CmdArgs.push_back(PICLevel == 1 ? "1" : "2"); in ConstructJob() 5440 (PICLevel == 0)) in ConstructJob() 8071 unsigned PICLevel; in ConstructJob() local 8073 std::tie(RelocationModel, PICLevel, IsPIE) = in ConstructJob()
|
| H A D | CommonArgs.cpp | 1652 unsigned PICLevel; in AddAssemblerKPIC() local 1654 std::tie(RelocationModel, PICLevel, IsPIE) = ParsePICArgs(ToolChain, Args); in AddAssemblerKPIC()
|
| H A D | Gnu.cpp | 717 unsigned PICLevel; in ConstructJob() local 720 std::tie(RelocationModel, PICLevel, IsPIE) = in ConstructJob()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | CodeGen.h | 34 namespace PICLevel {
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Module.cpp | 588 PICLevel::Level Module::getPICLevel() const { in getPICLevel() 592 return PICLevel::NotPIC; in getPICLevel() 594 return static_cast<PICLevel::Level>( in getPICLevel() 598 void Module::setPICLevel(PICLevel::Level PL) { in setPICLevel()
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 1182 if (unsigned PICLevel = LangOpts.PICLevel) { in InitializePredefinedMacros() local 1183 Builder.defineMacro("__PIC__", Twine(PICLevel)); in InitializePredefinedMacros() 1184 Builder.defineMacro("__pic__", Twine(PICLevel)); in InitializePredefinedMacros() 1186 Builder.defineMacro("__PIE__", Twine(PICLevel)); in InitializePredefinedMacros() 1187 Builder.defineMacro("__pie__", Twine(PICLevel)); in InitializePredefinedMacros()
|
| H A D | CompilerInvocation.cpp | 1362 if (Opts.DirectAccessExternalData && LangOpts->PICLevel != 0) in GenerateCodeGenArgs() 1364 else if (!Opts.DirectAccessExternalData && LangOpts->PICLevel == 0) in GenerateCodeGenArgs() 1644 LangOpts->PICLevel == 0); in ParseCodeGenArgs() 3321 if (Opts.PICLevel != 0) in GenerateLangArgs() 3322 GenerateArg(Args, OPT_pic_level, Twine(Opts.PICLevel), SA); in GenerateLangArgs() 3594 Opts.PICLevel = getLastArgIntValue(Args, OPT_pic_level, 0, Diags); in ParseLangArgs()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | Module.h | 844 PICLevel::Level getPICLevel() const; 847 void setPICLevel(PICLevel::Level PL);
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCMCInstLower.cpp | 120 M->getPICLevel() == PICLevel::BigPIC && in GetSymbolRef()
|
| H A D | PPCAsmPrinter.cpp | 619 M->getPICLevel() == PICLevel::BigPIC) in EmitTlsCall() 662 PICLevel::Level PL = M->getPICLevel(); in emitInstruction() 792 M->getPICLevel() == PICLevel::SmallPIC ? "_GLOBAL_OFFSET_TABLE_" in emitInstruction() 872 StringRef GOTName = (PL == PICLevel::SmallPIC ? in emitInstruction() 933 if (PL == PICLevel::SmallPIC && !IsAIX) { in emitInstruction() 1661 if (M.getPICLevel() == PICLevel::SmallPIC) in emitStartOfAsmFile() 1688 MF->getFunction().getParent()->getPICLevel() == PICLevel::SmallPIC)) in emitFunctionEntryLabel()
|
| H A D | PPCISelDAGToDAG.cpp | 469 M->getPICLevel() == PICLevel::SmallPIC) { in INITIALIZE_PASS() 5290 Mod->getPICLevel() == PICLevel::SmallPIC) in Select()
|
| H A D | PPCISelLowering.cpp | 3350 PICLevel::Level picLevel = M->getPICLevel(); in LowerGlobalTLSAddressLinux() 3398 else if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddressLinux() 3423 if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddressLinux() 3449 if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddressLinux()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemProfiler.cpp | 539 if (F.getParent()->getPICLevel() == PICLevel::NotPIC) in insertDynamicShadowAtFunctionEntry()
|
| /openbsd-src/gnu/llvm/llvm/lib/LTO/ |
| H A D | LTOBackend.cpp | 216 M.getPICLevel() == PICLevel::NotPIC ? Reloc::Static : Reloc::PIC_; in createTargetMachine()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | LangOptions.def | 202 COMPATIBLE_VALUE_LANGOPT(PICLevel , 2, 0, "__PIC__ level")
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Sparc/ |
| H A D | SparcISelLowering.cpp | 2103 PICLevel::Level picLevel = M->getPICLevel(); in makeAddress() 2106 if (picLevel == PICLevel::SmallPIC) { in makeAddress()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CodeGenModule.cpp | 878 if (uint32_t PLevel = Context.getLangOpts().PICLevel) { in Release() 880 getModule().setPICLevel(static_cast<llvm::PICLevel::Level>(PLevel)); in Release()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Driver/ |
| H A D | Options.td | 6168 MarshallingInfoInt<LangOpts<"PICLevel">>;
|