Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenInstruction.h148 std::vector<OperandInfo> OperandList; variable
159 bool empty() const { return OperandList.empty(); } in empty()
160 unsigned size() const { return OperandList.size(); } in size()
161 const OperandInfo &operator[](unsigned i) const { return OperandList[i]; }
162 OperandInfo &operator[](unsigned i) { return OperandList[i]; }
163 OperandInfo &back() { return OperandList.back(); } in back()
164 const OperandInfo &back() const { return OperandList.back(); } in back()
168 iterator begin() { return OperandList.begin(); } in begin()
169 const_iterator begin() const { return OperandList.begin(); } in begin()
170 iterator end() { return OperandList.end(); } in end()
[all …]
H A DCodeGenInstruction.cpp58 OperandList.reserve(e); in CGIOperandList()
141 OperandInfo &OpInfo = OperandList.emplace_back( in CGIOperandList()
214 for (const auto &[Index, Opnd] : enumerate(OperandList)) in findOperandNamed()
265 if (OperandList[OpIdx].MINumOperands > 1 && !AllowWholeOp && in ParseOperandName()
278 const DagInit *MIOpInfo = OperandList[OpIdx].MIOperandInfo; in ParseOperandName()
420 OperandList[Op.first].DoNotEncode[Op.second] = true; in ProcessDisableEncoding()
/freebsd/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitCodes.h110 SmallVector<BitCodeAbbrevOp, 32> OperandList; variable
115 explicit BitCodeAbbrev(std::initializer_list<BitCodeAbbrevOp> OperandList) in BitCodeAbbrev() argument
116 : OperandList(OperandList) {} in BitCodeAbbrev()
119 return static_cast<unsigned>(OperandList.size()); in getNumOperandInfos()
122 return OperandList[N]; in getOperandInfo()
126 OperandList.push_back(OpInfo); in Add()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DWebAssemblyDisassemblerEmitter.cpp115 OS << CGI.Operands.OperandList.size() << ", "; in emitWebAssemblyDisassemblerTables()
118 for (auto &Op : CGI.Operands.OperandList) { in emitWebAssemblyDisassemblerTables()
H A DX86DisassemblerTables.cpp870 OperandListTy OperandList; in emitInstructionInfo() local
875 OperandList.emplace_back(Encoding, Type); in emitInstructionInfo()
877 unsigned &N = OperandSets[OperandList]; in emitInstructionInfo()
884 for (const auto &[Enc, Ty] : OperandList) { in emitInstructionInfo()
903 OperandListTy OperandList; in emitInstructionInfo() local
907 OperandList.emplace_back(Encoding, Type); in emitInstructionInfo()
909 o.indent(i * 2) << (OperandSets[OperandList] - 1) << ",\n"; in emitInstructionInfo()
H A DInstrInfoEmitter.cpp119 std::vector<CGIOperandList::OperandInfo> OperandList; in GetOperandInfo() local
128 OperandList.push_back(Op); in GetOperandInfo()
131 OperandList.push_back(Op); in GetOperandInfo()
134 OperandList.back().Rec = OpR; in GetOperandInfo()
139 zip_equal(OperandList, Op.Constraints)) { in GetOperandInfo()
H A DX86RecognizableInstr.cpp152 Is32Bit(false), Is64Bit(false), Operands(&insn.Operands.OperandList), in RecognizableInstr()
478 const std::vector<CGIOperandList::OperandInfo> &OperandList = *Operands; in emitInstructionSpecifier() local
480 unsigned numOperands = OperandList.size(); in emitInstructionSpecifier()
490 if (!OperandList[operandIndex].Constraints.empty()) { in emitInstructionSpecifier()
492 OperandList[operandIndex].Constraints[0]; in emitInstructionSpecifier()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp2101 Use *OperandList = getOperandList(); in handleOperandChangeImpl() local
2103 for (Use *O = OperandList, *E = OperandList + getNumOperands(); O != E; ++O) { in handleOperandChangeImpl()
2106 OperandNo = (O - OperandList); in handleOperandChangeImpl()
2795 Use *OperandList = getOperandList(); in GetElementPtrConstantExpr() local
2797 OperandList[i+1] = IdxList[i]; in GetElementPtrConstantExpr()
3282 Use *OperandList = getOperandList(); in handleOperandChangeImpl() local
3284 for (Use *O = OperandList, *E = OperandList+getNumOperands(); O != E; ++O) { in handleOperandChangeImpl()
3287 OperandNo = (O - OperandList); in handleOperandChangeImpl()
3314 Use *OperandList = getOperandList(); in handleOperandChangeImpl() local
3324 for (Use *O = OperandList, *E = OperandList + getNumOperands(); O != E; ++O) { in handleOperandChangeImpl()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h650 SDUse *OperandList = nullptr;
1036 return OperandList[Num];
1041 op_iterator op_begin() const { return OperandList; }
1042 op_iterator op_end() const { return OperandList+NumOperands; }
1370 OperandList = &Op;
H A DSelectionDAG.h449 if (!Node->OperandList)
453 Node->OperandList);
455 Node->OperandList = nullptr;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNewGVN.cpp3203 SmallVector<const Value *, 32> OperandList(FilteredPhiArgs); in singleReachablePHIPath() local
3204 bool Okay = all_equal(OperandList); in singleReachablePHIPath()
3206 return singleReachablePHIPath(Visited, cast<MemoryAccess>(OperandList[0]), in singleReachablePHIPath()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp11047 N->OperandList[0].set(Op); in UpdateNodeOperands()
11073 if (N->OperandList[0] != Op1) in UpdateNodeOperands()
11074 N->OperandList[0].set(Op1); in UpdateNodeOperands()
11075 if (N->OperandList[1] != Op2) in UpdateNodeOperands()
11076 N->OperandList[1].set(Op2); in UpdateNodeOperands()
11126 if (N->OperandList[i] != Ops[i]) in UpdateNodeOperands()
11127 N->OperandList[i].set(Ops[i]); in UpdateNodeOperands()
13725 assert(!Node->OperandList && "Node already has operands"); in createOperands()
13748 Node->OperandList = Ops; in createOperands()