Home
last modified time | relevance | path

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

12345678910>>...70

/llvm-project-15.0.7/llvm/lib/InterfaceStub/
H A DIFSHandler.cpp195 Stub->Target.Arch = in readIFSFromBuffer()
204 if (Stub.Target.Arch) { in writeIFSToOutputStream()
208 IFSTarget Target = Stub.Target; in writeIFSToOutputStream() local
211 (!CopyStub->Target.ArchString && !CopyStub->Target.Endianness && in writeIFSToOutputStream()
225 if (Stub.Target.Arch && Stub.Target.Arch.value() != OverrideArch.value()) { in overrideIFSTarget()
248 if (Stub.Target.Triple && in overrideIFSTarget()
260 if (Stub.Target.Triple) { in validateIFSTarget()
261 if (Stub.Target.Arch || Stub.Target.BitWidth || Stub.Target.Endianness || in validateIFSTarget()
275 if (!Stub.Target.Arch || !Stub.Target.BitWidth || !Stub.Target.Endianness) { in validateIFSTarget()
277 if (!Stub.Target.Arch) { in validateIFSTarget()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/TextAPI/
H A DTarget.h26 class Target {
28 Target() = default;
29 Target(Architecture Arch, PlatformType Platform) in Target() function
31 explicit Target(const llvm::Triple &Triple) in Target() function
34 static llvm::Expected<Target> create(StringRef Target);
42 inline bool operator==(const Target &LHS, const Target &RHS) {
46 inline bool operator!=(const Target &LHS, const Target &RHS) {
50 inline bool operator<(const Target &LHS, const Target &RHS) {
62 PlatformSet mapToPlatformSet(ArrayRef<Target> Targets);
65 std::string getTargetTripleName(const Target &Targ);
[all …]
H A DInterfaceFile.h88 void addTarget(const Target &Target);
90 for (const auto &Target : Targets) in addTargets() local
91 addTarget(Target(Target)); in addTargets()
192 void addTarget(const Target &Target);
201 addTarget(Target(Target_));
292 void addAllowableClient(StringRef InstallName, const Target &Target);
305 void addReexportedLibrary(StringRef InstallName, const Target &Target);
318 void addUUID(const Target &Target, StringRef UUID);
324 void addUUID(const Target &Target, uint8_t UUID[16]);
430 std::vector<std::pair<Target, std::string>> ParentUmbrellas;
[all …]
/llvm-project-15.0.7/llvm/lib/TextAPI/
H A DInterfaceFile.cpp35 lower_bound(Container, Target_, [](const Target &LHS, const Target &RHS) { in addEntry()
45 void InterfaceFileRef::addTarget(const Target &Target) { in addTarget() argument
46 addEntry(Targets, Target); in addTarget()
50 const Target &Target) { in addAllowableClient() argument
52 Client->addTarget(Target); in addAllowableClient()
56 const Target &Target) { in addReexportedLibrary() argument
58 Lib->addTarget(Target); in addReexportedLibrary()
87 void InterfaceFile::addUUID(const Target &Target, uint8_t UUID[16]) { in addUUID() argument
98 void InterfaceFile::addTarget(const Target &Target) { in addTarget() argument
99 addEntry(Targets, Target); in addTarget()
[all …]
H A DTarget.cpp17 Expected<Target> Target::create(StringRef TargetValue) { in create()
45 return Target{Architecture, Platform}; in create()
48 Target::operator std::string() const { in operator std::string()
53 raw_ostream &operator<<(raw_ostream &OS, const Target &Target) { in operator <<() argument
54 OS << std::string(Target); in operator <<()
58 PlatformSet mapToPlatformSet(ArrayRef<Target> Targets) { in mapToPlatformSet()
60 for (const auto &Target : Targets) in mapToPlatformSet() local
61 Result.insert(Target.Platform); in mapToPlatformSet()
67 for (const auto &Target : Targets) in mapToArchitectureSet() local
68 Result.set(Target.Arch); in mapToArchitectureSet()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DTargetRegistry.h145 class Target {
251 Target *Next;
358 Target() = default;
826 static void RegisterMCAsmInfo(Target &T, Target::MCAsmInfoCtorFnTy Fn) { in RegisterMCAsmInfo()
872 static void RegisterMCRegInfo(Target &T, Target::MCRegInfoCtorFnTy Fn) { in RegisterMCRegInfo()
925 static void RegisterMCAsmParser(Target &T, Target::MCAsmParserCtorTy Fn) { in RegisterMCAsmParser()
938 static void RegisterAsmPrinter(Target &T, Target::AsmPrinterCtorTy Fn) { in RegisterAsmPrinter()
990 static void RegisterELFStreamer(Target &T, Target::ELFStreamerCtorTy Fn) { in RegisterELFStreamer()
1141 RegisterMCAsmInfoFn(Target &T, Target::MCAsmInfoCtorFnTy Fn) { in RegisterMCAsmInfoFn()
1205 RegisterMCInstrInfoFn(Target &T, Target::MCInstrInfoCtorFnTy Fn) { in RegisterMCInstrInfoFn()
[all …]
/llvm-project-15.0.7/clang/lib/Basic/Targets/
H A DOSTargets.h38 template <typename Target>
58 template <typename Target>
77 template <typename Target>
169 template <typename Target>
205 template <typename Target>
265 template <typename Target>
288 template <typename Target>
321 template <typename Target>
344 template <typename Target>
368 template <typename Target>
[all …]
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DDisassemblerEmitter.cpp105 CodeGenTarget Target(Records); in EmitDisassembler() local
106 emitSourceFileHeader(" * " + Target.getName().str() + " Disassembler", OS); in EmitDisassembler()
109 if (Target.getName() == "X86") { in EmitDisassembler()
113 Target.getInstructionsByEnumValue(); in EmitDisassembler()
119 PrintError(Target.getTargetRecord()->getLoc(), "Primary decode conflict"); in EmitDisassembler()
130 if (Target.getName() == "WebAssembly") { in EmitDisassembler()
131 emitWebAssemblyDisassemblerTables(OS, Target.getInstructionsByEnumValue()); in EmitDisassembler()
136 if (Target.getName() == "ARM" || Target.getName() == "Thumb" || in EmitDisassembler()
137 Target.getName() == "AArch64" || Target.getName() == "ARM64") { in EmitDisassembler()
138 std::string PredicateNamespace = std::string(Target.getName()); in EmitDisassembler()
[all …]
/llvm-project-15.0.7/lldb/include/lldb/Symbol/
H A DFuncUnwinders.h40 lldb::UnwindPlanSP GetUnwindPlanAtNonCallSite(Target &target,
43 lldb::UnwindPlanSP GetUnwindPlanFastUnwind(Target &target,
52 Address &GetFirstNonPrologueInsn(Target &target);
65 Address GetLSDAAddress(Target &target);
71 Address GetPersonalityRoutinePtrAddress(Target &target);
79 lldb::UnwindPlanSP GetObjectFileUnwindPlan(Target &target);
84 lldb::UnwindPlanSP GetEHFrameUnwindPlan(Target &target);
86 lldb::UnwindPlanSP GetEHFrameAugmentedUnwindPlan(Target &target,
89 lldb::UnwindPlanSP GetDebugFrameUnwindPlan(Target &target);
94 lldb::UnwindPlanSP GetCompactUnwindUnwindPlan(Target &target);
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AArch64/TargetInfo/
H A DAArch64TargetInfo.cpp13 Target &llvm::getTheAArch64leTarget() { in getTheAArch64leTarget()
14 static Target TheAArch64leTarget; in getTheAArch64leTarget()
17 Target &llvm::getTheAArch64beTarget() { in getTheAArch64beTarget()
18 static Target TheAArch64beTarget; in getTheAArch64beTarget()
21 Target &llvm::getTheAArch64_32Target() { in getTheAArch64_32Target()
22 static Target TheAArch64leTarget; in getTheAArch64_32Target()
25 Target &llvm::getTheARM64Target() { in getTheARM64Target()
26 static Target TheARM64Target; in getTheARM64Target()
29 Target &llvm::getTheARM64_32Target() { in getTheARM64_32Target()
30 static Target TheARM64_32Target; in getTheARM64_32Target()
H A DAArch64TargetInfo.h14 class Target; variable
16 Target &getTheAArch64leTarget();
17 Target &getTheAArch64beTarget();
18 Target &getTheAArch64_32Target();
19 Target &getTheARM64Target();
20 Target &getTheARM64_32Target();
/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTX.td12 // 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">;
43 "Target SM 5.2">;
[all …]
/llvm-project-15.0.7/llvm/lib/MC/
H A DTargetRegistry.cpp18 static Target *FirstTarget = nullptr;
24 const Target *TargetRegistry::lookupTarget(const std::string &ArchName, in lookupTarget()
30 const Target *TheTarget = nullptr; in lookupTarget()
62 const Target *TargetRegistry::lookupTarget(const std::string &TT, in lookupTarget()
88 void TargetRegistry::RegisterTarget(Target &T, const char *Name, in RegisterTarget()
91 Target::ArchMatchFnTy ArchMatchFn, in RegisterTarget()
118 std::vector<std::pair<StringRef, const Target*> > Targets; in printRegisteredTargetsForVersion()
127 for (const auto &Target : Targets) { in printRegisteredTargetsForVersion() local
128 OS << " " << Target.first; in printRegisteredTargetsForVersion()
129 OS.indent(Width - Target.first.size()) in printRegisteredTargetsForVersion()
[all …]
/llvm-project-15.0.7/utils/bazel/llvm-project-overlay/llvm/
H A DBUILD.bazel839 ":Target",
1012 ":Target",
1033 ":Target",
1071 ":Target",
1131 ":Target",
1155 ":Target",
1178 ":Target",
1376 ":Target",
1476 ":Target",
2160 ":Target",
[all …]
/llvm-project-15.0.7/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp40 MCValue Target,
48 MCValue Target,
121 Value = Target.getConstant(); in RecordX86_64Relocation()
132 if (Target.isAbsolute()) { // constant in RecordX86_64Relocation()
482 if (auto *SymB = Target.getSymB()) { in recordTLVPRelocation()
489 Target.getConstant(); in recordTLVPRelocation()
514 if (Target.getSymA() && in RecordX86Relocation()
524 if (Target.getSymB()) { in RecordX86Relocation()
532 if (Target.getSymA()) in RecordX86Relocation()
533 A = &Target.getSymA()->getSymbol(); in RecordX86Relocation()
[all …]
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DPerGraphGOTAndPLTStubsBuilder.h70 Symbol &getGOTEntry(Symbol &Target) { in getGOTEntry() argument
71 assert(Target.hasName() && "GOT edge cannot point to anonymous target"); in getGOTEntry()
73 auto GOTEntryI = GOTEntries.find(Target.getName()); in getGOTEntry()
77 auto &GOTEntry = impl().createGOTEntry(Target); in getGOTEntry()
79 dbgs() << " Created GOT entry for " << Target.getName() << ": " in getGOTEntry()
83 GOTEntries.insert(std::make_pair(Target.getName(), &GOTEntry)).first; in getGOTEntry()
92 Symbol &getPLTStub(Symbol &Target) { in getPLTStub() argument
93 assert(Target.hasName() && in getPLTStub()
95 auto StubI = PLTStubs.find(Target.getName()); in getPLTStub()
98 auto &StubSymbol = impl().createPLTStub(Target); in getPLTStub()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/TargetInfo/
H A DPowerPCTargetInfo.cpp13 Target &llvm::getThePPC32Target() { in getThePPC32Target()
14 static Target ThePPC32Target; in getThePPC32Target()
17 Target &llvm::getThePPC32LETarget() { in getThePPC32LETarget()
18 static Target ThePPC32LETarget; in getThePPC32LETarget()
21 Target &llvm::getThePPC64Target() { in getThePPC64Target()
22 static Target ThePPC64Target; in getThePPC64Target()
25 Target &llvm::getThePPC64LETarget() { in getThePPC64LETarget()
26 static Target ThePPC64LETarget; in getThePPC64LETarget()
/llvm-project-15.0.7/llvm/lib/Target/Mips/TargetInfo/
H A DMipsTargetInfo.cpp13 Target &llvm::getTheMipsTarget() { in getTheMipsTarget()
14 static Target TheMipsTarget; in getTheMipsTarget()
17 Target &llvm::getTheMipselTarget() { in getTheMipselTarget()
18 static Target TheMipselTarget; in getTheMipselTarget()
21 Target &llvm::getTheMips64Target() { in getTheMips64Target()
22 static Target TheMips64Target; in getTheMips64Target()
25 Target &llvm::getTheMips64elTarget() { in getTheMips64elTarget()
26 static Target TheMips64elTarget; in getTheMips64elTarget()
/llvm-project-15.0.7/llvm/lib/Target/ARM/TargetInfo/
H A DARMTargetInfo.cpp13 Target &llvm::getTheARMLETarget() { in getTheARMLETarget()
14 static Target TheARMLETarget; in getTheARMLETarget()
17 Target &llvm::getTheARMBETarget() { in getTheARMBETarget()
18 static Target TheARMBETarget; in getTheARMBETarget()
21 Target &llvm::getTheThumbLETarget() { in getTheThumbLETarget()
22 static Target TheThumbLETarget; in getTheThumbLETarget()
25 Target &llvm::getTheThumbBETarget() { in getTheThumbBETarget()
26 static Target TheThumbBETarget; in getTheThumbBETarget()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DIssueHash.cpp31 static std::string GetSignature(const FunctionDecl *Target) { in GetSignature() argument
32 if (!Target) in GetSignature()
40 Target->getTemplateInstantiationPattern()) in GetSignature()
41 Target = InstantiatedFrom; in GetSignature()
43 if (!isa<CXXConstructorDecl>(Target) && !isa<CXXDestructorDecl>(Target) && in GetSignature()
44 !isa<CXXConversionDecl>(Target)) in GetSignature()
45 Signature.append(Target->getReturnType().getAsString()).append(" "); in GetSignature()
46 Signature.append(Target->getQualifiedNameAsString()).append("("); in GetSignature()
51 Signature.append(Target->getParamDecl(i)->getType().getAsString()); in GetSignature()
54 if (Target->isVariadic()) in GetSignature()
[all …]
/llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/lib/Target/
H A DBUILD.gn1 import("//llvm/lib/Target/targets.gni")
2 import("//llvm/lib/Target/targets_with_asm_parsers.gni")
3 import("//llvm/lib/Target/targets_with_disassemblers.gni")
4 import("//llvm/lib/Target/targets_with_mcas.gni")
7 # 1. The actual //llvm/lib/Target build target, which is just a static
16 # //llvm/lib/Target:TargetsToBuild (a target in this file) ->
17 # /llvm/lib/Target/(X86|ARM|...) (in the subdirectories) ->
19 # //llvm/lib/Target (a target in this file again)
24 static_library("Target") {
35 # declared in llvm-c/Target.h are defined in llvm/lib/Target, clients of
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dmbp.ll5 %Target = type { %Target*, %List* }
18 define i1 @foo(%Target** %ha, i32 %he) !prof !39 {
20 %TargetPtr = load %Target*, %Target** %ha, align 4
21 %cmp1 = icmp eq %Target* %TargetPtr, null
25 %TargetPhi = phi %Target* [ %NextPtr, %for.inc ], [ %TargetPtr, %entry ]
26 %ListAddr = getelementptr inbounds %Target, %Target* %TargetPhi, i32 0, i32 1
51 %NextAddr = getelementptr inbounds %Target, %Target* %TargetPhi, i32 0, i32 0
52 %NextPtr = load %Target*, %Target** %NextAddr, align 4
53 %cmp5 = icmp eq %Target* %NextPtr, null
/llvm-project-15.0.7/lldb/source/Target/
H A DTarget.cpp79 const Target::Arch &Target::Arch::operator=(const ArchSpec &spec) { in operator =()
90 Target::Target(Debugger &debugger, const ArchSpec &target_arch, in Target() function in Target
125 Target::~Target() { in ~Target()
131 void Target::PrimeFromDummyTarget(Target &target) { in PrimeFromDummyTarget()
275 void Target::Destroy() { in Destroy()
1405 void Target::DidExec() { in DidExec()
2280 Target *target = (Target *)baton; in ImageSearchPathsChanged()
2452 Target *Target::GetTargetFromContexts(const ExecutionContext *exe_ctx_ptr, in GetTargetFromContexts()
2458 Target *target = nullptr; in GetTargetFromContexts()
2624 Target::StopHookSP Target::CreateStopHook(StopHook::StopHookKind kind) { in CreateStopHook()
[all …]
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFAArch64.h284 write32AArch64Imm(Target, Value & 0xFFF, 0); in resolveRelocation()
291 write32AArch64Ldr(Target, Value & 0xFFF); in resolveRelocation()
297 write32le(Target, VA); in resolveRelocation()
303 write32le(Target, RVA); in resolveRelocation()
319 write32le(Target, (read32le(Target) & ~(0x03FFFFFF)) | in resolveRelocation()
328 write32le(Target, (read32le(Target) & ~(0x00FFFFE0)) | in resolveRelocation()
337 write32le(Target, (read32le(Target) & ~(0x000FFFE0)) | in resolveRelocation()
343 write64le(Target, Value + RE.Addend); in resolveRelocation()
350 add16(Target, RE.SectionID); in resolveRelocation()
359 write32le(Target, RE.Addend); in resolveRelocation()
[all …]
/llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/AArch64/
H A DBUILD.gn5 td_file = "//llvm/lib/Target/AArch64/AArch64.td"
13 # Exegesis reaches inside the Target/AArch64 tablegen internals and must
14 # depend on these Target/AArch64-internal build targets.
15 "//llvm/lib/Target/AArch64/MCTargetDesc",
16 "//llvm/lib/Target/AArch64/Utils",
18 sources = [ "Target.cpp" ]
19 include_dirs = [ "//llvm/lib/Target/AArch64" ]

12345678910>>...70