Lines Matching defs:Static
55 static void handleTargetFeaturesGroup(const ArgList &Args,
73 static const char *getSparcAsmModeForCPU(StringRef Name,
113 static void CheckPreprocessingOptions(const Driver &D, const ArgList &Args) {
126 static void CheckCodeGenerationOptions(const Driver &D, const ArgList &Args) {
132 << "-static";
138 static void EscapeSpacesAndBackslashes(const char *Arg,
155 static void QuoteTarget(StringRef Target, SmallVectorImpl<char> &Res) {
181 static void addDirectoryList(const ArgList &Args, ArgStringList &CmdArgs,
235 static void AddLinkerInputs(const ToolChain &TC, const InputInfoList &Inputs,
279 static bool isObjCAutoRefCount(const ArgList &Args) {
284 static bool isObjCRuntimeLinked(const ArgList &Args) {
292 static bool forwardToGCC(const Option &O) {
597 static bool isSignedCharDefault(const llvm::Triple &Triple) {
626 static bool isNoCommonDefault(const llvm::Triple &Triple) {
641 static int getARMSubArchVersionNumber(const llvm::Triple &Triple) {
647 static bool isARMMProfile(const llvm::Triple &Triple) {
654 static void getARMArchCPUFromArgs(const ArgList &Args, llvm::StringRef &Arch,
675 static void getARMHWDivFeatures(const Driver &D, const Arg *A,
684 static void getARMFPUFeatures(const Driver &D, const Arg *A,
693 static bool DecodeARMFeatures(const Driver &D, StringRef text,
711 static void checkARMArchName(const Driver &D, const Arg *A, const ArgList &Args,
724 static void checkARMCPUName(const Driver &D, const Arg *A, const ArgList &Args,
736 static bool useAAPCSForMachO(const llvm::Triple &T) {
847 static void getARMTargetFeatures(const ToolChain &TC,
1121 static std::string getAArch64TargetCPU(const ArgList &Args) {
1304 static StringRef getGnuCompatibleMipsABIName(StringRef ABI) {
1313 static mips::FloatABI getMipsFloatABI(const Driver &D, const ArgList &Args) {
1346 static void AddTargetFeature(const ArgList &Args,
1358 static void getMIPSTargetFeatures(const Driver &D, const llvm::Triple &Triple,
1504 static std::string getPPCTargetCPU(const ArgList &Args) {
1569 static void getPPCTargetFeatures(const Driver &D, const llvm::Triple &Triple,
1682 static std::string getR600TargetGPU(const ArgList &Args) {
1698 static std::string getLanaiTargetCPU(const ArgList &Args) {
1740 static void getSparcTargetFeatures(const Driver &D, const ArgList &Args,
1771 static const char *getSystemZTargetCPU(const ArgList &Args) {
1777 static void getSystemZTargetFeatures(const ArgList &Args,
1795 static const char *getX86TargetCPU(const ArgList &Args,
1880 static StringRef getWebAssemblyTargetCPU(const ArgList &Args) {
1898 static std::string getCPUName(const ArgList &Args, const llvm::Triple &T,
1981 static void AddGoldPlugin(const ToolChain &ToolChain, const ArgList &Args,
2031 static bool getRefinementStep(StringRef In, const Driver &D,
2059 static void ParseMRecip(const Driver &D, const ArgList &Args,
2158 static void getX86TargetFeatures(const Driver &D, const llvm::Triple &Triple,
2318 static bool DecodeAArch64Features(const Driver &D, StringRef text,
2352 static bool DecodeAArch64Mcpu(const Driver &D, StringRef Mcpu, StringRef &CPU,
2377 static bool
2400 static bool
2412 static bool
2427 static bool
2440 static void getAArch64TargetFeatures(const Driver &D, const ArgList &Args,
2490 static void getHexagonTargetFeatures(const ArgList &Args,
2516 static void getWebAssemblyTargetFeatures(const ArgList &Args,
2521 static void getAMDGPUTargetFeatures(const Driver &D, const ArgList &Args,
2538 static void getTargetFeatures(const ToolChain &TC, const llvm::Triple &Triple,
2616 static bool
2637 static void addExceptionArgs(const ArgList &Args, types::ID InputType,
2708 static bool ShouldDisableAutolink(const ArgList &Args, const ToolChain &TC) {
2719 static
2728 static bool ContainsCompileAction(const Action *A) {
2741 static bool UseRelaxAll(Compilation &C, const ArgList &Args) {
2763 static codegenoptions::DebugInfoKind DebugLevelToInfoKind(const Arg &A) {
2778 static unsigned DwarfVersionNum(StringRef ArgValue) {
2787 static void RenderDebugEnablingArgs(const ArgList &Args, ArgStringList &CmdArgs,
2822 static void CollectArgsForIntegratedAssembler(Compilation &C,
2970 // This adds the static libclang_rt.builtins-arch.a directly to the command line
2973 static void addClangRT(const ToolChain &TC, const ArgList &Args,
3001 static OpenMPRuntimeKind getOpenMPRuntime(const ToolChain &TC,
3027 static void addOpenMPRuntime(ArgStringList &CmdArgs, const ToolChain &TC,
3049 static void addSanitizerRuntime(const ToolChain &TC, const ArgList &Args,
3052 // Wrap any static runtimes that must be forced into executable in
3061 static bool addSanitizerDynamicList(const ToolChain &TC, const ArgList &Args,
3072 static void linkSanitizerRuntimeDeps(const ToolChain &TC,
3085 static void
3101 // Collect static runtimes.
3103 // Don't link static runtimes into DSOs or if compiling for Android.
3153 static bool addSanitizerRuntimes(const ToolChain &TC, const ArgList &Args,
3177 // If there is a static runtime with no dynamic list, force all the symbols
3184 static bool addXRayRuntime(const ToolChain &TC, const ArgList &Args,
3196 static void linkXRayRuntimeDeps(const ToolChain &TC, const ArgList &Args,
3211 static bool areOptimizationsEnabled(const ArgList &Args) {
3219 static bool shouldUseFramePointerForTarget(const ArgList &Args,
3268 static bool shouldUseFramePointer(const ArgList &Args,
3279 static bool shouldUseLeafFramePointer(const ArgList &Args,
3294 static void addDebugCompDirArg(const ArgList &Args, ArgStringList &CmdArgs) {
3302 static const char *SplitDebugName(const ArgList &Args, const InputInfo &Input) {
3319 static void SplitDebugInfo(const ToolChain &TC, Compilation &C, const Tool &T,
3345 static bool shouldEnableVectorizerAtOLevel(const ArgList &Args, bool isSlpVec) {
3376 static void addDashXForInput(const ArgList &Args, const InputInfo &Input,
3390 static VersionTuple getMSCompatibilityVersion(unsigned Version) {
3406 static void claimNoWarnArgs(const ArgList &Args) {
3414 static void appendUserToPath(SmallVectorImpl<char> &Result) {
3500 static void addPGOAndCoverageFlags(Compilation &C, const Driver &D,
3599 static void addPS4ProfileRTArgs(const ToolChain &TC, const ArgList &Args,
3620 static std::tuple<llvm::Reloc::Model, unsigned, bool>
3627 // The Darwin/MachO default to use PIC does not apply when using -static.
3751 return std::make_tuple(llvm::Reloc::Static, 0, false);
3754 static const char *RelocationModelName(llvm::Reloc::Model Model) {
3756 case llvm::Reloc::Static:
3757 return "static";
3766 static void AddAssemblerKPIC(const ToolChain &ToolChain, const ArgList &Args,
3774 if (RelocationModel != llvm::Reloc::Static)
3963 CmdArgs.push_back("-static-define");
4029 // using --analyze. We only want to show static analyzer diagnostics
5486 // -fthreadsafe-static is default, except for MSVC compatibility versions less
6183 static bool maybeConsumeDash(const std::string &EH, size_t &I) {
6204 static EHFlags parseClangCLEHFlags(const Driver &D, const ArgList &Args) {
6560 // FIXME: Add -static support, once we have it.
6847 static void
6902 CmdArgs.push_back("-static");
7417 // CloudABI only supports static linkage.
7516 CmdArgs.push_back("-static");
7797 // (the default), and with static executables, the last one wins, as expected.
7803 // members of static archive libraries which implement Objective-C classes or
9090 if (RelocationModel == llvm::Reloc::Static)
9185 static void AddLibgcc(const llvm::Triple &Triple, const Driver &D,
9212 // linking with non-static libgcc.
9214 // NOTE: This fixes a link error on Android MIPS as well. The non-static
9220 static void AddRunTimeLibs(const ToolChain &TC, const Driver &D,
9251 static const char *getLDMOption(const llvm::Triple &T, const ArgList &Args) {
9371 CmdArgs.push_back("-static");
9568 // we use static by default, do not yet support sanitizers or LTO, and a few
9624 CmdArgs.push_back("-static");
9946 static std::string FindVisualStudioExecutable(const ToolChain &TC,
10298 bool Static = Args.hasArg(options::OPT_static_libgcc) ||
10303 if (Static || (!CXX && !Shared)) {
10923 static void AddPS4SanitizerArgs(const ToolChain &TC, ArgStringList &CmdArgs) {
10933 static void ConstructPS4LinkJob(const Tool &T, Compilation &C,
10992 static void ConstructGoldLinkJob(const Tool &T, Compilation &C,