Lines Matching refs:TM

91                            const ARMBaseTargetMachine &TM, bool IsLittle,  in ARMSubtarget()  argument
95 IsLittle(IsLittle), TargetTriple(TT), Options(TM.Options), TM(TM), in ARMSubtarget()
104 TLInfo(TM, *this) { in ARMSubtarget()
114 InstSelector.reset(createARMInstructionSelector(TM, *this, *RBI)); in ARMSubtarget()
147 assert((!TM.getMCAsmInfo() || in initializeEnvironment()
148 (TM.getMCAsmInfo()->getExceptionHandlingType() == in initializeEnvironment()
323 bool ARMSubtarget::isTargetHardFloat() const { return TM.isTargetHardFloat(); } in isTargetHardFloat()
326 assert(TM.TargetABI != ARMBaseTargetMachine::ARM_ABI_UNKNOWN); in isAPCS_ABI()
327 return TM.TargetABI == ARMBaseTargetMachine::ARM_ABI_APCS; in isAPCS_ABI()
330 assert(TM.TargetABI != ARMBaseTargetMachine::ARM_ABI_UNKNOWN); in isAAPCS_ABI()
331 return TM.TargetABI == ARMBaseTargetMachine::ARM_ABI_AAPCS || in isAAPCS_ABI()
332 TM.TargetABI == ARMBaseTargetMachine::ARM_ABI_AAPCS16; in isAAPCS_ABI()
335 assert(TM.TargetABI != ARMBaseTargetMachine::ARM_ABI_UNKNOWN); in isAAPCS16_ABI()
336 return TM.TargetABI == ARMBaseTargetMachine::ARM_ABI_AAPCS16; in isAAPCS16_ABI()
340 return TM.getRelocationModel() == Reloc::ROPI || in isROPI()
341 TM.getRelocationModel() == Reloc::ROPI_RWPI; in isROPI()
344 return TM.getRelocationModel() == Reloc::RWPI || in isRWPI()
345 TM.getRelocationModel() == Reloc::ROPI_RWPI; in isRWPI()
349 if (!TM.shouldAssumeDSOLocal(GV)) in isGVIndirectSymbol()
355 if (isTargetMachO() && TM.isPositionIndependent() && in isGVIndirectSymbol()
363 return isTargetELF() && TM.isPositionIndependent() && !GV->isDSOLocal(); in isGVInGOT()
441 return TM.Options.EnableFastISel && in useFastISel()