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.h319 class InstructionPattern : public Pattern {
321 virtual ~InstructionPattern() = default;
380 InstructionPattern(unsigned K, StringRef Name) : Pattern(K, Name) {} in InstructionPattern() function
394 bool addPattern(InstructionPattern *P,
399 LookupResult(InstructionPattern *Def) : Found(true), Def(Def) {} in LookupResult()
402 InstructionPattern *Def = nullptr;
413 InstructionPattern *getDef(StringRef OpName) const { in getDef()
425 StringMap<InstructionPattern *> Table;
456 class CodeGenInstructionPattern : public InstructionPattern {
459 : 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.cpp241 bool InstructionPattern::diagnoseAllSpecialTypes(ArrayRef<SMLoc> Loc, in diagnoseAllSpecialTypes()
255 void InstructionPattern::reportUnreachable(ArrayRef<SMLoc> Locs) const { in reportUnreachable()
260 bool InstructionPattern::checkSemantics(ArrayRef<SMLoc> Loc) { in checkSemantics()
285 void InstructionPattern::print(raw_ostream &OS, bool PrintName) const { in print()
302 bool OperandTable::addPattern(InstructionPattern *P, in addPattern()
443 InstructionPattern &P, in check()
490 void OperandTypeChecker::PrintSeenWithTypeIn(InstructionPattern &P, in PrintSeenWithTypeIn()
662 if (auto *IP = dyn_cast<InstructionPattern>(Pat.get())) { in checkSemantics()
720 auto *IP = dyn_cast<InstructionPattern>(Pat.get()); in buildOperandsTables()
791 if (!InstructionPattern::checkSemantics(DiagLoc)) in checkSemantics()
[all …]
H A DPatternParser.cpp113 std::unique_ptr<InstructionPattern> Pat; in parseInstructionPattern()
186 bool PatternParser::parseInstructionPatternOperand(InstructionPattern &IP, in parseInstructionPatternOperand()
257 bool PatternParser::parseInstructionPatternMIFlags(InstructionPattern &IP, in parseInstructionPatternMIFlags()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelCombinerEmitter.cpp200 bool processMatchPattern(InstructionPattern &P);
203 bool processApplyPattern(InstructionPattern &P);
245 void getInstEqClasses(const InstructionPattern &P,
261 PatternType inferImmediateType(const InstructionPattern &IP,
269 PatternType inferNamedOperandType(const InstructionPattern &IP,
275 SmallVector<InstructionPattern *, 8> MatchPats;
276 SmallVector<InstructionPattern *, 8> ApplyPats;
281 bool CombineRuleOperandTypeChecker::processMatchPattern(InstructionPattern &P) { in processMatchPattern()
290 bool CombineRuleOperandTypeChecker::processApplyPattern(InstructionPattern &P) { in processApplyPattern()
386 const InstructionPattern &IP, unsigned ImmOpIdx, in inferImmediateType()
[all …]
H A DGlobalISelCombinerMatchTableEmitter.cpp