Lines Matching defs:const
20 void Matcher::dump() const { print(errs()); }
22 void Matcher::print(raw_ostream &OS, indent Indent) const {
28 void Matcher::printOne(raw_ostream &OS) const { printImpl(OS, indent(0)); }
52 bool Matcher::canMoveBefore(const Matcher *Other) const {
66 bool Matcher::canMoveBeforeNode(const Matcher *Other) const {
94 CheckPredicateMatcher::CheckPredicateMatcher(const TreePredicateFn &pred,
99 TreePredicateFn CheckPredicateMatcher::getPredicate() const {
103 unsigned CheckPredicateMatcher::getNumOperands() const {
107 unsigned CheckPredicateMatcher::getOperandNo(unsigned i) const {
114 void ScopeMatcher::printImpl(raw_ostream &OS, indent Indent) const {
116 for (const Matcher *C : Children) {
124 void RecordMatcher::printImpl(raw_ostream &OS, indent Indent) const {
128 void RecordChildMatcher::printImpl(raw_ostream &OS, indent Indent) const {
132 void RecordMemRefMatcher::printImpl(raw_ostream &OS, indent Indent) const {
136 void CaptureGlueInputMatcher::printImpl(raw_ostream &OS, indent Indent) const {
140 void MoveChildMatcher::printImpl(raw_ostream &OS, indent Indent) const {
144 void MoveSiblingMatcher::printImpl(raw_ostream &OS, indent Indent) const {
148 void MoveParentMatcher::printImpl(raw_ostream &OS, indent Indent) const {
152 void CheckSameMatcher::printImpl(raw_ostream &OS, indent Indent) const {
156 void CheckChildSameMatcher::printImpl(raw_ostream &OS, indent Indent) const {
161 indent Indent) const {
165 void CheckPredicateMatcher::printImpl(raw_ostream &OS, indent Indent) const {
169 void CheckOpcodeMatcher::printImpl(raw_ostream &OS, indent Indent) const {
173 void SwitchOpcodeMatcher::printImpl(raw_ostream &OS, indent Indent) const {
175 for (const auto &C : Cases) {
182 void CheckTypeMatcher::printImpl(raw_ostream &OS, indent Indent) const {
187 void SwitchTypeMatcher::printImpl(raw_ostream &OS, indent Indent) const {
189 for (const auto &C : Cases) {
196 void CheckChildTypeMatcher::printImpl(raw_ostream &OS, indent Indent) const {
201 void CheckIntegerMatcher::printImpl(raw_ostream &OS, indent Indent) const {
205 void CheckChildIntegerMatcher::printImpl(raw_ostream &OS, indent Indent) const {
209 void CheckCondCodeMatcher::printImpl(raw_ostream &OS, indent Indent) const {
214 indent Indent) const {
218 void CheckValueTypeMatcher::printImpl(raw_ostream &OS, indent Indent) const {
222 void CheckComplexPatMatcher::printImpl(raw_ostream &OS, indent Indent) const {
226 void CheckAndImmMatcher::printImpl(raw_ostream &OS, indent Indent) const {
230 void CheckOrImmMatcher::printImpl(raw_ostream &OS, indent Indent) const {
235 indent Indent) const {
239 void CheckImmAllOnesVMatcher::printImpl(raw_ostream &OS, indent Indent) const {
243 void CheckImmAllZerosVMatcher::printImpl(raw_ostream &OS, indent Indent) const {
247 void EmitIntegerMatcher::printImpl(raw_ostream &OS, indent Indent) const {
251 void EmitStringIntegerMatcher::printImpl(raw_ostream &OS, indent Indent) const {
256 void EmitRegisterMatcher::printImpl(raw_ostream &OS, indent Indent) const {
266 indent Indent) const {
271 indent Indent) const {
275 void EmitCopyToRegMatcher::printImpl(raw_ostream &OS, indent Indent) const {
279 void EmitNodeXFormMatcher::printImpl(raw_ostream &OS, indent Indent) const {
284 void EmitNodeMatcherCommon::printImpl(raw_ostream &OS, indent Indent) const {
297 void CompleteMatchMatcher::printImpl(raw_ostream &OS, indent Indent) const {
303 bool CheckOpcodeMatcher::isEqualImpl(const Matcher *M) const {
310 bool EmitNodeMatcherCommon::isEqualImpl(const Matcher *m) const {
311 const EmitNodeMatcherCommon *M = cast<EmitNodeMatcherCommon>(m);
343 bool CheckOpcodeMatcher::isContradictoryImpl(const Matcher *M) const {
344 if (const CheckOpcodeMatcher *COM = dyn_cast<CheckOpcodeMatcher>(M)) {
354 if (const CheckTypeMatcher *CT = dyn_cast<CheckTypeMatcher>(M)) {
367 bool CheckTypeMatcher::isContradictoryImpl(const Matcher *M) const {
368 if (const CheckTypeMatcher *CT = dyn_cast<CheckTypeMatcher>(M))
373 bool CheckChildTypeMatcher::isContradictoryImpl(const Matcher *M) const {
374 if (const CheckChildTypeMatcher *CC = dyn_cast<CheckChildTypeMatcher>(M)) {
385 bool CheckIntegerMatcher::isContradictoryImpl(const Matcher *M) const {
386 if (const CheckIntegerMatcher *CIM = dyn_cast<CheckIntegerMatcher>(M))
391 bool CheckChildIntegerMatcher::isContradictoryImpl(const Matcher *M) const {
392 if (const CheckChildIntegerMatcher *CCIM =
404 bool CheckValueTypeMatcher::isContradictoryImpl(const Matcher *M) const {
405 if (const CheckValueTypeMatcher *CVT = dyn_cast<CheckValueTypeMatcher>(M))
410 bool CheckImmAllOnesVMatcher::isContradictoryImpl(const Matcher *M) const {
415 bool CheckImmAllZerosVMatcher::isContradictoryImpl(const Matcher *M) const {
420 bool CheckCondCodeMatcher::isContradictoryImpl(const Matcher *M) const {
421 if (const auto *CCCM = dyn_cast<CheckCondCodeMatcher>(M))
426 bool CheckChild2CondCodeMatcher::isContradictoryImpl(const Matcher *M) const {
427 if (const auto *CCCCM = dyn_cast<CheckChild2CondCodeMatcher>(M))