reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/LTO/legacy/LTOModule.h
  124     return getModule().getTargetTriple();
lib/Analysis/TargetLibraryInfo.cpp
 1596       lookupInfoImpl(Triple(F.getParent()->getTargetTriple())));
lib/Bitcode/Reader/BitcodeReader.cpp
 2149   Triple TT(TheModule->getTargetTriple());
 3654         TheModule->getDataLayoutStr(), TheModule->getTargetTriple());
lib/Bitcode/Writer/BitcodeWriter.cpp
 1153   if (!M.getTargetTriple().empty())
 1154     writeStringRecord(Stream, bitc::MODULE_CODE_TRIPLE, M.getTargetTriple(),
 4389     const Triple TT(M->getTargetTriple());
 4466   Triple TT(M.getTargetTriple());
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  164       mapArchToCVCPUType(Triple(MMI->getModule()->getTargetTriple()).getArch());
 1012   if (Triple(MMI->getModule()->getTargetTriple()).getArch() == Triple::x86)
lib/CodeGen/GlobalMerge.cpp
  601   IsMachO = Triple(M.getTargetTriple()).isOSBinFormatMachO();
lib/ExecutionEngine/TargetSelect.cpp
   32     TT.setTriple(M->getTargetTriple());
lib/IR/AsmWriter.cpp
 2596   if (!M->getTargetTriple().empty())
 2597     Out << "target triple = \"" << M->getTargetTriple() << "\"\n";
lib/IR/Core.cpp
  278   return unwrap(M)->getTargetTriple().c_str();
lib/IR/Globals.cpp
  279       (!Parent || Triple(Parent->getTargetTriple()).isOSBinFormatELF());
lib/IR/ValueSymbolTable.cpp
   58       if (!(M && Triple(M->getTargetTriple()).isNVPTX()))
lib/IR/Verifier.cpp
  134       : OS(OS), M(M), MST(&M), TT(M.getTargetTriple()), DL(M.getDataLayout()),
lib/LTO/LTO.cpp
  502     Triple TT(RegularLTO.CombinedModule->getTargetTriple());
  575   if (RegularLTO.CombinedModule->getTargetTriple().empty())
lib/LTO/LTOBackend.cpp
  129   StringRef TheTriple = M.getTargetTriple();
  404   else if (Mod.getTargetTriple().empty())
  408   const Target *T = TargetRegistry::lookupTarget(Mod.getTargetTriple(), Msg);
lib/LTO/LTOCodeGenerator.cpp
  342   TripleStr = MergedModule->getTargetTriple();
lib/LTO/LTOModule.cpp
  201   std::string TripleStr = M->getTargetTriple();
lib/LTO/ThinLTOCodeGenerator.cpp
  644       PreservedSymbols, Triple(TheModule.getTargetTriple()));
  693       PreservedSymbols, Triple(TheModule.getTargetTriple()));
  726       PreservedSymbols, Triple(TheModule.getTargetTriple()));
  759       PreservedSymbols, Triple(TheModule.getTargetTriple()));
  791   initTMBuilder(TMBuilder, Triple(TheModule.getTargetTriple()));
  848   initTMBuilder(TMBuilder, Triple(TheModule.getTargetTriple()));
lib/Linker/IRMover.cpp
 1400   if (DstM.getTargetTriple().empty() && !SrcM->getTargetTriple().empty())
 1400   if (DstM.getTargetTriple().empty() && !SrcM->getTargetTriple().empty())
 1401     DstM.setTargetTriple(SrcM->getTargetTriple());
 1403   Triple SrcTriple(SrcM->getTargetTriple()), DstTriple(DstM.getTargetTriple());
 1403   Triple SrcTriple(SrcM->getTargetTriple()), DstTriple(DstM.getTargetTriple());
 1405   if (!SrcM->getTargetTriple().empty()&&
 1409                 SrcM->getTargetTriple() + "' whereas '" +
 1410                 DstM.getModuleIdentifier() + "' is '" + DstM.getTargetTriple() +
lib/Object/IRObjectFile.cpp
   70   return Mods[0]->getTargetTriple();
lib/Object/IRSymtab.cpp
  313   setStr(Hdr.TargetTriple, IRMods[0]->getTargetTriple());
  315   TT = Triple(IRMods[0]->getTargetTriple());
lib/Object/ModuleSymbolTable.cpp
   58     assert(FirstMod->getTargetTriple() == M->getTargetTriple());
   58     assert(FirstMod->getTargetTriple() == M->getTargetTriple());
   78   const Triple TT(M.getTargetTriple());
lib/ProfileData/InstrProf.cpp
 1048   if (!Triple(M.getTargetTriple()).supportsCOMDAT())
 1143   Triple TT(M.getTargetTriple());
 1159   Triple TT(M.getTargetTriple());
lib/Target/AArch64/AArch64StackTagging.cpp
  415       Triple(AI->getModule()->getTargetTriple()).isLittleEndian();
lib/Target/AMDGPU/AMDGPUAliasAnalysis.h
   68         Triple(F.getParent()->getTargetTriple()));
   88         Triple(M.getTargetTriple())));
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
  566   Triple TT(M.getTargetTriple());
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 2409   if (Triple(M.getTargetTriple()).getArch() != Triple::hexagon)
lib/Transforms/CFGuard/CFGuard.cpp
  160   assert(Triple(CB->getModule()->getTargetTriple()).isOSWindows() &&
  184   assert(Triple(CB->getModule()->getTargetTriple()).isOSWindows() &&
lib/Transforms/IPO/CrossDSOCFI.cpp
  113   Triple T(M.getTargetTriple());
lib/Transforms/IPO/LowerTypeTests.cpp
 1660   Triple TargetTriple(M.getTargetTriple());
lib/Transforms/IPO/WholeProgramDevirt.cpp
 1032   Triple T(M.getTargetTriple());
 1235   Triple T(M.getTargetTriple());
lib/Transforms/Instrumentation/AddressSanitizer.cpp
  594     TargetTriple = Triple(M.getTargetTriple());
  760     TargetTriple = Triple(M.getTargetTriple());
 2418   bool isAndroid = Triple(M.getTargetTriple()).isAndroid();
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  542   Triple TargetTriple(M.getTargetTriple());
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  367   TargetTriple = Triple(M.getTargetTriple());
lib/Transforms/Instrumentation/InstrOrderFile.cpp
   84     Triple TT = Triple(M.getTargetTriple());
lib/Transforms/Instrumentation/InstrProfiling.cpp
  502   TT = Triple(M.getTargetTriple());
lib/Transforms/Instrumentation/MemorySanitizer.cpp
  886     Triple TargetTriple(M.getTargetTriple());
 4023       Triple TargetTriple(F.getParent()->getTargetTriple());
 4401     Triple TargetTriple(F.getParent()->getTargetTriple());
 4578   Triple TargetTriple(Func.getParent()->getTargetTriple());
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  366   TargetTriple = Triple(M.getTargetTriple());
lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  315       auto OF = Triple(M->getTargetTriple()).getObjectFormat();
lib/Transforms/Utils/CloneModule.cpp
   54   New->setTargetTriple(M.getTargetTriple());
lib/Transforms/Utils/EscapeEnumerator.cpp
   23   Triple T(M->getTargetTriple());
lib/Transforms/Utils/SimplifyLibCalls.cpp
   72     if (Triple(CI->getModule()->getTargetTriple()).isiOS())
 2076   Triple T(OrigCallee->getParent()->getTargetTriple());
tools/bugpoint/BugDriver.cpp
  109     Triple TheTriple(Result->getTargetTriple());
tools/clang/lib/CodeGen/BackendUtil.cpp
  556   Triple TargetTriple(TheModule->getTargetTriple());
  758   std::string Triple = TheModule->getTargetTriple();
  783   llvm::Triple TargetTriple(TheModule->getTargetTriple());
  860            llvm::Triple(TheModule->getTargetTriple()).getVendor() !=
 1099   Triple TargetTriple(TheModule->getTargetTriple());
 1283            llvm::Triple(TheModule->getTargetTriple()).getVendor() !=
 1535       EmptyModule->setTargetTriple(M->getTargetTriple());
 1616   Triple T(M->getTargetTriple());
tools/clang/lib/CodeGen/CodeGenAction.cpp
 1066     if (TheModule->getTargetTriple() != TargetOpts.Triple) {
tools/clang/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp
  102   Triple ModuleTriple(M->getTargetTriple());
  107       TheTarget->createTargetMachine(M->getTargetTriple(), getCPUStr(),
tools/llc/llc.cpp
  418     TheTriple = Triple(M->getTargetTriple());
  494   TargetLibraryInfoImpl TLII(Triple(M->getTargetTriple()));
tools/lldb/source/Expression/IRExecutionUnit.cpp
  264   llvm::Triple triple(m_module->getTargetTriple());
tools/lli/lli.cpp
  519   if (RemoteMCJIT && Triple(Mod->getTargetTriple()).isOSCygMing()) {
  520     addCygMingExtraModule(*EE, Context, Mod->getTargetTriple());
  753   const auto &TT = MainModule->getTargetTriple();
tools/llvm-exegesis/lib/Assembler.cpp
  220   TargetLibraryInfoImpl TLII(Triple(Module->getTargetTriple()));
tools/opt/opt.cpp
  632   Triple ModuleTriple(M->getTargetTriple());
tools/polly/lib/CodeGen/PerfMonitor.cpp
   66   if (Triple(M->getTargetTriple()).getArch() == llvm::Triple::x86_64)
unittests/Analysis/AliasSetTrackerTest.cpp
   59   Triple Trip(M->getTargetTriple());
unittests/Analysis/GlobalsModRefTest.cpp
   44   Triple Trip(M->getTargetTriple());
unittests/Analysis/LazyCallGraphTest.cpp
  219   TargetLibraryInfoImpl TLII(Triple(M.getTargetTriple()));
unittests/ExecutionEngine/Orc/LegacyRTDyldObjectLinkingLayerTest.cpp
   92     EngineBuilder().selectTarget(Triple(M->getTargetTriple()), "", "",
unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp
   87       Triple(M->getTargetTriple()), "", "", SmallVector<std::string, 1>()));