Lines Matching refs:TM
72 CodeModel::Model CM = TM.getCodeModel(); in classifyLocalReference()
94 return TM.isLargeGlobalValue(GV) ? X86II::MO_GOTOFF : X86II::MO_NO_FLAG; in classifyLocalReference()
127 if (TM.getCodeModel() == CodeModel::Large && !isPositionIndependent()) in classifyGlobalReference()
143 if (TM.shouldAssumeDSOLocal(M, GV)) in classifyGlobalReference()
162 if (TM.getCodeModel() == CodeModel::Large) in classifyGlobalReference()
180 if (TM.getRelocationModel() == Reloc::Static) in classifyGlobalReference()
193 if (TM.shouldAssumeDSOLocal(M, GV)) in classifyGlobalFunctionReference()
222 if (!is64Bit() && !GV && TM.getRelocationModel() == Reloc::Static) in classifyGlobalFunctionReference()
246 return isTargetELF() || TM.getRelocationModel() == Reloc::Static; in isLegalToCallImmediateAddr()
324 StringRef FS, const X86TargetMachine &TM, in X86Subtarget() argument
329 PICStyle(PICStyles::Style::None), TM(TM), TargetTriple(TT), in X86Subtarget()
334 TLInfo(TM, *this), FrameLowering(*this, getStackAlignment()) { in X86Subtarget()
336 if (!isPositionIndependent() || TM.getCodeModel() == CodeModel::Large) in X86Subtarget()
350 Legalizer.reset(new X86LegalizerInfo(*this, TM)); in X86Subtarget()
354 InstSelector.reset(createX86InstructionSelector(TM, *this, *RBI)); in X86Subtarget()
383 return TM.isPositionIndependent(); in isPositionIndependent()