Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/IR/
H A DModule.cpp490 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 DCodeGen.h31 namespace PICLevel {
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DInitPreprocessor.cpp968 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 DCompilerInvocation.cpp2670 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 DModule.h837 PICLevel::Level getPICLevel() const;
840 void setPICLevel(PICLevel::Level PL);
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp497 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 DPPCISelDAGToDAG.cpp415 if (M->getPICLevel() == PICLevel::SmallPIC) { in getGlobalBaseReg()
4363 !PPCSubTarget->isTargetELF() || M->getPICLevel() == PICLevel::SmallPIC) in Select()
H A DPPCISelLowering.cpp2746 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 DLTOBackend.cpp139 M.getPICLevel() == PICLevel::NotPIC ? Reloc::Static : Reloc::PIC_; in createTargetMachine()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Driver/ToolChains/
H A DCommonArgs.cpp1121 unsigned PICLevel; in AddAssemblerKPIC() local
1123 std::tie(RelocationModel, PICLevel, IsPIE) = ParsePICArgs(ToolChain, Args); in AddAssemblerKPIC()
H A DClang.cpp1657 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 DGnu.cpp581 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 DLangOptions.def172 COMPATIBLE_VALUE_LANGOPT(PICLevel , 2, 0, "__PIC__ level")
/freebsd-12.1/contrib/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp1948 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 DCodeGenModule.cpp555 if (uint32_t PLevel = Context.getLangOpts().PICLevel) { in Release()
557 getModule().setPICLevel(static_cast<llvm::PICLevel::Level>(PLevel)); in Release()