Home
last modified time | relevance | path

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

12345678910>>...12

/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/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLLVMTargetMachine.cpp42 MRI.reset(TheTarget.createMCRegInfo(getTargetTriple().str())); in initAsmInfo()
49 getTargetTriple().str(), getTargetCPU(), getTargetFeatureString())); in initAsmInfo()
52 *MRI, getTargetTriple().str(), Options.MCOptions); in initAsmInfo()
134 getTargetTriple(), MAI.getAssemblerDialect(), MAI, MII, MRI); in addAsmPrinter()
163 Triple T(getTargetTriple().str()); in addAsmPrinter()
203 if (this->getTargetTriple().isOSAIX()) { in addPassesToEmitFile()
253 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-10.0/llvm/lib/ExecutionEngine/Orc/
DLLJIT.cpp34 auto &TT = JTMB->getTargetTriple(); in prepareForConstruction()
91 return S.CreateObjectLinkingLayer(ES, S.JTMB->getTargetTriple()); in createObjectLinkingLayer()
99 if (S.JTMB->getTargetTriple().isOSBinFormatCOFF()) { in createObjectLinkingLayer()
198 TT = JTMB->getTargetTriple(); in prepareForConstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86TargetMachine.cpp225 TLOF(createTLOF(getTargetTriple())) { in X86TargetMachine()
418 const Triple &TT = TM->getTargetTriple(); in addIRPasses()
433 if (TM->getTargetTriple().isOSBinFormatELF() && in addInstSelector()
473 const Triple &TT = TM->getTargetTriple(); in addPreISel()
525 const Triple &TT = TM->getTargetTriple(); in addPreEmitPass2()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DJITTargetMachineBuilder.h134 Triple &getTargetTriple() { return TT; } in getTargetTriple() function
137 const Triple &getTargetTriple() const { return TT; } in getTargetTriple() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUAliasAnalysis.h68 Triple(F.getParent()->getTargetTriple())); in run()
88 Triple(M.getTargetTriple()))); in doInitialization()
DAMDGPUAsmPrinter.cpp132 if (TM.getTargetTriple().getOS() != Triple::AMDHSA && in EmitStartOfAsmFile()
133 TM.getTargetTriple().getOS() != Triple::AMDPAL) in EmitStartOfAsmFile()
136 if (TM.getTargetTriple().getOS() == Triple::AMDHSA) in EmitStartOfAsmFile()
139 if (TM.getTargetTriple().getOS() == Triple::AMDPAL) in EmitStartOfAsmFile()
146 if (TM.getTargetTriple().getOS() == Triple::AMDHSA) in EmitStartOfAsmFile()
169 if (TM.getTargetTriple().getOS() == Triple::AMDHSA) { in EmitEndOfAsmFile()
216 TM.getTargetTriple().getOS() != Triple::AMDHSA) in EmitFunctionBodyEnd()
252 TM.getTargetTriple().getOS() == Triple::AMDHSA) { in EmitFunctionEntryLabel()
297 const Triple::OSType OS = TM.getTargetTriple().getOS(); in EmitGlobalVariable()
332 (STI.getTargetTriple().getOS() == Triple::AMDHSA || in doFinalization()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64TargetMachine.cpp273 TLOF(createTLOF(getTargetTriple())), isLittle(LittleEndian) { in AArch64TargetMachine()
480 if (TM->getTargetTriple().isOSWindows()) in addIRPasses()
503 bool MergeExternalByDefault = !TM->getTargetTriple().isOSBinFormatMachO(); in addPreISel()
522 if (TM->getTargetTriple().isOSBinFormatELF() && in addInstSelector()
642 if (TM->getTargetTriple().isOSWindows()) in addPreEmitPass()
649 TM->getTargetTriple().isOSBinFormatMachO()) in addPreEmitPass()
DAArch64MCInstLower.cpp40 const Triple &TheTriple = Printer.TM.getTargetTriple(); in GetGlobalAddressSymbol()
243 if (Printer.TM.getTargetTriple().isOSDarwin()) in LowerSymbolOperand()
245 if (Printer.TM.getTargetTriple().isOSBinFormatCOFF()) in LowerSymbolOperand()
248 assert(Printer.TM.getTargetTriple().isOSBinFormatELF() && "Invalid target"); in LowerSymbolOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DModuleSymbolTable.cpp58 assert(FirstMod->getTargetTriple() == M->getTargetTriple()); in addModule()
78 const Triple TT(M.getTargetTriple()); in initializeRecordStreamer()
DIRObjectFile.cpp67 StringRef IRObjectFile::getTargetTriple() const { in getTargetTriple() function in IRObjectFile
70 return Mods[0]->getTargetTriple(); in getTargetTriple()
/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/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
DKaleidoscopeJIT.h61 orc::createLocalCompileCallbackManager(TM->getTargetTriple(), 0)), in KaleidoscopeJIT()
71 TM->getTargetTriple())) {
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dtarget_util.cc171 llvm::Triple(b->GetInsertBlock()->getModule()->getTargetTriple()); in ObtainDeviceFunctionName()
229 llvm::Triple target_triple = llvm::Triple(module->getTargetTriple()); in EmitCallToTargetIntrinsic()
256 llvm::Triple target_triple = llvm::Triple(module->getTargetTriple()); in AnnotateFunctionAsGpuKernel()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVAsmBackend.h38 STI.getTargetTriple(), STI.getFeatureBits(), Options.getABIName()); in RISCVAsmBackend()
39 RISCVFeatures::validate(STI.getTargetTriple(), STI.getFeatureBits()); in RISCVAsmBackend()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCTargetMachine.cpp303 TLOF(createTLOF(getTargetTriple())), in PPCTargetMachine()
348 computeFSAdditions(FS, getOptLevel(), getTargetTriple()), *this); in getSubtargetImpl()
408 bool UsePrefetching = TM->getTargetTriple().getVendor() == Triple::BGQ && in addIRPasses()
471 if (TM->getTargetTriple().getArch() == Triple::ppc64le && in addMachineSSAOptimization()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMTargetMachine.cpp217 TLOF(createTLOF(getTargetTriple())), isLittle(isLittle) { in ARMBaseTargetMachine()
421 if (TM->getTargetTriple().isOSWindows()) in addIRPasses()
446 bool MergeExternalByDefault = !TM->getTargetTriple().isOSBinFormatMachO(); in addPreISel()
546 if (TM->getTargetTriple().isOSWindows()) in addPreEmitPass()
/external/llvm/include/llvm/LTO/legacy/
DLTOModule.h121 const std::string &getTargetTriple() { in getTargetTriple() function
122 return getModule().getTargetTriple(); in getTargetTriple()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/CFGuard/
DCFGuard.cpp160 assert(Triple(CB->getModule()->getTargetTriple()).isOSWindows() && in insertCFGuardCheck()
184 assert(Triple(CB->getModule()->getTargetTriple()).isOSWindows() && in insertCFGuardDispatch()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DThinLTOCodeGenerator.cpp234 PMB.LibraryInfo = new TargetLibraryInfoImpl(TM.getTargetTriple()); in optimizeModule()
517 auto TripleStr = (*InputOrError)->getTargetTriple(); in addModule()
644 PreservedSymbols, Triple(TheModule.getTargetTriple())); in promote()
693 PreservedSymbols, Triple(TheModule.getTargetTriple())); in crossModuleImport()
726 PreservedSymbols, Triple(TheModule.getTargetTriple())); in gatherImportedSummariesForModule()
759 PreservedSymbols, Triple(TheModule.getTargetTriple())); in emitImports()
791 initTMBuilder(TMBuilder, Triple(TheModule.getTargetTriple())); in internalize()
848 initTMBuilder(TMBuilder, Triple(TheModule.getTargetTriple())); in optimize()

12345678910>>...12