Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DCodeGenInstruction.h149 std::vector<OperandInfo> OperandList; variable
157 bool empty() const { return OperandList.empty(); } in empty()
158 unsigned size() const { return OperandList.size(); } in size()
159 const OperandInfo &operator[](unsigned i) const { return OperandList[i]; }
160 OperandInfo &operator[](unsigned i) { return OperandList[i]; }
161 OperandInfo &back() { return OperandList.back(); } in back()
162 const OperandInfo &back() const { return OperandList.back(); } in back()
166 iterator begin() { return OperandList.begin(); } in begin()
167 const_iterator begin() const { return OperandList.begin(); } in begin()
168 iterator end() { return OperandList.end(); } in end()
[all …]
H A DCodeGenInstruction.cpp58 OperandList.reserve(e); in CGIOperandList()
136 OperandList.emplace_back( in CGIOperandList()
148 for (OperandInfo &OpInfo : OperandList) in CGIOperandList()
171 for (unsigned i = 0, e = OperandList.size(); i != e; ++i) in hasOperandNamed()
172 if (OperandList[i].Name == Name) { in hasOperandNamed()
203 if (OperandList[OpIdx].MINumOperands > 1 && !AllowWholeOp && in ParseOperandName()
216 DagInit *MIOpInfo = OperandList[OpIdx].MIOperandInfo; in ParseOperandName()
354 if (Op.second >= OperandList[Op.first].DoNotEncode.size()) in ProcessDisableEncoding()
355 OperandList[Op.first].DoNotEncode.resize(Op.second+1); in ProcessDisableEncoding()
356 OperandList[Op.first].DoNotEncode[Op.second] = true; in ProcessDisableEncoding()
H A DWebAssemblyDisassemblerEmitter.cpp117 OS << CGI.Operands.OperandList.size() << ", "; in emitWebAssemblyDisassemblerTables()
120 for (auto &Op : CGI.Operands.OperandList) { in emitWebAssemblyDisassemblerTables()
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.cpp125 std::vector<CGIOperandList::OperandInfo> OperandList; in GetOperandInfo() local
135 OperandList.push_back(Op); in GetOperandInfo()
138 OperandList.push_back(Op); in GetOperandInfo()
141 OperandList.back().Rec = OpR; in GetOperandInfo()
145 for (unsigned j = 0, e = OperandList.size(); j != e; ++j) { in GetOperandInfo()
146 Record *OpR = OperandList[j].Rec; in GetOperandInfo()
H A DX86RecognizableInstr.cpp99 Operands = &insn.Operands.OperandList; in RecognizableInstr()
405 const std::vector<CGIOperandList::OperandInfo> &OperandList = *Operands; in emitInstructionSpecifier() local
407 unsigned numOperands = OperandList.size(); in emitInstructionSpecifier()
416 if (!OperandList[operandIndex].Constraints.empty()) { in emitInstructionSpecifier()
418 OperandList[operandIndex].Constraints[0]; in emitInstructionSpecifier()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Bitstream/
H A DBitCodes.h163 SmallVector<BitCodeAbbrevOp, 32> OperandList; variable
168 explicit BitCodeAbbrev(std::initializer_list<BitCodeAbbrevOp> OperandList) in BitCodeAbbrev() argument
169 : OperandList(OperandList) {} in BitCodeAbbrev()
172 return static_cast<unsigned>(OperandList.size()); in getNumOperandInfos()
175 return OperandList[N]; in getOperandInfo()
179 OperandList.push_back(OpInfo); in Add()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h580 SDUse *OperandList = nullptr;
770 return (unsigned)(Op - Op->getUser()->OperandList);
898 return OperandList[Num];
903 op_iterator op_begin() const { return OperandList; }
904 op_iterator op_end() const { return OperandList+NumOperands; }
1221 OperandList = &Op;
H A DSelectionDAG.h404 if (!Node->OperandList)
408 Node->OperandList);
410 Node->OperandList = nullptr;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DConstants.cpp2879 Use *OperandList = getOperandList(); in GetElementPtrConstantExpr() local
2881 OperandList[i+1] = IdxList[i]; in GetElementPtrConstantExpr()
3367 Use *OperandList = getOperandList(); in handleOperandChangeImpl() local
3369 for (Use *O = OperandList, *E = OperandList+getNumOperands(); O != E; ++O) { in handleOperandChangeImpl()
3372 OperandNo = (O - OperandList); in handleOperandChangeImpl()
3399 Use *OperandList = getOperandList(); in handleOperandChangeImpl() local
3409 for (Use *O = OperandList, *E = OperandList + getNumOperands(); O != E; ++O) { in handleOperandChangeImpl()
3412 OperandNo = (O - OperandList); in handleOperandChangeImpl()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp3135 SmallVector<const Value *, 32> OperandList; in singleReachablePHIPath() local
3136 llvm::copy(FilteredPhiArgs, std::back_inserter(OperandList)); in singleReachablePHIPath()
3137 bool Okay = is_splat(OperandList); in singleReachablePHIPath()
3139 return singleReachablePHIPath(Visited, cast<MemoryAccess>(OperandList[0]), in singleReachablePHIPath()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp8169 N->OperandList[0].set(Op); in UpdateNodeOperands()
8195 if (N->OperandList[0] != Op1) in UpdateNodeOperands()
8196 N->OperandList[0].set(Op1); in UpdateNodeOperands()
8197 if (N->OperandList[1] != Op2) in UpdateNodeOperands()
8198 N->OperandList[1].set(Op2); in UpdateNodeOperands()
8248 if (N->OperandList[i] != Ops[i]) in UpdateNodeOperands()
8249 N->OperandList[i].set(Ops[i]); in UpdateNodeOperands()
10462 assert(!Node->OperandList && "Node already has operands"); in createOperands()
10476 Node->OperandList = Ops; in createOperands()