/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
H A D | Triple.h | 1 //===-- llvm/ADT/Triple.h - Target triple helper class ----------*- C++ -*-===// 23 /// Triple - Helper class for working with autoconf configuration names. For 37 /// At its core the Triple class is designed to be a wrapper for a triple 44 class Triple { class in namespace:llvm 238 Triple() : Data(), Arch(), Vendor(), OS(), Environment(), ObjectFormat() {} function in class:llvm::Triple 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 { 257 /// triple form (or something sensible that the Triple clas [all...] |
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | Triple.cpp | 1 //===--- Triple.cpp - Target triple helper class --------------------------===// 10 #include "llvm/ADT/Triple.h" 20 StringRef Triple::getArchTypeName(ArchType Kind) { 77 StringRef Triple::getArchTypePrefix(ArchType Kind) { 146 StringRef Triple::getVendorTypeName(VendorType Kind) { 169 StringRef Triple::getOSTypeName(OSType Kind) { 208 StringRef Triple::getEnvironmentTypeName(EnvironmentType Kind) { 234 static Triple::ArchType parseBPFArch(StringRef ArchName) { 237 return Triple::bpfel; 239 return Triple 658 Triple::Triple(const Twine &Str) function in class:Triple 689 Triple::Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr) function in class:Triple 704 Triple::Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr, function in class:Triple 1110 SmallString<64> Triple; local [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
H A D | Triple.h | 1 //===-- llvm/ADT/Triple.h - Target triple helper class ----------*- C++ -*-===// 22 /// Triple - Helper class for working with target triples. 34 /// At its core the Triple class is designed to be a wrapper for a triple 41 class Triple { class in namespace:llvm 139 Triple() : Data(), Arch(InvalidArch) {} function in class:llvm::Triple 140 explicit Triple(const Twine &Str) : Data(Str.str()), Arch(InvalidArch) {} function in class:llvm::Triple 141 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr) function in class:llvm::Triple 146 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr, function in class:llvm::Triple 157 /// triple form (or something sensible that the Triple class understands if 260 return getOS() == Triple [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
H A D | TargetRegistry.h | 23 #include "llvm/ADT/Triple.h" 265 /// \arg Triple - This argument is used to determine the target machine 269 MCAsmInfo *createMCAsmInfo(StringRef Triple) const { 272 return MCAsmInfoCtorFn(*this, Triple); 277 MCCodeGenInfo *createMCCodeGenInfo(StringRef Triple, Reloc::Model RM, argument 281 return MCCodeGenInfoCtorFn(Triple, RM, CM); 302 MCRegisterInfo *createMCRegInfo(StringRef Triple) const { 305 return MCRegInfoCtorFn(Triple); 310 /// \arg Triple - This argument is used to determine the target machine 317 MCSubtargetInfo *createMCSubtargetInfo(StringRef Triple, StringRe argument 331 createTargetMachine(StringRef Triple, StringRef CPU, StringRef Features, Reloc::Model RM = Reloc::Default, CodeModel::Model CM = CodeModel::Default) const argument 1033 Allocator(const Target &T, StringRef Triple) argument [all...] |
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 1899 bool BitcodeReader::ParseModuleTriple(std::string &Triple) { argument 1944 Triple = S; 1954 bool BitcodeReader::ParseTriple(std::string &Triple) { argument 1992 if (ParseModuleTriple(Triple)) 3003 std::string Triple(""); 3004 if (R->ParseTriple(Triple)) 3009 return Triple;
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
H A D | LLVMTargetMachine.cpp | 111 LLVMTargetMachine::LLVMTargetMachine(const Target &T, StringRef Triple, argument 114 : TargetMachine(T, Triple, CPU, FS) { 115 CodeGenInfo = T.createMCCodeGenInfo(Triple, RM, CM); 116 AsmInfo = T.createMCAsmInfo(Triple);
|
/external/swiftshader/third_party/LLVM/lib/MC/ |
H A D | SubtargetFeature.cpp | 386 void SubtargetFeatures::getDefaultSubtargetFeatures(const Triple& Triple) { argument 387 if (Triple.getVendor() == Triple::Apple) { 388 if (Triple.getArch() == Triple::ppc) { 391 } else if (Triple.getArch() == Triple::ppc64) {
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
H A D | Triple.cpp | 1 //===--- Triple.cpp - Target triple helper class --------------------------===// 10 #include "llvm/ADT/Triple.h" 16 const char *Triple::getArchTypeName(ArchType Kind) { 50 const char *Triple::getArchTypePrefix(ArchType Kind) { 84 const char *Triple::getVendorTypeName(VendorType Kind) { 96 const char *Triple::getOSTypeName(OSType Kind) { 125 const char *Triple::getEnvironmentTypeName(EnvironmentType Kind) { 137 Triple::ArchType Triple::getArchTypeForLLVMName(StringRef Name) { 192 Triple 644 SmallString<64> Triple; local [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMMCTargetDesc.cpp | 44 // FIXME: Enhance Triple helper class to extract ARM version. 92 Triple TheTriple(TT); 93 if (TheTriple.getOS() == Triple::NativeClient) { 124 static MCRegisterInfo *createARMMCRegisterInfo(StringRef Triple) { argument 131 Triple TheTriple(TT); 143 Triple TheTriple(TT); 158 Triple TheTriple(TT);
|
/external/swiftshader/third_party/LLVM/lib/Target/CBackend/ |
H A D | CBackend.cpp | 1661 std::string Triple = TheModule->getTargetTriple(); 1662 if (Triple.empty()) 1663 Triple = llvm::sys::getHostTriple(); 1666 if (const Target *Match = TargetRegistry::lookupTarget(Triple, E)) 1667 TAsm = Match->createMCAsmInfo(Triple); 3168 std::string Triple = TheModule->getTargetTriple(); local 3169 if (Triple.empty()) 3170 Triple = llvm::sys::getHostTriple(); 3173 if (const Target *Match = TargetRegistry::lookupTarget(Triple, E)) 3174 TargetAsm = Match->createMCAsmInfo(Triple); [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/X86/MCTargetDesc/ |
H A D | X86MCAsmInfo.cpp | 15 #include "llvm/ADT/Triple.h" 51 X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(const Triple &T) { 52 bool is64Bit = T.getArch() == Triple::x86_64; 79 X86_64MCAsmInfoDarwin::X86_64MCAsmInfoDarwin(const Triple &Triple) argument 80 : X86MCAsmInfoDarwin(Triple) { 83 X86ELFMCAsmInfo::X86ELFMCAsmInfo(const Triple &T) { 84 if (T.getArch() == Triple::x86_64) 107 if (T.getOS() == Triple::OpenBSD && T.getArch() == Triple 128 X86MCAsmInfoCOFF(const Triple &Triple) argument [all...] |
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
H A D | Core.cpp | 100 void LLVMSetDataLayout(LLVMModuleRef M, const char *Triple) { argument 101 unwrap(M)->setDataLayout(Triple); 109 void LLVMSetTarget(LLVMModuleRef M, const char *Triple) { argument 110 unwrap(M)->setTargetTriple(Triple);
|
/external/swiftshader/third_party/LLVM/tools/llvm-mc/ |
H A D | Disassembler.cpp | 26 #include "llvm/ADT/Triple.h" 143 const std::string &Triple, 149 OwningPtr<const MCAsmInfo> AsmInfo(T.createMCAsmInfo(Triple)); 152 errs() << "error: no assembly info for target " << Triple << "\n"; 156 OwningPtr<const MCSubtargetInfo> STI(T.createMCSubtargetInfo(Triple, Cpu, FeaturesStr)); 158 errs() << "error: no subtarget info for target " << Triple << "\n"; 164 errs() << "error: no disassembler for target " << Triple << "\n"; 172 errs() << "error: no instruction printer for target " << Triple << '\n'; 233 Triple T(TS); 240 case Triple 142 disassemble(const Target &T, const std::string &Triple, const std::string &Cpu, const std::string &FeaturesStr, MemoryBuffer &Buffer, raw_ostream &Out) argument [all...] |
/external/swiftshader/third_party/LLVM/tools/lto/ |
H A D | LTOCodeGenerator.cpp | 24 #include "llvm/ADT/Triple.h" 244 std::string Triple = _linker.getModule()->getTargetTriple(); local 245 if (Triple.empty()) 246 Triple = sys::getHostTriple(); 249 const Target *march = TargetRegistry::lookupTarget(Triple, errMsg); 270 Features.getDefaultSubtargetFeatures(llvm::Triple(Triple)); 272 _target = march->createTargetMachine(Triple, _mCpu, FeatureStr,
|
H A D | LTOModule.cpp | 21 #include "llvm/ADT/Triple.h" 77 std::string Triple = getBitcodeTargetTriple(buffer, getGlobalContext()); local 79 return (strncmp(Triple.c_str(), triplePrefix, 152 std::string Triple = m->getTargetTriple(); local 153 if (Triple.empty()) 154 Triple = sys::getHostTriple(); 157 const Target *march = TargetRegistry::lookupTarget(Triple, errMsg); 163 Features.getDefaultSubtargetFeatures(llvm::Triple(Triple)); 166 TargetMachine *target = march->createTargetMachine(Triple, CP [all...] |
/external/python/cpython2/Lib/lib2to3/pgen2/ |
H A D | tokenize.py | 77 Triple = group("[ubUB]?[rR]?'''", '[ubUB]?[rR]?"""') variable 102 PseudoExtras = group(r'\\\r?\n', Comment, Triple)
|
/external/python/cpython2/Lib/ |
H A D | tokenize.py | 74 Triple = group("[uUbB]?[rR]?'''", '[uUbB]?[rR]?"""') variable 99 PseudoExtras = group(r'\\\r?\n|\Z', Comment, Triple)
|
/external/llvm/tools/llvm-mc/ |
H A D | Disassembler.cpp | 16 #include "llvm/ADT/Triple.h" 134 const std::string &Triple, 141 std::unique_ptr<const MCRegisterInfo> MRI(T.createMCRegInfo(Triple)); 143 errs() << "error: no register info for target " << Triple << "\n"; 147 std::unique_ptr<const MCAsmInfo> MAI(T.createMCAsmInfo(*MRI, Triple)); 149 errs() << "error: no assembly info for target " << Triple << "\n"; 159 errs() << "error: no disassembler for target " << Triple << "\n"; 133 disassemble(const Target &T, const std::string &Triple, MCSubtargetInfo &STI, MCStreamer &Streamer, MemoryBuffer &Buffer, SourceMgr &SM, raw_ostream &Out) argument
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
H A D | MCJITTestBase.h | 39 TrivialModuleBuilder(const std::string &Triple) argument 40 : Builder(Context), BuilderTriple(Triple) {} 44 M->setTargetTriple(Triple::normalize(BuilderTriple)); 292 SupportedArchs.push_back(Triple::aarch64); 293 SupportedArchs.push_back(Triple::arm); 294 SupportedArchs.push_back(Triple::mips); 295 SupportedArchs.push_back(Triple::mipsel); 296 SupportedArchs.push_back(Triple::mips64); 297 SupportedArchs.push_back(Triple::mips64el); 298 SupportedArchs.push_back(Triple [all...] |
/external/llvm/unittests/ExecutionEngine/Orc/ |
H A D | OrcTestCommon.cpp | 20 ModuleBuilder::ModuleBuilder(LLVMContext &Context, StringRef Triple, argument 23 if (Triple != "") 24 M->setTargetTriple(Triple);
|
/external/llvm/unittests/MC/ |
H A D | DwarfLineTables.cpp | 24 const char *Triple = "x86_64-pc-linux"; member in struct:__anon13792::Context 36 const Target *TheTarget = TargetRegistry::lookupTarget(Triple, Error); 40 MRI.reset(TheTarget->createMCRegInfo(Triple)); 41 MAI.reset(TheTarget->createMCAsmInfo(*MRI, Triple));
|
/external/llvm/lib/Target/ |
H A D | TargetMachineC.cpp | 105 const char* Triple, const char* CPU, const char* Features, 142 return wrap(unwrap(T)->createTargetMachine(Triple, CPU, Features, opt, RM, 104 LLVMCreateTargetMachine(LLVMTargetRef T, const char* Triple, const char* CPU, const char* Features, LLVMCodeGenOptLevel Level, LLVMRelocMode Reloc, LLVMCodeModel CodeModel) argument
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86MCAsmInfo.cpp | 15 #include "llvm/ADT/Triple.h" 44 X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(const Triple &T) { 45 bool is64Bit = T.getArch() == Triple::x86_64; 83 X86_64MCAsmInfoDarwin::X86_64MCAsmInfoDarwin(const Triple &Triple) argument 84 : X86MCAsmInfoDarwin(Triple) { 89 X86ELFMCAsmInfo::X86ELFMCAsmInfo(const Triple &T) { 90 bool is64Bit = T.getArch() == Triple::x86_64; 91 bool isX32 = T.getEnvironment() == Triple::GNUX32; 129 X86MCAsmInfoMicrosoft::X86MCAsmInfoMicrosoft(const Triple argument 155 X86MCAsmInfoGNUCOFF(const Triple &Triple) argument [all...] |
/external/llvm/bindings/ocaml/target/ |
H A D | target_ocaml.c | 182 CAMLprim LLVMTargetRef llvm_target_by_triple(value Triple) { argument 186 if(LLVMGetTargetFromTriple(String_val(Triple), &T, &Error)) 245 CAMLprim value llvm_create_targetmachine_native(value Triple, value CPU, argument 265 Machine = LLVMCreateTargetMachine(Target, String_val(Triple), CPUStr,
|
/external/llvm/include/llvm/ADT/ |
H A D | Triple.h | 1 //===-- llvm/ADT/Triple.h - Target triple helper class ----------*- C++ -*-===// 23 /// Triple - Helper class for working with autoconf configuration names. For 37 /// At its core the Triple class is designed to be a wrapper for a triple 44 class Triple { class in namespace:llvm 230 Triple() : Data(), Arch(), Vendor(), OS(), Environment(), ObjectFormat() {} function in class:llvm::Triple 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 { 249 /// triple form (or something sensible that the Triple clas [all...] |