Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DCodeGen.h31 namespace PICLevel {
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DModule.cpp587 PICLevel::Level Module::getPICLevel() const { in getPICLevel()
591 return PICLevel::NotPIC; in getPICLevel()
593 return static_cast<PICLevel::Level>( in getPICLevel()
597 void Module::setPICLevel(PICLevel::Level PL) { in setPICLevel()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DInitPreprocessor.cpp1068 if (unsigned PICLevel = LangOpts.PICLevel) { in InitializePredefinedMacros() local
1069 Builder.defineMacro("__PIC__", Twine(PICLevel)); in InitializePredefinedMacros()
1070 Builder.defineMacro("__pic__", Twine(PICLevel)); in InitializePredefinedMacros()
1072 Builder.defineMacro("__PIE__", Twine(PICLevel)); in InitializePredefinedMacros()
1073 Builder.defineMacro("__pie__", Twine(PICLevel)); in InitializePredefinedMacros()
H A DCompilerInvocation.cpp1337 if (Opts.DirectAccessExternalData && LangOpts->PICLevel != 0) in GenerateCodeGenArgs()
1339 else if (!Opts.DirectAccessExternalData && LangOpts->PICLevel == 0) in GenerateCodeGenArgs()
1610 LangOpts->PICLevel == 0); in ParseCodeGenArgs()
3303 if (Opts.PICLevel != 0) in GenerateLangArgs()
3304 GenerateArg(Args, OPT_pic_level, Twine(Opts.PICLevel), SA); in GenerateLangArgs()
3549 Opts.PICLevel = getLastArgIntValue(Args, OPT_pic_level, 0, Diags); in ParseLangArgs()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/
H A DWebAssembly.cpp262 unsigned PICLevel; in addClangTargetOptions() local
264 std::tie(RelocationModel, PICLevel, IsPIE) = in addClangTargetOptions()
H A DClang.cpp1899 unsigned PICLevel; in AddMIPSTargetArgs() local
1901 std::tie(RelocationModel, PICLevel, IsPIE) = in AddMIPSTargetArgs()
4709 unsigned PICLevel; in ConstructJob() local
4711 std::tie(RelocationModel, PICLevel, IsPIE) = ParsePICArgs(TC, Args); in ConstructJob()
4735 if (PICLevel > 0) { in ConstructJob()
4737 CmdArgs.push_back(PICLevel == 1 ? "1" : "2"); in ConstructJob()
5053 (PICLevel == 0)) in ConstructJob()
7439 unsigned PICLevel; in ConstructJob() local
7441 std::tie(RelocationModel, PICLevel, IsPIE) = in ConstructJob()
H A DCommonArgs.cpp1375 unsigned PICLevel; in AddAssemblerKPIC() local
1377 std::tie(RelocationModel, PICLevel, IsPIE) = ParsePICArgs(ToolChain, Args); in AddAssemblerKPIC()
H A DGnu.cpp694 unsigned PICLevel; in ConstructJob() local
697 std::tie(RelocationModel, PICLevel, IsPIE) = in ConstructJob()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DModule.h838 PICLevel::Level getPICLevel() const;
841 void setPICLevel(PICLevel::Level PL);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCMCInstLower.cpp120 M->getPICLevel() == PICLevel::BigPIC && in GetSymbolRef()
H A DPPCAsmPrinter.cpp590 M->getPICLevel() == PICLevel::BigPIC) in EmitTlsCall()
630 PICLevel::Level PL = M->getPICLevel(); in emitInstruction()
760 M->getPICLevel() == PICLevel::SmallPIC ? "_GLOBAL_OFFSET_TABLE_" in emitInstruction()
822 if (PL == PICLevel::SmallPIC && !IsAIX) { in emitInstruction()
1511 if (M.getPICLevel() == PICLevel::SmallPIC) in emitStartOfAsmFile()
1538 MF->getFunction().getParent()->getPICLevel() == PICLevel::SmallPIC)) in emitFunctionEntryLabel()
H A DPPCISelDAGToDAG.cpp444 M->getPICLevel() == PICLevel::SmallPIC) { in getGlobalBaseReg()
5041 Mod->getPICLevel() == PICLevel::SmallPIC) in Select()
H A DPPCISelLowering.cpp3276 PICLevel::Level picLevel = M->getPICLevel(); in LowerGlobalTLSAddressLinux()
3324 else if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddressLinux()
3349 if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddressLinux()
3375 if (picLevel == PICLevel::SmallPIC) in LowerGlobalTLSAddressLinux()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DMemProfiler.cpp579 if (F.getParent()->getPICLevel() == PICLevel::NotPIC) in insertDynamicShadowAtFunctionEntry()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/LTO/
H A DLTOBackend.cpp193 M.getPICLevel() == PICLevel::NotPIC ? Reloc::Static : Reloc::PIC_; in createTargetMachine()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DLangOptions.def190 COMPATIBLE_VALUE_LANGOPT(PICLevel , 2, 0, "__PIC__ level")
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp1954 PICLevel::Level picLevel = M->getPICLevel(); in makeAddress()
1957 if (picLevel == PICLevel::SmallPIC) { in makeAddress()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenModule.cpp725 if (uint32_t PLevel = Context.getLangOpts().PICLevel) { in Release()
727 getModule().setPICLevel(static_cast<llvm::PICLevel::Level>(PLevel)); in Release()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Driver/
H A DOptions.td5460 MarshallingInfoInt<LangOpts<"PICLevel">>;