Lines Matching full:abi
22 // Get CPU and ABI names. They are not independent
59 // Convert a GNU style Mips ABI name to the name in getMipsCPUAndABI()
67 // Setup default CPU and ABI names. in getMipsCPUAndABI()
111 // Deduce ABI name from the target triple. in getMipsCPUAndABI()
116 // Deduce CPU name from ABI name. in getMipsCPUAndABI()
136 // Convert ABI name to the GNU tools acceptable variant.
137 StringRef mips::getGnuCompatibleMipsABIName(StringRef ABI) { in getGnuCompatibleMipsABIName() argument
138 return llvm::StringSwitch<llvm::StringRef>(ABI) in getGnuCompatibleMipsABIName()
141 .Default(ABI); in getGnuCompatibleMipsABIName()
144 // Select the MIPS float ABI as determined by -msoft-float, -mhard-float,
145 // and -mfloat-abi=.
148 mips::FloatABI ABI = mips::FloatABI::Invalid; in getMipsFloatABI() local
153 ABI = mips::FloatABI::Soft; in getMipsFloatABI()
155 ABI = mips::FloatABI::Hard; in getMipsFloatABI()
157 ABI = llvm::StringSwitch<mips::FloatABI>(A->getValue()) in getMipsFloatABI()
161 if (ABI == mips::FloatABI::Invalid && !StringRef(A->getValue()).empty()) { in getMipsFloatABI()
163 ABI = mips::FloatABI::Hard; in getMipsFloatABI()
169 if (ABI == mips::FloatABI::Invalid) { in getMipsFloatABI()
172 ABI = mips::FloatABI::Soft; in getMipsFloatABI()
177 ABI = mips::FloatABI::Hard; in getMipsFloatABI()
181 assert(ABI != mips::FloatABI::Invalid && "must select an ABI"); in getMipsFloatABI()
182 return ABI; in getMipsFloatABI()
194 // SVR4 abicalls. Static code does not use SVR4 calling sequences. An ABI in getMIPSTargetFeatures()
354 // Add the last -mfp32/-mfpxx/-mfp64, if none are given and the ABI is O32 in getMIPSTargetFeatures()
483 // FPXX shouldn't be used if either -msoft-float or -mfloat-abi=soft is in isFPXXDefault()