/frameworks/compile/libbcc/lib/ExecutionEngine/ |
D | Compiler.cpp | 109 std::string Compiler::Triple; member in bcc::Compiler 110 llvm::Triple::ArchType Compiler::ArchType; 155 Triple = TARGET_TRIPLE_STRING; in GlobalInitialization() 161 llvm::Target const *Target = llvm::TargetRegistry::lookupTarget(Triple, Err); in GlobalInitialization() 163 ArchType = llvm::Triple::getArchTypeForLLVMName(Target->getName()); in GlobalInitialization() 165 ArchType = llvm::Triple::UnknownArch; in GlobalInitialization() 170 ArchType = llvm::Triple::arm; in GlobalInitialization() 172 ArchType = llvm::Triple::mipsel; in GlobalInitialization() 174 ArchType = llvm::Triple::x86; in GlobalInitialization() 176 ArchType = llvm::Triple::x86_64; in GlobalInitialization() [all …]
|
D | Compiler.h | 61 static std::string Triple; variable 62 static llvm::Triple::ArchType ArchType; 104 return Triple; in getTargetTriple() 107 static llvm::Triple::ArchType getTargetArchType() { in getTargetArchType()
|
D | CompilerOption.h | 44 if ((Compiler::getTargetArchType() == llvm::Triple::x86_64) || in CompilerOption() 45 (Compiler::getTargetArchType() == llvm::Triple::x86)) { in CompilerOption() 74 if (Compiler::getTargetArchType() == llvm::Triple::x86_64) { in CompilerOption()
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | TargetRegistry.h | 93 TargetLDBackend *createLDBackend(const llvm::Target& T, const std::string& Triple) const { in createLDBackend() argument 96 return TargetLDBackendCtorFn(T, Triple); in createLDBackend() 177 static const mcld::Target *lookupTarget(const std::string &Triple, 222 const std::string &Triple) { in Allocator() 223 return new TargetMachineImpl(TM, T, Triple); in Allocator()
|
/frameworks/compile/slang/ |
D | slang.cpp | 174 void Slang::createTarget(const std::string &Triple, const std::string &CPU, in createTarget() argument 176 if (!Triple.empty()) in createTarget() 177 mTargetOpts.Triple = Triple; in createTarget() 179 mTargetOpts.Triple = DEFAULT_TARGET_TRIPLE_STRING; in createTarget() 260 void Slang::init(const std::string &Triple, const std::string &CPU, in init() argument 273 createTarget(Triple, CPU, Features); in init()
|
D | slang_backend.cpp | 115 std::string Triple = mpModule->getTargetTriple(); in CreateCodeGenPasses() local 119 llvm::TargetRegistry::lookupTarget(Triple, Error); in CreateCodeGenPasses() 170 TargetInfo->createTargetMachine(Triple, mTargetOpts.CPU, FeaturesStr, in CreateCodeGenPasses()
|
D | slang.h | 94 void createTarget(std::string const &Triple, std::string const &CPU, 171 void init(const std::string &Triple, const std::string &CPU,
|
/frameworks/compile/mclinker/include/mcld/MC/ |
D | MCLDInfo.h | 99 const llvm::Triple& triple() const in triple() 123 llvm::Triple m_Triple;
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMSectLinker.cpp | 26 Triple theTriple(pTriple); in createARMSectLinker()
|
D | ARMLDBackend.cpp | 990 Triple theTriple(pTriple); in createARMLDBackend()
|
/frameworks/compile/mclinker/lib/Target/X86/ |
D | X86SectLinker.cpp | 26 Triple theTriple(pTriple); in createX86SectLinker()
|
D | X86LDBackend.cpp | 725 Triple theTriple(pTriple); in createX86LDBackend()
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsSectLinker.cpp | 26 llvm::Triple theTriple(pTriple); in createMipsSectLinker()
|
D | MipsLDBackend.cpp | 876 llvm::Triple theTriple(pTriple); in createMipsLDBackend()
|
/frameworks/compile/mclinker/tools/llvm-mcld/ |
D | llvm-mcld.cpp | 466 Triple::OSType pOSType, in GetOutputStream() 492 if (pOSType == Triple::Win32) in GetOutputStream() 498 if (pOSType == Triple::Win32) in GetOutputStream() 740 Triple TheTriple; in main() 777 Triple::ArchType Type = Triple::getArchTypeForLLVMName(MArch); in main() 778 if (Type != Triple::UnknownArch) in main()
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
D | BitcodeReader.h | 216 bool ParseTriple(std::string &Triple); 278 bool ParseModuleTriple(std::string &Triple);
|
D | BitcodeReader.cpp | 2243 bool BitcodeReader::ParseModuleTriple(std::string &Triple) { in ParseModuleTriple() argument 2288 Triple = S; in ParseModuleTriple() 2298 bool BitcodeReader::ParseTriple(std::string &Triple) { in ParseTriple() argument 2336 if (ParseModuleTriple(Triple)) in ParseTriple() 3361 std::string Triple(""); in getBitcodeTargetTriple() local 3362 if (R->ParseTriple(Triple)) in getBitcodeTargetTriple() 3367 return Triple; in getBitcodeTargetTriple()
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
D | BitcodeReader.h | 223 bool ParseTriple(std::string &Triple); 285 bool ParseModuleTriple(std::string &Triple);
|
D | BitcodeReader.cpp | 1945 bool BitcodeReader::ParseModuleTriple(std::string &Triple) { in ParseModuleTriple() argument 1990 Triple = S; in ParseModuleTriple() 2000 bool BitcodeReader::ParseTriple(std::string &Triple) { in ParseTriple() argument 2038 if (ParseModuleTriple(Triple)) in ParseTriple() 2988 std::string Triple(""); in getBitcodeTargetTriple() local 2989 if (R->ParseTriple(Triple)) in getBitcodeTargetTriple() 2994 return Triple; in getBitcodeTargetTriple()
|
/frameworks/compile/slang/BitWriter_2_9/ |
D | BitcodeWriter.cpp | 1655 const Triple &TT) { in EmitDarwinBCHeaderAndTrailer() 1669 Triple::ArchType Arch = TT.getArch(); in EmitDarwinBCHeaderAndTrailer() 1670 if (Arch == Triple::x86_64) in EmitDarwinBCHeaderAndTrailer() 1672 else if (Arch == Triple::x86) in EmitDarwinBCHeaderAndTrailer() 1674 else if (Arch == Triple::ppc) in EmitDarwinBCHeaderAndTrailer() 1676 else if (Arch == Triple::ppc64) in EmitDarwinBCHeaderAndTrailer() 1678 else if (Arch == Triple::arm || Arch == Triple::thumb) in EmitDarwinBCHeaderAndTrailer() 1708 Triple TT(M->getTargetTriple()); in WriteBitcodeToFile()
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
D | BitcodeWriter.cpp | 1672 const Triple &TT) { in EmitDarwinBCHeaderAndTrailer() 1686 Triple::ArchType Arch = TT.getArch(); in EmitDarwinBCHeaderAndTrailer() 1687 if (Arch == Triple::x86_64) in EmitDarwinBCHeaderAndTrailer() 1689 else if (Arch == Triple::x86) in EmitDarwinBCHeaderAndTrailer() 1691 else if (Arch == Triple::ppc) in EmitDarwinBCHeaderAndTrailer() 1693 else if (Arch == Triple::ppc64) in EmitDarwinBCHeaderAndTrailer() 1695 else if (Arch == Triple::arm || Arch == Triple::thumb) in EmitDarwinBCHeaderAndTrailer() 1725 Triple TT(M->getTargetTriple()); in WriteBitcodeToFile()
|