Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
HDModule.cpp504 PICLevel::Level Module::getPICLevel() const { in getPICLevel()
508 return PICLevel::NotPIC; in getPICLevel()
510 return static_cast<PICLevel::Level>( in getPICLevel()
514 void Module::setPICLevel(PICLevel::Level PL) { in setPICLevel()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
HDCodeGen.h31 namespace PICLevel {
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
HDInitPreprocessor.cpp1001 if (unsigned PICLevel = LangOpts.PICLevel) { in InitializePredefinedMacros() local
1002 Builder.defineMacro("__PIC__", Twine(PICLevel)); in InitializePredefinedMacros()
1003 Builder.defineMacro("__pic__", Twine(PICLevel)); in InitializePredefinedMacros()
1005 Builder.defineMacro("__PIE__", Twine(PICLevel)); in InitializePredefinedMacros()
1006 Builder.defineMacro("__pie__", Twine(PICLevel)); in InitializePredefinedMacros()
HDCompilerInvocation.cpp2901 Opts.PICLevel = getLastArgIntValue(Args, OPT_pic_level, 0, Diags); in ParseLangArgs()
3575 LangOpts.PICLevel = getLastArgIntValue(Args, OPT_pic_level, 0, Diags); in CreateFromArgs()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
HDModule.h810 PICLevel::Level getPICLevel() const;
813 void setPICLevel(PICLevel::Level PL);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
HDPPCAsmPrinter.cpp506 M->getPICLevel() == PICLevel::BigPIC) in EmitTlsCall()
546 PICLevel::Level PL = M->getPICLevel(); in EmitInstruction()
635 M->getPICLevel() == PICLevel::SmallPIC ? "_GLOBAL_OFFSET_TABLE_" in EmitInstruction()
699 if (PL == PICLevel::SmallPIC && !IsAIX) { in EmitInstruction()
1339 if (M.getPICLevel() == PICLevel::SmallPIC) in EmitStartOfAsmFile()
1366 MF->getFunction().getParent()->getPICLevel() == PICLevel::SmallPIC)) in EmitFunctionEntryLabel()
HDPPCMCInstLower.cpp119 M->getPICLevel() == PICLevel::BigPIC && in GetSymbolRef()
HDPPCISelDAGToDAG.cpp443 M->getPICLevel() == PICLevel::SmallPIC) { in getGlobalBaseReg()
4555 Mod->getPICLevel() == PICLevel::SmallPIC) in Select()
HDPPCISelLowering.cpp2915 PICLevel::Level picLevel = M->getPICLevel(); in LowerGlobalTLSAddress()
2945 else if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddress()
2964 if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddress()
2982 if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddress()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/
HDCommonArgs.cpp1148 unsigned PICLevel; in AddAssemblerKPIC() local
1150 std::tie(RelocationModel, PICLevel, IsPIE) = ParsePICArgs(ToolChain, Args); in AddAssemblerKPIC()
HDClang.cpp1824 unsigned PICLevel; in AddMIPSTargetArgs() local
1826 std::tie(RelocationModel, PICLevel, IsPIE) = in AddMIPSTargetArgs()
4328 unsigned PICLevel; in ConstructJob() local
4330 std::tie(RelocationModel, PICLevel, IsPIE) = ParsePICArgs(TC, Args); in ConstructJob()
4344 if (PICLevel > 0) { in ConstructJob()
4346 CmdArgs.push_back(PICLevel == 1 ? "1" : "2"); in ConstructJob()
6698 unsigned PICLevel; in ConstructJob() local
6700 std::tie(RelocationModel, PICLevel, IsPIE) = in ConstructJob()
HDGnu.cpp649 unsigned PICLevel; in ConstructJob() local
651 std::tie(RelocationModel, PICLevel, IsPIE) = in ConstructJob()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/LTO/
HDLTOBackend.cpp143 M.getPICLevel() == PICLevel::NotPIC ? Reloc::Static : Reloc::PIC_; in createTargetMachine()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
HDLangOptions.def180 COMPATIBLE_VALUE_LANGOPT(PICLevel , 2, 0, "__PIC__ level")
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Sparc/
HDSparcISelLowering.cpp1948 PICLevel::Level picLevel = M->getPICLevel(); in makeAddress()
1951 if (picLevel == PICLevel::SmallPIC) { in makeAddress()
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
HDCodeGenModule.cpp601 if (uint32_t PLevel = Context.getLangOpts().PICLevel) { in Release()
603 getModule().setPICLevel(static_cast<llvm::PICLevel::Level>(PLevel)); in Release()