Searched refs:PICLevel (Results 1 - 15 of 15) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DCodeGen.h31 namespace PICLevel { namespace in namespace:llvm
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DModule.cpp504 PICLevel::Level Module::getPICLevel() const {
508 return PICLevel::NotPIC;
510 return static_cast<PICLevel::Level>(
514 void Module::setPICLevel(PICLevel::Level PL) {
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp1001 if (unsigned PICLevel = LangOpts.PICLevel) {
1002 Builder.defineMacro("__PIC__", Twine(PICLevel));
1003 Builder.defineMacro("__pic__", Twine(PICLevel));
1005 Builder.defineMacro("__PIE__", Twine(PICLevel));
1006 Builder.defineMacro("__pie__", Twine(PICLevel));
H A DCompilerInvocation.cpp2901 Opts.PICLevel = getLastArgIntValue(Args, OPT_pic_level, 0, Diags);
3575 LangOpts.PICLevel = getLastArgIntValue(Args, OPT_pic_level, 0, Diags);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMCInstLower.cpp119 M->getPICLevel() == PICLevel::BigPIC &&
H A DPPCAsmPrinter.cpp506 M->getPICLevel() == PICLevel::BigPIC)
546 PICLevel::Level PL = M->getPICLevel();
635 M->getPICLevel() == PICLevel::SmallPIC ? "_GLOBAL_OFFSET_TABLE_"
699 if (PL == PICLevel::SmallPIC && !IsAIX) {
1339 if (M.getPICLevel() == PICLevel::SmallPIC)
1366 MF->getFunction().getParent()->getPICLevel() == PICLevel::SmallPIC))
H A DPPCISelDAGToDAG.cpp443 M->getPICLevel() == PICLevel::SmallPIC) {
4555 Mod->getPICLevel() == PICLevel::SmallPIC)
H A DPPCISelLowering.cpp2915 PICLevel::Level picLevel = M->getPICLevel();
2945 else if (picLevel == PICLevel::SmallPIC)
2964 if (picLevel == PICLevel::SmallPIC)
2982 if (picLevel == PICLevel::SmallPIC)
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DModule.h810 PICLevel::Level getPICLevel() const;
813 void setPICLevel(PICLevel::Level PL);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/LTO/
H A DLTOBackend.cpp143 M.getPICLevel() == PICLevel::NotPIC ? Reloc::Static : Reloc::PIC_;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DCommonArgs.cpp886 /// (RelocationModel, PICLevel, IsPIE).
1148 unsigned PICLevel; local
1150 std::tie(RelocationModel, PICLevel, IsPIE) = ParsePICArgs(ToolChain, Args);
H A DClang.cpp1824 unsigned PICLevel; local
1826 std::tie(RelocationModel, PICLevel, IsPIE) =
4328 unsigned PICLevel; local
4330 std::tie(RelocationModel, PICLevel, IsPIE) = ParsePICArgs(TC, Args);
4344 if (PICLevel > 0) {
4346 CmdArgs.push_back(PICLevel == 1 ? "1" : "2");
6698 unsigned PICLevel; local
6700 std::tie(RelocationModel, PICLevel, IsPIE) =
H A DGnu.cpp649 unsigned PICLevel; local
651 std::tie(RelocationModel, PICLevel, IsPIE) =
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp1948 PICLevel::Level picLevel = M->getPICLevel();
1951 if (picLevel == PICLevel::SmallPIC) {
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp601 if (uint32_t PLevel = Context.getLangOpts().PICLevel) {
603 getModule().setPICLevel(static_cast<llvm::PICLevel::Level>(PLevel));

Completed in 305 milliseconds