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

Derived Classes

include/llvm/Target/TargetMachine.h
  323 class LLVMTargetMachine : public TargetMachine {

Declarations

include/llvm/CodeGen/Analysis.h
   33 class TargetMachine;
include/llvm/CodeGen/AsmPrinter.h
   76 class TargetMachine;
include/llvm/CodeGen/BasicTTIImpl.h
   63 class TargetMachine;
include/llvm/CodeGen/CallingConvLower.h
   29 class TargetMachine;
include/llvm/CodeGen/FastISel.h
   56 class TargetMachine;
include/llvm/CodeGen/MachineOperand.h
   36 class TargetMachine;
include/llvm/CodeGen/Passes.h
   27 class TargetMachine;
include/llvm/CodeGen/SelectionDAG.h
   80 class TargetMachine;
include/llvm/CodeGen/StackProtector.h
   34 class TargetMachine;
include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
   30 class TargetMachine;
include/llvm/ExecutionEngine/Orc/CompileUtils.h
   25 class TargetMachine;
include/llvm/ExecutionEngine/Orc/ExecutionUtils.h
   36 class TargetMachine;
include/llvm/LTO/legacy/LTOCodeGenerator.h
   61   class TargetMachine;
include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
   33 class TargetMachine;
include/llvm/LTO/legacy/UpdateCompilerUsed.h
   21 class TargetMachine;
include/llvm/Passes/PassBuilder.h
   29 class TargetMachine;
include/llvm/Support/TargetRegistry.h
   59 class TargetMachine;
include/llvm/Target/TargetLoweringObjectFile.h
   36 class TargetMachine;
include/llvm/Transforms/IPO/PassManagerBuilder.h
   26 class TargetMachine;
include/llvm/Transforms/Scalar.h
   29 class TargetMachine;
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
   84 class TargetMachine;
lib/Target/AMDGPU/AMDGPU.h
   23 class TargetMachine;
lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h
   22 class TargetMachine;
lib/Target/ARC/ARCSubtarget.h
   29 class TargetMachine;
lib/Target/ARM/ARMISelLowering.h
   48 class TargetMachine;
lib/Target/Hexagon/HexagonAsmPrinter.h
   27 class TargetMachine;
lib/Target/Hexagon/HexagonSubtarget.h
   39 class TargetMachine;
lib/Target/Lanai/Lanai.h
   23 class TargetMachine;
lib/Target/Mips/MipsAsmPrinter.h
   40 class TargetMachine;
lib/Target/PowerPC/PPCSubtarget.h
   65 class TargetMachine;
lib/Target/Sparc/SparcTargetObjectFile.h
   17 class TargetMachine;
lib/Target/XCore/XCore.h
   23   class TargetMachine;
tools/opt/NewPMDriver.h
   27 class TargetMachine;
unittests/DebugInfo/DWARF/DwarfGenerator.h
   43 class TargetMachine;

References

examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h
   51   std::unique_ptr<TargetMachine> TM;
   94   TargetMachine &getTargetMachine() { return *TM; }
examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h
   77   std::unique_ptr<TargetMachine> TM;
  127   TargetMachine &getTargetMachine() { return *TM; }
examples/Kaleidoscope/BuildingAJIT/Chapter5/KaleidoscopeJIT.h
   82   std::unique_ptr<TargetMachine> TM;
  140   TargetMachine &getTargetMachine() { return *TM; }
examples/Kaleidoscope/Chapter8/toy.cpp
 1256   auto FileType = TargetMachine::CGFT_ObjectFile;
examples/Kaleidoscope/include/KaleidoscopeJIT.h
   61   TargetMachine &getTargetMachine() { return *TM; }
  129   std::unique_ptr<TargetMachine> TM;
include/llvm/CodeGen/Analysis.h
  125 bool isInTailCallPosition(ImmutableCallSite CS, const TargetMachine &TM);
include/llvm/CodeGen/AsmPrinter.h
   82   TargetMachine &TM;
  190   explicit AsmPrinter(TargetMachine &TM, std::unique_ptr<MCStreamer> Streamer);
include/llvm/CodeGen/BasicTTIImpl.h
  191   explicit BasicTTIImplBase(const TargetMachine *TM, const DataLayout &DL)
 1731   explicit BasicTTIImpl(const TargetMachine *TM, const Function &F);
include/llvm/CodeGen/CommandFlags.inc
  105 static cl::opt<TargetMachine::CodeGenFileType> FileType(
  106     "filetype", cl::init(TargetMachine::CGFT_AssemblyFile),
include/llvm/CodeGen/FastISel.h
  209   const TargetMachine &TM;
include/llvm/CodeGen/ParallelCG.h
   41              const std::function<std::unique_ptr<TargetMachine>()> &TMFactory,
   42              TargetMachine::CodeGenFileType FileType = TargetMachine::CGFT_ObjectFile,
   42              TargetMachine::CodeGenFileType FileType = TargetMachine::CGFT_ObjectFile,
include/llvm/CodeGen/Passes.h
  406   Pass *createGlobalMergePass(const TargetMachine *TM, unsigned MaximalOffset,
include/llvm/CodeGen/SelectionDAG.h
  222   const TargetMachine &TM;
  396   explicit SelectionDAG(const TargetMachine &TM, CodeGenOpt::Level);
  418   const TargetMachine &getTarget() const { return TM; }
include/llvm/CodeGen/SelectionDAGISel.h
   47   TargetMachine &TM;
   69   explicit SelectionDAGISel(TargetMachine &tm,
include/llvm/CodeGen/StackProtector.h
   43   const TargetMachine *TM = nullptr;
include/llvm/CodeGen/SwitchLoweringUtils.h
  247   void init(const TargetLowering &tli, const TargetMachine &tm,
  289   const TargetMachine *TM;
include/llvm/CodeGen/TargetLowering.h
  227   explicit TargetLoweringBase(const TargetMachine &TM);
  237   const TargetMachine &getTargetMachine() const { return TM; }
 2661   const TargetMachine &TM;
 2952   explicit TargetLowering(const TargetMachine &TM);
include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
   39   const TargetMachine *TM = nullptr;
   45   void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
   60                                       const TargetMachine &TM) const override;
   63                                     const TargetMachine &TM) const override;
   66                                     const TargetMachine &TM) const override;
   75                                         const TargetMachine &TM,
   81                                     const TargetMachine &TM,
   92                                        const TargetMachine &TM) const override;
  102   void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
  108                                     const TargetMachine &TM) const override;
  111                                       const TargetMachine &TM) const override;
  120                                         const TargetMachine &TM,
  126                                     const TargetMachine &TM,
  137                          const TargetMachine &TM) const override;
  146   void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
  148                                       const TargetMachine &TM) const override;
  151                                     const TargetMachine &TM) const override;
  154                          const TargetMachine &TM) const override;
  157                                     const TargetMachine &TM) const override;
  175                                        const TargetMachine &TM) const override;
  192                                       const TargetMachine &TM) const override;
  195                                     const TargetMachine &TM) const override;
  208                                        const TargetMachine &TM) const override;
  216   void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
  222                                       const TargetMachine &TM) const override;
  231                                        const TargetMachine &TM) const override;
  234                                     const TargetMachine &TM) const override;
include/llvm/CodeGen/TargetPassConfig.h
  149   template<typename TMC> TMC &getTM() const {
include/llvm/ExecutionEngine/ExecutionEngine.h
  143       std::unique_ptr<TargetMachine> TM);
  148       std::unique_ptr<TargetMachine> TM);
  435   virtual TargetMachine *getTargetMachine() { return nullptr; }
  652   TargetMachine *selectTarget();
  656   TargetMachine *selectTarget(const Triple &TargetTriple,
  665   ExecutionEngine *create(TargetMachine *TM);
include/llvm/ExecutionEngine/Orc/CompileUtils.h
   39   SimpleCompiler(TargetMachine &TM, ObjectCache *ObjCache = nullptr)
   52   TargetMachine &TM;
   62   TMOwningSimpleCompiler(std::unique_ptr<TargetMachine> TM,
   69   std::shared_ptr<llvm::TargetMachine> TM;
include/llvm/ExecutionEngine/Orc/JITTargetMachineBuilder.h
   56   Expected<std::unique_ptr<TargetMachine>> createTargetMachine();
include/llvm/LTO/Config.h
   44   TargetMachine::CodeGenFileType CGFileType = TargetMachine::CGFT_ObjectFile;
   44   TargetMachine::CodeGenFileType CGFileType = TargetMachine::CGFT_ObjectFile;
include/llvm/LTO/legacy/LTOCodeGenerator.h
   91   void setFileType(TargetMachine::CodeGenFileType FT) { FileType = FT; }
  208   std::unique_ptr<TargetMachine> createTargetMachine();
  218   std::unique_ptr<TargetMachine> TargetMach;
  241   TargetMachine::CodeGenFileType FileType = TargetMachine::CGFT_ObjectFile;
  241   TargetMachine::CodeGenFileType FileType = TargetMachine::CGFT_ObjectFile;
include/llvm/LTO/legacy/LTOModule.h
   56   std::unique_ptr<TargetMachine> _target;
   65             TargetMachine *TM);
include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
   44   std::unique_ptr<TargetMachine> create() const;
include/llvm/LTO/legacy/UpdateCompilerUsed.h
   27 void updateCompilerUsed(Module &TheModule, const TargetMachine &TM,
include/llvm/Passes/PassBuilder.h
  111   TargetMachine *TM;
  228   explicit PassBuilder(TargetMachine *TM = nullptr,
include/llvm/Support/BuryPointer.h
   23 template <typename T> void BuryPointer(std::unique_ptr<T> Ptr) {
include/llvm/Support/TargetRegistry.h
  139   using TargetMachineCtorTy = TargetMachine
  147       TargetMachine &TM, std::unique_ptr<MCStreamer> &&Streamer);
  393   TargetMachine *createTargetMachine(StringRef TT, StringRef CPU,
  430   AsmPrinter *createAsmPrinter(TargetMachine &TM,
 1117   static TargetMachine *
 1180   static AsmPrinter *Allocator(TargetMachine &TM,
include/llvm/Target/TargetLoweringObjectFile.h
   75   virtual void Initialize(MCContext &ctx, const TargetMachine &TM);
   96                                       const TargetMachine &TM);
  102                               const TargetMachine &TM) const;
  108                               const TargetMachine &TM) const {
  114                                  const TargetMachine &TM) const;
  117                                             const TargetMachine &TM) const;
  127                            const TargetMachine &TM) const = 0;
  133                                                 const TargetMachine &TM,
  141                                          const TargetMachine &TM) const;
  145                                             const TargetMachine &TM,
  172                                                const TargetMachine &TM) const {
  218                                             const TargetMachine &TM) const = 0;
include/llvm/Target/TargetMachine.h
  105   TargetMachine(const TargetMachine &) = delete;
  106   void operator=(const TargetMachine &) = delete;
  323 class LLVMTargetMachine : public TargetMachine {
lib/CodeGen/Analysis.cpp
  512 bool llvm::isInTailCallPosition(ImmutableCallSite CS, const TargetMachine &TM) {
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  185 AsmPrinter::AsmPrinter(TargetMachine &tm, std::unique_ptr<MCStreamer> Streamer)
lib/CodeGen/AtomicExpandPass.cpp
  202   auto &TM = TPC->getTM<TargetMachine>();
  202   auto &TM = TPC->getTM<TargetMachine>();
lib/CodeGen/BasicTargetTransformInfo.cpp
   32 BasicTTIImpl::BasicTTIImpl(const TargetMachine *TM, const Function &F)
lib/CodeGen/CodeGenPrepare.cpp
  245     const TargetMachine *TM = nullptr;
  422     TM = &TPC->getTM<TargetMachine>();
lib/CodeGen/DwarfEHPrepare.cpp
  259   const TargetMachine &TM =
  260       getAnalysis<TargetPassConfig>().getTM<TargetMachine>();
lib/CodeGen/ExpandMemCmp.cpp
  795         TPC->getTM<TargetMachine>().getSubtargetImpl(F)->getTargetLowering();
lib/CodeGen/GlobalISel/IRTranslator.cpp
 1408     const TargetMachine &TM = MF->getTarget();
 2246   const TargetMachine &TM = MF->getTarget();
lib/CodeGen/GlobalMerge.cpp
  139     const TargetMachine *TM = nullptr;
  192     explicit GlobalMerge(const TargetMachine *TM, unsigned MaximalOffset,
  675 Pass *llvm::createGlobalMergePass(const TargetMachine *TM, unsigned Offset,
lib/CodeGen/IndirectBrExpandPass.cpp
   81   auto &TM = TPC->getTM<TargetMachine>();
   81   auto &TM = TPC->getTM<TargetMachine>();
lib/CodeGen/InterleavedAccessPass.cpp
  452   auto &TM = TPC->getTM<TargetMachine>();
  452   auto &TM = TPC->getTM<TargetMachine>();
lib/CodeGen/InterleavedLoadCombinePass.cpp
   66                              TargetMachine &TM)
 1328                TPC->getTM<TargetMachine>())
lib/CodeGen/LiveDebugValues.cpp
  838     auto &TM = TPC->getTM<TargetMachine>();
  838     auto &TM = TPC->getTM<TargetMachine>();
lib/CodeGen/LowerEmuTLS.cpp
   69   auto &TM = TPC->getTM<TargetMachine>();
   69   auto &TM = TPC->getTM<TargetMachine>();
lib/CodeGen/MIRPrinter.cpp
  224   const TargetMachine &TM = MF.getTarget();
lib/CodeGen/MachineVerifier.cpp
   94     const TargetMachine *TM;
lib/CodeGen/ParallelCG.cpp
   28                     function_ref<std::unique_ptr<TargetMachine>()> TMFactory,
   29                     TargetMachine::CodeGenFileType FileType) {
   30   std::unique_ptr<TargetMachine> TM = TMFactory();
   40     const std::function<std::unique_ptr<TargetMachine>()> &TMFactory,
   41     TargetMachine::CodeGenFileType FileType, bool PreserveLocals) {
lib/CodeGen/SafeStack.cpp
  838   const TargetMachine *TM = nullptr;
  868     TM = &getAnalysis<TargetPassConfig>().getTM<TargetMachine>();
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
   86   const TargetMachine &TM;
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  997 SelectionDAG::SelectionDAG(const TargetMachine &tm, CodeGenOpt::Level OL)
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
  371   const TargetMachine &TM;
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  308 SelectionDAGISel::SelectionDAGISel(TargetMachine &tm,
lib/CodeGen/SelectionDAG/TargetLowering.cpp
   38 TargetLowering::TargetLowering(const TargetMachine &tm)
  445   const TargetMachine &TM = getTargetMachine();
lib/CodeGen/StackProtector.cpp
   83   TM = &getAnalysis<TargetPassConfig>().getTM<TargetMachine>();
lib/CodeGen/TargetLoweringBase.cpp
  566 TargetLoweringBase::TargetLoweringBase(const TargetMachine &tm) : TM(tm) {
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
   95                                              const TargetMachine &TgtM) {
  356     const GlobalValue *GV, const TargetMachine &TM,
  390     const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM,
  516                                               const TargetMachine &TM) {
  558     const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {
  632     const TargetMachine &TM, bool EmitUniqueSection, unsigned Flags,
  685     const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {
  713     const Function &F, const TargetMachine &TM) const {
  806     const TargetMachine &TM) const {
  861                                                const TargetMachine &TM) {
  938     const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {
  979     const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {
 1066     const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM,
 1094     const GlobalValue *GV, const TargetMachine &TM,
 1205     const TargetMachine &TM) const {
 1221 getCOFFSectionFlags(SectionKind K, const TargetMachine &TM) {
 1300     const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {
 1339     const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {
 1407     const TargetMachine &TM) const {
 1418     const Function &F, const TargetMachine &TM) const {
 1482                                               const TargetMachine &TM) {
 1570     const TargetMachine &TM) const {
 1705     const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {
 1730     const TargetMachine &TM, bool EmitUniqueSection, unsigned *NextUniqueID) {
 1759     const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {
 1786     const TargetMachine &TM) const {
 1831     const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {
 1836     const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {
 1867                                                const TargetMachine &TgtM) {
 1886     const TargetMachine &TM) const {
lib/CodeGen/TwoAddressInstructionPass.cpp
 1668   const TargetMachine &TM = MF->getTarget();
lib/ExecutionEngine/ExecutionEngine.cpp
   52     std::unique_ptr<TargetMachine> TM) = nullptr;
   57     std::unique_ptr<TargetMachine> TM) = nullptr;
  510 ExecutionEngine *EngineBuilder::create(TargetMachine *TM) {
  511   std::unique_ptr<TargetMachine> TheTM(TM); // Take ownership.
lib/ExecutionEngine/ExecutionEngineBindings.cpp
   33 static LLVMTargetMachineRef wrap(const TargetMachine *P) {
lib/ExecutionEngine/MCJIT/MCJIT.cpp
   45                  std::unique_ptr<TargetMachine> TM) {
   63 MCJIT::MCJIT(std::unique_ptr<Module> M, std::unique_ptr<TargetMachine> TM,
lib/ExecutionEngine/MCJIT/MCJIT.h
   68   MCJIT(std::unique_ptr<Module> M, std::unique_ptr<TargetMachine> tm,
  179   std::unique_ptr<TargetMachine> TM;
  293   TargetMachine *getTargetMachine() override { return TM.get(); }
  307             std::unique_ptr<TargetMachine> TM);
lib/ExecutionEngine/Orc/JITTargetMachineBuilder.cpp
   43 Expected<std::unique_ptr<TargetMachine>>
   51   auto *TM =
lib/ExecutionEngine/Orc/OrcCBindings.cpp
   16   TargetMachine *TM2(unwrap(TM));
lib/ExecutionEngine/Orc/OrcCBindingsStack.h
  210   OrcCBindingsStack(TargetMachine &TM,
  451   createCompileCallbackManager(TargetMachine &TM, orc::ExecutionSession &ES) {
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h
  222                             std::unique_ptr<TargetMachine> TM) {
  234                       std::unique_ptr<TargetMachine> TM)
  466   std::unique_ptr<TargetMachine> TM;
lib/ExecutionEngine/TargetSelect.cpp
   26 TargetMachine *EngineBuilder::selectTarget() {
   39 TargetMachine *EngineBuilder::selectTarget(const Triple &TargetTriple,
   94   TargetMachine *Target =
lib/LTO/LTOBackend.cpp
  127 std::unique_ptr<TargetMachine>
  153 static void runNewPMPasses(Config &Conf, Module &Mod, TargetMachine *TM,
  226 static void runNewPMCustomPasses(Module &Mod, TargetMachine *TM,
  269 static void runOldPMPasses(Config &Conf, Module &Mod, TargetMachine *TM,
  300 bool opt(Config &Conf, TargetMachine *TM, unsigned Task, Module &Mod,
  315 void codegen(Config &Conf, TargetMachine *TM, AddStreamFn AddStream,
  353 void splitCodeGen(Config &C, TargetMachine *TM, AddStreamFn AddStream,
  384               std::unique_ptr<TargetMachine> TM =
  435   std::unique_ptr<TargetMachine> TM = createTargetMachine(C, *TOrErr, *Mod);
  490   std::unique_ptr<TargetMachine> TM = createTargetMachine(Conf, *TOrErr, Mod);
lib/LTO/LTOCodeGenerator.cpp
  262       (FileType == TargetMachine::CGFT_AssemblyFile ? "s" : "o");
  377 std::unique_ptr<TargetMachine> LTOCodeGenerator::createTargetMachine() {
lib/LTO/LTOModule.cpp
   46                      llvm::TargetMachine *TM)
  228   TargetMachine *target =
lib/LTO/ThinLTOCodeGenerator.cpp
  228 static void optimizeModule(Module &TheModule, TargetMachine &TM,
  282                                             TargetMachine &TM) {
  295     if (TM.addPassesToEmitFile(PM, OS, nullptr, TargetMachine::CGFT_ObjectFile,
  400                      StringMap<lto::InputFile *> &ModuleMap, TargetMachine &TM,
  543 std::unique_ptr<TargetMachine> TargetMachineBuilder::create() const {
lib/LTO/UpdateCompilerUsed.cpp
   29                              const TargetMachine &TM,
   46   const TargetMachine &TM;
  122 void llvm::updateCompilerUsed(Module &TheModule, const TargetMachine &TM,
lib/Target/AArch64/AArch64AsmPrinter.cpp
   75   AArch64AsmPrinter(TargetMachine &TM, std::unique_ptr<MCStreamer> Streamer)
lib/Target/AArch64/AArch64ISelLowering.cpp
  123 AArch64TargetLowering::AArch64TargetLowering(const TargetMachine &TM,
11667                                            const TargetMachine &TM) {
lib/Target/AArch64/AArch64ISelLowering.h
  253   explicit AArch64TargetLowering(const TargetMachine &TM,
lib/Target/AArch64/AArch64InstrInfo.cpp
 1504   const TargetMachine &TM = MBB.getParent()->getTarget();
lib/Target/AArch64/AArch64Subtarget.cpp
  170                                    const TargetMachine &TM, bool LittleEndian)
  215                                           const TargetMachine &TM) const {
  247     const GlobalValue *GV, const TargetMachine &TM) const {
lib/Target/AArch64/AArch64Subtarget.h
  243                    const std::string &FS, const TargetMachine &TM,
  469                                    const TargetMachine &TM) const;
  472                                            const TargetMachine &TM) const;
lib/Target/AArch64/AArch64TargetObjectFile.cpp
   21                                              const TargetMachine &TM) {
   35     const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM,
   56     const GlobalValue *GV, const TargetMachine &TM,
   78     const TargetMachine &TM) const {
lib/Target/AArch64/AArch64TargetObjectFile.h
   20   void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
   30                                         const TargetMachine &TM,
   35                                     const TargetMachine &TM,
   45                          const TargetMachine &TM) const override;
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
   29   const TargetMachine &TM = getTLI()->getTargetMachine();
lib/Target/AMDGPU/AMDGPU.h
   36 FunctionPass *createR600ISelDag(TargetMachine *TM, CodeGenOpt::Level OptLevel);
   57                                                const TargetMachine *);
   61 FunctionPass *createAMDGPUPropagateAttributesEarlyPass(const TargetMachine *);
   62 ModulePass *createAMDGPUPropagateAttributesLatePass(const TargetMachine *);
  185   TargetMachine *TM = nullptr,
lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
   47   const TargetMachine *TM = nullptr;
  370   TM = &TPC->getTM<TargetMachine>();
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
   89 createAMDGPUAsmPrinterPass(TargetMachine &tm,
  101 AMDGPUAsmPrinter::AMDGPUAsmPrinter(TargetMachine &TM,
lib/Target/AMDGPU/AMDGPUAsmPrinter.h
   97   explicit AMDGPUAsmPrinter(TargetMachine &TM,
lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
   89   const TargetMachine &TM = TPC.getTM<TargetMachine>();
   89   const TargetMachine &TM = TPC.getTM<TargetMachine>();
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  133   explicit AMDGPUDAGToDAGISel(TargetMachine *TM = nullptr,
  304   explicit R600DAGToDAGISel(TargetMachine *TM, CodeGenOpt::Level OptLevel) :
  374 FunctionPass *llvm::createAMDGPUISelDag(TargetMachine *TM,
  381 FunctionPass *llvm::createR600ISelDag(TargetMachine *TM,
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
   65 AMDGPUTargetLowering::AMDGPUTargetLowering(const TargetMachine &TM,
lib/Target/AMDGPU/AMDGPUISelLowering.h
  147   AMDGPUTargetLowering(const TargetMachine &TM, const AMDGPUSubtarget &STI);
lib/Target/AMDGPU/AMDGPULibCalls.cpp
   64   const TargetMachine *TM;
  156   AMDGPULibCalls(const TargetMachine *TM_ = nullptr) : TM(TM_) {}
  180                            const TargetMachine *TM = nullptr)
 1714                                                      const TargetMachine *TM) {
lib/Target/AMDGPU/AMDGPULowerIntrinsics.cpp
  118   const TargetMachine &TM = TPC->getTM<TargetMachine>();
  118   const TargetMachine &TM = TPC->getTM<TargetMachine>();
lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
   68   const TargetMachine &TM = TPC.getTM<TargetMachine>();
   68   const TargetMachine &TM = TPC.getTM<TargetMachine>();
lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
  227 static const MCExpr *lowerAddrSpaceCast(const TargetMachine &TM,
lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.cpp
  372   const TargetMachine &TM = TPC->getTM<TargetMachine>();
  372   const TargetMachine &TM = TPC->getTM<TargetMachine>();
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
   80   const TargetMachine *TM;
  150     TM = &TPC->getTM<TargetMachine>();
lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp
   68   const TargetMachine *TM;
   97   AMDGPUPropagateAttributes(const TargetMachine *TM, bool AllowClone) :
  112   const TargetMachine *TM;
  117   AMDGPUPropagateAttributesEarly(const TargetMachine *TM = nullptr) :
  129   const TargetMachine *TM;
  134   AMDGPUPropagateAttributesLate(const TargetMachine *TM = nullptr) :
  329 *llvm::createAMDGPUPropagateAttributesEarlyPass(const TargetMachine *TM) {
  334 *llvm::createAMDGPUPropagateAttributesLatePass(const TargetMachine *TM) {
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
  533                              const TargetMachine &TM) :
  901 const AMDGPUSubtarget &AMDGPUSubtarget::get(const TargetMachine &TM, const Function &F) {
lib/Target/AMDGPU/AMDGPUSubtarget.h
   86   static const AMDGPUSubtarget &get(const TargetMachine &TM,
 1227                 const TargetMachine &TM);
lib/Target/AMDGPU/AMDGPUTargetObjectFile.cpp
   24     const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {
   33     const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const {
lib/Target/AMDGPU/AMDGPUTargetObjectFile.h
   27                                       const TargetMachine &TM) const override;
   29                                         const TargetMachine &TM) const override;
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
  673   const TargetMachine &TM = getTLI()->getTargetMachine();
lib/Target/AMDGPU/R600AsmPrinter.cpp
   31 llvm::createR600AsmPrinterPass(TargetMachine &TM,
   36 R600AsmPrinter::R600AsmPrinter(TargetMachine &TM,
lib/Target/AMDGPU/R600AsmPrinter.h
   24   explicit R600AsmPrinter(TargetMachine &TM,
   40 createR600AsmPrinterPass(TargetMachine &TM,
lib/Target/AMDGPU/R600ISelLowering.cpp
   55 R600TargetLowering::R600TargetLowering(const TargetMachine &TM,
lib/Target/AMDGPU/R600ISelLowering.h
   28   R600TargetLowering(const TargetMachine &TM, const R600Subtarget &STI);
lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
  326   const TargetMachine &TM = TPC.getTM<TargetMachine>();
  326   const TargetMachine &TM = TPC.getTM<TargetMachine>();
lib/Target/AMDGPU/SIISelLowering.cpp
  113 SITargetLowering::SITargetLowering(const TargetMachine &TM,
 1863 static void reservePrivateMemoryRegs(const TargetMachine &TM,
lib/Target/AMDGPU/SIISelLowering.h
  221   SITargetLowering(const TargetMachine &tm, const GCNSubtarget &STI);
lib/Target/ARC/ARCAsmPrinter.cpp
   38   explicit ARCAsmPrinter(TargetMachine &TM,
lib/Target/ARC/ARCISelLowering.cpp
   72 ARCTargetLowering::ARCTargetLowering(const TargetMachine &TM,
lib/Target/ARC/ARCISelLowering.h
   62   explicit ARCTargetLowering(const TargetMachine &TM,
lib/Target/ARC/ARCSubtarget.cpp
   28                            const std::string &FS, const TargetMachine &TM)
lib/Target/ARC/ARCSubtarget.h
   42                const TargetMachine &TM);
lib/Target/ARM/ARMAsmPrinter.cpp
   55 ARMAsmPrinter::ARMAsmPrinter(TargetMachine &TM,
  113   const TargetMachine& TM = MF.getTarget();
lib/Target/ARM/ARMAsmPrinter.h
   69   explicit ARMAsmPrinter(TargetMachine &TM,
lib/Target/ARM/ARMCodeGenPrepare.cpp
 1016   const TargetMachine &TM = TPC->getTM<TargetMachine>();
 1016   const TargetMachine &TM = TPC->getTM<TargetMachine>();
lib/Target/ARM/ARMFastISel.cpp
  113   const TargetMachine &TM;
lib/Target/ARM/ARMFrameLowering.cpp
  363   const TargetMachine &TM = MF.getTarget();
lib/Target/ARM/ARMISelLowering.cpp
  402 ARMTargetLowering::ARMTargetLowering(const TargetMachine &TM,
 2270   const TargetMachine &TM = getTargetMachine();
 3441   const TargetMachine &TM = getTargetMachine();
 3535   const TargetMachine &TM = getTargetMachine();
10257   const TargetMachine &TM = getTargetMachine();
lib/Target/ARM/ARMISelLowering.h
  298     explicit ARMTargetLowering(const TargetMachine &TM,
lib/Target/ARM/ARMInstrInfo.cpp
   95   const TargetMachine &TM = MF.getTarget();
lib/Target/ARM/ARMParallelDSP.cpp
  271       auto &TM = TPC.getTM<TargetMachine>();
  271       auto &TM = TPC.getTM<TargetMachine>();
lib/Target/ARM/ARMTargetObjectFile.cpp
   31                                         const TargetMachine &TM) {
   57     const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM,
   76                                   const TargetMachine &TM) {
   84     const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const {
   93     const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const {
lib/Target/ARM/ARMTargetObjectFile.h
   24   void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
   28                                         const TargetMachine &TM,
   36                                       const TargetMachine &TM) const override;
   39                                     const TargetMachine &TM) const override;
lib/Target/ARM/ARMTargetTransformInfo.cpp
   49   const TargetMachine &TM = getTLI()->getTargetMachine();
lib/Target/ARM/MVETailPredication.cpp
  117   auto &TM = TPC.getTM<TargetMachine>();
  117   auto &TM = TPC.getTM<TargetMachine>();
lib/Target/ARM/Thumb1InstrInfo.cpp
  136   const TargetMachine &TM = MF.getTarget();
lib/Target/AVR/AVRAsmPrinter.cpp
   40   AVRAsmPrinter(TargetMachine &TM,
lib/Target/AVR/AVRSubtarget.cpp
   48                                               const TargetMachine &TM) {
lib/Target/AVR/AVRSubtarget.h
   52                                                 const TargetMachine &TM);
lib/Target/AVR/AVRTargetObjectFile.cpp
   21 void AVRTargetObjectFile::Initialize(MCContext &Ctx, const TargetMachine &TM) {
   30                                             const TargetMachine &TM) const {
lib/Target/AVR/AVRTargetObjectFile.h
   21   void Initialize(MCContext &ctx, const TargetMachine &TM) override;
   24                                     const TargetMachine &TM) const override;
lib/Target/BPF/BPFAbstractMemberAccess.cpp
  111   TargetMachine *TM;
lib/Target/BPF/BPFAsmPrinter.cpp
   39   explicit BPFAsmPrinter(TargetMachine &TM,
lib/Target/BPF/BPFISelLowering.cpp
   57 BPFTargetLowering::BPFTargetLowering(const TargetMachine &TM,
lib/Target/BPF/BPFISelLowering.h
   37   explicit BPFTargetLowering(const TargetMachine &TM, const BPFSubtarget &STI);
lib/Target/BPF/BPFSubtarget.cpp
   60                            const std::string &FS, const TargetMachine &TM)
lib/Target/BPF/BPFSubtarget.h
   64                const TargetMachine &TM);
lib/Target/Hexagon/HexagonAsmPrinter.h
   33     explicit HexagonAsmPrinter(TargetMachine &TM,
lib/Target/Hexagon/HexagonFrameLowering.cpp
 1019     const TargetMachine &TM = MF.getTarget();
lib/Target/Hexagon/HexagonISelLowering.cpp
 1232 HexagonTargetLowering::HexagonTargetLowering(const TargetMachine &TM,
lib/Target/Hexagon/HexagonISelLowering.h
  107     explicit HexagonTargetLowering(const TargetMachine &TM,
lib/Target/Hexagon/HexagonSubtarget.cpp
   80                                    StringRef FS, const TargetMachine &TM)
lib/Target/Hexagon/HexagonSubtarget.h
   96                    const TargetMachine &TM);
lib/Target/Hexagon/HexagonTargetObjectFile.cpp
  113       const TargetMachine &TM) {
  128     const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {
  166     const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {
  200       const TargetMachine &TM) const {
  272 bool HexagonTargetObjectFile::isSmallDataEnabled(const TargetMachine &TM)
  290       const GlobalValue *GV, const TargetMachine &TM) const {
  340     const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {
  448     const GlobalObject *GO, const TargetMachine &TM, const Function *Fn) const {
lib/Target/Hexagon/HexagonTargetObjectFile.h
   19     void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
   22                                       const TargetMachine &TM) const override;
   26                                         const TargetMachine &TM) const override;
   29                                 const TargetMachine &TM) const;
   31     bool isSmallDataEnabled(const TargetMachine &TM) const;
   45         const TargetMachine &TM) const;
   49                                            const TargetMachine &TM) const;
   52                                            const TargetMachine &TM,
lib/Target/Lanai/LanaiAsmPrinter.cpp
   45   explicit LanaiAsmPrinter(TargetMachine &TM,
lib/Target/Lanai/LanaiISelLowering.cpp
   73 LanaiTargetLowering::LanaiTargetLowering(const TargetMachine &TM,
lib/Target/Lanai/LanaiISelLowering.h
   69   LanaiTargetLowering(const TargetMachine &TM, const LanaiSubtarget &STI);
lib/Target/Lanai/LanaiSubtarget.cpp
   40                                StringRef FeatureString, const TargetMachine &TM,
lib/Target/Lanai/LanaiSubtarget.h
   35                  StringRef FeatureString, const TargetMachine &TM,
lib/Target/Lanai/LanaiTargetObjectFile.cpp
   29                                        const TargetMachine &TM) {
   51     const GlobalObject *GO, const TargetMachine &TM) const {
   66                                                    const TargetMachine &TM,
   75     const GlobalObject *GO, const TargetMachine &TM) const {
  103     const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {
lib/Target/Lanai/LanaiTargetObjectFile.h
   20   bool isGlobalInSmallSection(const GlobalObject *GO, const TargetMachine &TM,
   23                                   const TargetMachine &TM) const;
   26   void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
   31                               const TargetMachine &TM) const;
   34                                     const TargetMachine &TM) const override;
lib/Target/MSP430/MSP430AsmPrinter.cpp
   44     MSP430AsmPrinter(TargetMachine &TM, std::unique_ptr<MCStreamer> Streamer)
lib/Target/MSP430/MSP430ISelLowering.cpp
   40 MSP430TargetLowering::MSP430TargetLowering(const TargetMachine &TM,
lib/Target/MSP430/MSP430ISelLowering.h
   75     explicit MSP430TargetLowering(const TargetMachine &TM,
lib/Target/MSP430/MSP430Subtarget.cpp
   59                                  const std::string &FS, const TargetMachine &TM)
lib/Target/MSP430/MSP430Subtarget.h
   51                   const std::string &FS, const TargetMachine &TM);
lib/Target/Mips/Mips16HardFloat.cpp
  513       getAnalysis<TargetPassConfig>().getTM<TargetMachine>());
lib/Target/Mips/MipsAsmPrinter.cpp
  163                                    TargetMachine &TM,
lib/Target/Mips/MipsAsmPrinter.h
  121   explicit MipsAsmPrinter(TargetMachine &TM,
lib/Target/Mips/MipsBranchExpansion.cpp
  835   const TargetMachine &TM = MF.getTarget();
lib/Target/Mips/MipsDelaySlotFiller.cpp
  297     const TargetMachine *TM = nullptr;
lib/Target/Mips/MipsFastISel.cpp
  137   const TargetMachine &TM;
lib/Target/Mips/MipsSEInstrInfo.cpp
  892   const TargetMachine &TM = MBB.getParent()->getTarget();
lib/Target/Mips/MipsSubtarget.cpp
  238                                                const TargetMachine &TM) {
lib/Target/Mips/MipsSubtarget.h
  358                                                  const TargetMachine &TM);
lib/Target/Mips/MipsTargetObjectFile.cpp
   45 void MipsTargetObjectFile::Initialize(MCContext &Ctx, const TargetMachine &TM){
   71     const GlobalObject *GO, const TargetMachine &TM) const {
   84 IsGlobalInSmallSection(const GlobalObject *GO, const TargetMachine &TM,
   96                            const TargetMachine &TM) const {
  151     const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {
  169     const DataLayout &DL, const Constant *CN, const TargetMachine &TM) const {
lib/Target/Mips/MipsTargetObjectFile.h
   21     bool IsGlobalInSmallSection(const GlobalObject *GO, const TargetMachine &TM,
   24                                     const TargetMachine &TM) const;
   27     void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
   32                                 const TargetMachine &TM) const;
   35                                       const TargetMachine &TM) const override;
   39                                   const TargetMachine &TM) const;
lib/Target/NVPTX/NVPTXAsmPrinter.h
  291   NVPTXAsmPrinter(TargetMachine &TM, std::unique_ptr<MCStreamer> Streamer)
lib/Target/NVPTX/NVPTXISelLowering.cpp
 5065     const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {
lib/Target/NVPTX/NVPTXTargetObjectFile.h
   24   void Initialize(MCContext &ctx, const TargetMachine &TM) override {
   35                                       const TargetMachine &TM) const override {
   40                                     const TargetMachine &TM) const override;
lib/Target/PowerPC/PPCAsmPrinter.cpp
   86   explicit PPCAsmPrinter(TargetMachine &TM,
  129   explicit PPCLinuxAsmPrinter(TargetMachine &TM,
  151   explicit PPCDarwinAsmPrinter(TargetMachine &TM,
  165   PPCAIXAsmPrinter(TargetMachine &TM, std::unique_ptr<MCStreamer> Streamer)
 1831 createPPCAsmPrinterPass(TargetMachine &tm,
lib/Target/PowerPC/PPCFastISel.cpp
   88   const TargetMachine &TM;
lib/Target/PowerPC/PPCISelLowering.cpp
 2855   const TargetMachine &TM = getTargetMachine();
 4483                     const TargetMachine &TM) {
 4975   const TargetMachine &TM = DAG.getTarget();
lib/Target/PowerPC/PPCMCInstLower.cpp
   38   const TargetMachine &TM = AP.TM;
  115   const TargetMachine &TM = Printer.TM;
lib/Target/PowerPC/PPCTargetObjectFile.cpp
   19 Initialize(MCContext &Ctx, const TargetMachine &TM) {
   25     const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {
lib/Target/PowerPC/PPCTargetObjectFile.h
   22     void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
   25                                       const TargetMachine &TM) const override;
lib/Target/RISCV/RISCVAsmPrinter.cpp
   37   explicit RISCVAsmPrinter(TargetMachine &TM,
lib/Target/RISCV/RISCVISelLowering.cpp
   43 RISCVTargetLowering::RISCVTargetLowering(const TargetMachine &TM,
lib/Target/RISCV/RISCVISelLowering.h
   62   explicit RISCVTargetLowering(const TargetMachine &TM,
lib/Target/RISCV/RISCVSubtarget.cpp
   51                                StringRef ABIName, const TargetMachine &TM)
lib/Target/RISCV/RISCVSubtarget.h
   65                  StringRef ABIName, const TargetMachine &TM);
lib/Target/RISCV/RISCVTargetObjectFile.cpp
   18                                           const TargetMachine &TM) {
   40     const GlobalObject *GO, const TargetMachine &TM) const {
   76     const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {
lib/Target/RISCV/RISCVTargetObjectFile.h
   24   void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
   29                               const TargetMachine &TM) const;
   32                                     const TargetMachine &TM) const override;
lib/Target/Sparc/SparcAsmPrinter.cpp
   45     explicit SparcAsmPrinter(TargetMachine &TM,
lib/Target/Sparc/SparcISelLowering.cpp
 1408 SparcTargetLowering::SparcTargetLowering(const TargetMachine &TM,
lib/Target/Sparc/SparcISelLowering.h
   56     SparcTargetLowering(const TargetMachine &TM, const SparcSubtarget &STI);
lib/Target/Sparc/SparcSubtarget.cpp
   68                                const std::string &FS, const TargetMachine &TM,
lib/Target/Sparc/SparcSubtarget.h
   62                  const std::string &FS, const TargetMachine &TM, bool is64bit);
lib/Target/Sparc/SparcTargetObjectFile.cpp
   18                                           const TargetMachine &TM) {
   24     const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM,
lib/Target/Sparc/SparcTargetObjectFile.h
   25   void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
   29                                         const TargetMachine &TM,
lib/Target/SystemZ/SystemZAsmPrinter.h
   30   SystemZAsmPrinter(TargetMachine &TM, std::unique_ptr<MCStreamer> Streamer)
lib/Target/SystemZ/SystemZISelLowering.cpp
   75 SystemZTargetLowering::SystemZTargetLowering(const TargetMachine &TM,
lib/Target/SystemZ/SystemZISelLowering.h
  375   explicit SystemZTargetLowering(const TargetMachine &TM,
lib/Target/SystemZ/SystemZSubtarget.cpp
   41                                    const TargetMachine &TM)
lib/Target/SystemZ/SystemZSubtarget.h
   83                    const std::string &FS, const TargetMachine &TM);
lib/Target/TargetLoweringObjectFile.cpp
   40                                           const TargetMachine &TM) {
  117     const GlobalValue *GV, StringRef Suffix, const TargetMachine &TM) const {
  128     const GlobalValue *GV, const TargetMachine &TM,
  144                                                        const TargetMachine &TM){
  247     const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {
  272     const Function &F, const TargetMachine &TM) const {
  309     const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM,
  345     const TargetMachine &TM) const {
lib/Target/TargetMachineC.cpp
   34 static TargetMachine *unwrap(LLVMTargetMachineRef P) {
   40 static LLVMTargetMachineRef wrap(const TargetMachine *P) {
  189   TargetMachine* TM = unwrap(T);
  198   TargetMachine::CodeGenFileType ft;
  201       ft = TargetMachine::CGFT_AssemblyFile;
  204       ft = TargetMachine::CGFT_ObjectFile;
lib/Target/WebAssembly/WebAssemblyAsmPrinter.h
   31   explicit WebAssemblyAsmPrinter(TargetMachine &TM,
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
   40     const TargetMachine &TM, const WebAssemblySubtarget &STI)
  661       const TargetMachine &TM = getTargetMachine();
lib/Target/WebAssembly/WebAssemblyISelLowering.h
   38   WebAssemblyTargetLowering(const TargetMachine &TM,
lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
   54     const TargetMachine &TM = MF.getTarget();
  199   const TargetMachine &TM = MI->getMF()->getTarget();
lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp
   29 void llvm::computeLegalValueVTs(const Function &F, const TargetMachine &TM,
   46                                const TargetMachine &TM,
lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h
  139 void computeLegalValueVTs(const Function &F, const TargetMachine &TM, Type *Ty,
  145                          const TargetMachine &TM, SmallVectorImpl<MVT> &Params,
lib/Target/WebAssembly/WebAssemblySubtarget.cpp
   41                                            const TargetMachine &TM)
lib/Target/WebAssembly/WebAssemblySubtarget.h
   70                        const std::string &FS, const TargetMachine &TM);
lib/Target/WebAssembly/WebAssemblyTargetObjectFile.cpp
   21                                              const TargetMachine &TM) {
lib/Target/WebAssembly/WebAssemblyTargetObjectFile.h
   24   void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
lib/Target/X86/X86AsmPrinter.cpp
   45 X86AsmPrinter::X86AsmPrinter(TargetMachine &TM,
lib/Target/X86/X86AsmPrinter.h
  118   X86AsmPrinter(TargetMachine &TM, std::unique_ptr<MCStreamer> Streamer);
lib/Target/X86/X86MCInstLower.cpp
   55   const TargetMachine &TM;
lib/Target/X86/X86RetpolineThunks.cpp
   67   const TargetMachine *TM;
lib/Target/X86/X86Subtarget.h
   80   const TargetMachine &TM;
lib/Target/X86/X86TargetObjectFile.cpp
   26     const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM,
   44     const GlobalValue *GV, const TargetMachine &TM,
   69                                        const TargetMachine &TM) {
   76                                        const TargetMachine &TM) {
   83                                          const TargetMachine &TM) {
   89                                             const TargetMachine &TM) {
lib/Target/X86/X86TargetObjectFile.h
   23                                           const TargetMachine &TM,
   30                                       const TargetMachine &TM,
   55     void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
   60     void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
   66     void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
   71     void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
lib/Target/X86/X86TargetTransformInfo.cpp
 3408   const TargetMachine &TM = getTLI()->getTargetMachine();
 3431   const TargetMachine &TM = getTLI()->getTargetMachine();
lib/Target/XCore/XCoreAsmPrinter.cpp
   57     explicit XCoreAsmPrinter(TargetMachine &TM,
lib/Target/XCore/XCoreISelLowering.cpp
   72 XCoreTargetLowering::XCoreTargetLowering(const TargetMachine &TM,
lib/Target/XCore/XCoreISelLowering.h
   95     explicit XCoreTargetLowering(const TargetMachine &TM,
  143     const TargetMachine &TM;
lib/Target/XCore/XCoreSubtarget.cpp
   28                                const std::string &FS, const TargetMachine &TM)
lib/Target/XCore/XCoreSubtarget.h
   43                  const std::string &FS, const TargetMachine &TM);
lib/Target/XCore/XCoreTargetObjectFile.cpp
   20 void XCoreTargetObjectFile::Initialize(MCContext &Ctx, const TargetMachine &TM){
   98     const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {
  109     const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {
lib/Target/XCore/XCoreTargetObjectFile.h
   25     void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
   28                                         const TargetMachine &TM) const override;
   31                                       const TargetMachine &TM) const override;
tools/clang/examples/clang-interpreter/main.cpp
   54   std::unique_ptr<TargetMachine> TM;
   65       std::unique_ptr<TargetMachine> TM, DataLayout DL,
   95   const TargetMachine &getTargetMachine() const { return *TM; }
tools/clang/lib/CodeGen/BackendUtil.cpp
  146   std::unique_ptr<TargetMachine> TM;
  410 static TargetMachine::CodeGenFileType getCodeGenFileType(BackendAction Action) {
  412     return TargetMachine::CGFT_ObjectFile;
  414     return TargetMachine::CGFT_Null;
  417     return TargetMachine::CGFT_AssemblyFile;
  790   TargetMachine::CodeGenFileType CGFT = getCodeGenFileType(Action);
tools/clang/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp
  106   TargetMachine *Machine =
  110   std::unique_ptr<TargetMachine> TM(Machine);
tools/clang/tools/driver/cc1_main.cpp
  184   std::unique_ptr<llvm::TargetMachine> TheTargetMachine(
tools/dsymutil/DwarfStreamer.h
  160   std::unique_ptr<TargetMachine> TM;
tools/gold/gold-plugin.cpp
  902     Conf.CGFileType = TargetMachine::CGFT_AssemblyFile;
tools/llc/llc.cpp
  205       case TargetMachine::CGFT_AssemblyFile:
  216       case TargetMachine::CGFT_ObjectFile:
  222       case TargetMachine::CGFT_Null:
  232   case TargetMachine::CGFT_AssemblyFile:
  234   case TargetMachine::CGFT_ObjectFile:
  235   case TargetMachine::CGFT_Null:
  458   std::unique_ptr<TargetMachine> Target(TheTarget->createTargetMachine(
  522       FileType != TargetMachine::CGFT_ObjectFile)
  533     if ((FileType != TargetMachine::CGFT_AssemblyFile &&
tools/lldb/source/Expression/IRExecutionUnit.cpp
  282   llvm::TargetMachine *target_machine =
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp
  136     llvm::TargetMachine *target_machine = target_info->createTargetMachine(
tools/llvm-exegesis/lib/Assembler.cpp
  157 BitVector getFunctionReservedRegs(const TargetMachine &TM) {
  241   if (TM->addAsmPrinter(PM, AsmStream, nullptr, TargetMachine::CGFT_ObjectFile,
tools/llvm-exegesis/lib/Assembler.h
   41 BitVector getFunctionReservedRegs(const TargetMachine &TM);
tools/llvm-exegesis/lib/LlvmState.h
   45   const TargetMachine &getTargetMachine() const { return *TheTargetMachine; }
   70   std::unique_ptr<const TargetMachine> TheTargetMachine;
tools/llvm-exegesis/lib/SnippetFile.cpp
  133   const TargetMachine &TM = State.getTargetMachine();
tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp
   49 static std::unique_ptr<TargetMachine> TM;
  101   TM->addPassesToEmitFile(PM, OS, nullptr, TargetMachine::CGFT_Null);
tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp
   35 static std::unique_ptr<TargetMachine> TM;
tools/opt/NewPMDriver.cpp
  211 bool llvm::runPassPipeline(StringRef Arg0, Module &M, TargetMachine *TM,
tools/opt/NewPMDriver.h
   60 bool runPassPipeline(StringRef Arg0, Module &M, TargetMachine *TM,
tools/opt/opt.cpp
  367                                   TargetMachine *TM, unsigned OptLevel,
  463 static TargetMachine* GetTargetMachine(Triple TheTriple, StringRef CPUStr,
  634   TargetMachine *Machine = nullptr;
  648   std::unique_ptr<TargetMachine> TM(Machine);
unittests/CodeGen/GlobalISel/GISelMITest.h
   72                                         const TargetMachine &TM,
unittests/CodeGen/MachineInstrTest.cpp
   35   BogusTargetLowering(TargetMachine &TM) : TargetLowering(TM) {}
  104   BogusSubtarget(TargetMachine &TM)
unittests/CodeGen/TargetOptionsTest.cpp
   31 std::unique_ptr<TargetMachine> createTargetMachine(bool EnableIPRA) {
   47   std::unique_ptr<TargetMachine> TM = createTargetMachine(EnableIPRA);
unittests/DebugInfo/DWARF/DwarfGenerator.h
  246   std::unique_ptr<TargetMachine> TM;
unittests/ExecutionEngine/Orc/LegacyRTDyldObjectLinkingLayerTest.cpp
   91   std::unique_ptr<TargetMachine> TM(
unittests/ExecutionEngine/Orc/OrcTestCommon.h
  160   std::unique_ptr<TargetMachine> TM;
unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp
   86   std::unique_ptr<TargetMachine> TM(EngineBuilder().selectTarget(
  104   std::unique_ptr<TargetMachine> TM(
  115     FunkySimpleCompiler(TargetMachine &TM) : SimpleCompiler(TM) {}
  172   std::unique_ptr<TargetMachine> TM(
  183     FunkySimpleCompiler(TargetMachine &TM) : SimpleCompiler(TM) {}
unittests/Target/AArch64/InstSizes.cpp
   30 std::unique_ptr<AArch64InstrInfo> createInstrInfo(TargetMachine *TM) {
unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp
   44                                  const TargetMachine &TM, StringRef MIRCode,
unittests/tools/llvm-exegesis/Common/AssemblerUtils.h
   68     TargetMachine *TM = TheTarget->createTargetMachine(TT, CpuName, "", Options,
usr/include/c++/7.4.0/bits/move.h
   46     inline _GLIBCXX_CONSTEXPR _Tp*
   47     __addressof(_Tp& __r) _GLIBCXX_NOEXCEPT
usr/include/c++/7.4.0/bits/shared_ptr.h
   93     class shared_ptr : public __shared_ptr<_Tp>
  107       using element_type = typename __shared_ptr<_Tp>::element_type;
  236 	shared_ptr(const shared_ptr<_Yp>& __r) noexcept
  253 	shared_ptr(shared_ptr<_Yp>&& __r) noexcept
  277 	shared_ptr(unique_ptr<_Yp, _Del>&& __r)
  299 	_Assignable<const shared_ptr<_Yp>&>
  300 	operator=(const shared_ptr<_Yp>& __r) noexcept
  324 	_Assignable<shared_ptr<_Yp>>
  325 	operator=(shared_ptr<_Yp>&& __r) noexcept
  352       shared_ptr(const weak_ptr<_Tp>& __r, std::nothrow_t)
usr/include/c++/7.4.0/bits/shared_ptr_base.h
  653 	__shared_count(std::unique_ptr<_Tp, _Del>&& __r) : _M_pi(0)
  660 	  using _Ptr = typename unique_ptr<_Tp, _Del>::pointer;
  882     : is_convertible<_Yp*, _Tp*>::type
  882     : is_convertible<_Yp*, _Tp*>::type
  956       using element_type = _Tp;
 1035     : public __shared_ptr_access<_Tp, _Lp>
 1038       using element_type = typename remove_extent<_Tp>::type;
 1126 	__shared_ptr(const __shared_ptr<_Yp, _Lp>& __r) noexcept
 1138 	__shared_ptr(__shared_ptr<_Yp, _Lp>&& __r) noexcept
 1157 	__shared_ptr(unique_ptr<_Yp, _Del>&& __r)
 1192 	_Assignable<_Yp>
 1193 	operator=(const __shared_ptr<_Yp, _Lp>& __r) noexcept
 1218 	_Assignable<_Yp>
 1219 	operator=(__shared_ptr<_Yp, _Lp>&& __r) noexcept
 1272       swap(__shared_ptr<_Tp, _Lp>& __other) noexcept
 1344       __shared_ptr(const __weak_ptr<_Tp, _Lp>& __r, std::nothrow_t)
 1377 	typename enable_if<!__has_esft_base<_Yp2>::value>::type
 1378 	_M_enable_shared_from_this_with(_Yp*) noexcept
 1386 	static _Tp1*
 1387 	_S_raw_ptr(_Tp1* __ptr)
 1601       using element_type = typename remove_extent<_Tp>::type;
 1684       __shared_ptr<_Tp, _Lp>
 1720       _M_assign(_Tp* __ptr, const __shared_count<_Lp>& __refcount) noexcept
usr/include/c++/7.4.0/bits/unique_ptr.h
   68         default_delete(const default_delete<_Up>&) noexcept { }
   72       operator()(_Tp* __ptr) const
   74 	static_assert(!is_void<_Tp>::value,
   76 	static_assert(sizeof(_Tp)>0,
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  161 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  163       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  166       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  167       using element_type  = _Tp;
  252 	unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
  297           __safe_conversion_up<_Up, _Ep>,
  301 	operator=(unique_ptr<_Up, _Ep>&& __u) noexcept
  706     operator!=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
 1554     { typedef _Tp     type; };
 1558     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>
 1942     { typedef _Tp     type; };