Home
last modified time | relevance | path

Searched refs:Constraint (Results 1 – 25 of 86) sorted by relevance

1234

/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DDependenceAnalysis.h380 class Constraint {
615 Constraint &NewConstraint,
653 Constraint &NewConstraint) const;
671 Constraint &NewConstraint,
690 Constraint &NewConstraint) const;
853 bool intersectConstraints(Constraint *X,
854 const Constraint *Y);
864 SmallVectorImpl<Constraint> &Constraints,
874 Constraint &CurConstraint,
882 Constraint &CurConstraint);
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/Targets/
H A DMips.h267 std::string convertConstraint(const char *&Constraint) const override { in convertConstraint() argument
269 switch (*Constraint) { in convertConstraint()
271 if (Constraint[1] == 'C') { in convertConstraint()
272 R = std::string("^") + std::string(Constraint, 2); in convertConstraint()
273 Constraint++; in convertConstraint()
278 return TargetInfo::convertConstraint(Constraint); in convertConstraint()
H A DAMDGPU.h198 std::string convertConstraint(const char *&Constraint) const override { in convertConstraint() argument
199 const char *Begin = Constraint; in convertConstraint()
201 if (validateAsmConstraint(Constraint, Info)) in convertConstraint()
202 return std::string(Begin).substr(0, Constraint - Begin + 1); in convertConstraint()
204 Constraint = Begin; in convertConstraint()
205 return std::string(1, *Constraint); in convertConstraint()
H A DARM.cpp867 std::string ARMTargetInfo::convertConstraint(const char *&Constraint) const { in convertConstraint()
869 switch (*Constraint) { in convertConstraint()
871 R = std::string("^") + std::string(Constraint, 2); in convertConstraint()
872 Constraint++; in convertConstraint()
878 return std::string(1, *Constraint); in convertConstraint()
884 StringRef Constraint, char Modifier, unsigned Size, in validateConstraintModifier() argument
886 bool isOutput = (Constraint[0] == '='); in validateConstraintModifier()
887 bool isInOut = (Constraint[0] == '+'); in validateConstraintModifier()
890 while (Constraint[0] == '=' || Constraint[0] == '+' || Constraint[0] == '&') in validateConstraintModifier()
891 Constraint = Constraint.substr(1); in validateConstraintModifier()
[all …]
H A DAArch64.cpp405 StringRef Constraint, char Modifier, unsigned Size, in validateConstraintModifier() argument
408 while (Constraint[0] == '=' || Constraint[0] == '+' || Constraint[0] == '&') in validateConstraintModifier()
409 Constraint = Constraint.substr(1); in validateConstraintModifier()
411 switch (Constraint[0]) { in validateConstraintModifier()
H A DX86.h176 bool validateOutputSize(StringRef Constraint, unsigned Size) const override;
178 bool validateInputSize(StringRef Constraint, unsigned Size) const override;
191 virtual bool validateOperandSize(StringRef Constraint, unsigned Size) const;
193 std::string convertConstraint(const char *&Constraint) const override;
198 StringRef getConstraintRegister(StringRef Constraint, in getConstraintRegister() argument
201 for (I = Constraint.begin(), E = Constraint.end(); I != E; ++I) { in getConstraintRegister()
367 bool validateOperandSize(StringRef Constraint, unsigned Size) const override { in validateOperandSize() argument
368 switch (Constraint[0]) { in validateOperandSize()
385 return X86TargetInfo::validateOperandSize(Constraint, Size); in validateOperandSize()
H A DX86.cpp1642 bool X86TargetInfo::validateOutputSize(StringRef Constraint, in validateOutputSize() argument
1645 while (Constraint[0] == '=' || Constraint[0] == '+' || Constraint[0] == '&') in validateOutputSize()
1646 Constraint = Constraint.substr(1); in validateOutputSize()
1648 return validateOperandSize(Constraint, Size); in validateOutputSize()
1651 bool X86TargetInfo::validateInputSize(StringRef Constraint, in validateInputSize() argument
1653 return validateOperandSize(Constraint, Size); in validateInputSize()
1658 switch (Constraint[0]) { in validateOperandSize()
1671 switch (Constraint[1]) { in validateOperandSize()
1709 switch (*Constraint) { in convertConstraint()
1729 switch (Constraint[1]) { in convertConstraint()
[all …]
H A DPPC.h283 std::string convertConstraint(const char *&Constraint) const override { in convertConstraint() argument
285 switch (*Constraint) { in convertConstraint()
289 R = std::string("^") + std::string(Constraint, 2); in convertConstraint()
290 Constraint++; in convertConstraint()
293 return TargetInfo::convertConstraint(Constraint); in convertConstraint()
H A DARM.h153 std::string convertConstraint(const char *&Constraint) const override;
155 validateConstraintModifier(StringRef Constraint, char Modifier, unsigned Size,
159 StringRef getConstraintRegister(StringRef Constraint, in getConstraintRegister() argument
H A DAArch64.h82 validateConstraintModifier(StringRef Constraint, char Modifier, unsigned Size,
86 StringRef getConstraintRegister(StringRef Constraint, in getConstraintRegister() argument
/freebsd-12.1/contrib/llvm/include/llvm/MC/MCParser/
H A DMCParsedAsmOperand.h32 std::string Constraint; variable
46 void setConstraint(StringRef C) { Constraint = C.str(); } in setConstraint()
47 StringRef getConstraint() { return Constraint; } in getConstraint()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DInlineAsm.h312 static unsigned getFlagWordForMem(unsigned InputFlag, unsigned Constraint) { in getFlagWordForMem() argument
314 assert(Constraint <= 0x7fff && "Too large a memory constraint ID"); in getFlagWordForMem()
315 assert(Constraint <= Constraints_Max && "Unknown constraint ID"); in getFlagWordForMem()
317 return InputFlag | (Constraint << Constraints_ShiftAmount); in getFlagWordForMem()
/freebsd-12.1/contrib/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.h98 StringRef Constraint, MVT VT) const override;
101 const char *Constraint) const override;
102 void LowerAsmOperandForConstraint(SDValue Op, std::string &Constraint,
H A DLanaiISelLowering.cpp237 StringRef Constraint, in getRegForInlineAsmConstraint() argument
239 if (Constraint.size() == 1) in getRegForInlineAsmConstraint()
241 switch (Constraint[0]) { in getRegForInlineAsmConstraint()
248 return TargetLowering::getRegForInlineAsmConstraint(TRI, Constraint, VT); in getRegForInlineAsmConstraint()
256 AsmOperandInfo &Info, const char *Constraint) const { in getSingleConstraintMatchWeight()
264 switch (*Constraint) { in getSingleConstraintMatchWeight()
276 Weight = TargetLowering::getSingleConstraintMatchWeight(Info, Constraint); in getSingleConstraintMatchWeight()
285 SDValue Op, std::string &Constraint, std::vector<SDValue> &Ops, in LowerAsmOperandForConstraint() argument
290 if (Constraint.length() > 1) in LowerAsmOperandForConstraint()
293 char ConstraintLetter = Constraint[0]; in LowerAsmOperandForConstraint()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGStmt.cpp1706 while (*Constraint) { in SimplifyConstraint()
1719 while (Constraint[1] && Constraint[1] != ',') in SimplifyConstraint()
1720 Constraint++; in SimplifyConstraint()
1725 while (Constraint[1] && Constraint[1] == *Constraint) in SimplifyConstraint()
1726 Constraint++; in SimplifyConstraint()
1745 Constraint++; in SimplifyConstraint()
1760 return Constraint; in AddVariableConstraints()
1764 return Constraint; in AddVariableConstraints()
1766 return Constraint; in AddVariableConstraints()
1769 return Constraint; in AddVariableConstraints()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AVR/
H A DAVRISelLowering.h113 ConstraintType getConstraintType(StringRef Constraint) const override;
121 StringRef Constraint, MVT VT) const override;
125 void LowerAsmOperandForConstraint(SDValue Op, std::string &Constraint,
/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCInstrDesc.h189 MCOI::OperandConstraint Constraint) const { in getOperandConstraint() argument
191 (OpInfo[OpNum].Constraints & (1 << Constraint))) { in getOperandConstraint()
192 unsigned Pos = 16 + Constraint * 4; in getOperandConstraint()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConstraintManager.h293 SMTExprRef Constraint = Solver->newExprRef(I++->second); in addStateConstraints() local
295 Constraint = Solver->mkAnd(Constraint, Solver->newExprRef(I++->second)); in addStateConstraints()
298 Solver->addConstraint(Constraint); in addStateConstraints()
/freebsd-12.1/contrib/llvm/lib/Target/Sparc/
H A DSparcISelLowering.h77 ConstraintType getConstraintType(StringRef Constraint) const override;
82 std::string &Constraint,
95 StringRef Constraint, MVT VT) const override;
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp306 const SCEV *DependenceInfo::Constraint::getX() const { in getX()
314 const SCEV *DependenceInfo::Constraint::getY() const { in getY()
322 const SCEV *DependenceInfo::Constraint::getA() const { in getA()
331 const SCEV *DependenceInfo::Constraint::getB() const { in getB()
340 const SCEV *DependenceInfo::Constraint::getC() const { in getC()
349 const SCEV *DependenceInfo::Constraint::getD() const { in getD()
379 void DependenceInfo::Constraint::setDistance(const SCEV *D, in setDistance()
388 void DependenceInfo::Constraint::setEmpty() { Kind = Empty; } in setEmpty()
423 bool DependenceInfo::intersectConstraints(Constraint *X, const Constraint *Y) { in intersectConstraints()
3571 Constraint NewConstraint; in depends()
[all …]
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DInstrInfoEmitter.cpp174 const CGIOperandList::ConstraintInfo &Constraint = in GetOperandInfo() local
176 if (Constraint.isNone()) in GetOperandInfo()
178 else if (Constraint.isEarlyClobber()) in GetOperandInfo()
181 assert(Constraint.isTied()); in GetOperandInfo()
182 Res += "((" + utostr(Constraint.getTiedOperand()) + in GetOperandInfo()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporterVisitors.h115 DefinedSVal Constraint; variable
126 : Constraint(constraint), Assumption(assumption), in TrackConstraintBRVisitor()
127 IsZeroCheck(!Assumption && Constraint.getAs<Loc>()) {} in TrackConstraintBRVisitor()
/freebsd-12.1/contrib/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.h105 getConstraintType(StringRef Constraint) const override;
108 StringRef Constraint, MVT VT) const override;
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.h479 ConstraintType getConstraintType(StringRef Constraint) const override;
482 StringRef Constraint, MVT VT) const override;
503 void LowerAsmOperandForConstraint(SDValue Op, std::string &Constraint,
/freebsd-12.1/contrib/llvm/tools/clang/utils/TableGen/
H A DClangAttrEmitter.cpp1671 const Record *Constraint; member
1674 : MetaSubject(MetaSubject), Constraint(Constraint) { in AttributeSubjectMatchRule()
1678 bool isSubRule() const { return Constraint != nullptr; } in isSubRule()
1681 return (Constraint ? Constraint : MetaSubject) in getSubjects()
1686 if (Constraint) { in getLangOpts()
1700 return (Constraint ? Constraint : MetaSubject)->getValueAsString("Name"); in getName()
1705 return Constraint->getValueAsBit("Negated"); in isNegatedSubRule()
1730 Result += Constraint->getValueAsString("Name"); in getEnumValueName()
1806 Rules.emplace_back(MetaSubject, Constraint); in PragmaClangAttributeSupport()
1826 for (const auto *Constraint : Constraints) in PragmaClangAttributeSupport() local
[all …]

1234