Changeset View
Changeset View
Standalone View
Standalone View
lib/Target/ARM/ARMAsmPrinter.cpp
Show First 20 Lines • Show All 756 Lines • ▼ Show 20 Lines | if (const Module *SourceModule = MMI->getModule()) { | ||||
} | } | ||||
} | } | ||||
} | } | ||||
// We currently do not support using R9 as the TLS pointer. | // We currently do not support using R9 as the TLS pointer. | ||||
if (STI.isRWPI()) | if (STI.isRWPI()) | ||||
ATS.emitAttribute(ARMBuildAttrs::ABI_PCS_R9_use, | ATS.emitAttribute(ARMBuildAttrs::ABI_PCS_R9_use, | ||||
ARMBuildAttrs::R9IsSB); | ARMBuildAttrs::R9IsSB); | ||||
else if (STI.isR9Reserved()) | else if (STI.isRRegisterReserved(9)) | ||||
ATS.emitAttribute(ARMBuildAttrs::ABI_PCS_R9_use, | ATS.emitAttribute(ARMBuildAttrs::ABI_PCS_R9_use, | ||||
ARMBuildAttrs::R9Reserved); | ARMBuildAttrs::R9Reserved); | ||||
else | else | ||||
ATS.emitAttribute(ARMBuildAttrs::ABI_PCS_R9_use, | ATS.emitAttribute(ARMBuildAttrs::ABI_PCS_R9_use, | ||||
ARMBuildAttrs::R9IsGPR); | ARMBuildAttrs::R9IsGPR); | ||||
} | } | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
▲ Show 20 Lines • Show All 1,311 Lines • Show Last 20 Lines |