Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DCodeGenInstruction.h154 std::vector<OperandInfo> OperandList; variable
165 bool empty() const { return OperandList.empty(); } in empty()
166 unsigned size() const { return OperandList.size(); } in size()
167 const OperandInfo &operator[](unsigned i) const { return OperandList[i]; }
168 OperandInfo &operator[](unsigned i) { return OperandList[i]; }
169 OperandInfo &back() { return OperandList.back(); } in back()
170 const OperandInfo &back() const { return OperandList.back(); } in back()
174 iterator begin() { return OperandList.begin(); } in begin()
175 const_iterator begin() const { return OperandList.begin(); } in begin()
176 iterator end() { return OperandList.end(); } in end()
[all …]
H A DWebAssemblyDisassemblerEmitter.cpp114 OS << CGI.Operands.OperandList.size() << ", "; in emitWebAssemblyDisassemblerTables()
117 for (auto &Op : CGI.Operands.OperandList) { in emitWebAssemblyDisassemblerTables()
H A DCodeGenInstruction.cpp57 OperandList.reserve(e); in CGIOperandList()
140 OperandInfo &OpInfo = OperandList.emplace_back( in CGIOperandList()
215 for (unsigned i = 0, e = OperandList.size(); i != e; ++i) in hasOperandNamed()
216 if (OperandList[i].Name == Name) { in hasOperandNamed()
272 if (OperandList[OpIdx].MINumOperands > 1 && !AllowWholeOp && in ParseOperandName()
285 DagInit *MIOpInfo = OperandList[OpIdx].MIOperandInfo; in ParseOperandName()
423 OperandList[Op.first].DoNotEncode[Op.second] = true; in ProcessDisableEncoding()
H A DX86DisassemblerTables.cpp823 OperandListTy OperandList; in emitInstructionInfo() local
828 OperandList.push_back(std::make_pair(Encoding, Type)); in emitInstructionInfo()
830 unsigned &N = OperandSets[OperandList]; in emitInstructionInfo()
836 for (unsigned i = 0, e = OperandList.size(); i != e; ++i) { in emitInstructionInfo()
837 const char *Encoding = stringForOperandEncoding(OperandList[i].first); in emitInstructionInfo()
838 const char *Type = stringForOperandType(OperandList[i].second); in emitInstructionInfo()
854 OperandListTy OperandList; in emitInstructionInfo() local
858 OperandList.push_back(std::make_pair(Encoding, Type)); in emitInstructionInfo()
860 o.indent(i * 2) << (OperandSets[OperandList] - 1) << ",\n"; in emitInstructionInfo()
H A DInstrInfoEmitter.cpp136 std::vector<CGIOperandList::OperandInfo> OperandList; in GetOperandInfo() local
146 OperandList.push_back(Op); in GetOperandInfo()
149 OperandList.push_back(Op); in GetOperandInfo()
152 OperandList.back().Rec = OpR; in GetOperandInfo()
156 for (unsigned j = 0, e = OperandList.size(); j != e; ++j) { in GetOperandInfo()
157 Record *OpR = OperandList[j].Rec; in GetOperandInfo()
H A DX86RecognizableInstr.cpp147 Is32Bit(false), Is64Bit(false), Operands(&insn.Operands.OperandList), in RecognizableInstr()
430 const std::vector<CGIOperandList::OperandInfo> &OperandList = *Operands; in emitInstructionSpecifier() local
432 unsigned numOperands = OperandList.size(); in emitInstructionSpecifier()
441 if (!OperandList[operandIndex].Constraints.empty()) { in emitInstructionSpecifier()
443 OperandList[operandIndex].Constraints[0]; in emitInstructionSpecifier()
/openbsd-src/gnu/llvm/llvm/include/llvm/Bitstream/
H A DBitCodes.h104 SmallVector<BitCodeAbbrevOp, 32> OperandList; variable
109 explicit BitCodeAbbrev(std::initializer_list<BitCodeAbbrevOp> OperandList) in BitCodeAbbrev() argument
110 : OperandList(OperandList) {} in BitCodeAbbrev()
113 return static_cast<unsigned>(OperandList.size()); in getNumOperandInfos()
116 return OperandList[N]; in getOperandInfo()
120 OperandList.push_back(OpInfo); in Add()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DConstants.cpp2819 Use *OperandList = getOperandList(); in GetElementPtrConstantExpr() local
2821 OperandList[i+1] = IdxList[i]; in GetElementPtrConstantExpr()
3307 Use *OperandList = getOperandList(); in handleOperandChangeImpl() local
3309 for (Use *O = OperandList, *E = OperandList+getNumOperands(); O != E; ++O) { in handleOperandChangeImpl()
3312 OperandNo = (O - OperandList); in handleOperandChangeImpl()
3339 Use *OperandList = getOperandList(); in handleOperandChangeImpl() local
3349 for (Use *O = OperandList, *E = OperandList + getNumOperands(); O != E; ++O) { in handleOperandChangeImpl()
3352 OperandNo = (O - OperandList); in handleOperandChangeImpl()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h605 SDUse *OperandList = nullptr;
795 return (unsigned)(Op - Op->getUser()->OperandList);
923 return OperandList[Num];
928 op_iterator op_begin() const { return OperandList; }
929 op_iterator op_end() const { return OperandList+NumOperands; }
1250 OperandList = &Op;
H A DSelectionDAG.h432 if (!Node->OperandList)
436 Node->OperandList);
438 Node->OperandList = nullptr;
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp3164 SmallVector<const Value *, 32> OperandList; in singleReachablePHIPath() local
3165 llvm::copy(FilteredPhiArgs, std::back_inserter(OperandList)); in singleReachablePHIPath()
3166 bool Okay = all_equal(OperandList); in singleReachablePHIPath()
3168 return singleReachablePHIPath(Visited, cast<MemoryAccess>(OperandList[0]), in singleReachablePHIPath()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp9572 N->OperandList[0].set(Op); in UpdateNodeOperands()
9598 if (N->OperandList[0] != Op1) in UpdateNodeOperands()
9599 N->OperandList[0].set(Op1); in UpdateNodeOperands()
9600 if (N->OperandList[1] != Op2) in UpdateNodeOperands()
9601 N->OperandList[1].set(Op2); in UpdateNodeOperands()
9651 if (N->OperandList[i] != Ops[i]) in UpdateNodeOperands()
9652 N->OperandList[i].set(Ops[i]); in UpdateNodeOperands()
12080 assert(!Node->OperandList && "Node already has operands"); in createOperands()
12094 Node->OperandList = Ops; in createOperands()