| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | CodeGen.h | 31 namespace PICLevel {
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 1070 if (unsigned PICLevel = LangOpts.PICLevel) { in InitializePredefinedMacros() local 1071 Builder.defineMacro("__PIC__", Twine(PICLevel)); in InitializePredefinedMacros() 1072 Builder.defineMacro("__pic__", Twine(PICLevel)); in InitializePredefinedMacros() 1074 Builder.defineMacro("__PIE__", Twine(PICLevel)); in InitializePredefinedMacros() 1075 Builder.defineMacro("__pie__", Twine(PICLevel)); in InitializePredefinedMacros()
|
| H A D | CompilerInvocation.cpp | 1337 if (Opts.DirectAccessExternalData && LangOpts->PICLevel != 0) in GenerateCodeGenArgs() 1339 else if (!Opts.DirectAccessExternalData && LangOpts->PICLevel == 0) in GenerateCodeGenArgs() 1607 LangOpts->PICLevel == 0); in ParseCodeGenArgs() 3300 if (Opts.PICLevel != 0) in GenerateLangArgs() 3301 GenerateArg(Args, OPT_pic_level, Twine(Opts.PICLevel), SA); in GenerateLangArgs() 3551 Opts.PICLevel = getLastArgIntValue(Args, OPT_pic_level, 0, Diags); in ParseLangArgs()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Module.cpp | 591 PICLevel::Level Module::getPICLevel() const { in getPICLevel() 595 return PICLevel::NotPIC; in getPICLevel() 597 return static_cast<PICLevel::Level>( in getPICLevel() 601 void Module::setPICLevel(PICLevel::Level PL) { in setPICLevel()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | WebAssembly.cpp | 262 unsigned PICLevel; in addClangTargetOptions() local 264 std::tie(RelocationModel, PICLevel, IsPIE) = in addClangTargetOptions()
|
| H A D | Clang.cpp | 1906 unsigned PICLevel; in AddMIPSTargetArgs() local 1908 std::tie(RelocationModel, PICLevel, IsPIE) = in AddMIPSTargetArgs() 4726 unsigned PICLevel; in ConstructJob() local 4728 std::tie(RelocationModel, PICLevel, IsPIE) = ParsePICArgs(TC, Args); in ConstructJob() 4752 if (PICLevel > 0) { in ConstructJob() 4754 CmdArgs.push_back(PICLevel == 1 ? "1" : "2"); in ConstructJob() 5087 (PICLevel == 0)) in ConstructJob() 7494 unsigned PICLevel; in ConstructJob() local 7496 std::tie(RelocationModel, PICLevel, IsPIE) = in ConstructJob()
|
| H A D | CommonArgs.cpp | 1373 unsigned PICLevel; in AddAssemblerKPIC() local 1375 std::tie(RelocationModel, PICLevel, IsPIE) = ParsePICArgs(ToolChain, Args); in AddAssemblerKPIC()
|
| H A D | Gnu.cpp | 694 unsigned PICLevel; in ConstructJob() local 697 std::tie(RelocationModel, PICLevel, IsPIE) = in ConstructJob()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Module.h | 841 PICLevel::Level getPICLevel() const; 844 void setPICLevel(PICLevel::Level PL);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCMCInstLower.cpp | 120 M->getPICLevel() == PICLevel::BigPIC && in GetSymbolRef()
|
| H A D | PPCAsmPrinter.cpp | 602 M->getPICLevel() == PICLevel::BigPIC) in EmitTlsCall() 642 PICLevel::Level PL = M->getPICLevel(); in emitInstruction() 772 M->getPICLevel() == PICLevel::SmallPIC ? "_GLOBAL_OFFSET_TABLE_" in emitInstruction() 834 if (PL == PICLevel::SmallPIC && !IsAIX) { in emitInstruction() 1541 if (M.getPICLevel() == PICLevel::SmallPIC) in emitStartOfAsmFile() 1568 MF->getFunction().getParent()->getPICLevel() == PICLevel::SmallPIC)) in emitFunctionEntryLabel()
|
| H A D | PPCISelDAGToDAG.cpp | 444 M->getPICLevel() == PICLevel::SmallPIC) { in getGlobalBaseReg() 5049 Mod->getPICLevel() == PICLevel::SmallPIC) in Select()
|
| H A D | PPCISelLowering.cpp | 3285 PICLevel::Level picLevel = M->getPICLevel(); in LowerGlobalTLSAddressLinux() 3333 else if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddressLinux() 3358 if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddressLinux() 3384 if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddressLinux()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemProfiler.cpp | 579 if (F.getParent()->getPICLevel() == PICLevel::NotPIC) in insertDynamicShadowAtFunctionEntry()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/LTO/ |
| H A D | LTOBackend.cpp | 193 M.getPICLevel() == PICLevel::NotPIC ? Reloc::Static : Reloc::PIC_; in createTargetMachine()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | LangOptions.def | 192 COMPATIBLE_VALUE_LANGOPT(PICLevel , 2, 0, "__PIC__ level")
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Sparc/ |
| H A D | SparcISelLowering.cpp | 1957 PICLevel::Level picLevel = M->getPICLevel(); in makeAddress() 1960 if (picLevel == PICLevel::SmallPIC) { in makeAddress()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenModule.cpp | 748 if (uint32_t PLevel = Context.getLangOpts().PICLevel) { in Release() 750 getModule().setPICLevel(static_cast<llvm::PICLevel::Level>(PLevel)); in Release()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Driver/ |
| H A D | Options.td | 5524 MarshallingInfoInt<LangOpts<"PICLevel">>;
|