| /netbsd-src/games/tetris/ |
| H A D | shapes.c | 47 #define TC -B_COLS /* top center */ macro 56 /* 0*/ { 7, 7, { TL, TC, MR, } }, 57 /* 1*/ { 1, 8, { TC, TR, ML, } }, 59 /* 3*/ { 3, 3, { TL, TC, ML, } }, 63 /* 7*/ { 7, 0, { TC, ML, BL, } }, 64 /* 8*/ { 1, 1, { TC, MR, BR, } }, 65 /* 9*/ { 2, 10, { TC, MR, BC, } }, 66 /*10*/ { 2, 11, { TC, ML, MR, } }, 67 /*11*/ { 2, 2, { TC, ML, BC, } }, 68 /*12*/ { 4, 13, { TC, BC, BR, } }, [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/ |
| H A D | CommonArgs.cpp | 224 void tools::AddLinkerInputs(const ToolChain &TC, const InputInfoList &Inputs, in AddLinkerInputs() argument 227 const Driver &D = TC.getDriver(); in AddLinkerInputs() 235 if (!TC.isCrossCompiling()) in AddLinkerInputs() 247 if (!TC.HasNativeLLVMSupport() && types::isLLVMIR(II.getType())) in AddLinkerInputs() 249 D.Diag(diag::err_drv_no_linker_llvm_support) << TC.getTripleString(); in AddLinkerInputs() 262 TC.AddCXXStdlibLibArgs(Args, CmdArgs); in AddLinkerInputs() 264 TC.AddCCKextLibArgs(Args, CmdArgs); in AddLinkerInputs() 276 const ToolChain &TC, const llvm::opt::ArgList &Args, in addLinkerCompressDebugSectionsOption() argument 288 TC.getDriver().Diag(diag::err_drv_unsupported_option_argument) in addLinkerCompressDebugSectionsOption() 648 void tools::addArchSpecificRPath(const ToolChain &TC, const ArgList &Args, in addArchSpecificRPath() argument [all …]
|
| H A D | CrossWindows.cpp | 29 const auto &TC = in ConstructJob() local 34 switch (TC.getArch()) { in ConstructJob() 57 const std::string Assembler = TC.GetProgramPath("as"); in ConstructJob() 68 const auto &TC = in ConstructJob() local 70 const llvm::Triple &T = TC.getTriple(); in ConstructJob() 71 const Driver &D = TC.getDriver(); in ConstructJob() 95 switch (TC.getArch()) { in ConstructJob() 167 TC.AddFilePathLibArgs(Args, CmdArgs); in ConstructJob() 168 AddLinkerInputs(TC, Inputs, Args, CmdArgs, JA); in ConstructJob() 170 if (TC.ShouldLinkCXXStdlib(Args)) { in ConstructJob() [all …]
|
| H A D | MinGW.cpp | 99 const ToolChain &TC = getToolChain(); in ConstructJob() local 100 const Driver &D = TC.getDriver(); in ConstructJob() 101 const SanitizerArgs &Sanitize = TC.getSanitizerArgs(); in ConstructJob() 120 switch (TC.getArch()) { in ConstructJob() 157 if (TC.getArch() == llvm::Triple::x86) in ConstructJob() 186 CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("dllcrt2.o"))); in ConstructJob() 189 CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("crt2u.o"))); in ConstructJob() 191 CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("crt2.o"))); in ConstructJob() 194 CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("gcrt2.o"))); in ConstructJob() 195 CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("crtbegin.o"))); in ConstructJob() [all …]
|
| H A D | CommonArgs.h | 26 void AddLinkerInputs(const ToolChain &TC, const InputInfoList &Inputs, 30 void addLinkerCompressDebugSectionsOption(const ToolChain &TC, 36 bool addSanitizerRuntimes(const ToolChain &TC, const llvm::opt::ArgList &Args, 39 void linkSanitizerRuntimeDeps(const ToolChain &TC, 42 bool addXRayRuntime(const ToolChain &TC, const llvm::opt::ArgList &Args, 45 void linkXRayRuntimeDeps(const ToolChain &TC, 48 void AddRunTimeLibs(const ToolChain &TC, const Driver &D, 55 void SplitDebugInfo(const ToolChain &TC, Compilation &C, const Tool &T, 66 unsigned ParseFunctionAlignment(const ToolChain &TC, 69 unsigned ParseDebugDefaultVersion(const ToolChain &TC, [all …]
|
| H A D | Gnu.h | 43 Assembler(const ToolChain &TC) : Tool("GNU::Assembler", "assembler", TC) {} in Assembler() argument 55 Linker(const ToolChain &TC) : Tool("GNU::Linker", "linker", TC) {} in Linker() argument 68 StaticLibTool(const ToolChain &TC) in StaticLibTool() argument 69 : Tool("GNU::StaticLibTool", "static-lib-linker", TC) {} in StaticLibTool() 85 Common(const char *Name, const char *ShortName, const ToolChain &TC) in Common() argument 86 : Tool(Name, ShortName, TC) {} in Common() 105 Preprocessor(const ToolChain &TC) in Preprocessor() argument 106 : Common("gcc::Preprocessor", "gcc preprocessor", TC) {} in Preprocessor() 117 Compiler(const ToolChain &TC) : Common("gcc::Compiler", "gcc frontend", TC) {} in Compiler() argument 128 Linker(const ToolChain &TC) : Common("gcc::Linker", "linker (via gcc)", TC) {} in Linker() argument
|
| H A D | Myriad.h | 24 Compiler(const ToolChain &TC) : Tool("moviCompile", "movicompile", TC) {} in Compiler() argument 36 Assembler(const ToolChain &TC) : Tool("moviAsm", "moviAsm", TC) {} in Assembler() argument 54 Linker(const ToolChain &TC) : Tool("shave::Linker", "ld", TC) {} in Linker() argument
|
| H A D | MSVC.cpp | 364 static std::string FindVisualStudioExecutable(const ToolChain &TC, in FindVisualStudioExecutable() argument 366 const auto &MSVC = static_cast<const toolchains::MSVCToolChain &>(TC); in FindVisualStudioExecutable() 370 return std::string(canExecute(TC.getVFS(), FilePath) ? FilePath.str() : Exe); in FindVisualStudioExecutable() 380 auto &TC = static_cast<const toolchains::MSVCToolChain &>(getToolChain()); in ConstructJob() local 403 TC.getSubDirectoryPath( in ConstructJob() 407 TC.getSubDirectoryPath(toolchains::MSVCToolChain::SubDirectoryType::Lib, in ConstructJob() 413 if (TC.useUniversalCRT()) { in ConstructJob() 415 if (TC.getUniversalCRTLibraryPath(Args, UniversalCRTLibPath)) in ConstructJob() 420 if (TC.getWindowsSDKLibraryPath(Args, WindowsSdkLibPath)) in ConstructJob() 427 for (const auto &LibPath : TC.getLibraryPaths()) { in ConstructJob() [all …]
|
| H A D | PS4CPU.h | 23 void addProfileRTArgs(const ToolChain &TC, const llvm::opt::ArgList &Args, 26 void addSanitizerArgs(const ToolChain &TC, llvm::opt::ArgStringList &CmdArgs); 30 Assemble(const ToolChain &TC) : Tool("PS4cpu::Assemble", "assembler", TC) {} in Assemble() argument 43 Link(const ToolChain &TC) : Tool("PS4cpu::Link", "linker", TC) {} in Link() argument
|
| H A D | Myriad.cpp | 126 const auto &TC = in ConstructJob() local 128 const llvm::Triple &T = TC.getTriple(); in ConstructJob() 160 CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("crti.o"))); in ConstructJob() 161 CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("crtbegin.o"))); in ConstructJob() 168 TC.AddFilePathLibArgs(Args, CmdArgs); in ConstructJob() 170 bool NeedsSanitizerDeps = addSanitizerRuntimes(TC, Args, CmdArgs); in ConstructJob() 175 linkSanitizerRuntimeDeps(TC, CmdArgs); in ConstructJob() 177 if (TC.GetCXXStdlibType(Args) == ToolChain::CST_Libcxx) { in ConstructJob() 197 CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("crtend.o"))); in ConstructJob() 198 CmdArgs.push_back(Args.MakeArgString(TC.GetFilePath("crtn.o"))); in ConstructJob() [all …]
|
| H A D | Clang.cpp | 408 const ToolChain &TC, bool KernelOrKext, in addExceptionArgs() argument 411 const llvm::Triple &Triple = TC.getTriple(); in addExceptionArgs() 477 static bool ShouldEnableAutolink(const ArgList &Args, const ToolChain &TC, in ShouldEnableAutolink() argument 480 if (TC.getTriple().isOSDarwin()) { in ShouldEnableAutolink() 483 Default = TC.useIntegratedAs(); in ShouldEnableAutolink() 494 const ToolChain &TC) { in ShouldDisableDwarfDirectory() argument 497 options::OPT_fno_dwarf_directory_asm, TC.useIntegratedAs()); in ShouldDisableDwarfDirectory() 756 static void addPGOAndCoverageFlags(const ToolChain &TC, Compilation &C, in addPGOAndCoverageFlags() argument 811 if (TC.getTriple().isWindowsMSVCEnvironment()) { in addPGOAndCoverageFlags() 814 "--dependent-lib=" + TC.getCompilerRTBasename(Args, "profile"))); in addPGOAndCoverageFlags() [all …]
|
| H A D | Ananas.h | 24 Assembler(const ToolChain &TC) : Tool("ananas::Assembler", "assembler", TC) {} in Assembler() argument 36 Linker(const ToolChain &TC) : Tool("ananas::Linker", "linker", TC) {} in Linker() argument
|
| H A D | DragonFly.h | 23 Assembler(const ToolChain &TC) in Assembler() argument 24 : Tool("dragonfly::Assembler", "assembler", TC) {} in Assembler() 36 Linker(const ToolChain &TC) : Tool("dragonfly::Linker", "linker", TC) {} in Linker() argument
|
| H A D | Minix.h | 23 Assembler(const ToolChain &TC) : Tool("minix::Assembler", "assembler", TC) {} in Assembler() argument 35 Linker(const ToolChain &TC) : Tool("minix::Linker", "linker", TC) {} in Linker() argument
|
| H A D | Darwin.h | 45 MachOTool(const char *Name, const char *ShortName, const ToolChain &TC) in MachOTool() argument 46 : Tool(Name, ShortName, TC) {} in MachOTool() 51 Assembler(const ToolChain &TC) in Assembler() argument 52 : MachOTool("darwin::Assembler", "assembler", TC) {} in Assembler() 70 Linker(const ToolChain &TC) : MachOTool("darwin::Linker", "linker", TC) {} in Linker() argument 83 Lipo(const ToolChain &TC) : MachOTool("darwin::Lipo", "lipo", TC) {} in Lipo() argument 95 Dsymutil(const ToolChain &TC) in Dsymutil() argument 96 : MachOTool("darwin::Dsymutil", "dsymutil", TC) {} in Dsymutil() 109 VerifyDebug(const ToolChain &TC) in VerifyDebug() argument 110 : MachOTool("darwin::VerifyDebug", "dwarfdump", TC) {} in VerifyDebug()
|
| H A D | Clang.h | 102 Clang(const ToolChain &TC); 119 ClangAs(const ToolChain &TC) in ClangAs() argument 120 : Tool("clang::as", "clang integrated assembler", TC) {} in ClangAs() 140 OffloadBundler(const ToolChain &TC) in OffloadBundler() argument 141 : Tool("offload bundler", "clang-offload-bundler", TC) {} in OffloadBundler() 158 OffloadWrapper(const ToolChain &TC) in OffloadWrapper() argument 159 : Tool("offload wrapper", "clang-offload-wrapper", TC) {} in OffloadWrapper()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/ |
| H A D | SanitizerArgs.cpp | 279 SanitizerArgs::SanitizerArgs(const ToolChain &TC, in SanitizerArgs() argument 292 const SanitizerMask Supported = setGroupBits(TC.getSupportedSanitizers()); in SanitizerArgs() 297 ToolChain::RTTIMode RTTIMode = TC.getRTTIMode(); in SanitizerArgs() 299 const Driver &D = TC.getDriver(); in SanitizerArgs() 377 << Desc << TC.getTriple().str(); in SanitizerArgs() 386 if (const llvm::opt::Arg *NoRTTIArg = TC.getRTTIArg()) { in SanitizerArgs() 424 if (TC.getTriple().isOSLinux()) in SanitizerArgs() 453 (TC.getTriple().isOSFuchsia() ? SanitizerMask() in SanitizerArgs() 473 SanitizerMask Default = TC.getDefaultSanitizers() & ~AllRemove; in SanitizerArgs() 498 ((TC.getTriple().isAArch64() && in SanitizerArgs() [all …]
|
| H A D | Compilation.cpp | 62 Compilation::getArgsForToolChain(const ToolChain *TC, StringRef BoundArch, in getArgsForToolChain() argument 64 if (!TC) in getArgsForToolChain() 65 TC = &DefaultToolChain; in getArgsForToolChain() 67 DerivedArgList *&Entry = TCArgs[{TC, BoundArch, DeviceOffloadKind}]; in getArgsForToolChain() 74 bool SameTripleAsHost = (TC->getTriple() == HostTC->getTriple()); in getArgsForToolChain() 75 OpenMPArgs = TC->TranslateOpenMPTargetArgs( in getArgsForToolChain() 81 NewDAL = TC->TranslateXarchArgs(*TranslatedArgs, BoundArch, in getArgsForToolChain() 84 NewDAL = TC->TranslateXarchArgs(*OpenMPArgs, BoundArch, DeviceOffloadKind, in getArgsForToolChain() 93 Entry = TC->TranslateArgs(*TranslatedArgs, BoundArch, DeviceOffloadKind); in getArgsForToolChain() 97 Entry = TC->TranslateArgs(*NewDAL, BoundArch, DeviceOffloadKind); in getArgsForToolChain()
|
| H A D | Driver.cpp | 769 const ToolChain *TC; in CreateOffloadingDeviceToolChains() local 790 TC = DeviceTC.get(); in CreateOffloadingDeviceToolChains() 792 TC = &getToolChain(C.getInputArgs(), TT); in CreateOffloadingDeviceToolChains() 793 C.addOffloadDeviceToolChain(TC, Action::OFK_OpenMP); in CreateOffloadingDeviceToolChains() 1203 const ToolChain &TC = getToolChain( in BuildCompilation() local 1207 Compilation *C = new Compilation(*this, TC, UArgs.release(), TranslatedArgs, in BuildCompilation() 1222 if (TC.getTriple().isOSBinFormatMachO()) in BuildCompilation() 1421 const ToolChain &TC = C.getDefaultToolChain(); in generateCompilationDiagnostics() local 1422 if (TC.getTriple().isOSBinFormatMachO()) in generateCompilationDiagnostics() 1423 BuildUniversalActions(C, TC, Inputs); in generateCompilationDiagnostics() [all …]
|
| /netbsd-src/tests/lib/libc/membar/ |
| H A D | t_dekker.c | 60 uint64_t TC[2]; variable 110 TC[me] = C_local; in thread() 150 ATF_REQUIRE_MSG(C == TC[0] + TC[1], in ATF_TC_BODY() 152 C, TC[0], TC[1], TC[0] + TC[1] - C); in ATF_TC_BODY()
|
| H A D | t_spinlock.c | 65 uint64_t TC[2]; variable 106 TC[me] = C_local; in thread() 147 ATF_CHECK_MSG(C[i].v == TC[0] + TC[1], "%d: " in ATF_TC_BODY() 149 i, C[i].v, TC[0], TC[1], TC[0] + TC[1] - C[i].v); in ATF_TC_BODY()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Driver/ |
| H A D | Compilation.h | 84 const ToolChain *TC = nullptr; member 88 TCArgsKey(const ToolChain *TC, StringRef BoundArch, in TCArgsKey() 90 : TC(TC), BoundArch(BoundArch), DeviceOffloadKind(DeviceOffloadKind) {} in TCArgsKey() 93 if (TC < K.TC) 95 else if (TC == K.TC && BoundArch < K.BoundArch) 97 else if (TC == K.TC && BoundArch == K.BoundArch && 240 getArgsForToolChain(const ToolChain *TC, StringRef BoundArch,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/test/ |
| H A D | output_test_helper.cc | 77 void CheckCase(std::stringstream& remaining_output, TestCase const& TC, in CheckCase() argument 93 << "\n actual regex string \"" << TC.substituted_regex << "\"" in CheckCase() 96 if (TC.regex->Match(line)) return; in CheckCase() 97 CHECK(TC.match_rule != MR_Next) in CheckCase() 98 << "Expected line \"" << line << "\" to match regex \"" << TC.regex_str in CheckCase() 100 << "\n actual regex string \"" << TC.substituted_regex << "\"" in CheckCase() 104 << "End of output reached before match for regex \"" << TC.regex_str in CheckCase() 106 << "\n actual regex string \"" << TC.substituted_regex << "\"" in CheckCase() 113 const auto& TC = checks[i]; in CheckCases() local 114 if (TC.match_rule == MR_Not) { in CheckCases() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/test/ |
| H A D | output_test_helper.cc | 86 void CheckCase(std::stringstream& remaining_output, TestCase const& TC, in CheckCase() argument 102 << "\n actual regex string \"" << TC.substituted_regex << "\"" in CheckCase() 105 if (TC.regex->Match(line)) return; in CheckCase() 106 CHECK(TC.match_rule != MR_Next) in CheckCase() 107 << "Expected line \"" << line << "\" to match regex \"" << TC.regex_str in CheckCase() 109 << "\n actual regex string \"" << TC.substituted_regex << "\"" in CheckCase() 113 << "End of output reached before match for regex \"" << TC.regex_str in CheckCase() 115 << "\n actual regex string \"" << TC.substituted_regex << "\"" in CheckCase() 122 const auto& TC = checks[i]; in CheckCases() local 123 if (TC.match_rule == MR_Not) { in CheckCases() [all …]
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/xray/ |
| H A D | xray_fdr_logging.cc | 498 auto TC = getTimestamp(); in fdrLoggingHandleArg0() local 499 auto &TSC = TC.TSC; in fdrLoggingHandleArg0() 500 auto &CPU = TC.CPU; in fdrLoggingHandleArg0() 528 auto TC = getTimestamp(); in fdrLoggingHandleArg1() local 529 auto &TSC = TC.TSC; in fdrLoggingHandleArg1() 530 auto &CPU = TC.CPU; in fdrLoggingHandleArg1() 558 auto TC = getTimestamp(); in fdrLoggingHandleCustomEvent() local 559 auto &TSC = TC.TSC; in fdrLoggingHandleCustomEvent() 560 auto &CPU = TC.CPU; in fdrLoggingHandleCustomEvent() 588 auto TC = getTimestamp(); in fdrLoggingHandleTypedEvent() local [all …]
|