| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | CodeGen.h | 31 namespace PICLevel {
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 1169 if (unsigned PICLevel = LangOpts.PICLevel) { in InitializePredefinedMacros() local 1170 Builder.defineMacro("__PIC__", Twine(PICLevel)); in InitializePredefinedMacros() 1171 Builder.defineMacro("__pic__", Twine(PICLevel)); in InitializePredefinedMacros() 1173 Builder.defineMacro("__PIE__", Twine(PICLevel)); in InitializePredefinedMacros() 1174 Builder.defineMacro("__pie__", Twine(PICLevel)); in InitializePredefinedMacros()
|
| H A D | CompilerInvocation.cpp | 1350 if (Opts.DirectAccessExternalData && LangOpts->PICLevel != 0) in GenerateCodeGenArgs() 1352 else if (!Opts.DirectAccessExternalData && LangOpts->PICLevel == 0) in GenerateCodeGenArgs() 1636 LangOpts->PICLevel == 0); in ParseCodeGenArgs() 3303 if (Opts.PICLevel != 0) in GenerateLangArgs() 3304 GenerateArg(Args, OPT_pic_level, Twine(Opts.PICLevel), SA); in GenerateLangArgs() 3577 Opts.PICLevel = getLastArgIntValue(Args, OPT_pic_level, 0, Diags); in ParseLangArgs()
|
| /llvm-project-15.0.7/clang/lib/Driver/ToolChains/ |
| H A D | WebAssembly.cpp | 266 unsigned PICLevel; in addClangTargetOptions() local 268 std::tie(RelocationModel, PICLevel, IsPIE) = in addClangTargetOptions()
|
| H A D | Clang.cpp | 2006 unsigned PICLevel; in AddMIPSTargetArgs() local 2008 std::tie(RelocationModel, PICLevel, IsPIE) = in AddMIPSTargetArgs() 5012 unsigned PICLevel; in ConstructJob() local 5014 std::tie(RelocationModel, PICLevel, IsPIE) = ParsePICArgs(TC, Args); in ConstructJob() 5038 if (PICLevel > 0) { in ConstructJob() 5040 CmdArgs.push_back(PICLevel == 1 ? "1" : "2"); in ConstructJob() 5365 (PICLevel == 0)) in ConstructJob() 7972 unsigned PICLevel; in ConstructJob() local 7974 std::tie(RelocationModel, PICLevel, IsPIE) = in ConstructJob()
|
| H A D | CommonArgs.cpp | 1464 unsigned PICLevel; in AddAssemblerKPIC() local 1466 std::tie(RelocationModel, PICLevel, IsPIE) = ParsePICArgs(ToolChain, Args); in AddAssemblerKPIC()
|
| H A D | Gnu.cpp | 718 unsigned PICLevel; in ConstructJob() local 721 std::tie(RelocationModel, PICLevel, IsPIE) = in ConstructJob()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Module.h | 844 PICLevel::Level getPICLevel() const; 847 void setPICLevel(PICLevel::Level PL);
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCMCInstLower.cpp | 120 M->getPICLevel() == PICLevel::BigPIC && in GetSymbolRef()
|
| H A D | PPCAsmPrinter.cpp | 626 M->getPICLevel() == PICLevel::BigPIC) in EmitTlsCall() 669 PICLevel::Level PL = M->getPICLevel(); in emitInstruction() 799 M->getPICLevel() == PICLevel::SmallPIC ? "_GLOBAL_OFFSET_TABLE_" in emitInstruction() 861 if (PL == PICLevel::SmallPIC && !IsAIX) { in emitInstruction() 1591 if (M.getPICLevel() == PICLevel::SmallPIC) in emitStartOfAsmFile() 1618 MF->getFunction().getParent()->getPICLevel() == PICLevel::SmallPIC)) in emitFunctionEntryLabel()
|
| H A D | PPCISelDAGToDAG.cpp | 460 M->getPICLevel() == PICLevel::SmallPIC) { in getGlobalBaseReg() 5187 Mod->getPICLevel() == PICLevel::SmallPIC) in Select()
|
| H A D | PPCISelLowering.cpp | 3337 PICLevel::Level picLevel = M->getPICLevel(); in LowerGlobalTLSAddressLinux() 3385 else if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddressLinux() 3410 if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddressLinux() 3436 if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddressLinux()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemProfiler.cpp | 597 if (F.getParent()->getPICLevel() == PICLevel::NotPIC) in insertDynamicShadowAtFunctionEntry()
|
| /llvm-project-15.0.7/llvm/lib/LTO/ |
| H A D | LTOBackend.cpp | 215 M.getPICLevel() == PICLevel::NotPIC ? Reloc::Static : Reloc::PIC_; in createTargetMachine()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | LangOptions.def | 199 COMPATIBLE_VALUE_LANGOPT(PICLevel , 2, 0, "__PIC__ level")
|
| /llvm-project-15.0.7/llvm/lib/Target/Sparc/ |
| H A D | SparcISelLowering.cpp | 2057 PICLevel::Level picLevel = M->getPICLevel(); in makeAddress() 2060 if (picLevel == PICLevel::SmallPIC) { in makeAddress()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenModule.cpp | 865 if (uint32_t PLevel = Context.getLangOpts().PICLevel) { in Release() 867 getModule().setPICLevel(static_cast<llvm::PICLevel::Level>(PLevel)); in Release()
|
| /llvm-project-15.0.7/clang/include/clang/Driver/ |
| H A D | Options.td | 6017 MarshallingInfoInt<LangOpts<"PICLevel">>;
|