Home
last modified time | relevance | path

Searched refs:PICLevel (Results 1 – 20 of 20) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DModule.cpp574 PICLevel::Level Module::getPICLevel() const { in getPICLevel()
578 return PICLevel::NotPIC; in getPICLevel()
580 return static_cast<PICLevel::Level>( in getPICLevel()
584 void Module::setPICLevel(PICLevel::Level PL) { in setPICLevel()
683 return getPICLevel() == PICLevel::NotPIC; in getDirectAccessExternalData()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DCodeGen.h34 namespace PICLevel {
/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DFlang.cpp160 unsigned PICLevel; in addPicOptions() local
162 std::tie(RelocationModel, PICLevel, IsPIE) = in addPicOptions()
169 if (PICLevel > 0) { in addPicOptions()
171 CmdArgs.push_back(PICLevel == 1 ? "1" : "2"); in addPicOptions()
H A DWebAssembly.cpp313 unsigned PICLevel; in addClangTargetOptions() local
315 std::tie(RelocationModel, PICLevel, IsPIE) = in addClangTargetOptions()
H A DClang.cpp1871 unsigned PICLevel; in AddMIPSTargetArgs() local
1873 std::tie(RelocationModel, PICLevel, IsPIE) = in AddMIPSTargetArgs()
5300 unsigned PICLevel; in ConstructJob() local
5302 std::tie(RelocationModel, PICLevel, IsPIE) = ParsePICArgs(TC, Args); in ConstructJob()
5311 if (!PICLevel) in ConstructJob()
5345 if (PICLevel > 0) { in ConstructJob()
5347 CmdArgs.push_back(PICLevel == 1 ? "1" : "2"); in ConstructJob()
5685 (PICLevel == 0)) in ConstructJob()
5687 } else if (PICLevel == 0 && Triple.isLoongArch()) { in ConstructJob()
8374 unsigned PICLevel; in ConstructJob() local
[all …]
H A DCommonArgs.cpp2100 unsigned PICLevel; in AddAssemblerKPIC() local
2102 std::tie(RelocationModel, PICLevel, IsPIE) = ParsePICArgs(ToolChain, Args); in AddAssemblerKPIC()
H A DGnu.cpp692 unsigned PICLevel; in ConstructJob() local
699 std::tie(RelocationModel, PICLevel, IsPIE) = in ConstructJob()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp1231 if (unsigned PICLevel = LangOpts.PICLevel) { in InitializePredefinedMacros() local
1232 Builder.defineMacro("__PIC__", Twine(PICLevel)); in InitializePredefinedMacros()
1233 Builder.defineMacro("__pic__", Twine(PICLevel)); in InitializePredefinedMacros()
1235 Builder.defineMacro("__PIE__", Twine(PICLevel)); in InitializePredefinedMacros()
1236 Builder.defineMacro("__pie__", Twine(PICLevel)); in InitializePredefinedMacros()
H A DCompilerInvocation.cpp1476 if (Opts.DirectAccessExternalData && LangOpts->PICLevel != 0) in GenerateCodeGenArgs()
1478 else if (!Opts.DirectAccessExternalData && LangOpts->PICLevel == 0) in GenerateCodeGenArgs()
1750 LangOpts->PICLevel == 0); in ParseCodeGenArgs()
3380 if (Opts.PICLevel != 0) in GenerateLangArgs()
3381 GenerateArg(Consumer, OPT_pic_level, Twine(Opts.PICLevel)); in GenerateLangArgs()
3671 Opts.PICLevel = getLastArgIntValue(Args, OPT_pic_level, 0, Diags); in ParseLangArgs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMCInstLower.cpp131 M->getPICLevel() == PICLevel::BigPIC && in GetSymbolRef()
H A DPPCAsmPrinter.cpp686 M->getPICLevel() == PICLevel::BigPIC) in EmitTlsCall()
757 PICLevel::Level PL = M->getPICLevel(); in emitInstruction()
902 M->getPICLevel() == PICLevel::SmallPIC ? "_GLOBAL_OFFSET_TABLE_" in emitInstruction()
964 if (PL == PICLevel::SmallPIC && !IsAIX) { in emitInstruction()
1720 if (M.getPICLevel() == PICLevel::SmallPIC) in emitStartOfAsmFile()
1747 MF->getFunction().getParent()->getPICLevel() == PICLevel::SmallPIC)) in emitFunctionEntryLabel()
H A DPPCISelDAGToDAG.cpp472 M->getPICLevel() == PICLevel::SmallPIC) { in INITIALIZE_PASS()
5482 Mod->getPICLevel() == PICLevel::SmallPIC) in Select()
H A DPPCISelLowering.cpp3450 PICLevel::Level picLevel = M->getPICLevel(); in LowerGlobalTLSAddressLinux()
3497 else if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddressLinux()
3522 if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddressLinux()
3548 if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddressLinux()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DModule.h918 PICLevel::Level getPICLevel() const;
921 void setPICLevel(PICLevel::Level PL);
/freebsd-14.2/contrib/llvm-project/llvm/lib/LTO/
H A DLTOBackend.cpp217 M.getPICLevel() == PICLevel::NotPIC ? Reloc::Static : Reloc::PIC_; in createTargetMachine()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemProfiler.cpp552 if (F.getParent()->getPICLevel() == PICLevel::NotPIC) in insertDynamicShadowAtFunctionEntry()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DLangOptions.def205 COMPATIBLE_VALUE_LANGOPT(PICLevel , 2, 0, "__PIC__ level")
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp2149 PICLevel::Level picLevel = M->getPICLevel(); in makeAddress()
2152 if (picLevel == PICLevel::SmallPIC) { in makeAddress()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp1227 if (uint32_t PLevel = Context.getLangOpts().PICLevel) { in Release()
1229 getModule().setPICLevel(static_cast<llvm::PICLevel::Level>(PLevel)); in Release()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td7503 MarshallingInfoInt<LangOpts<"PICLevel">>;