Home
last modified time | relevance | path

Searched refs:OperandInfo (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/llvm/utils/TableGen/GlobalISel/
H A DGIMatchDagInstr.h62 const GIMatchDagOperandList &OperandInfo; variable
74 const GIMatchDagOperandList &OperandInfo) in GIMatchDagInstr() argument
76 OperandInfo(OperandInfo) {} in GIMatchDagInstr()
78 const GIMatchDagOperandList &getOperandInfo() const { return OperandInfo; } in getOperandInfo()
H A DGIMatchDagPredicate.h52 const GIMatchDagOperandList &OperandInfo; variable
56 const GIMatchDagOperandList &OperandInfo) in GIMatchDagPredicate() argument
57 : Kind(Kind), Name(Name), OperandInfo(OperandInfo) {} in GIMatchDagPredicate()
63 const GIMatchDagOperandList &getOperandInfo() const { return OperandInfo; } in getOperandInfo()
H A DGIMatchDagInstr.cpp23 OperandInfo.print(OS); in print()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DCodeGenInstruction.h77 struct OperandInfo { struct
120 OperandInfo(Record *R, const std::string &N, const std::string &PMN, in OperandInfo() argument
150 std::vector<OperandInfo> OperandList; argument
160 const OperandInfo &operator[](unsigned i) const { return OperandList[i]; }
161 OperandInfo &operator[](unsigned i) { return OperandList[i]; }
162 OperandInfo &back() { return OperandList.back(); } in back()
163 const OperandInfo &back() const { return OperandList.back(); } in back()
165 typedef std::vector<OperandInfo>::iterator iterator;
166 typedef std::vector<OperandInfo>::const_iterator const_iterator;
H A DDecoderEmitter.cpp65 struct OperandInfo { struct
71 OperandInfo(std::string D, bool HCD) in OperandInfo() argument
394 const std::map<unsigned, std::vector<OperandInfo>> &Operands;
532 const OperandInfo &OpInfo,
1145 const OperandInfo &OpInfo, in emitBinaryParser()
1852 OperandInfo getOpInfo(Record *TypeRecord) { in getOpInfo()
1863 return OperandInfo(Decoder, HasCompleteDecoder); in getOpInfo()
1867 std::vector<OperandInfo> &Operands, in parseVarLenInstOperand()
1935 std::vector<OperandInfo> InsnOperands; in populateInstruction()
2113 OperandInfo OpInfo(Decoder, HasCompleteDecoder); in populateInstruction()
[all …]
H A DInstrInfoEmitter.cpp136 std::vector<CGIOperandList::OperandInfo> OperandList; in GetOperandInfo()
227 std::vector<std::string> OperandInfo = GetOperandInfo(*Inst); in EmitOperandInfo() local
228 unsigned &N = OperandInfoIDs[OperandInfo]; in EmitOperandInfo()
233 for (const std::string &Info : OperandInfo) in EmitOperandInfo()
510 [](const CGIOperandList::OperandInfo &Op) -> unsigned { in emitLogicalOperandSizeMappings()
1200 std::vector<std::string> OperandInfo = GetOperandInfo(Inst); in emitRecord() local
1201 if (OperandInfo.empty()) in emitRecord()
1204 OS << "OperandInfo" << OpInfo.find(OperandInfo)->second; in emitRecord()
H A DAsmWriterInst.cpp176 CGIOperandList::OperandInfo OpInfo = CGI.Operands[OpNo]; in AsmWriterInst()
H A DX86RecognizableInstr.h231 const std::vector<CGIOperandList::OperandInfo>* Operands;
H A DX86FoldTablesEmitter.cpp197 return any_of(Inst->Operands, [](const CGIOperandList::OperandInfo &OpIn) { in hasRSTRegClass()
204 return any_of(Inst->Operands, [](const CGIOperandList::OperandInfo &OpIn) { in hasPtrTailcallRegClass()
H A DCodeGenInstruction.cpp147 for (OperandInfo &OpInfo : OperandList) in CGIOperandList()
315 for (const CGIOperandList::OperandInfo &Op : Ops) { in ParseConstraint()
H A DAsmMatcherEmitter.cpp760 ClassInfo *getOperandClass(const CGIOperandList::OperandInfo &OI,
1157 AsmMatcherInfo::getOperandClass(const CGIOperandList::OperandInfo &OI, in getOperandClass()
1769 for (const CGIOperandList::OperandInfo &OpInfo : ResultInst->Operands) { in buildInstructionResultOperands()
1828 const CGIOperandList::OperandInfo *OpInfo = &ResultInst->Operands[i]; in buildAliasResultOperands()
H A DX86RecognizableInstr.cpp430 const std::vector<CGIOperandList::OperandInfo> &OperandList = *Operands; in emitInstructionSpecifier()
H A DCodeGenDAGPatterns.cpp3763 static bool checkOperandClass(CGIOperandList::OperandInfo &OI, in checkOperandClass()
3878 CGIOperandList::OperandInfo &Op = CGI.Operands[i]; in parseInstructionPattern()
H A DGlobalISelEmitter.cpp4940 const CGIOperandList::OperandInfo &DstIOperand = DstI->Operands[InstOpNo]; in importExplicitUseRenderers()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DPredicateInfo.cpp386 auto &OperandInfo = getOrCreateValueInfo(Op); in addInfoFor() local
387 if (OperandInfo.Infos.empty()) in addInfoFor()
390 OperandInfo.Infos.push_back(PB); in addInfoFor()
/llvm-project-15.0.7/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp3915 FunctionOperandInfo OperandInfo = {Func, 0, 0, 0}; in parseFunctionRecord() local
3917 OperandInfo.Prologue = Record[10]; in parseFunctionRecord()
3935 OperandInfo.Prefix = Record[13]; in parseFunctionRecord()
3938 OperandInfo.PersonalityFn = Record[14]; in parseFunctionRecord()
3956 if (OperandInfo.PersonalityFn || OperandInfo.Prefix || OperandInfo.Prologue) in parseFunctionRecord()
3957 FunctionOperands.push_back(OperandInfo); in parseFunctionRecord()