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

References

lib/CodeGen/GlobalISel/InstructionSelect.cpp
  253                         ->getTargetMachine()
lib/CodeGen/SelectionDAG/TargetLowering.cpp
   46   return getTargetMachine().isPositionIndependent();
  415   if (getTargetMachine().getMCAsmInfo()->getGPRel32Directive() != nullptr)
  445   const TargetMachine &TM = getTargetMachine();
lib/CodeGen/TargetLoweringBase.cpp
 1770   if (getTargetMachine().getTargetTriple().isOSOpenBSD()) {
lib/Target/AArch64/AArch64ISelLowering.cpp
 3590   if (getTargetMachine().Options.GuaranteedTailCallOpt)
 3602     const Triple &TT = getTargetMachine().getTargetTriple();
 4026     if (Subtarget->classifyGlobalFunctionReference(GV, getTargetMachine()) ==
 4039     if (getTargetMachine().getCodeModel() == CodeModel::Large &&
 4362   unsigned OpFlags = Subtarget->ClassifyGlobalReference(GV, getTargetMachine());
 4375   if (getTargetMachine().getCodeModel() == CodeModel::Large) {
 4377   } else if (getTargetMachine().getCodeModel() == CodeModel::Tiny) {
 4505   if (getTargetMachine().getCodeModel() == CodeModel::Large)
 4516   TLSModel::Model Model = getTargetMachine().getTLSModel(GA->getGlobal());
 5259   if (getTargetMachine().getCodeModel() == CodeModel::Large &&
 5262   } else if (getTargetMachine().getCodeModel() == CodeModel::Tiny) {
 5288   if (getTargetMachine().getCodeModel() == CodeModel::Large) {
 5294   } else if (getTargetMachine().getCodeModel() == CodeModel::Tiny) {
 5304   if (getTargetMachine().getCodeModel() == CodeModel::Large &&
 5307   } else if (getTargetMachine().getCodeModel() == CodeModel::Tiny) {
 8186   bool NoNaNs = getTargetMachine().Options.NoNaNsFPMath;
 8526   const TargetOptions &Options = getTargetMachine().Options;
11806     return performGlobalAddressCombine(N, DAG, Subtarget, getTargetMachine());
12164   if (getTargetMachine().getOptLevel() == 0)
lib/Target/AArch64/AArch64Subtarget.h
  451     switch (TLInfo.getTargetMachine().getCodeModel()) {
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
   29   const TargetMachine &TM = getTLI()->getTargetMachine();
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
 2588   if (getTargetMachine().Options.UnsafeFPMath) {
 4177       AMDGPUSubtarget::get(getTargetMachine(), MF.getFunction());
lib/Target/AMDGPU/AMDGPUISelLowering.h
  150     if (getTargetMachine().Options.NoSignedZerosFPMath)
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
  673   const TargetMachine &TM = getTLI()->getTargetMachine();
lib/Target/AMDGPU/SIISelLowering.cpp
 3724     assert(getTargetMachine().getTargetTriple().getOS() == Triple::AMDHSA ||
 3725            getTargetMachine().getTargetTriple().getOS() == Triple::AMDPAL);
 4411   const Triple &TT = getTargetMachine().getTargetTriple();
 4425          !getTargetMachine().shouldAssumeDSOLocal(*GV->getParent(), GV);
 4709     static_cast<const AMDGPUTargetMachine &>(getTargetMachine());
 5071         getTargetMachine().getTargetTriple().getOS() == Triple::AMDHSA ||
 5072         getTargetMachine().getTargetTriple().getOS() == Triple::AMDPAL)) ||
 6056     Triple::OSType OS = getTargetMachine().getTargetTriple().getOS();
 6822     if (getTargetMachine().getOptLevel() > CodeGenOpt::None) {
 9935   if (getTargetMachine().getOptLevel() == CodeGenOpt::None)
10682     reservePrivateMemoryRegs(getTargetMachine(), MF, *TRI, *Info);
lib/Target/ARM/ARMISelLowering.cpp
 1212         getTargetMachine().getOptLevel() == 0) {
 1869              getTargetMachine().Options.FloatABIType == FloatABI::Hard &&
 2270   const TargetMachine &TM = getTargetMachine();
 2594     const Triple &TT = getTargetMachine().getTargetTriple();
 3105       getTargetMachine().getSubtargetImpl(F.getFunction())->getRegisterInfo();
 3283   TLSModel::Model model = getTargetMachine().getTLSModel(GA->getGlobal());
 3441   const TargetMachine &TM = getTargetMachine();
 3535   const TargetMachine &TM = getTargetMachine();
 5268   if (getTargetMachine().Options.UnsafeFPMath &&
10257   const TargetMachine &TM = getTargetMachine();
16520   if (getTargetMachine().getOptLevel() != 0 && HasAtomicCmpXchg)
lib/Target/ARM/ARMTargetTransformInfo.cpp
   49   const TargetMachine &TM = getTLI()->getTargetMachine();
lib/Target/Hexagon/HexagonISelLowering.cpp
 1033   bool UsePCRel = getTargetMachine().shouldAssumeDSOLocal(*GV->getParent(), GV);
 3232     auto &HTM = static_cast<const HexagonTargetMachine&>(getTargetMachine());
lib/Target/Lanai/LanaiISelLowering.cpp
 1132           getTargetMachine().getObjFileLowering());
 1136   if (getTargetMachine().getCodeModel() == CodeModel::Small ||
 1166           getTargetMachine().getObjFileLowering());
 1171   if (TLOF->isGlobalInSmallSection(GO, getTargetMachine())) {
 1214   if (getTargetMachine().getCodeModel() == CodeModel::Small) {
lib/Target/Mips/MipsISelLowering.cpp
 1962             getTargetMachine().getObjFileLowering());
 1964     if (GO && TLOF->IsGlobalInSmallSection(GO, getTargetMachine()))
 2027   TLSModel::Model model = getTargetMachine().getTLSModel(GV);
 2116             getTargetMachine().getObjFileLowering());
 2119                                        getTargetMachine()))
lib/Target/Mips/MipsISelLowering.h
  377       return getTargetMachine().isPositionIndependent();
lib/Target/NVPTX/NVPTXISelLowering.cpp
  101     if (getTargetMachine().Options.UnsafeFPMath)
  114     return !getTargetMachine().Options.UnsafeFPMath;
 4757   CodeGenOpt::Level OptLevel = getTargetMachine().getOptLevel();
lib/Target/PowerPC/PPCISelLowering.cpp
 2757   switch (getTargetMachine().getCodeModel()) {
 2774   switch (getTargetMachine().getCodeModel()) {
 2855   const TargetMachine &TM = getTargetMachine();
 3459   bool isImmutable = !(getTargetMachine().Options.GuaranteedTailCallOpt &&
 3707   bool isImmutable = !(getTargetMachine().Options.GuaranteedTailCallOpt &&
 4115   bool isImmutable = !(getTargetMachine().Options.GuaranteedTailCallOpt &&
 4637   bool TailCallOpt = getTargetMachine().Options.GuaranteedTailCallOpt;
 4686   if (!callsShareTOCBase(&Caller, Callee, getTargetMachine()))
 4715   if (!getTargetMachine().Options.GuaranteedTailCallOpt)
 4732     if (getTargetMachine().getRelocationModel() != Reloc::PIC_)
 5239      getTargetMachine().Options.GuaranteedTailCallOpt) ? NumBytes : 0;
 5363       if (!getTargetMachine().Options.GuaranteedTailCallOpt)
 5435   if (getTargetMachine().Options.GuaranteedTailCallOpt &&
 5683   if (isTailCall && !getTargetMachine().Options.GuaranteedTailCallOpt)
 5691   if (getTargetMachine().Options.GuaranteedTailCallOpt &&
 5832   if (getTargetMachine().Options.GuaranteedTailCallOpt &&
 6346   if (getTargetMachine().Options.GuaranteedTailCallOpt &&
 6396   if (getTargetMachine().Options.GuaranteedTailCallOpt &&
14602   CodeModel::Model CModel = getTargetMachine().getCodeModel();
14823   if (getTargetMachine().getOptLevel() != CodeGenOpt::None) {
15422   auto &TM = getTargetMachine();
15437   return getTargetMachine().shouldAssumeDSOLocal(*Caller->getParent(), Callee);
lib/Target/RISCV/RISCVISelLowering.cpp
  446   switch (getTargetMachine().getCodeModel()) {
  476   bool IsLocal = getTargetMachine().shouldAssumeDSOLocal(*GV->getParent(), GV);
  586                               ? getTargetMachine().getTLSModel(N->getGlobal())
 2275     if (!getTargetMachine().shouldAssumeDSOLocal(*GV->getParent(), GV))
 2282     if (!getTargetMachine().shouldAssumeDSOLocal(*MF.getFunction().getParent(),
lib/Target/Sparc/SparcISelLowering.cpp
 1972   switch(getTargetMachine().getCodeModel()) {
 2026   TLSModel::Model model = getTargetMachine().getTLSModel(GV);
lib/Target/SystemZ/SystemZSubtarget.cpp
   78     return TLInfo.getTargetMachine().shouldAssumeDSOLocal(*GV->getParent(), GV);
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  661       const TargetMachine &TM = getTargetMachine();
 1102     if (getTargetMachine().shouldAssumeDSOLocal(*GV->getParent(), GV)) {
lib/Target/X86/X86ISelLowering.cpp
 2282     return (getTargetMachine().getCodeModel() == CodeModel::Kernel) ? 256 : 257;
 4130   if (CLI.DoesNotReturn && !getTargetMachine().Options.TrapUnreachable) {
17768   CodeModel::Model M = getTargetMachine().getCodeModel();
28906   CodeModel::Model M = getTargetMachine().getCodeModel();
lib/Target/X86/X86TargetTransformInfo.cpp
 3408   const TargetMachine &TM = getTLI()->getTargetMachine();
 3431   const TargetMachine &TM = getTLI()->getTargetMachine();
lib/Target/XCore/XCoreISelLowering.cpp
  265   if (XTL.getTargetMachine().getCodeModel() == CodeModel::Small)