Lines Matching +full:space +full:- +full:constraint
1 //===--- AMDGPU.h - Declare AMDGPU target feature support -------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
47 /// by plus or minus sign delimitted by colon, e.g. gfx908:xnack+:sramecc-.
49 /// If the target ID contains feature-, map it to false.
149 Info.setRequiresImmediate(-16, 64); in validateAsmConstraint()
152 Info.setRequiresImmediate(-32768, 32767); in validateAsmConstraint()
185 Name = S.data() - 1; in validateAsmConstraint()
194 Name = S.data() - 1; in validateAsmConstraint()
219 Name = S.data() - 1; in validateAsmConstraint()
223 // \p Constraint will be left pointing at the last character of
224 // the constraint. In practice, it won't be changed unless the
225 // constraint is longer than one character.
226 std::string convertConstraint(const char *&Constraint) const override { in convertConstraint() argument
228 StringRef S(Constraint); in convertConstraint()
230 return std::string("^") + std::string(Constraint++, 2); in convertConstraint()
233 const char *Begin = Constraint; in convertConstraint()
235 if (validateAsmConstraint(Constraint, Info)) in convertConstraint()
236 return std::string(Begin).substr(0, Constraint - Begin + 1); in convertConstraint()
238 Constraint = Begin; in convertConstraint()
239 return std::string(1, *Constraint); in convertConstraint()
377 /// \returns Target specific vtbl ptr address space.
383 /// space \p AddressSpace to be converted in order to be used, then return the
384 /// corresponding target specific DWARF address space.
413 // address space has value 0 but in private and local address space has
428 // pre-defined macros.
434 assert(F.front() == '+' || F.front() == '-'); in handleTargetFeatures()
439 else if (F == "-cumode") in handleTargetFeatures()
441 else if (F == "+image-insts") in handleTargetFeatures()
456 // When -target-cpu is not set, we assume generic code that it is valid in getTargetID()