Home
last modified time | relevance | path

Searched refs:InstructionPattern (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DPatterns.h297 class InstructionPattern : public Pattern {
299 virtual ~InstructionPattern() = default;
356 InstructionPattern(unsigned K, StringRef Name) : Pattern(K, Name) {} in InstructionPattern() function
370 bool addPattern(InstructionPattern *P,
375 LookupResult(InstructionPattern *Def) : Found(true), Def(Def) {} in LookupResult()
378 InstructionPattern *Def = nullptr;
389 InstructionPattern *getDef(StringRef OpName) const { in getDef()
401 StringMap<InstructionPattern *> Table;
432 class CodeGenInstructionPattern : public InstructionPattern {
435 : InstructionPattern(K_CodeGenInstruction, Name), I(I) {} in CodeGenInstructionPattern()
[all …]
H A DPatternParser.h31 class InstructionPattern; variable
83 bool parseInstructionPatternOperand(InstructionPattern &IP,
91 bool parseInstructionPatternMIFlags(InstructionPattern &IP,
H A DPatterns.cpp203 bool InstructionPattern::diagnoseAllSpecialTypes(ArrayRef<SMLoc> Loc, in diagnoseAllSpecialTypes()
217 void InstructionPattern::reportUnreachable(ArrayRef<SMLoc> Locs) const { in reportUnreachable()
222 bool InstructionPattern::checkSemantics(ArrayRef<SMLoc> Loc) { in checkSemantics()
247 void InstructionPattern::print(raw_ostream &OS, bool PrintName) const { in print()
264 bool OperandTable::addPattern(InstructionPattern *P, in addPattern()
405 InstructionPattern &P, in check()
452 void OperandTypeChecker::PrintSeenWithTypeIn(InstructionPattern &P, in PrintSeenWithTypeIn()
623 if (auto *IP = dyn_cast<InstructionPattern>(Pat.get())) { in checkSemantics()
681 auto *IP = dyn_cast<InstructionPattern>(Pat.get()); in buildOperandsTables()
752 if (!InstructionPattern::checkSemantics(DiagLoc)) in checkSemantics()
[all …]
H A DPatternParser.cpp125 std::unique_ptr<InstructionPattern> Pat; in parseInstructionPattern()
197 bool PatternParser::parseInstructionPatternOperand(InstructionPattern &IP, in parseInstructionPatternOperand()
268 bool PatternParser::parseInstructionPatternMIFlags(InstructionPattern &IP, in parseInstructionPatternMIFlags()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelCombinerEmitter.cpp207 bool processMatchPattern(InstructionPattern &P);
210 bool processApplyPattern(InstructionPattern &P);
252 void getInstEqClasses(const InstructionPattern &P,
268 PatternType inferImmediateType(const InstructionPattern &IP,
276 PatternType inferNamedOperandType(const InstructionPattern &IP,
282 SmallVector<InstructionPattern *, 8> MatchPats;
283 SmallVector<InstructionPattern *, 8> ApplyPats;
288 bool CombineRuleOperandTypeChecker::processMatchPattern(InstructionPattern &P) { in processMatchPattern()
297 bool CombineRuleOperandTypeChecker::processApplyPattern(InstructionPattern &P) { in processApplyPattern()
393 const InstructionPattern &IP, unsigned ImmOpIdx, in inferImmediateType()
[all …]
H A DGlobalISelCombinerMatchTableEmitter.cpp