Home
last modified time | relevance | path

Searched refs:OperandList (Results 1 – 12 of 12) sorted by relevance

/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DCodeGenInstruction.h148 std::vector<OperandInfo> OperandList; variable
156 bool empty() const { return OperandList.empty(); } in empty()
157 unsigned size() const { return OperandList.size(); } in size()
160 OperandInfo &back() { return OperandList.back(); } in back()
165 iterator begin() { return OperandList.begin(); } in begin()
167 iterator end() { return OperandList.end(); } in end()
168 const_iterator end() const { return OperandList.end(); } in end()
190 return OperandList[Op.first].MIOperandNo + Op.second; in getFlattenedOperandNumber()
198 if (OperandList[i].MIOperandNo+OperandList[i].MINumOperands > Op) in getSubOperandNumber()
208 if (OperandList[Op.first].DoNotEncode.size() > Op.second) in isFlatOperandNotEmitted()
[all …]
H A DCodeGenInstruction.cpp53 OperandList.reserve(e); in CGIOperandList()
122 OperandList.emplace_back(Rec, ArgName, PrintMethod, EncoderMethod, in CGIOperandList()
131 for (OperandInfo &OpInfo : OperandList) in CGIOperandList()
152 for (unsigned i = 0, e = OperandList.size(); i != e; ++i) in hasOperandNamed()
153 if (OperandList[i].Name == Name) { in hasOperandNamed()
181 if (OperandList[OpIdx].MINumOperands > 1 && !AllowWholeOp && in ParseOperandName()
191 DagInit *MIOpInfo = OperandList[OpIdx].MIOperandInfo; in ParseOperandName()
327 if (Op.second >= OperandList[Op.first].DoNotEncode.size()) in ProcessDisableEncoding()
328 OperandList[Op.first].DoNotEncode.resize(Op.second+1); in ProcessDisableEncoding()
329 OperandList[Op.first].DoNotEncode[Op.second] = true; in ProcessDisableEncoding()
H A DInstrInfoEmitter.cpp115 std::vector<CGIOperandList::OperandInfo> OperandList; in GetOperandInfo() local
125 OperandList.push_back(Op); in GetOperandInfo()
128 OperandList.push_back(Op); in GetOperandInfo()
131 OperandList.back().Rec = OpR; in GetOperandInfo()
135 for (unsigned j = 0, e = OperandList.size(); j != e; ++j) { in GetOperandInfo()
136 Record *OpR = OperandList[j].Rec; in GetOperandInfo()
H A DWebAssemblyDisassemblerEmitter.cpp91 OS << CGI.Operands.OperandList.size() << ", "; in emitWebAssemblyDisassemblerTables()
94 for (auto &Op : CGI.Operands.OperandList) { in emitWebAssemblyDisassemblerTables()
H A DX86DisassemblerTables.cpp836 OperandListTy OperandList; in emitInstructionInfo() local
844 OperandList.push_back(std::make_pair(Encoding, Type)); in emitInstructionInfo()
846 unsigned &N = OperandSets[OperandList]; in emitInstructionInfo()
852 for (unsigned i = 0, e = OperandList.size(); i != e; ++i) { in emitInstructionInfo()
853 const char *Encoding = stringForOperandEncoding(OperandList[i].first); in emitInstructionInfo()
854 const char *Type = stringForOperandType(OperandList[i].second); in emitInstructionInfo()
870 OperandListTy OperandList; in emitInstructionInfo() local
877 OperandList.push_back(std::make_pair(Encoding, Type)); in emitInstructionInfo()
879 o.indent(i * 2) << (OperandSets[OperandList] - 1) << ",\n"; in emitInstructionInfo()
H A DX86RecognizableInstr.cpp99 Operands = &insn.Operands.OperandList; in RecognizableInstr()
411 const std::vector<CGIOperandList::OperandInfo> &OperandList = *Operands; in emitInstructionSpecifier() local
413 unsigned numOperands = OperandList.size(); in emitInstructionSpecifier()
422 if (!OperandList[operandIndex].Constraints.empty()) { in emitInstructionSpecifier()
424 OperandList[operandIndex].Constraints[0]; in emitInstructionSpecifier()
/freebsd-12.1/contrib/llvm/include/llvm/Bitcode/
H A DBitCodes.h169 SmallVector<BitCodeAbbrevOp, 32> OperandList;
173 return static_cast<unsigned>(OperandList.size());
176 return OperandList[N];
180 OperandList.push_back(OpInfo);
/freebsd-12.1/contrib/llvm/lib/IR/
H A DConstants.cpp2405 Use *OperandList = getOperandList(); in GetElementPtrConstantExpr() local
2407 OperandList[i+1] = IdxList[i]; in GetElementPtrConstantExpr()
2857 Use *OperandList = getOperandList(); in handleOperandChangeImpl() local
2859 for (Use *O = OperandList, *E = OperandList+getNumOperands(); O != E; ++O) { in handleOperandChangeImpl()
2862 OperandNo = (O - OperandList); in handleOperandChangeImpl()
2889 Use *OperandList = getOperandList(); in handleOperandChangeImpl() local
2899 for (Use *O = OperandList, *E = OperandList + getNumOperands(); O != E; ++O) { in handleOperandChangeImpl()
2902 OperandNo = (O - OperandList); in handleOperandChangeImpl()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h584 SDUse *OperandList = nullptr;
786 return (unsigned)(Op - Op->getUser()->OperandList);
906 return OperandList[Num];
911 op_iterator op_begin() const { return OperandList; }
912 op_iterator op_end() const { return OperandList+NumOperands; }
1219 OperandList = &Op;
H A DSelectionDAG.h370 if (!Node->OperandList)
374 Node->OperandList);
376 Node->OperandList = nullptr;
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp3177 SmallVector<const Value *, 32> OperandList; in singleReachablePHIPath() local
3178 llvm::copy(FilteredPhiArgs, std::back_inserter(OperandList)); in singleReachablePHIPath()
3179 bool Okay = is_splat(OperandList); in singleReachablePHIPath()
3181 return singleReachablePHIPath(Visited, cast<MemoryAccess>(OperandList[0]), in singleReachablePHIPath()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp7346 N->OperandList[0].set(Op); in UpdateNodeOperands()
7372 if (N->OperandList[0] != Op1) in UpdateNodeOperands()
7373 N->OperandList[0].set(Op1); in UpdateNodeOperands()
7374 if (N->OperandList[1] != Op2) in UpdateNodeOperands()
7375 N->OperandList[1].set(Op2); in UpdateNodeOperands()
7425 if (N->OperandList[i] != Ops[i]) in UpdateNodeOperands()
7426 N->OperandList[i].set(Ops[i]); in UpdateNodeOperands()
9268 assert(!Node->OperandList && "Node already has operands"); in createOperands()
9283 Node->OperandList = Ops; in createOperands()