Home
last modified time | relevance | path

Searched refs:Target (Results 1 – 25 of 1281) sorted by relevance

12345678910>>...52

/third_party/gn/src/gn/
Druntime_deps_unittest.cc18 Target* target, in InitTargetWithType()
19 Target::OutputType type) { in InitTargetWithType()
26 std::pair<OutputFile, const Target*> MakePair(const char* str, in MakePair()
27 const Target* t) { in MakePair()
28 return std::pair<OutputFile, const Target*>(OutputFile(str), t); in MakePair()
32 const std::vector<std::pair<OutputFile, const Target*>>& v) { in GetVectorDescription()
56 Target stat(setup.settings(), Label(SourceDir("//"), "stat")); in TEST_F()
57 InitTargetWithType(setup, &stat, Target::STATIC_LIBRARY); in TEST_F()
61 Target shared(setup.settings(), Label(SourceDir("//"), "shared")); in TEST_F()
62 InitTargetWithType(setup, &shared, Target::SHARED_LIBRARY); in TEST_F()
[all …]
Dresolved_target_data.cc18 TargetInfo(const Target* target) in TargetInfo()
24 const Target* target = nullptr;
43 ImmutableVector<const Target*> hard_deps;
58 LibInfo GetLibInfo(const Target* target) const { in GetLibInfo()
67 ImmutableVectorView<SourceDir> all_lib_dirs(const Target* target) const { in all_lib_dirs()
73 ImmutableVectorView<LibFile> all_libs(const Target* target) const { in all_libs()
79 FrameworkInfo GetFrameworkInfo(const Target* target) const { in GetFrameworkInfo()
90 const Target* target) const { in all_framework_dirs()
96 ImmutableVectorView<std::string> all_frameworks(const Target* target) const { in all_frameworks()
103 const Target* target) const { in all_weak_frameworks()
[all …]
Dsubstitution_writer.h21 class Target; variable
88 static SourceFile ApplyPatternToSource(const Target* target,
93 const Target* target,
98 const Target* target,
109 static void ApplyListToSource(const Target* target,
114 static void ApplyListToSourceAsString(const Target* target,
119 static void ApplyListToSourceAsOutputFile(const Target* target,
129 static void ApplyListToSources(const Target* target,
134 static void ApplyListToSourcesAsString(const Target* target,
140 const Target* target,
[all …]
Dninja_c_binary_target_writer_unittest.cc26 Target target(setup.settings(), Label(SourceDir("//foo/"), "bar")); in TEST_F()
27 target.set_output_type(Target::SOURCE_SET); in TEST_F()
69 Target shlib_target(setup.settings(), Label(SourceDir("//foo/"), "shlib")); in TEST_F()
70 shlib_target.set_output_type(Target::SHARED_LIBRARY); in TEST_F()
105 Target stlib_target(setup.settings(), Label(SourceDir("//foo/"), "stlib")); in TEST_F()
106 stlib_target.set_output_type(Target::STATIC_LIBRARY); in TEST_F()
167 TestTarget target(setup, "//foo:bar", Target::STATIC_LIBRARY); in TEST_F()
191 TestTarget target(setup, "//foo:bar", Target::STATIC_LIBRARY); in TEST_F()
226 TestTarget target(setup, "//foo:bar", Target::STATIC_LIBRARY); in TEST_F()
232 TestTarget baz(setup, "//foo:baz", Target::STATIC_LIBRARY); in TEST_F()
[all …]
Dtarget.cc28 void MergePublicConfigsFrom(const Target* from_target, in MergePublicConfigsFrom()
37 void MergeAllDependentConfigsFrom(const Target* from_target, in MergeAllDependentConfigsFrom()
71 bool EnsureFileIsGeneratedByDependency(const Target* target, in EnsureFileIsGeneratedByDependency()
130 if (target->output_type() == Target::CREATE_BUNDLE) { in EnsureFileIsGeneratedByDependency()
155 bool RecursiveCheckAssertNoDeps(const Target* target, in RecursiveCheckAssertNoDeps()
180 for (const auto& pair : target->GetDeps(Target::DEPS_ALL)) { in RecursiveCheckAssertNoDeps()
181 if (pair.ptr->output_type() == Target::EXECUTABLE) in RecursiveCheckAssertNoDeps()
286 Target::Target(const Settings* settings, in Target() function in Target
291 Target::~Target() = default;
321 const BundleData& Target::bundle_data() const { in bundle_data()
[all …]
Dcommands.cc41 std::vector<const Target*>* matches) { in ResolveTargetsFromCommandLinePattern()
76 UniqueVector<const Target*>* target_matches, in ResolveStringFromCommandLineInput()
84 std::vector<const Target*> target_match_vector; in ResolveStringFromCommandLineInput()
88 for (const Target* target : target_match_vector) in ResolveStringFromCommandLineInput()
114 else if (const Target* as_target = item->AsTarget()) in ResolveStringFromCommandLineInput()
146 bool GetTargetTypeFilter(Target::OutputType* type) { in GetTargetTypeFilter()
153 bool ApplyTestonlyFilter(std::vector<const Target*>* targets) { in ApplyTestonlyFilter()
163 std::vector<const Target*> result; in ApplyTestonlyFilter()
166 for (const Target* target : *targets) { in ApplyTestonlyFilter()
177 bool ApplyTypeFilter(std::vector<const Target*>* targets) { in ApplyTypeFilter()
[all …]
Dninja_rust_binary_target_writer_unittest.cc22 Target target(setup.settings(), Label(SourceDir("//foo/"), "bar")); in TEST_F()
23 target.set_output_type(Target::SOURCE_SET); in TEST_F()
36 Target target(setup.settings(), Label(SourceDir("//foo/"), "bar")); in TEST_F()
37 target.set_output_type(Target::EXECUTABLE); in TEST_F()
90 Target private_rlib(setup.settings(), Label(SourceDir("//baz/"), "privatelib")); in TEST_F()
91 private_rlib.set_output_type(Target::RUST_LIBRARY); in TEST_F()
130 Target far_public_rlib(setup.settings(), in TEST_F()
132 far_public_rlib.set_output_type(Target::RUST_LIBRARY); in TEST_F()
171 Target public_rlib(setup.settings(), Label(SourceDir("//bar/"), "publiclib")); in TEST_F()
172 public_rlib.set_output_type(Target::RUST_LIBRARY); in TEST_F()
[all …]
Dninja_create_bundle_target_writer_unittest.cc27 std::unique_ptr<Target> NewAction(const TestWithScope& setup) { in NewAction()
29 auto action = std::make_unique<Target>(setup.settings(), in NewAction()
31 action->set_output_type(Target::ACTION); in NewAction()
49 std::unique_ptr<Target> action = NewAction(setup); in TEST()
52 Target bundle_data(setup.settings(), Label(SourceDir("//foo/"), "data")); in TEST()
53 bundle_data.set_output_type(Target::BUNDLE_DATA); in TEST()
62 Target create_bundle( in TEST()
67 create_bundle.set_output_type(Target::CREATE_BUNDLE); in TEST()
98 std::unique_ptr<Target> action = NewAction(setup); in TEST()
101 Target bundle_data(setup.settings(), Label(SourceDir("//foo/"), "data")); in TEST()
[all …]
Dheader_checker.h26 class Target; variable
37 ChainLink(const Target* t, bool p) : target(t), is_public(p) {} in ChainLink()
39 const Target* target;
55 const std::vector<const Target*>& targets,
67 bool Run(const std::vector<const Target*>& to_check,
86 TargetInfo(const Target* t, bool is_pub, bool is_gen) in TargetInfo()
89 const Target* target;
106 void DoWork(const Target* target, const SourceFile& file);
109 static void AddTargetToFileMap(const Target* target, FileMap* dest);
122 bool CheckFile(const Target* from_target,
[all …]
Druntime_deps.cc29 using RuntimeDepsVector = std::vector<std::pair<OutputFile, const Target*>>;
34 const Target* source, in AddIfNew()
44 const Target* source, in AddIfNew()
59 void RecursiveCollectRuntimeDeps(const Target* target, in RecursiveCollectRuntimeDeps()
62 std::map<const Target*, bool>* seen_targets, in RecursiveCollectRuntimeDeps() argument
79 if (target->output_type() == Target::EXECUTABLE || in RecursiveCollectRuntimeDeps()
80 target->output_type() == Target::LOADABLE_MODULE || in RecursiveCollectRuntimeDeps()
81 target->output_type() == Target::SHARED_LIBRARY) { in RecursiveCollectRuntimeDeps()
91 if (is_target_data_dep && (target->output_type() == Target::ACTION || in RecursiveCollectRuntimeDeps()
92 target->output_type() == Target::ACTION_FOREACH || in RecursiveCollectRuntimeDeps()
[all …]
Dcompile_commands_writer_unittest.cc41 std::vector<const Target*> targets; in TEST_F()
42 Target target(settings(), Label(SourceDir("//foo/"), "bar")); in TEST_F()
43 target.set_output_type(Target::SOURCE_SET); in TEST_F()
97 Target shlib_target(settings(), Label(SourceDir("//foo/"), "shlib")); in TEST_F()
99 shlib_target.set_output_type(Target::SHARED_LIBRARY); in TEST_F()
158 Target stlib_target(settings(), Label(SourceDir("//foo/"), "stlib")); in TEST_F()
160 stlib_target.set_output_type(Target::STATIC_LIBRARY); in TEST_F()
234 std::vector<const Target*> targets; in TEST_F()
235 TestTarget target(setup(), "//foo:bar", Target::STATIC_LIBRARY); in TEST_F()
291 std::vector<const Target*> targets; in TEST_F()
[all …]
Dtarget_unittest.cc23 void AssertSchedulerHasOneUnknownFileMatching(const Target* target, in AssertSchedulerHasOneUnknownFileMatching()
49 TestTarget z(setup, "//foo:z", Target::STATIC_LIBRARY); in TEST_F()
64 TestTarget shared(setup, "//foo:shared", Target::SHARED_LIBRARY); in TEST_F()
78 TestTarget exec(setup, "//foo:exec", Target::EXECUTABLE); in TEST_F()
95 TestTarget z(setup, "//foo:z", Target::STATIC_LIBRARY); in TEST_F()
110 TestTarget shared(setup, "//foo:shared", Target::SHARED_LIBRARY); in TEST_F()
124 TestTarget exec(setup, "//foo:exec", Target::EXECUTABLE); in TEST_F()
137 TestTarget a(setup, "//foo:a", Target::EXECUTABLE); in TEST_F()
138 TestTarget b(setup, "//foo:b", Target::STATIC_LIBRARY); in TEST_F()
139 TestTarget c(setup, "//foo:c", Target::STATIC_LIBRARY); in TEST_F()
[all …]
Drust_project_writer_unittest.cc32 Target target(setup.settings(), Label(SourceDir("//foo/"), "bar")); in TEST_F()
33 target.set_output_type(Target::RUST_LIBRARY); in TEST_F()
45 std::vector<const Target*> targets; in TEST_F()
86 Target dep(setup.settings(), Label(SourceDir("//tortoise/"), "bar")); in TEST_F()
87 dep.set_output_type(Target::RUST_LIBRARY); in TEST_F()
97 Target target(setup.settings(), Label(SourceDir("//hare/"), "bar")); in TEST_F()
98 target.set_output_type(Target::RUST_LIBRARY); in TEST_F()
110 std::vector<const Target*> targets; in TEST_F()
172 Target dep(setup.settings(), Label(SourceDir("//tortoise/"), "bar")); in TEST_F()
173 dep.set_output_type(Target::RUST_LIBRARY); in TEST_F()
[all …]
Dinherited_libraries_unittest.cc15 std::pair<const Target*, bool> Pair(const Target* t, bool b) { in Pair()
16 return std::pair<const Target*, bool>(t, b); in Pair()
24 Target a(setup.settings(), Label(SourceDir("//foo/"), "a")); in TEST()
25 Target b(setup.settings(), Label(SourceDir("//foo/"), "b")); in TEST()
64 Target a(setup.settings(), Label(SourceDir("//foo/"), "a")); in TEST()
65 Target b(setup.settings(), Label(SourceDir("//foo/"), "b")); in TEST()
66 Target w(setup.settings(), Label(SourceDir("//foo/"), "w")); in TEST()
67 Target x(setup.settings(), Label(SourceDir("//foo/"), "x")); in TEST()
68 Target y(setup.settings(), Label(SourceDir("//foo/"), "y")); in TEST()
69 Target z(setup.settings(), Label(SourceDir("//foo/"), "z")); in TEST()
[all …]
Dcommand_refs.cc30 using TargetVector = std::vector<const Target*>;
33 using DepMap = std::multimap<const Target*, const Target*>;
38 for (const auto& dep_pair : target->GetDeps(Target::DEPS_ALL)) in FillDepMap()
45 const Target* target,
56 const Target* target, in RecursivePrintTarget()
89 const Target* target, in RecursivePrintTargetDeps()
104 const Target* target,
110 const Target* target, in RecursiveCollectRefs()
119 const Target* target, in RecursiveCollectChildRefs()
128 bool TargetReferencesConfig(const Target* target, const Config* config) { in TargetReferencesConfig()
[all …]
Dbuilder_unittest.cc110 Target* a = new Target(&settings_, a_label); in TEST_F()
112 a->set_output_type(Target::EXECUTABLE); in TEST_F()
154 Target* c = new Target(&settings_, c_label); in TEST_F()
155 c->set_output_type(Target::STATIC_LIBRARY); in TEST_F()
164 Target* b = new Target(&settings_, b_label); in TEST_F()
166 b->set_output_type(Target::SHARED_LIBRARY); in TEST_F()
241 Target* b = new Target(&settings2, b_label); in TEST_F()
243 b->set_output_type(Target::EXECUTABLE); in TEST_F()
251 Target* a = new Target(&settings_, a_label); in TEST_F()
253 a->set_output_type(Target::EXECUTABLE); in TEST_F()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/MachO/
DInterfaceFile.cpp32 typename C::iterator addEntry(C &Container, const Target &Target_) { in addEntry()
34 lower_bound(Container, Target_, [](const Target &LHS, const Target &RHS) { in addEntry()
44 void InterfaceFileRef::addTarget(const Target &Target) { in addTarget() argument
45 detail::addEntry(Targets, Target); in addTarget()
49 const Target &Target) { in addAllowableClient() argument
51 Client->addTarget(Target); in addAllowableClient()
55 const Target &Target) { in addReexportedLibrary() argument
57 Lib->addTarget(Target); in addReexportedLibrary()
60 void InterfaceFile::addParentUmbrella(const Target &Target_, StringRef Parent) { in addParentUmbrella()
62 [](const std::pair<Target, std::string> &LHS, in addParentUmbrella()
[all …]
DTarget.cpp20 Expected<Target> Target::create(StringRef TargetValue) { in create()
47 return Target{Architecture, Platform}; in create()
50 Target::operator std::string() const { in operator std::string()
55 raw_ostream &operator<<(raw_ostream &OS, const Target &Target) { in operator <<() argument
56 OS << std::string(Target); in operator <<()
60 PlatformSet mapToPlatformSet(ArrayRef<Target> Targets) { in mapToPlatformSet()
62 for (const auto &Target : Targets) in mapToPlatformSet() local
63 Result.insert(Target.Platform); in mapToPlatformSet()
67 ArchitectureSet mapToArchitectureSet(ArrayRef<Target> Targets) { in mapToArchitectureSet()
69 for (const auto &Target : Targets) in mapToArchitectureSet() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/
DBUILD.gn85 "llvm/lib/Target/AArch64/",
86 "llvm/lib/Target/ARM/",
87 "llvm/lib/Target/Mips/",
88 "llvm/lib/Target/PowerPC/",
89 "llvm/lib/Target/X86/",
92 "configs/common/lib/Target/AArch64/",
93 "configs/common/lib/Target/ARM/",
94 "configs/common/lib/Target/Mips/",
95 "configs/common/lib/Target/PowerPC/",
96 "configs/common/lib/Target/X86/",
[all …]
DCMakeLists.txt656 ${LLVM_DIR}/lib/Target/TargetLoweringObjectFile.cpp
657 ${LLVM_DIR}/lib/Target/TargetMachine.cpp
663 ${LLVM_DIR}/lib/TextAPI/MachO/Target.cpp
830 ${LLVM_DIR}/lib/Target/X86/AsmParser/X86AsmParser.cpp
831 ${LLVM_DIR}/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
832 ${LLVM_DIR}/lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.cpp
833 ${LLVM_DIR}/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
834 ${LLVM_DIR}/lib/Target/X86/MCTargetDesc/X86InstComments.cpp
835 ${LLVM_DIR}/lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp
836 ${LLVM_DIR}/lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.cpp
[all …]
DAndroid.bp653 "llvm/lib/Target/TargetLoweringObjectFile.cpp",
654 "llvm/lib/Target/TargetMachine.cpp",
660 "llvm/lib/TextAPI/MachO/Target.cpp",
826 "llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp",
827 "llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp",
828 "llvm/lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.cpp",
829 "llvm/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp",
830 "llvm/lib/Target/X86/MCTargetDesc/X86InstComments.cpp",
831 "llvm/lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp",
832 "llvm/lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.cpp",
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DTargetRegistry.h124 class Target {
140 *(*)(const Target &T, const Triple &TT, StringRef CPU, StringRef Features,
148 using MCAsmBackendCtorTy = MCAsmBackend *(*)(const Target &T,
155 using MCDisassemblerCtorTy = MCDisassembler *(*)(const Target &T,
202 Target *Next;
295 Target() = default;
301 const Target *getNext() const { return Next; } in getNext()
605 : public std::iterator<std::forward_iterator_tag, Target, ptrdiff_t> {
608 const Target *Current = nullptr;
610 explicit iterator(Target *T) : Current(T) {} in iterator()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TextAPI/MachO/
DTarget.h24 class Target {
26 Target() = default;
27 Target(Architecture Arch, PlatformKind Platform) in Target() function
29 explicit Target(const llvm::Triple &Triple) in Target() function
32 static llvm::Expected<Target> create(StringRef Target);
40 inline bool operator==(const Target &LHS, const Target &RHS) {
44 inline bool operator!=(const Target &LHS, const Target &RHS) {
48 inline bool operator<(const Target &LHS, const Target &RHS) {
52 inline bool operator==(const Target &LHS, const Architecture &RHS) {
56 inline bool operator!=(const Target &LHS, const Architecture &RHS) {
[all …]
/third_party/rust/crates/io-lifetimes/src/
Dviews.rs47 pub struct FilelikeView<'filelike, Target: FilelikeViewType> {
50 target: ManuallyDrop<Target>,
65 pub struct SocketlikeView<'socketlike, Target: SocketlikeViewType> {
68 target: ManuallyDrop<Target>,
81 impl<Target: FilelikeViewType> FilelikeView<'_, Target> {
102 target: ManuallyDrop::new(Target::from_filelike(owned)), in view_raw()
110 impl<Target: SocketlikeViewType> SocketlikeView<'_, Target> {
132 target: ManuallyDrop::new(Target::from_socketlike(owned)), in view_raw()
140 impl<Target: FilelikeViewType> Deref for FilelikeView<'_, Target> {
141 type Target = Target; typedef
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTX.td1 //===- NVPTX.td - Describe the NVPTX Target Machine -----------*- tblgen -*-==//
12 // Target-independent interfaces
15 include "llvm/Target/Target.td"
29 "Target SM 2.0">;
31 "Target SM 2.1">;
33 "Target SM 3.0">;
35 "Target SM 3.2">;
37 "Target SM 3.5">;
39 "Target SM 3.7">;
41 "Target SM 5.0">;
[all …]

12345678910>>...52