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

References

examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h
   80             TM->getTargetTriple(), ES, 0))),
   90                 TM->getTargetTriple())) {
examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h
  120             TM->getTargetTriple(), ES, 0))) {
  122       orc::createLocalIndirectStubsManagerBuilder(TM->getTargetTriple());
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  274   const Triple &Target = TM.getTargetTriple();
  299         TM.getTargetTriple().str(), TM.getTargetCPU(),
  311     if (EmitCodeView && TM.getTargetTriple().isOSWindows()) {
 1151   const Triple &TT = TM.getTargetTriple();
 1424   if (TM.getTargetTriple().isOSBinFormatELF()) {
 1442   if (TM.getTargetTriple().isOSBinFormatCOFF()) {
 1546   if (TM.getTargetTriple().isOSBinFormatELF() && MMI->hasSplitStack()) {
 1561   if (TM.getTargetTriple().isOSBinFormatCOFF()) {
 1617   if (TM.getTargetTriple().isOSBinFormatELF()) {
 1659     assert(TM.getTargetTriple().isOSAIX() && "Function descriptor is only"
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  222       if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) {
  276   if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) {
  394     if (Asm->MF->getTarget().getTargetTriple().isNVPTX()) {
  654     if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) {
  673   if (Asm->TM.getTargetTriple().isNVPTX() && DD->tuneForGDB()) {
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  347       IsDarwin(A->TM.getTargetTriple().isOSDarwin()) {
  348   const Triple &TT = Asm->TM.getTargetTriple();
  396       A->TM.getTargetTriple().isOSBinFormatELF() && GenerateDwarfTypeUnits;
  399       DwarfVersion, GenerateTypeUnits, DebuggerTuning, A->TM.getTargetTriple());
lib/CodeGen/AsmPrinter/WinException.cpp
   44   isAArch64 = Asm->TM.getTargetTriple().isAArch64();
lib/CodeGen/GlobalISel/CombinerHelper.cpp
  806   if (MF.getTarget().getTargetTriple().isOSDarwin())
lib/CodeGen/GlobalISel/IRTranslator.cpp
 1799   if (MF->getTarget().getTargetTriple().isOSWindows())
lib/CodeGen/LLVMTargetMachine.cpp
   42   MRI.reset(TheTarget.createMCRegInfo(getTargetTriple().str()));
   49       getTargetTriple().str(), getTargetCPU(), getTargetFeatureString()));
   52       *MRI, getTargetTriple().str(), Options.MCOptions);
  134         getTargetTriple(), MAI.getAssemblerDialect(), MAI, MII, MRI);
  163     Triple T(getTargetTriple().str());
  203     if (this->getTargetTriple().isOSAIX()) {
  253   const Triple &T = getTargetTriple();
lib/CodeGen/SelectionDAG/FastISel.cpp
 1042   const auto &Triple = TM.getTargetTriple();
 1061   const auto &Triple = TM.getTargetTriple();
 1876     if (TM.getTargetTriple().isOSAIX())
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 5739   if (MF.getTarget().getTargetTriple().isOSDarwin())
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 2610   if (TM.getTargetTriple().isPS4CPU())
 6712     const auto &Triple = DAG.getTarget().getTargetTriple();
 6743     const auto &Triple = DAG.getTarget().getTargetTriple();
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  657   computeUsesMSVCFloatingPoint(TM.getTargetTriple(), Fn, MF->getMMI());
lib/CodeGen/StackProtector.cpp
   84   Trip = TM->getTargetTriple();
lib/CodeGen/TailDuplicator.cpp
  600         (TailBB.getParent()->getTarget().getTargetTriple().isOSDarwin() ||
lib/CodeGen/TargetLoweringBase.cpp
  597   InitLibcalls(TM.getTargetTriple());
 1710   if (!TM.getTargetTriple().isAndroid())
 1770   if (getTargetMachine().getTargetTriple().isOSOpenBSD()) {
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  101   switch (TgtM.getTargetTriple().getArch()) {
  197     if (TgtM.getTargetTriple().isOSFreeBSD()) {
 1223   bool isThumb = TM.getTargetTriple().getArch() == Triple::thumb;
 1484   const Triple &T = TM.getTargetTriple();
 1571   const Triple &T = TM.getTargetTriple();
lib/CodeGen/XRayInstrumentation.cpp
  208   switch (MF.getTarget().getTargetTriple().getArch()) {
lib/ExecutionEngine/Orc/OrcCBindings.cpp
   18   Triple T(TM2->getTargetTriple());
lib/ExecutionEngine/Orc/OrcCBindingsStack.h
  452     auto CCMgr = createLocalCompileCallbackManager(TM.getTargetTriple(), ES, 0);
lib/LTO/LTOBackend.cpp
  276   PMB.LibraryInfo = new TargetLibraryInfoImpl(Triple(TM->getTargetTriple()));
lib/LTO/LTOCodeGenerator.cpp
  561   Triple TargetTriple(TargetMach->getTargetTriple());
lib/LTO/LTOModule.cpp
  641   const Triple TT(_target->getTargetTriple());
lib/LTO/ThinLTOCodeGenerator.cpp
  233   PMB.LibraryInfo = new TargetLibraryInfoImpl(TM.getTargetTriple());
lib/LTO/UpdateCompilerUsed.cpp
   59     TargetLibraryInfoImpl TLII(Triple(TM.getTargetTriple()));
lib/Target/AArch64/AArch64AsmPrinter.cpp
  248     if (!TM.getTargetTriple().isOSBinFormatELF())
  267   const Triple &TT = TM.getTargetTriple();
  453   const Triple &TT = TM.getTargetTriple();
lib/Target/AArch64/AArch64CallLowering.cpp
  723     const Triple &TT = MF.getTarget().getTargetTriple();
lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
  598     if (MF->getTarget().getTargetTriple().isOSFuchsia() &&
lib/Target/AArch64/AArch64ISelLowering.cpp
 3602     const Triple &TT = getTargetMachine().getTargetTriple();
lib/Target/AArch64/AArch64MCInstLower.cpp
   40   const Triple &TheTriple = Printer.TM.getTargetTriple();
  243   if (Printer.TM.getTargetTriple().isOSDarwin())
  245   if (Printer.TM.getTargetTriple().isOSBinFormatCOFF())
  248   assert(Printer.TM.getTargetTriple().isOSBinFormatELF() && "Invalid target");
lib/Target/AArch64/AArch64TargetMachine.cpp
  269       TLOF(createTLOF(getTargetTriple())), isLittle(LittleEndian) {
  465   if (TM->getTargetTriple().isOSWindows())
  488     bool MergeExternalByDefault = !TM->getTargetTriple().isOSBinFormatMachO();
  507   if (TM->getTargetTriple().isOSBinFormatELF() &&
  626   if (TM->getTargetTriple().isOSWindows())
  633       TM->getTargetTriple().isOSBinFormatMachO())
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  133   if (TM.getTargetTriple().getOS() != Triple::AMDHSA &&
  134       TM.getTargetTriple().getOS() != Triple::AMDPAL)
  137   if (TM.getTargetTriple().getOS() == Triple::AMDHSA)
  140   if (TM.getTargetTriple().getOS() == Triple::AMDPAL)
  147   if (TM.getTargetTriple().getOS() == Triple::AMDHSA)
  170   if (TM.getTargetTriple().getOS() == Triple::AMDHSA) {
  217       TM.getTargetTriple().getOS() != Triple::AMDHSA)
  253       TM.getTargetTriple().getOS() == Triple::AMDHSA) {
  298     const Triple::OSType OS = TM.getTargetTriple().getOS();
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
 2634   assert(CurDAG->getTarget().getTargetTriple().getArch() == Triple::amdgcn);
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  154   const Triple &TT = TM->getTargetTriple();
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
  895   if (MF.getTarget().getTargetTriple().getArch() == Triple::amdgcn)
  902   if (TM.getTargetTriple().getArch() == Triple::amdgcn)
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  362       TLOF(createTLOF(getTargetTriple())) {
  689   if (TM.getTargetTriple().getArch() == Triple::r600)
  715   if (TM.getTargetTriple().getArch() == Triple::amdgcn) {
  739   if (TM->getTargetTriple().getArch() == Triple::amdgcn)
  742   if (TM->getTargetTriple().getArch() == Triple::amdgcn &&
lib/Target/AMDGPU/AMDGPUTargetObjectFile.cpp
   26       AMDGPU::shouldEmitConstantsToTextSection(TM.getTargetTriple()))
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
   58         TargetTriple(TM->getTargetTriple()),
lib/Target/AMDGPU/SIISelLowering.cpp
 3724     assert(getTargetMachine().getTargetTriple().getOS() == Triple::AMDHSA ||
 3725            getTargetMachine().getTargetTriple().getOS() == Triple::AMDPAL);
 4411   const Triple &TT = getTargetMachine().getTargetTriple();
 5071         getTargetMachine().getTargetTriple().getOS() == Triple::AMDHSA ||
 5072         getTargetMachine().getTargetTriple().getOS() == Triple::AMDPAL)) ||
 6056     Triple::OSType OS = getTargetMachine().getTargetTriple().getOS();
lib/Target/ARM/ARMAsmPrinter.cpp
  475   const Triple &TT = TM.getTargetTriple();
  515   const Triple &TT = TM.getTargetTriple();
  601   const Triple &TT = TM.getTargetTriple();
lib/Target/ARM/ARMAsmPrinter.h
  135     const Triple &TT = TM.getTargetTriple();
lib/Target/ARM/ARMISelLowering.cpp
 2594     const Triple &TT = getTargetMachine().getTargetTriple();
lib/Target/ARM/ARMTargetMachine.cpp
  217       TLOF(createTLOF(getTargetTriple())), isLittle(isLittle) {
  327       ARMGenSubtargetInfo STI(TM.getTargetTriple(), TM.getTargetCPU(),
  426   if (TM->getTargetTriple().isOSWindows())
  451     bool MergeExternalByDefault = !TM->getTargetTriple().isOSBinFormatMachO();
  544   if (TM->getTargetTriple().isOSWindows())
lib/Target/BPF/BPFAbstractMemberAccess.cpp
  618     const Triple &Triple = TM->getTargetTriple();
lib/Target/Mips/MipsAsmPrinter.cpp
  780   const Triple &TT = TM.getTargetTriple();
  981       TM.getTargetTriple().str(), TM.getTargetCPU(),
lib/Target/Mips/MipsSubtarget.cpp
  239   std::string CPUName = MIPS_MC::selectMipsCPU(TM.getTargetTriple(), CPU);
lib/Target/PowerPC/PPCAsmPrinter.cpp
  538   const bool IsDarwin = TM.getTargetTriple().isOSDarwin();
 1833   if (tm.getTargetTriple().isMacOSX())
 1835   if (tm.getTargetTriple().isOSAIX())
lib/Target/PowerPC/PPCFastISel.cpp
 1972       if (TM.getTargetTriple().isOSAIX())
lib/Target/PowerPC/PPCTargetMachine.cpp
  304       TLOF(createTLOF(getTargetTriple())),
  349         computeFSAdditions(FS, getOptLevel(), getTargetTriple()), *this);
  406   bool UsePrefetching = TM->getTargetTriple().getVendor() == Triple::BGQ &&
  469   if (TM->getTargetTriple().getArch() == Triple::ppc64le &&
lib/Target/PowerPC/PPCTargetMachine.h
   58     const Triple &TT = getTargetTriple();
lib/Target/TargetLoweringObjectFile.cpp
   45   InitMCObjectFileInfo(TM.getTargetTriple(), TM.isPositionIndependent(), *Ctx,
lib/Target/TargetMachine.cpp
  120   const Triple &TT = getTargetTriple();
  208   return getTargetTriple().hasDefaultEmulatedTLS();
lib/Target/TargetMachineC.cpp
  162   std::string StringRep = unwrap(T)->getTargetTriple().str();
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
  118       if (TM.getTargetTriple().isOSBinFormatWasm() &&
  125       if (TM.getTargetTriple().isOSBinFormatWasm() &&
lib/Target/X86/X86AsmPrinter.cpp
  557   const Triple &TT = TM.getTargetTriple();
  680   const Triple &TT = TM.getTargetTriple();
lib/Target/X86/X86FrameLowering.cpp
 1618       (!MF.getTarget().getTargetTriple().isOSDarwin() &&
 1619        !MF.getTarget().getTargetTriple().isOSWindows()) &&
lib/Target/X86/X86RetpolineThunks.cpp
   98   Is64Bit = TM->getTargetTriple().getArch() == Triple::x86_64;
lib/Target/X86/X86TargetMachine.cpp
  225       TLOF(createTLOF(getTargetTriple())) {
  420   const Triple &TT = TM->getTargetTriple();
  435   if (TM->getTargetTriple().isOSBinFormatELF() &&
  475   const Triple &TT = TM->getTargetTriple();
  527   const Triple &TT = TM->getTargetTriple();
tools/llvm-exegesis/lib/BenchmarkRunner.cpp
   89       State.getTargetMachine().getTargetTriple().normalize();
tools/llvm-exegesis/lib/LlvmState.cpp
   33   TheExegesisTarget = ExegesisTarget::lookup(TheTargetMachine->getTargetTriple());
   55           TheTargetMachine->getTargetTriple().normalize(),
tools/llvm-exegesis/lib/SnippetFile.cpp
  135   ObjectFileInfo.InitMCObjectFileInfo(TM.getTargetTriple(), /*PIC*/ false,
tools/llvm-exegesis/lib/SnippetGenerator.cpp
   50         ET.getScratchMemoryRegister(State.getTargetMachine().getTargetTriple());
tools/llvm-exegesis/lib/SnippetRepetitor.cpp
   53             State.getTargetMachine().getTargetTriple())) {}
tools/llvm-exegesis/lib/Uops.cpp
  166                 State.getTargetMachine().getTargetTriple())
tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp
   93   M->setTargetTriple(TM->getTargetTriple().normalize());
   98   TargetLibraryInfoImpl TLII(TM->getTargetTriple());
tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp
  124   M->setTargetTriple(TM->getTargetTriple().normalize());
unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
   49     auto M = createTestModule(TM->getTargetTriple());
   81     CCtx->M = ET->createTestModule(ET->TM->getTargetTriple());
  101   std::unique_ptr<Module> M = createTestModule(TM->getTargetTriple());
  141   std::unique_ptr<Module> M = createTestModule(TM->getTargetTriple());
unittests/ExecutionEngine/Orc/OrcTestCommon.h
  141       const Triple& TT = TM->getTargetTriple();
unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp
  129     ModuleBuilder MB(*TSCtx.getContext(), TM->getTargetTriple().str(), "dummy");
  202     ModuleBuilder MB(*TSCtx.getContext(), TM->getTargetTriple().str(), "dummy");
unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp
   95   ModuleBuilder MB(Ctx, TM->getTargetTriple().str(), "TestModule");
unittests/Target/AArch64/InstSizes.cpp
   31   AArch64Subtarget ST(TM->getTargetTriple(), TM->getTargetCPU(),
   65   M->setTargetTriple(TM->getTargetTriple().getTriple());
unittests/Target/ARM/MachineInstrTest.cpp
  484   ARMSubtarget ST(TM->getTargetTriple(), TM->getTargetCPU(),
unittests/Target/X86/MachineSizeOptsTest.cpp
   76     M->setTargetTriple(TM->getTargetTriple().getTriple());
unittests/tools/llvm-exegesis/X86/SnippetRepetitorTest.cpp
   90                       State.getTargetMachine().getTargetTriple()))));