Home
last modified time | relevance | path

Searched refs:SDNodeInfo (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DSDNodeInfoEmitter.cpp34 std::map<StringRef, SmallVector<SDNodeInfo, 2>> NodesByName;
54 static bool haveCompatibleDescriptions(const SDNodeInfo &N1, in haveCompatibleDescriptions()
55 const SDNodeInfo &N2) { in haveCompatibleDescriptions()
75 static bool haveCompatibleDescriptions(ArrayRef<SDNodeInfo> Nodes) { in haveCompatibleDescriptions()
76 const SDNodeInfo &N = Nodes.front(); in haveCompatibleDescriptions()
77 return all_of(drop_begin(Nodes), [&](const SDNodeInfo &Other) { in haveCompatibleDescriptions()
82 static void warnOnSkippedNode(const SDNodeInfo &N, const Twine &Reason) { in warnOnSkippedNode()
98 SDNodeInfo Node(R, HwModes); in SDNodeInfoEmitter()
124 for (const SDNodeInfo &N : I->second) in SDNodeInfoEmitter()
247 bool IsAmbiguous = any_of(drop_begin(Nodes), [&](const SDNodeInfo &Other) { in emitTypeConstraints()
[all …]
H A DDAGISelMatcherGen.cpp209 const SDNodeInfo &NI = CGP.getSDNodeInfo(CGP.getSDNodeNamed("imm")); in EmitLeafMatchCode()
286 const SDNodeInfo &NI = CGP.getSDNodeInfo(CGP.getSDNodeNamed(Name)); in EmitLeafMatchCode()
322 const SDNodeInfo &CInfo = CGP.getSDNodeInfo(N.getOperator()); in EmitOperatorMatchCode()
417 const SDNodeInfo &PInfo = CGP.getSDNodeInfo(Root.getOperator()); in EmitOperatorMatchCode()
H A DDAGISelMatcherOpt.cpp543 SmallVector<std::pair<const SDNodeInfo *, Matcher *>, 8> Cases; in FactorScope()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSDNodeInfo.h75 class SDNodeInfo final {
82 constexpr SDNodeInfo(unsigned NumOpcodes, const SDNodeDesc *Descs, in SDNodeInfo() function
H A DSelectionDAGTargetInfo.h194 const SDNodeInfo &GenNodeInfo;
196 explicit SelectionDAGGenTargetInfo(const SDNodeInfo &GenNodeInfo) in SelectionDAGGenTargetInfo()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenDAGPatterns.h42 class SDNodeInfo; variable
387 bool ApplyTypeConstraint(TreePatternNode &N, const SDNodeInfo &NodeInfo,
424 class SDNodeInfo {
437 SDNodeInfo(const Record *R, const CodeGenHwModes &CGH);
1119 std::map<const Record *, SDNodeInfo, LessRecordByID> SDNodes;
1154 const SDNodeInfo &getSDNodeInfo(const Record *R) const { in getSDNodeInfo()
1280 inline bool SDNodeInfo::ApplyTypeConstraints(TreePatternNode &N, in ApplyTypeConstraints()
H A DDAGISelMatcher.h32 class SDNodeInfo; variable
475 const SDNodeInfo &Opcode;
478 CheckOpcodeMatcher(const SDNodeInfo &opcode) in CheckOpcodeMatcher()
481 const SDNodeInfo &getOpcode() const { return Opcode; } in getOpcode()
496 SmallVector<std::pair<const SDNodeInfo *, Matcher *>, 8> Cases;
500 SmallVectorImpl<std::pair<const SDNodeInfo *, Matcher *>> &&cases) in SwitchOpcodeMatcher() argument
508 const SDNodeInfo &getCaseOpcode(unsigned i) const { return *Cases[i].first; } in getCaseOpcode()
H A DCodeGenDAGPatterns.cpp1417 const SDNodeInfo &Info = PatFragRec->getDAGPatterns().getSDNodeInfo(Op); in getCodeToRunOnSDNode()
1613 const SDNodeInfo &NodeInfo, in getOperandNum()
1636 const SDNodeInfo &NodeInfo, in ApplyTypeConstraint()
1872 SDNodeInfo::SDNodeInfo(const Record *R, const CodeGenHwModes &CGH) : Def(R) { in SDNodeInfo() function in SDNodeInfo
1898 MVT::SimpleValueType SDNodeInfo::getKnownType(unsigned ResNo) const { in getKnownType()
2605 const SDNodeInfo &NI = CDP.getSDNodeInfo(getOperator()); in ApplyTypeConstraints()
2848 const SDNodeInfo &NodeInfo = CDP.getSDNodeInfo(getOperator()); in canPatternMatch()
3302 SDNodes.try_emplace(R, SDNodeInfo(R, CGH)); in ParseNodeInfo()
3636 const SDNodeInfo &OpInfo = CDP.getSDNodeInfo(N.getOperator()); in IsNodeBitcast()
4676 const SDNodeInfo &NodeInfo = CDP.getSDNodeInfo(N->getOperator()); in GenerateVariantsOf()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSDNodeInfo.cpp43 void SDNodeInfo::verifyNode(const SelectionDAG &DAG, const SDNode *N) const { in verifyNode()
/freebsd/lib/clang/libllvm/
H A DMakefile490 SRCS_MIN+= CodeGen/SelectionDAG/SDNodeInfo.cpp
2361 SDNodeInfo/-gen-sd-node-info \