Home
last modified time | relevance | path

Searched refs:getTargetTriple (Results 1 – 25 of 146) sorted by relevance

123456

/external/llvm/lib/CodeGen/
DLLVMTargetMachine.cpp51 MRI = TheTarget.createMCRegInfo(getTargetTriple().str()); in initAsmInfo()
57 STI = TheTarget.createMCSubtargetInfo(getTargetTriple().str(), getTargetCPU(), in initAsmInfo()
61 TheTarget.createMCAsmInfo(*MRI, getTargetTriple().str()); in initAsmInfo()
214 getTargetTriple(), MAI.getAssemblerDialect(), MAI, MII, MRI); in addPassesToEmitFile()
222 getTarget().createMCAsmBackend(MRI, getTargetTriple().str(), TargetCPU); in addPassesToEmitFile()
236 getTarget().createMCAsmBackend(MRI, getTargetTriple().str(), TargetCPU); in addPassesToEmitFile()
243 Triple T(getTargetTriple().str()); in addPassesToEmitFile()
291 getTarget().createMCAsmBackend(MRI, getTargetTriple().str(), TargetCPU); in addPassesToEmitMC()
295 const Triple &T = getTargetTriple(); in addPassesToEmitMC()
/external/llvm/lib/Target/X86/
DX86Subtarget.cpp148 if (getTargetTriple().isMacOSX() && in getBZeroEntry()
149 !getTargetTriple().isMacOSXVersionLT(10, 6)) in getBZeroEntry()
156 return getTargetTriple().isMacOSX() && in hasSinCos()
157 !getTargetTriple().isMacOSXVersionLT(10, 9) && in hasSinCos()
DX86TargetMachine.cpp154 TLOF(createTLOF(getTargetTriple())), in X86TargetMachine()
283 if (TM->getTargetTriple().isOSBinFormatELF() && in addInstSelector()
300 const Triple &TT = TM->getTargetTriple(); in addPreISel()
/external/llvm/tools/lli/
DOrcLazyJIT.cpp120 Triple T(TM->getTargetTriple()); in runOrcLazyJIT()
127 << TM->getTargetTriple().str() << "'.\n"; in runOrcLazyJIT()
136 << TM->getTargetTriple().str() << "'.\n"; in runOrcLazyJIT()
/external/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp87 return Triple(M->getTargetTriple()).isOSBinFormatMachO(); in isMachO()
276 Triple TT(M.getTargetTriple()); in needsComdatForCounter()
307 StringRef ComdatPrefix = (Triple(M.getTargetTriple()).isOSBinFormatCOFF() in getOrCreateProfileComdat()
315 if (Triple(M.getTargetTriple()).isOSDarwin()) in needsRuntimeRegistrationOfSectionRange()
319 if (Triple(M.getTargetTriple()).isOSLinux() || in needsRuntimeRegistrationOfSectionRange()
320 Triple(M.getTargetTriple()).isOSFreeBSD() || in needsRuntimeRegistrationOfSectionRange()
321 Triple(M.getTargetTriple()).isPS4CPU()) in needsRuntimeRegistrationOfSectionRange()
542 if (Triple(M->getTargetTriple()).isOSLinux()) in emitRuntimeHook()
563 if (Triple(M->getTargetTriple()).supportsCOMDAT()) in emitRuntimeHook()
/external/llvm/unittests/ExecutionEngine/Orc/
DOrcCAPITest.cpp67 CCtx->M = ET->createTestModule(ET->TM->getTargetTriple()); in myCompileCallback()
86 std::unique_ptr<Module> M = createTestModule(TM->getTargetTriple()); in TEST_F()
110 std::unique_ptr<Module> M = createTestModule(TM->getTargetTriple()); in TEST_F()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DLLVMTargetMachine.cpp156 MAB = getTarget().createMCAsmBackend(getTargetTriple()); in addPassesToEmitFile()
174 MCAsmBackend *MAB = getTarget().createMCAsmBackend(getTargetTriple()); in addPassesToEmitFile()
178 AsmStreamer.reset(getTarget().createMCObjectStreamer(getTargetTriple(), in addPassesToEmitFile()
251 MCAsmBackend *MAB = getTarget().createMCAsmBackend(getTargetTriple()); in addPassesToEmitMC()
256 AsmStreamer.reset(getTarget().createMCObjectStreamer(getTargetTriple(), *Ctx, in addPassesToEmitMC()
/external/llvm/lib/Target/PowerPC/
DPPCTargetMachine.cpp203 TLOF(createTLOF(getTargetTriple())), in PPCTargetMachine()
287 computeFSAdditions(FS, getOptLevel(), getTargetTriple()), *this); in getSubtargetImpl()
329 bool UsePrefetching = TM->getTargetTriple().getVendor() == Triple::BGQ && in addIRPasses()
388 if (TM->getTargetTriple().getArch() == Triple::ppc64le && in addMachineSSAOptimization()
/external/swiftshader/third_party/LLVM/lib/Linker/
DLinkModules.cpp882 if (DstM->getTargetTriple().empty() && !SrcM->getTargetTriple().empty()) in run()
883 DstM->setTargetTriple(SrcM->getTargetTriple()); in run()
888 if (!SrcM->getTargetTriple().empty() && in run()
889 DstM->getTargetTriple() != SrcM->getTargetTriple()) { in run()
893 errs() << "'" << SrcM->getTargetTriple() << "' and '" in run()
894 << DstM->getTargetTriple() << "'\n"; in run()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
DKaleidoscopeJIT.h61 orc::createLocalCompileCallbackManager(TM->getTargetTriple(), 0)), in KaleidoscopeJIT()
71 TM->getTargetTriple())) {
/external/llvm/include/llvm/LTO/legacy/
DLTOModule.h121 const std::string &getTargetTriple() { in getTargetTriple() function
122 return getModule().getTargetTriple(); in getTargetTriple()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
DKaleidoscopeJIT.h86 orc::createLocalCompileCallbackManager(TM->getTargetTriple(), 0)), in KaleidoscopeJIT()
93 orc::createLocalIndirectStubsManagerBuilder(TM->getTargetTriple());
/external/llvm/lib/Target/ARM/
DARMSubtarget.cpp181 if (isTargetMachO() && isTargetIOS() && getTargetTriple().isOSVersionLT(5, 0)) in initSubtargetFeatures()
284 (isTargetIOS() && !getTargetTriple().isOSVersionLT(7, 0)); in hasSinCos()
/external/llvm/lib/Target/AArch64/
DAArch64TargetMachine.cpp186 TLOF(createTLOF(getTargetTriple())), in AArch64TargetMachine()
365 if (TM->getTargetTriple().isOSBinFormatELF() && in addInstSelector()
435 TM->getTargetTriple().isOSBinFormatMachO()) in addPreEmitPass()
/external/llvm/lib/Linker/
DIRMover.cpp1203 if (DstM.getTargetTriple().empty() && !SrcM->getTargetTriple().empty()) in run()
1204 DstM.setTargetTriple(SrcM->getTargetTriple()); in run()
1206 Triple SrcTriple(SrcM->getTargetTriple()), DstTriple(DstM.getTargetTriple()); in run()
1208 if (!SrcM->getTargetTriple().empty() && !triplesMatch(SrcTriple, DstTriple)) in run()
1211 SrcM->getTargetTriple() + "' whereas '" + in run()
1212 DstM.getModuleIdentifier() + "' is '" + DstM.getTargetTriple() + in run()
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCSubtargetInfo.h50 StringRef getTargetTriple() const { in getTargetTriple() function
/external/llvm/lib/Target/WebAssembly/
DWebAssemblySubtarget.h70 const Triple &getTargetTriple() const { return TargetTriple; } in getTargetTriple() function
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86Subtarget.cpp152 if (getTargetTriple().isMacOSX() && in getBZeroEntry()
153 !getTargetTriple().isMacOSXVersionLT(10, 6)) in getBZeroEntry()
/external/llvm/lib/MC/
DWinCOFFStreamer.cpp166 if (getContext().getObjectFileInfo()->getTargetTriple().getArch() != in EmitCOFFSafeSEH()
210 const Triple &T = getContext().getObjectFileInfo()->getTargetTriple(); in EmitCommonSymbol()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCSubtarget.h140 const Triple &getTargetTriple() const { return TargetTriple; } in getTargetTriple() function
/external/swiftshader/third_party/LLVM/tools/lto/
DLTOModule.cpp152 std::string Triple = m->getTargetTriple(); in makeLTOModule()
177 const char *LTOModule::getTargetTriple() { in getTargetTriple() function in LTOModule
178 return _module->getTargetTriple().c_str(); in getTargetTriple()
629 createMCSubtargetInfo(_target->getTargetTriple(), in addAsmGlobalSymbols()
/external/llvm/include/llvm/CodeGen/
DStackProtector.h119 : FunctionPass(ID), TM(TM), TLI(nullptr), Trip(TM->getTargetTriple()), in StackProtector()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/
DTargetSelect.cpp36 Triple TheTriple(Mod->getTargetTriple()); in selectTarget()
/external/llvm/lib/LTO/
DThinLTOCodeGenerator.cpp159 PMB.LibraryInfo = new TargetLibraryInfoImpl(TM.getTargetTriple()); in optimizeModule()
614 initTMBuilder(TMBuilder, Triple(TheModule.getTargetTriple())); in internalize()
654 initTMBuilder(TMBuilder, Triple(TheModule.getTargetTriple())); in optimize()
664 initTMBuilder(TMBuilder, Triple(TheModule.getTargetTriple())); in codegen()
/external/llvm/lib/ExecutionEngine/
DTargetSelect.cpp33 TT.setTriple(M->getTargetTriple()); in selectTarget()

123456