Home
last modified time | relevance | path

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

12345678910>>...38

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DTriple.cpp19 StringRef Triple::getArchTypeName(ArchType Kind) { in getArchTypeName()
79 StringRef Triple::getArchTypePrefix(ArchType Kind) { in getArchTypePrefix()
153 StringRef Triple::getVendorTypeName(VendorType Kind) { in getVendorTypeName()
178 StringRef Triple::getOSTypeName(OSType Kind) { in getOSTypeName()
222 StringRef Triple::getEnvironmentTypeName(EnvironmentType Kind) { in getEnvironmentTypeName()
249 static Triple::ArchType parseBPFArch(StringRef ArchName) { in parseBPFArch()
252 return Triple::bpfel; in parseBPFArch()
254 return Triple::bpfeb; in parseBPFArch()
256 return Triple::bpfeb; in parseBPFArch()
258 return Triple::bpfel; in parseBPFArch()
[all …]
/external/llvm/unittests/ADT/
DTripleTest.cpp18 Triple T; in TEST()
20 T = Triple(""); in TEST()
26 T = Triple("-"); in TEST()
32 T = Triple("--"); in TEST()
38 T = Triple("---"); in TEST()
44 T = Triple("----"); in TEST()
50 T = Triple("a"); in TEST()
56 T = Triple("a-b"); in TEST()
62 T = Triple("a-b-c"); in TEST()
68 T = Triple("a-b-c-d"); in TEST()
[all …]
/external/llvm/lib/Support/
DTriple.cpp20 const char *Triple::getArchTypeName(ArchType Kind) { in getArchTypeName()
74 const char *Triple::getArchTypePrefix(ArchType Kind) { in getArchTypePrefix()
140 const char *Triple::getVendorTypeName(VendorType Kind) { in getVendorTypeName()
163 const char *Triple::getOSTypeName(OSType Kind) { in getOSTypeName()
200 const char *Triple::getEnvironmentTypeName(EnvironmentType Kind) { in getEnvironmentTypeName()
224 static Triple::ArchType parseBPFArch(StringRef ArchName) { in parseBPFArch()
227 return Triple::bpfel; in parseBPFArch()
229 return Triple::bpfeb; in parseBPFArch()
231 return Triple::bpfeb; in parseBPFArch()
233 return Triple::bpfel; in parseBPFArch()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DTriple.h43 class Triple {
259 Triple() in Triple() function
263 explicit Triple(const Twine &Str);
264 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr);
265 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr,
268 bool operator==(const Triple &Other) const {
275 bool operator!=(const Triple &Other) const {
430 bool isOSVersionLT(const Triple &Other) const { in isOSVersionLT()
444 if (getOS() == Triple::MacOSX)
455 return getOS() == Triple::Darwin || getOS() == Triple::MacOSX; in isMacOSX()
[all …]
/external/clang/lib/Basic/
DTargets.cpp69 static TargetInfo *AllocateTarget(const llvm::Triple &Triple,
80 virtual void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple,
83 OSTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts) in OSTargetInfo() argument
84 : TgtInfo(Triple, Opts) {} in OSTargetInfo()
97 void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines() argument
109 CloudABITargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts) in CloudABITargetInfo() argument
110 : OSTargetInfo<Target>(Triple, Opts) {} in CloudABITargetInfo()
114 const llvm::Triple &Triple, in getDarwinDefines() argument
143 if (Triple.isMacOSX()) { in getDarwinDefines()
144 Triple.getMacOSXVersion(Maj, Min, Rev); in getDarwinDefines()
[all …]
/external/llvm/include/llvm/ADT/
DTriple.h44 class Triple {
230 Triple() : Data(), Arch(), Vendor(), OS(), Environment(), ObjectFormat() {} in Triple() function
232 explicit Triple(const Twine &Str);
233 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr);
234 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr,
237 bool operator==(const Triple &Other) const {
395 bool isOSVersionLT(const Triple &Other) const { in isOSVersionLT()
409 if (getOS() == Triple::MacOSX)
420 return getOS() == Triple::Darwin || getOS() == Triple::MacOSX; in isMacOSX()
429 return getOS() == Triple::IOS || isTvOS(); in isiOS()
[all …]
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/tuple/
DTripleTest.java37 assertThrows(NullPointerException.class, () -> Triple.ofNonNull(null, null, null)); in testOfNonNull()
38 assertThrows(NullPointerException.class, () -> Triple.ofNonNull(null, null, "z")); in testOfNonNull()
39 assertThrows(NullPointerException.class, () -> Triple.ofNonNull(null, "y", "z")); in testOfNonNull()
40 assertThrows(NullPointerException.class, () -> Triple.ofNonNull("x", null, null)); in testOfNonNull()
41 assertThrows(NullPointerException.class, () -> Triple.ofNonNull("x", "y", null)); in testOfNonNull()
42 final Triple<String, String, String> pair = Triple.ofNonNull("x", "y", "z"); in testOfNonNull()
50 final Triple<String, String, String> triple1 = Triple.of("A", "D", "A"); in testComparable1()
51 final Triple<String, String, String> triple2 = Triple.of("B", "C", "A"); in testComparable1()
60 final Triple<String, String, String> triple1 = Triple.of("A", "C", "B"); in testComparable2()
61 final Triple<String, String, String> triple2 = Triple.of("A", "D", "B"); in testComparable2()
[all …]
/external/clang/lib/Driver/
DToolChain.cpp41 const llvm::Triple &Triple, in CalculateRTTIMode() argument
52 if (!Triple.isPS4CPU()) in CalculateRTTIMode()
68 ToolChain::ToolChain(const Driver &D, const llvm::Triple &T, in ToolChain()
70 : D(D), Triple(T), Args(Args), CachedRTTIArg(GetRTTIArgument(Args)), in ToolChain()
71 CachedRTTIMode(CalculateRTTIMode(Args, Triple, CachedRTTIArg)) { in ToolChain()
193 switch (Triple.getArch()) { in getDefaultUniversalArchName()
194 case llvm::Triple::ppc: in getDefaultUniversalArchName()
196 case llvm::Triple::ppc64: in getDefaultUniversalArchName()
198 case llvm::Triple::ppc64le: in getDefaultUniversalArchName()
201 return Triple.getArchName(); in getDefaultUniversalArchName()
[all …]
DToolChains.cpp45 MachO::MachO(const Driver &D, const llvm::Triple &Triple, const ArgList &Args) in MachO() argument
46 : ToolChain(D, Triple, Args) { in MachO()
54 Darwin::Darwin(const Driver &D, const llvm::Triple &Triple, const ArgList &Args) in Darwin() argument
55 : MachO(D, Triple, Args), TargetInitialized(false) {} in Darwin()
158 case llvm::Triple::aarch64: in getMachOArchName()
161 case llvm::Triple::thumb: in getMachOArchName()
162 case llvm::Triple::arm: in getMachOArchName()
181 llvm::Triple Triple(ComputeLLVMTriple(Args, InputType)); in ComputeEffectiveClangTriple() local
183 return Triple.getTriple(); in ComputeEffectiveClangTriple()
188 llvm::Triple Triple(ComputeLLVMTriple(Args, InputType)); in ComputeEffectiveClangTriple() local
[all …]
DTools.cpp74 const llvm::Triple &Triple) { in getSparcAsmModeForCPU() argument
75 if (Triple.getArch() == llvm::Triple::sparcv9) { in getSparcAsmModeForCPU()
597 static bool isSignedCharDefault(const llvm::Triple &Triple) { in isSignedCharDefault() argument
598 switch (Triple.getArch()) { in isSignedCharDefault()
602 case llvm::Triple::aarch64: in isSignedCharDefault()
603 case llvm::Triple::aarch64_be: in isSignedCharDefault()
604 case llvm::Triple::arm: in isSignedCharDefault()
605 case llvm::Triple::armeb: in isSignedCharDefault()
606 case llvm::Triple::thumb: in isSignedCharDefault()
607 case llvm::Triple::thumbeb: in isSignedCharDefault()
[all …]
DToolChains.h82 llvm::Triple GCCTriple;
106 void init(const llvm::Triple &TargetTriple, const llvm::opt::ArgList &Args,
113 const llvm::Triple &getTriple() const { return GCCTriple; } in getTriple()
139 CollectLibDirsAndTriples(const llvm::Triple &TargetTriple,
140 const llvm::Triple &BiarchTriple,
146 void ScanLibDirForGCCTriple(const llvm::Triple &TargetArch,
152 void scanLibDirForGCCTripleSolaris(const llvm::Triple &TargetArch,
181 void init(const llvm::Triple &TargetTriple, const llvm::opt::ArgList &Args);
215 Generic_GCC(const Driver &D, const llvm::Triple &Triple,
267 MachO(const Driver &D, const llvm::Triple &Triple,
[all …]
/external/clang/lib/Frontend/
DInitHeaderSearch.cpp78 const llvm::Triple &triple);
87 void AddDefaultCIncludePaths(const llvm::Triple &triple,
92 void AddDefaultCPlusPlusIncludePaths(const llvm::Triple &triple,
98 const llvm::Triple &triple,
180 const llvm::Triple &triple) { in AddGnuCPlusPlusIncludePaths()
185 llvm::Triple::ArchType arch = triple.getArch(); in AddGnuCPlusPlusIncludePaths()
186 bool is64bit = arch == llvm::Triple::ppc64 || arch == llvm::Triple::x86_64; in AddGnuCPlusPlusIncludePaths()
207 void InitHeaderSearch::AddDefaultCIncludePaths(const llvm::Triple &triple, in AddDefaultCIncludePaths()
209 llvm::Triple::OSType os = triple.getOS(); in AddDefaultCIncludePaths()
213 case llvm::Triple::CloudABI: in AddDefaultCIncludePaths()
[all …]
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MCAsmInfo.cpp44 X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(const Triple &T) { in X86MCAsmInfoDarwin()
45 bool is64Bit = T.getArch() == Triple::x86_64; in X86MCAsmInfoDarwin()
83 X86_64MCAsmInfoDarwin::X86_64MCAsmInfoDarwin(const Triple &Triple) in X86_64MCAsmInfoDarwin() argument
84 : X86MCAsmInfoDarwin(Triple) { in X86_64MCAsmInfoDarwin()
89 X86ELFMCAsmInfo::X86ELFMCAsmInfo(const Triple &T) { in X86ELFMCAsmInfo()
90 bool is64Bit = T.getArch() == Triple::x86_64; in X86ELFMCAsmInfo()
91 bool isX32 = T.getEnvironment() == Triple::GNUX32; in X86ELFMCAsmInfo()
129 X86MCAsmInfoMicrosoft::X86MCAsmInfoMicrosoft(const Triple &Triple) { in X86MCAsmInfoMicrosoft() argument
130 if (Triple.getArch() == Triple::x86_64) { in X86MCAsmInfoMicrosoft()
155 X86MCAsmInfoGNUCOFF::X86MCAsmInfoGNUCOFF(const Triple &Triple) { in X86MCAsmInfoGNUCOFF() argument
[all …]
DX86MCAsmInfo.h23 class Triple; variable
29 explicit X86MCAsmInfoDarwin(const Triple &Triple);
33 explicit X86_64MCAsmInfoDarwin(const Triple &Triple);
43 explicit X86ELFMCAsmInfo(const Triple &Triple);
50 explicit X86MCAsmInfoMicrosoft(const Triple &Triple);
57 explicit X86MCAsmInfoGNUCOFF(const Triple &Triple);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86MCAsmInfo.cpp39 X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(const Triple &T) { in X86MCAsmInfoDarwin()
40 bool is64Bit = T.getArch() == Triple::x86_64; in X86MCAsmInfoDarwin()
78 X86_64MCAsmInfoDarwin::X86_64MCAsmInfoDarwin(const Triple &Triple) in X86_64MCAsmInfoDarwin() argument
79 : X86MCAsmInfoDarwin(Triple) { in X86_64MCAsmInfoDarwin()
84 X86ELFMCAsmInfo::X86ELFMCAsmInfo(const Triple &T) { in X86ELFMCAsmInfo()
85 bool is64Bit = T.getArch() == Triple::x86_64; in X86ELFMCAsmInfo()
86 bool isX32 = T.getEnvironment() == Triple::GNUX32; in X86ELFMCAsmInfo()
124 X86MCAsmInfoMicrosoft::X86MCAsmInfoMicrosoft(const Triple &Triple) { in X86MCAsmInfoMicrosoft() argument
125 if (Triple.getArch() == Triple::x86_64) { in X86MCAsmInfoMicrosoft()
150 X86MCAsmInfoGNUCOFF::X86MCAsmInfoGNUCOFF(const Triple &Triple) { in X86MCAsmInfoGNUCOFF() argument
[all …]
DX86MCAsmInfo.h22 class Triple; variable
28 explicit X86MCAsmInfoDarwin(const Triple &Triple);
32 explicit X86_64MCAsmInfoDarwin(const Triple &Triple);
42 explicit X86ELFMCAsmInfo(const Triple &Triple);
49 explicit X86MCAsmInfoMicrosoft(const Triple &Triple);
56 explicit X86MCAsmInfoGNUCOFF(const Triple &Triple);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DELFObjectFile.cpp303 void ELFObjectFileBase::setARMSubArch(Triple &TheTriple) const { in setARMSubArch()
304 if (TheTriple.getSubArch() != Triple::NoSubArch) in setARMSubArch()
311 std::string Triple; in setARMSubArch() local
314 Triple = "thumb"; in setARMSubArch()
316 Triple = "arm"; in setARMSubArch()
321 Triple += "v4"; in setARMSubArch()
324 Triple += "v4t"; in setARMSubArch()
327 Triple += "v5t"; in setARMSubArch()
330 Triple += "v5te"; in setARMSubArch()
333 Triple += "v5tej"; in setARMSubArch()
[all …]
DRelocationResolver.cpp531 case Triple::x86_64: in getRelocationResolver()
533 case Triple::x86: in getRelocationResolver()
535 case Triple::arm: in getRelocationResolver()
536 case Triple::thumb: in getRelocationResolver()
538 case Triple::aarch64: in getRelocationResolver()
546 case Triple::x86_64: in getRelocationResolver()
548 case Triple::aarch64: in getRelocationResolver()
549 case Triple::aarch64_be: in getRelocationResolver()
551 case Triple::bpfel: in getRelocationResolver()
552 case Triple::bpfeb: in getRelocationResolver()
[all …]
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/tuple/
DTriple.java40 public abstract class Triple<L, M, R> implements Comparable<Triple<L, M, R>>, Serializable { class
53 public static final Triple<?, ?, ?>[] EMPTY_ARRAY = {};
66 public static <L, M, R> Triple<L, M, R>[] emptyArray() { in emptyArray()
67 return (Triple<L, M, R>[]) EMPTY_ARRAY; in emptyArray()
84 public static <L, M, R> Triple<L, M, R> of(final L left, final M middle, final R right) { in of()
104 public static <L, M, R> Triple<L, M, R> ofNonNull(final L left, final M middle, final R right) { in ofNonNull()
117 public int compareTo(final Triple<L, M, R> other) { in compareTo()
134 if (obj instanceof Triple<?, ?, ?>) { in equals()
135 final Triple<?, ?, ?> other = (Triple<?, ?, ?>) obj; in equals()
/external/llvm/lib/MC/
DMCObjectFileInfo.cpp23 static bool useCompactUnwind(const Triple &T) { in useCompactUnwind()
29 if (T.getArch() == Triple::aarch64) in useCompactUnwind()
42 (T.getArch() == Triple::x86_64 || T.getArch() == Triple::x86)) in useCompactUnwind()
48 void MCObjectFileInfo::initMachOMCObjectFileInfo(const Triple &T) { in initMachOMCObjectFileInfo()
58 if (T.isOSDarwin() && T.getArch() == Triple::aarch64) in initMachOMCObjectFileInfo()
134 Triple::ArchType ArchTy = T.getArch(); in initMachOMCObjectFileInfo()
136 if (ArchTy == Triple::ppc || ArchTy == Triple::ppc64) { in initMachOMCObjectFileInfo()
206 if (T.getArch() == Triple::x86_64 || T.getArch() == Triple::x86) in initMachOMCObjectFileInfo()
208 else if (T.getArch() == Triple::aarch64) in initMachOMCObjectFileInfo()
210 else if (T.getArch() == Triple::arm || T.getArch() == Triple::thumb) in initMachOMCObjectFileInfo()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCObjectFileInfo.cpp25 static bool useCompactUnwind(const Triple &T) { in useCompactUnwind()
31 if (T.getArch() == Triple::aarch64 || T.getArch() == Triple::aarch64_32) in useCompactUnwind()
49 void MCObjectFileInfo::initMachOMCObjectFileInfo(const Triple &T) { in initMachOMCObjectFileInfo()
60 (T.getArch() == Triple::aarch64 || T.getArch() == Triple::aarch64_32)) in initMachOMCObjectFileInfo()
132 Triple::ArchType ArchTy = T.getArch(); in initMachOMCObjectFileInfo()
138 if (ArchTy == Triple::ppc || ArchTy == Triple::ppc64) { in initMachOMCObjectFileInfo()
196 else if (T.getArch() == Triple::aarch64 || T.getArch() == Triple::aarch64_32) in initMachOMCObjectFileInfo()
198 else if (T.getArch() == Triple::arm || T.getArch() == Triple::thumb) in initMachOMCObjectFileInfo()
300 void MCObjectFileInfo::initELFMCObjectFileInfo(const Triple &T, bool Large) { in initELFMCObjectFileInfo()
302 case Triple::mips: in initELFMCObjectFileInfo()
[all …]
DSubtargetFeature.cpp68 void SubtargetFeatures::getDefaultSubtargetFeatures(const Triple& Triple) { in getDefaultSubtargetFeatures() argument
72 if (Triple.getVendor() == Triple::Apple) { in getDefaultSubtargetFeatures()
73 if (Triple.getArch() == Triple::ppc) { in getDefaultSubtargetFeatures()
76 } else if (Triple.getArch() == Triple::ppc64) { in getDefaultSubtargetFeatures()
/external/llvm/include/llvm/Support/
DTargetRegistry.h72 MCRelocationInfo *createMCRelocationInfo(const Triple &TT, MCContext &Ctx);
74 MCSymbolizer *createMCSymbolizer(const Triple &TT, LLVMOpInfoCallback GetOpInfo,
91 typedef bool (*ArchMatchFnTy)(Triple::ArchType Arch);
94 const Triple &TT);
95 typedef void (*MCAdjustCodeGenOptsFnTy)(const Triple &TT, Reloc::Model RM,
100 typedef MCRegisterInfo *(*MCRegInfoCtorFnTy)(const Triple &TT);
101 typedef MCSubtargetInfo *(*MCSubtargetInfoCtorFnTy)(const Triple &TT,
105 const Target &T, const Triple &TT, StringRef CPU, StringRef Features,
115 const Triple &TT, StringRef CPU);
122 typedef MCInstPrinter *(*MCInstPrinterCtorTy)(const Triple &T,
[all …]
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCAsmInfo.cpp21 MipsMCAsmInfo::MipsMCAsmInfo(const Triple &TheTriple) { in MipsMCAsmInfo()
22 if ((TheTriple.getArch() == Triple::mips) || in MipsMCAsmInfo()
23 (TheTriple.getArch() == Triple::mips64)) in MipsMCAsmInfo()
26 if ((TheTriple.getArch() == Triple::mips64el) || in MipsMCAsmInfo()
27 (TheTriple.getArch() == Triple::mips64)) { in MipsMCAsmInfo()
47 if (TheTriple.getArch() == Triple::mips || in MipsMCAsmInfo()
48 TheTriple.getArch() == Triple::mipsel) in MipsMCAsmInfo()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCAsmInfo.cpp21 ARMMCAsmInfoDarwin::ARMMCAsmInfoDarwin(const Triple &TheTriple) { in ARMMCAsmInfoDarwin()
22 if ((TheTriple.getArch() == Triple::armeb) || in ARMMCAsmInfoDarwin()
23 (TheTriple.getArch() == Triple::thumbeb)) in ARMMCAsmInfoDarwin()
44 ARMELFMCAsmInfo::ARMELFMCAsmInfo(const Triple &TheTriple) { in ARMELFMCAsmInfo()
45 if ((TheTriple.getArch() == Triple::armeb) || in ARMELFMCAsmInfo()
46 (TheTriple.getArch() == Triple::thumbeb)) in ARMELFMCAsmInfo()
61 case Triple::Bitrig: in ARMELFMCAsmInfo()
62 case Triple::NetBSD: in ARMELFMCAsmInfo()

12345678910>>...38