Lines Matching refs:TM
90 const ARMBaseTargetMachine &TM, bool IsLittle) in ARMSubtarget() argument
92 CPUString(CPU), IsLittle(IsLittle), TargetTriple(TT), Options(TM.Options), in ARMSubtarget()
93 TM(TM), FrameLowering(initializeFrameLowering(CPU, FS)), in ARMSubtarget()
101 TLInfo(TM, *this) {} in ARMSubtarget()
108 assert((!TM.getMCAsmInfo() || in initializeEnvironment()
109 (TM.getMCAsmInfo()->getExceptionHandlingType() == in initializeEnvironment()
251 assert(TM.TargetABI != ARMBaseTargetMachine::ARM_ABI_UNKNOWN); in isAPCS_ABI()
252 return TM.TargetABI == ARMBaseTargetMachine::ARM_ABI_APCS; in isAPCS_ABI()
255 assert(TM.TargetABI != ARMBaseTargetMachine::ARM_ABI_UNKNOWN); in isAAPCS_ABI()
256 return TM.TargetABI == ARMBaseTargetMachine::ARM_ABI_AAPCS || in isAAPCS_ABI()
257 TM.TargetABI == ARMBaseTargetMachine::ARM_ABI_AAPCS16; in isAAPCS_ABI()
260 assert(TM.TargetABI != ARMBaseTargetMachine::ARM_ABI_UNKNOWN); in isAAPCS16_ABI()
261 return TM.TargetABI == ARMBaseTargetMachine::ARM_ABI_AAPCS16; in isAAPCS16_ABI()
265 if (!TM.shouldAssumeDSOLocal(*GV->getParent(), GV)) in isGVIndirectSymbol()
271 if (isTargetDarwin() && TM.isPositionIndependent() && in isGVIndirectSymbol()
332 return TM.Options.EnableFastISel && in useFastISel()