Searched refs:Triple (Results 1 - 8 of 8) sorted by relevance

/frameworks/compile/slang/
H A Dslang.cpp184 void Slang::createTarget(const std::string &Triple, const std::string &CPU, argument
186 if (!Triple.empty())
187 mTargetOpts.Triple = Triple;
189 mTargetOpts.Triple = DEFAULT_TARGET_TRIPLE_STRING;
267 void Slang::init(const std::string &Triple, const std::string &CPU, argument
275 createTarget(Triple, CPU, Features);
H A Dslang.h98 void createTarget(std::string const &Triple, std::string const &CPU,
175 void init(const std::string &Triple, const std::string &CPU,
H A Dslang_backend.cpp114 std::string Triple = mpModule->getTargetTriple(); local
118 llvm::TargetRegistry::lookupTarget(Triple, Error);
166 TargetInfo->createTargetMachine(Triple, mTargetOpts.CPU, FeaturesStr,
/frameworks/compile/libbcc/lib/ExecutionEngine/
H A DCompiler.h57 // The variable section below (e.g., Triple, CodeGenOptLevel)
64 static std::string Triple; member in class:bcc::Compiler
123 return Triple;
H A DCompiler.cpp97 std::string Compiler::Triple; member in class:bcc::Compiler
129 // Set Triple, CPU and Features here
130 Triple = TARGET_TRIPLE_STRING;
300 Target = llvm::TargetRegistry::lookupTarget(Triple, mError);
317 TM = Target->createTargetMachine(Triple, CPU, FeaturesStr,
323 TM = Target->createTargetMachine(Triple, CPU, FeaturesStr,
329 " specified triple '" + Triple + "'");
562 setError("The machine code emission is not supported on '" + Triple + "'");
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
H A DBitcodeReader.h223 bool ParseTriple(std::string &Triple);
285 bool ParseModuleTriple(std::string &Triple);
H A DBitcodeReader.cpp1891 bool BitcodeReader::ParseModuleTriple(std::string &Triple) { argument
1936 Triple = S;
1946 bool BitcodeReader::ParseTriple(std::string &Triple) { argument
1984 if (ParseModuleTriple(Triple))
2920 std::string Triple("");
2921 if (R->ParseTriple(Triple))
2926 return Triple;
/frameworks/compile/slang/BitWriter_2_9/
H A DBitcodeWriter.cpp25 #include "llvm/ADT/Triple.h"
1619 static void EmitDarwinBCHeader(BitstreamWriter &Stream, const Triple &TT) {
1633 Triple::ArchType Arch = TT.getArch();
1634 if (Arch == Triple::x86_64)
1636 else if (Arch == Triple::x86)
1638 else if (Arch == Triple::ppc)
1640 else if (Arch == Triple::ppc64)
1642 else if (Arch == Triple::arm || Arch == Triple::thumb)
1688 Triple T
[all...]

Completed in 105 milliseconds