Home
last modified time | relevance | path

Searched refs:Triple (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/compile/mclinker/lib/Support/Unix/
DSystem.inc45 std::string Triple(Arch);
46 Triple += '-';
47 Triple += ArchSplit.second;
50 if (Triple[0] == 'i' && isdigit(Triple[1]) && Triple[2] == '8' &&
51 Triple[3] == '6')
52 Triple[1] = '3';
56 std::string::size_type DarwinDashIdx = Triple.find("-darwin");
58 Triple.resize(DarwinDashIdx + strlen("-darwin"));
59 Triple += getOSVersion();
62 return Triple;
/frameworks/compile/libbcc/lib/
DCompilerConfig.cpp76 mArchType = llvm::Triple::UnknownArch; in CompilerConfig()
98 mArchType = llvm::Triple::getArchTypeForLLVMName(mTarget->getName()); in initializeArch()
100 mArchType = llvm::Triple::UnknownArch; in initializeArch()
108 case llvm::Triple::arm: { in initializeArch()
167 case llvm::Triple::aarch64: in initializeArch()
179 case llvm::Triple::mips: in initializeArch()
180 case llvm::Triple::mipsel: in initializeArch()
188 case llvm::Triple::mips64: in initializeArch()
189 case llvm::Triple::mips64el: in initializeArch()
196 case llvm::Triple::x86: in initializeArch()
[all …]
DCompiler.cpp272 if (llvm::Triple(getTargetMachine().getTargetTriple()).getArch() == llvm::Triple::x86_64 || in runPasses()
273 llvm::Triple(getTargetMachine().getTargetTriple()).getArch() == llvm::Triple::mips64el) in runPasses()
330 if (getTargetMachine().getTargetTriple().getArch() == llvm::Triple::x86) { in compile()
459 llvm::Triple arch(getTargetMachine().getTargetTriple()); in addInvokeHelperPass()
/frameworks/compile/mclinker/lib/Target/X86/
DX86Emulation.cpp24 llvm::Triple::ArchType arch = pConfig.targets().triple().getArch(); in MCLDEmulateX86ELF()
25 assert(arch == llvm::Triple::x86 || arch == llvm::Triple::x86_64); in MCLDEmulateX86ELF()
26 if (arch == llvm::Triple::x86 || in MCLDEmulateX86ELF()
27 pConfig.targets().triple().getEnvironment() == llvm::Triple::GNUX32) { in MCLDEmulateX86ELF()
DX86GNUInfo.h19 explicit X86_32GNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) {} in X86_32GNUInfo()
32 explicit X86_64GNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) {} in X86_64GNUInfo()
DX86LDBackend.cpp47 llvm::Triple::ArchType arch = pConfig.targets().triple().getArch(); in X86GNULDBackend()
48 assert(arch == llvm::Triple::x86 || arch == llvm::Triple::x86_64); in X86GNULDBackend()
49 if (arch == llvm::Triple::x86 || in X86GNULDBackend()
50 pConfig.targets().triple().getEnvironment() == llvm::Triple::GNUX32) { in X86GNULDBackend()
53 if (arch == llvm::Triple::x86) in X86GNULDBackend()
716 llvm::Triple::ArchType arch = pConfig.targets().triple().getArch(); in createX86LDBackend()
717 if (arch == llvm::Triple::x86) in createX86LDBackend()
720 assert(arch == llvm::Triple::x86_64); in createX86LDBackend()
/frameworks/compile/mclinker/lib/Support/
DTargetRegistry.cpp34 llvm::Triple triple(pTriple); in lookupTarget()
66 llvm::Triple& pTriple, in lookupTarget()
87 llvm::Triple::ArchType type = in lookupTarget()
88 llvm::Triple::getArchTypeForLLVMName(pArchName); in lookupTarget()
89 if (llvm::Triple::UnknownArch != type) in lookupTarget()
/frameworks/compile/mclinker/lib/Target/
DGNUInfo.cpp16 GNUInfo::GNUInfo(const llvm::Triple& pTriple) : m_Triple(pTriple) { in GNUInfo()
21 case llvm::Triple::FreeBSD: in OSABI()
23 case llvm::Triple::Linux: in OSABI()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsEmulation.cpp24 llvm::Triple::ArchType arch = pConfig.targets().triple().getArch(); in MCLDEmulateMipsELF()
25 assert(arch == llvm::Triple::mipsel || arch == llvm::Triple::mips64el); in MCLDEmulateMipsELF()
26 unsigned bitclass = arch == llvm::Triple::mipsel ? 32 : 64; in MCLDEmulateMipsELF()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DInterruptionHandlerTest.kt53 Triple(SceneA, SceneB, SceneB), in <lambda>()
56 Triple(SceneB, SceneC, SceneC), in <lambda>()
90 Triple(SceneB, SceneC, SceneC), in <lambda>()
136 Triple(SceneA, SceneB, SceneB), in <lambda>()
139 Triple(SceneA, SceneB, SceneA), in <lambda>()
142 Triple(SceneA, SceneC, SceneC), in <lambda>()
205 Triple(transition?.fromScene, transition?.toScene, transition?.currentScene) in <lambda>()
/frameworks/compile/mclinker/include/mcld/Support/
DTargetRegistry.h107 llvm::Triple& pTriple,
119 template <llvm::Triple::ArchType TargetArchType = llvm::Triple::UnknownArch>
133 static unsigned int getTripleMatchQuality(const llvm::Triple& pTriple) { in getTripleMatchQuality()
DTarget.h15 class Triple; variable
39 typedef unsigned int (*TripleMatchQualityFnTy)(const llvm::Triple& pTriple);
64 unsigned int getTripleQuality(const llvm::Triple& pTriple) const;
/frameworks/compile/mclinker/include/mcld/
DTargetOptions.h33 const llvm::Triple& triple() const { return m_Triple; } in triple()
37 void setTriple(const llvm::Triple& pTriple);
83 llvm::Triple m_Triple;
/frameworks/compile/mclinker/lib/Target/Mips/TargetInfo/
DMipsTargetInfo.cpp18 mcld::RegisterTarget<llvm::Triple::mipsel> X1(TheMipselTarget, "mipsel"); in MCLDInitializeMipsLDTargetInfo()
19 mcld::RegisterTarget<llvm::Triple::mips64el> X2(TheMips64elTarget, in MCLDInitializeMipsLDTargetInfo()
/frameworks/compile/mclinker/lib/Target/X86/TargetInfo/
DX86TargetInfo.cpp19 mcld::RegisterTarget<llvm::Triple::x86> X(TheX86_32Target, "x86"); in MCLDInitializeX86LDTargetInfo()
20 mcld::RegisterTarget<llvm::Triple::x86_64> Y(TheX86_64Target, "x86-64"); in MCLDInitializeX86LDTargetInfo()
/frameworks/compile/mclinker/lib/Target/ARM/TargetInfo/
DARMTargetInfo.cpp19 mcld::RegisterTarget<llvm::Triple::arm> X(TheARMTarget, "arm"); in MCLDInitializeARMLDTargetInfo()
20 mcld::RegisterTarget<llvm::Triple::thumb> Y(TheThumbTarget, "thumb"); in MCLDInitializeARMLDTargetInfo()
/frameworks/compile/mclinker/tools/mcld/
DMain.cpp177 inline void ParseEmulation(llvm::Triple& triple, const char* emulation) { in ParseEmulation()
178 llvm::Triple emu_triple = in ParseEmulation()
179 llvm::StringSwitch<llvm::Triple>(emulation) in ParseEmulation()
180 .Case("aarch64linux", llvm::Triple("aarch64", "", "linux", "gnu")) in ParseEmulation()
181 .Case("armelf_linux_eabi", llvm::Triple("arm", "", "linux", "gnu")) in ParseEmulation()
182 .Case("elf_i386", llvm::Triple("i386", "", "", "gnu")) in ParseEmulation()
183 .Case("elf_x86_64", llvm::Triple("x86_64", "", "", "gnu")) in ParseEmulation()
184 .Case("elf32_x86_64", llvm::Triple("x86_64", "", "", "gnux32")) in ParseEmulation()
185 .Case("elf_i386_fbsd", llvm::Triple("i386", "", "freebsd", "gnu")) in ParseEmulation()
186 .Case("elf_x86_64_fbsd", llvm::Triple("x86_64", "", "freebsd", "gnu")) in ParseEmulation()
[all …]
/frameworks/compile/mclinker/include/mcld/Target/
DGNUInfo.h21 explicit GNUInfo(const llvm::Triple& pTriple);
67 const llvm::Triple& m_Triple;
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DUtils.kt27 fun <A, B, C> toTriple(a: A, bc: Pair<B, C>) = Triple(a, bc.first, bc.second) in <lambda>()
29 fun <A, B, C> toTriple(ab: Pair<A, B>, c: C) = Triple(ab.first, ab.second, c) in <lambda>()
33 fun <A, B, C, D> toQuad(a: A, bcd: Triple<B, C, D>) = in <lambda>()
35 fun <A, B, C, D> toQuad(abc: Triple<A, B, C>, d: D) = in <lambda>()
71 fun <A, B, C> Flow<A>.sample(b: Flow<B>, c: Flow<C>): Flow<Triple<A, B, C>> { in <lambda>()
86 return this.sample(combine(b, c, d, ::Triple), ::toQuad) in <lambda>()
/frameworks/libs/systemui/monet/tests/com/android/systemui/monet/
DColorSchemeTest.kt144 Triple("accent1", "Primary", colorScheme.accent1), in generateDefaultValues()
145 Triple("accent2", "Secondary", colorScheme.accent2), in generateDefaultValues()
146 Triple("accent3", "Tertiary", colorScheme.accent3), in generateDefaultValues()
147 Triple("neutral1", "Neutral", colorScheme.neutral1), in generateDefaultValues()
148 Triple("neutral2", "Secondary Neutral", colorScheme.neutral2) in generateDefaultValues()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNeverExactlyLinearLayout.kt51 private fun getNonExactlyMeasureSpec(measureSpec: Int): Triple<Boolean, Int, Int> { in getNonExactlyMeasureSpec()
58 return Triple(isExactly, newSpec, size) in getNonExactlyMeasureSpec()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/runtime/
DMovableContent.kt34 MovableContent<Pair<Triple<P1, P2, P3>, Pair<P4, P5>>> { in <lambda>()
44 currentComposer.insertMovableContent(movableContent, Triple(p1, p2, p3) to (p4 to p5)) in <lambda>()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/
DCredentialSelectorActivity.kt120 ): Triple<Boolean, Boolean, String?> { in maybeCancelUIUponRequest()
122 ?: return Triple(false, false, null) in maybeCancelUIUponRequest()
125 return Triple(true, false, null) in maybeCancelUIUponRequest()
136 return Triple(true, shouldShowCancellationUi, appDisplayName) in maybeCancelUIUponRequest()
/frameworks/compile/libbcc/include/bcc/
DCompilerConfig.h67 llvm::Triple::ArchType mArchType;
105 inline llvm::Triple::ArchType getArchType() const in getArchType()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/
DMediaCarouselControllerTest.kt217 Triple( in testPlayerOrdering()
229 Triple( in testPlayerOrdering()
241 Triple( in testPlayerOrdering()
253 Triple( in testPlayerOrdering()
265 Triple( in testPlayerOrdering()
277 Triple( in testPlayerOrdering()
289 Triple( in testPlayerOrdering()
301 Triple( in testPlayerOrdering()
313 Triple( in testPlayerOrdering()
325 Triple( in testPlayerOrdering()
[all …]

123