| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Module.cpp | 490 PICLevel::Level Module::getPICLevel() const { in getPICLevel() 494 return PICLevel::NotPIC; in getPICLevel() 496 return static_cast<PICLevel::Level>( in getPICLevel() 500 void Module::setPICLevel(PICLevel::Level PL) { in setPICLevel()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | CodeGen.h | 31 namespace PICLevel {
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 968 if (unsigned PICLevel = LangOpts.PICLevel) { in InitializePredefinedMacros() local 969 Builder.defineMacro("__PIC__", Twine(PICLevel)); in InitializePredefinedMacros() 970 Builder.defineMacro("__pic__", Twine(PICLevel)); in InitializePredefinedMacros() 972 Builder.defineMacro("__PIE__", Twine(PICLevel)); in InitializePredefinedMacros() 973 Builder.defineMacro("__pie__", Twine(PICLevel)); in InitializePredefinedMacros()
|
| H A D | CompilerInvocation.cpp | 2670 Opts.PICLevel = getLastArgIntValue(Args, OPT_pic_level, 0, Diags); in ParseLangArgs() 3288 LangOpts.PICLevel = getLastArgIntValue(Args, OPT_pic_level, 0, Diags); in CreateFromArgs()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | Module.h | 837 PICLevel::Level getPICLevel() const; 840 void setPICLevel(PICLevel::Level PL);
|
| /freebsd-12.1/contrib/llvm/lib/Target/PowerPC/ |
| H A D | PPCAsmPrinter.cpp | 497 PICLevel::Level PL = M->getPICLevel(); in EmitInstruction() 657 if (PL == PICLevel::SmallPIC) { in EmitInstruction() 1244 if (M.getPICLevel() == PICLevel::SmallPIC) in EmitStartOfAsmFile() 1271 MF->getFunction().getParent()->getPICLevel() == PICLevel::SmallPIC)) in EmitFunctionEntryLabel()
|
| H A D | PPCISelDAGToDAG.cpp | 415 if (M->getPICLevel() == PICLevel::SmallPIC) { in getGlobalBaseReg() 4363 !PPCSubTarget->isTargetELF() || M->getPICLevel() == PICLevel::SmallPIC) in Select()
|
| H A D | PPCISelLowering.cpp | 2746 PICLevel::Level picLevel = M->getPICLevel(); in LowerGlobalTLSAddress() 2788 if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddress() 2806 if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddress()
|
| /freebsd-12.1/contrib/llvm/lib/LTO/ |
| H A D | LTOBackend.cpp | 139 M.getPICLevel() == PICLevel::NotPIC ? Reloc::Static : Reloc::PIC_; in createTargetMachine()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Driver/ToolChains/ |
| H A D | CommonArgs.cpp | 1121 unsigned PICLevel; in AddAssemblerKPIC() local 1123 std::tie(RelocationModel, PICLevel, IsPIE) = ParsePICArgs(ToolChain, Args); in AddAssemblerKPIC()
|
| H A D | Clang.cpp | 1657 unsigned PICLevel; in AddMIPSTargetArgs() local 1659 std::tie(RelocationModel, PICLevel, IsPIE) = in AddMIPSTargetArgs() 3784 unsigned PICLevel; in ConstructJob() local 3786 std::tie(RelocationModel, PICLevel, IsPIE) = ParsePICArgs(TC, Args); in ConstructJob() 3800 if (PICLevel > 0) { in ConstructJob() 3802 CmdArgs.push_back(PICLevel == 1 ? "1" : "2"); in ConstructJob() 5969 unsigned PICLevel; in ConstructJob() local 5971 std::tie(RelocationModel, PICLevel, IsPIE) = in ConstructJob()
|
| H A D | Gnu.cpp | 581 unsigned PICLevel; in ConstructJob() local 583 std::tie(RelocationModel, PICLevel, IsPIE) = in ConstructJob()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/ |
| H A D | LangOptions.def | 172 COMPATIBLE_VALUE_LANGOPT(PICLevel , 2, 0, "__PIC__ level")
|
| /freebsd-12.1/contrib/llvm/lib/Target/Sparc/ |
| H A D | SparcISelLowering.cpp | 1948 PICLevel::Level picLevel = M->getPICLevel(); in makeAddress() 1951 if (picLevel == PICLevel::SmallPIC) { in makeAddress()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CodeGenModule.cpp | 555 if (uint32_t PLevel = Context.getLangOpts().PICLevel) { in Release() 557 getModule().setPICLevel(static_cast<llvm::PICLevel::Level>(PLevel)); in Release()
|