Lines Matching +full:space +full:- +full:constraint
1 //===--- SystemZ.h - Declare SystemZ target feature support -----*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
53 // All vector types are default aligned on an 8-byte boundary, even if the in SystemZTargetInfo()
57 // - name mangling is GOFF. in SystemZTargetInfo()
58 // - 32 bit pointers, either as default or special address space in SystemZTargetInfo()
59 resetDataLayout("E-m:l-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-" in SystemZTargetInfo()
60 "a:8:16-n32:64"); in SystemZTargetInfo()
63 resetDataLayout("E-m:e-i1:8:16-i8:8:16-i64:64-f128:64" in SystemZTargetInfo()
64 "-v128:64-a:8:16-n32:64"); in SystemZTargetInfo()
93 std::string convertConstraint(const char *&Constraint) const override { in convertConstraint() argument
94 switch (Constraint[0]) { in convertConstraint()
95 case 'p': // Keep 'p' constraint. in convertConstraint()
98 switch (Constraint[1]) { in convertConstraint()
99 case 'Q': // Address with base and unsigned 12-bit displacement in convertConstraint()
101 case 'S': // Address with base and signed 20-bit displacement in convertConstraint()
103 // "^" hints llvm that this is a 2 letter constraint. in convertConstraint()
104 // "Constraint++" is used to promote the string iterator in convertConstraint()
105 // to the next constraint. in convertConstraint()
106 return std::string("^") + std::string(Constraint++, 2); in convertConstraint()
114 return TargetInfo::convertConstraint(Constraint); in convertConstraint()
129 return getISARevision(Name) != -1; in isValidCPUName()
145 return ISARevision != -1; in setCPU()
154 Features["transactional-execution"] = true; in initFeatureMap()
158 Features["vector-enhancements-1"] = true; in initFeatureMap()
160 Features["vector-enhancements-2"] = true; in initFeatureMap()
162 Features["nnp-assist"] = true; in initFeatureMap()
173 if (Feature == "+transactional-execution") in handleTargetFeatures()
177 else if (Feature == "+soft-float") in handleTargetFeatures()
179 else if (Feature == "+unaligned-symbols") in handleTargetFeatures()
184 // If we use the vector ABI, vector types are 64-bit aligned. The in handleTargetFeatures()
221 return RegNo < 4 ? 6 + RegNo : -1; in getEHDataRegisterNumber()