Home
last modified time | relevance | path

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

12345678910>>...40

/external/swiftshader/third_party/llvm-subzero/lib/Support/
DTriple.cpp20 StringRef Triple::getArchTypeName(ArchType Kind) { in getArchTypeName()
77 StringRef Triple::getArchTypePrefix(ArchType Kind) { in getArchTypePrefix()
146 StringRef Triple::getVendorTypeName(VendorType Kind) { in getVendorTypeName()
169 StringRef Triple::getOSTypeName(OSType Kind) { in getOSTypeName()
208 StringRef Triple::getEnvironmentTypeName(EnvironmentType Kind) { in getEnvironmentTypeName()
234 static Triple::ArchType parseBPFArch(StringRef ArchName) { in parseBPFArch()
237 return Triple::bpfel; in parseBPFArch()
239 return Triple::bpfeb; in parseBPFArch()
241 return Triple::bpfeb; in parseBPFArch()
243 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/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DTriple.cpp20 StringRef Triple::getArchTypeName(ArchType Kind) { in getArchTypeName()
79 StringRef Triple::getArchTypePrefix(ArchType Kind) { in getArchTypePrefix()
152 StringRef Triple::getVendorTypeName(VendorType Kind) { in getVendorTypeName()
177 StringRef Triple::getOSTypeName(OSType Kind) { in getOSTypeName()
217 StringRef Triple::getEnvironmentTypeName(EnvironmentType Kind) { in getEnvironmentTypeName()
243 static Triple::ArchType parseBPFArch(StringRef ArchName) { in parseBPFArch()
246 return Triple::bpfel; in parseBPFArch()
248 return Triple::bpfeb; in parseBPFArch()
250 return Triple::bpfeb; in parseBPFArch()
252 return Triple::bpfel; in parseBPFArch()
[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-7.0/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/swiftshader/third_party/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DTriple.h44 class Triple {
247 Triple() in Triple() function
251 explicit Triple(const Twine &Str);
252 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr);
253 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr,
256 bool operator==(const Triple &Other) const {
263 bool operator!=(const Triple &Other) const {
418 bool isOSVersionLT(const Triple &Other) const { in isOSVersionLT()
432 if (getOS() == Triple::MacOSX)
443 return getOS() == Triple::Darwin || getOS() == Triple::MacOSX; in isMacOSX()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DTriple.h44 class Triple {
238 Triple() : Data(), Arch(), Vendor(), OS(), Environment(), ObjectFormat() {} in Triple() function
240 explicit Triple(const Twine &Str);
241 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr);
242 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr,
245 bool operator==(const Triple &Other) const {
403 bool isOSVersionLT(const Triple &Other) const { in isOSVersionLT()
417 if (getOS() == Triple::MacOSX)
428 return getOS() == Triple::Darwin || getOS() == Triple::MacOSX; in isMacOSX()
437 return getOS() == Triple::IOS || isTvOS(); in isiOS()
[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/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/swiftshader/third_party/LLVM/lib/Support/
DTriple.cpp16 const char *Triple::getArchTypeName(ArchType Kind) { in getArchTypeName()
50 const char *Triple::getArchTypePrefix(ArchType Kind) { in getArchTypePrefix()
84 const char *Triple::getVendorTypeName(VendorType Kind) { in getVendorTypeName()
96 const char *Triple::getOSTypeName(OSType Kind) { in getOSTypeName()
125 const char *Triple::getEnvironmentTypeName(EnvironmentType Kind) { in getEnvironmentTypeName()
137 Triple::ArchType Triple::getArchTypeForLLVMName(StringRef Name) { in getArchTypeForLLVMName()
192 Triple::ArchType Triple::getArchTypeForDarwinArchName(StringRef Str) { in getArchTypeForDarwinArchName()
208 return Triple::ppc; in getArchTypeForDarwinArchName()
211 return Triple::ppc64; in getArchTypeForDarwinArchName()
216 return Triple::x86; in getArchTypeForDarwinArchName()
[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-7.0/llvm/lib/Target/X86/MCTargetDesc/
DX86MCAsmInfo.cpp40 X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(const Triple &T) { in X86MCAsmInfoDarwin()
41 bool is64Bit = T.getArch() == Triple::x86_64; in X86MCAsmInfoDarwin()
79 X86_64MCAsmInfoDarwin::X86_64MCAsmInfoDarwin(const Triple &Triple) in X86_64MCAsmInfoDarwin() argument
80 : X86MCAsmInfoDarwin(Triple) { in X86_64MCAsmInfoDarwin()
85 X86ELFMCAsmInfo::X86ELFMCAsmInfo(const Triple &T) { in X86ELFMCAsmInfo()
86 bool is64Bit = T.getArch() == Triple::x86_64; in X86ELFMCAsmInfo()
87 bool isX32 = T.getEnvironment() == Triple::GNUX32; in X86ELFMCAsmInfo()
125 X86MCAsmInfoMicrosoft::X86MCAsmInfoMicrosoft(const Triple &Triple) { in X86MCAsmInfoMicrosoft() argument
126 if (Triple.getArch() == Triple::x86_64) { in X86MCAsmInfoMicrosoft()
151 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/lib/Target/X86/MCTargetDesc/
DX86MCAsmInfo.cpp51 X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(const Triple &T) { in X86MCAsmInfoDarwin()
52 bool is64Bit = T.getArch() == Triple::x86_64; in X86MCAsmInfoDarwin()
79 X86_64MCAsmInfoDarwin::X86_64MCAsmInfoDarwin(const Triple &Triple) in X86_64MCAsmInfoDarwin() argument
80 : X86MCAsmInfoDarwin(Triple) { in X86_64MCAsmInfoDarwin()
83 X86ELFMCAsmInfo::X86ELFMCAsmInfo(const Triple &T) { in X86ELFMCAsmInfo()
84 if (T.getArch() == Triple::x86_64) in X86ELFMCAsmInfo()
107 if (T.getOS() == Triple::OpenBSD && T.getArch() == Triple::x86) in X86ELFMCAsmInfo()
128 X86MCAsmInfoCOFF::X86MCAsmInfoCOFF(const Triple &Triple) { in X86MCAsmInfoCOFF() argument
129 if (Triple.getArch() == Triple::x86_64) { in X86MCAsmInfoCOFF()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DRelocVisitor.h66 case Triple::x86_64: in visitELF()
68 case Triple::aarch64: in visitELF()
69 case Triple::aarch64_be: in visitELF()
71 case Triple::bpfel: in visitELF()
72 case Triple::bpfeb: in visitELF()
74 case Triple::mips64el: in visitELF()
75 case Triple::mips64: in visitELF()
77 case Triple::ppc64le: in visitELF()
78 case Triple::ppc64: in visitELF()
80 case Triple::systemz: in visitELF()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCObjectFileInfo.cpp25 static bool useCompactUnwind(const Triple &T) { in useCompactUnwind()
31 if (T.getArch() == Triple::aarch64) in useCompactUnwind()
44 (T.getArch() == Triple::x86_64 || T.getArch() == Triple::x86)) in useCompactUnwind()
50 void MCObjectFileInfo::initMachOMCObjectFileInfo(const Triple &T) { in initMachOMCObjectFileInfo()
60 if (T.isOSDarwin() && T.getArch() == Triple::aarch64) in initMachOMCObjectFileInfo()
136 Triple::ArchType ArchTy = T.getArch(); in initMachOMCObjectFileInfo()
142 if (ArchTy == Triple::ppc || ArchTy == Triple::ppc64) { in initMachOMCObjectFileInfo()
198 if (T.getArch() == Triple::x86_64 || T.getArch() == Triple::x86) in initMachOMCObjectFileInfo()
200 else if (T.getArch() == Triple::aarch64) in initMachOMCObjectFileInfo()
202 else if (T.getArch() == Triple::arm || T.getArch() == Triple::thumb) in initMachOMCObjectFileInfo()
[all …]
/external/swiftshader/third_party/LLVM/lib/MC/MCDisassembler/
DEDDisassembler.cpp44 Triple::ArchType Arch;
49 { Triple::x86, "i386-unknown-unknown" },
50 { Triple::x86_64, "x86_64-unknown-unknown" },
51 { Triple::arm, "arm-unknown-unknown" },
52 { Triple::thumb, "thumb-unknown-unknown" },
53 { Triple::InvalidArch, NULL, }
60 static const char *tripleFromArch(Triple::ArchType arch) { in tripleFromArch()
77 static int getLLVMSyntaxVariant(Triple::ArchType arch, in getLLVMSyntaxVariant()
84 if (arch == Triple::x86 || arch == Triple::x86_64) in getLLVMSyntaxVariant()
89 if (arch == Triple::x86 || arch == Triple::x86_64) in getLLVMSyntaxVariant()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DELFObjectFile.cpp266 void ELFObjectFileBase::setARMSubArch(Triple &TheTriple) const { in setARMSubArch()
267 if (TheTriple.getSubArch() != Triple::NoSubArch) in setARMSubArch()
275 std::string Triple; in setARMSubArch() local
278 Triple = "thumb"; in setARMSubArch()
280 Triple = "arm"; in setARMSubArch()
285 Triple += "v4"; in setARMSubArch()
288 Triple += "v4t"; in setARMSubArch()
291 Triple += "v5t"; in setARMSubArch()
294 Triple += "v5te"; in setARMSubArch()
297 Triple += "v5tej"; in setARMSubArch()
[all …]

12345678910>>...40