| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | CodeGenInstruction.h | 150 std::vector<OperandInfo> OperandList; variable 158 bool empty() const { return OperandList.empty(); } in empty() 159 unsigned size() const { return OperandList.size(); } in size() 162 OperandInfo &back() { return OperandList.back(); } in back() 167 iterator begin() { return OperandList.begin(); } in begin() 169 iterator end() { return OperandList.end(); } in end() 170 const_iterator end() const { return OperandList.end(); } in end() 192 return OperandList[Op.first].MIOperandNo + Op.second; in getFlattenedOperandNumber() 200 if (OperandList[i].MIOperandNo+OperandList[i].MINumOperands > Op) in getSubOperandNumber() 210 if (OperandList[Op.first].DoNotEncode.size() > Op.second) in isFlatOperandNotEmitted() [all …]
|
| H A D | CodeGenInstruction.cpp | 57 OperandList.reserve(e); in CGIOperandList() 135 OperandList.emplace_back( in CGIOperandList() 147 for (OperandInfo &OpInfo : OperandList) in CGIOperandList() 170 for (unsigned i = 0, e = OperandList.size(); i != e; ++i) in hasOperandNamed() 171 if (OperandList[i].Name == Name) { in hasOperandNamed() 202 if (OperandList[OpIdx].MINumOperands > 1 && !AllowWholeOp && in ParseOperandName() 215 DagInit *MIOpInfo = OperandList[OpIdx].MIOperandInfo; in ParseOperandName() 353 if (Op.second >= OperandList[Op.first].DoNotEncode.size()) in ProcessDisableEncoding() 354 OperandList[Op.first].DoNotEncode.resize(Op.second+1); in ProcessDisableEncoding() 355 OperandList[Op.first].DoNotEncode[Op.second] = true; in ProcessDisableEncoding()
|
| H A D | WebAssemblyDisassemblerEmitter.cpp | 114 OS << CGI.Operands.OperandList.size() << ", "; in emitWebAssemblyDisassemblerTables() 117 for (auto &Op : CGI.Operands.OperandList) { in emitWebAssemblyDisassemblerTables()
|
| H A D | X86DisassemblerTables.cpp | 824 OperandListTy OperandList; in emitInstructionInfo() local 829 OperandList.push_back(std::make_pair(Encoding, Type)); in emitInstructionInfo() 831 unsigned &N = OperandSets[OperandList]; in emitInstructionInfo() 837 for (unsigned i = 0, e = OperandList.size(); i != e; ++i) { in emitInstructionInfo() 838 const char *Encoding = stringForOperandEncoding(OperandList[i].first); in emitInstructionInfo() 839 const char *Type = stringForOperandType(OperandList[i].second); in emitInstructionInfo() 855 OperandListTy OperandList; in emitInstructionInfo() local 859 OperandList.push_back(std::make_pair(Encoding, Type)); in emitInstructionInfo() 861 o.indent(i * 2) << (OperandSets[OperandList] - 1) << ",\n"; in emitInstructionInfo()
|
| H A D | InstrInfoEmitter.cpp | 136 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 D | X86RecognizableInstr.cpp | 147 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()
|
| /llvm-project-15.0.7/llvm/include/llvm/Bitstream/ |
| H A D | BitCodes.h | 104 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()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Constants.cpp | 2826 Use *OperandList = getOperandList(); in GetElementPtrConstantExpr() local 2828 OperandList[i+1] = IdxList[i]; in GetElementPtrConstantExpr() 3314 Use *OperandList = getOperandList(); in handleOperandChangeImpl() local 3316 for (Use *O = OperandList, *E = OperandList+getNumOperands(); O != E; ++O) { in handleOperandChangeImpl() 3319 OperandNo = (O - OperandList); in handleOperandChangeImpl() 3346 Use *OperandList = getOperandList(); in handleOperandChangeImpl() local 3356 for (Use *O = OperandList, *E = OperandList + getNumOperands(); O != E; ++O) { in handleOperandChangeImpl() 3359 OperandNo = (O - OperandList); in handleOperandChangeImpl()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 590 SDUse *OperandList = nullptr; 783 return (unsigned)(Op - Op->getUser()->OperandList); 911 return OperandList[Num]; 916 op_iterator op_begin() const { return OperandList; } 917 op_iterator op_end() const { return OperandList+NumOperands; } 1235 OperandList = &Op;
|
| H A D | SelectionDAG.h | 416 if (!Node->OperandList) 420 Node->OperandList); 422 Node->OperandList = nullptr;
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | NewGVN.cpp | 3167 SmallVector<const Value *, 32> OperandList; in singleReachablePHIPath() local 3168 llvm::copy(FilteredPhiArgs, std::back_inserter(OperandList)); in singleReachablePHIPath() 3169 bool Okay = is_splat(OperandList); in singleReachablePHIPath() 3171 return singleReachablePHIPath(Visited, cast<MemoryAccess>(OperandList[0]), in singleReachablePHIPath()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 9321 N->OperandList[0].set(Op); in UpdateNodeOperands() 9347 if (N->OperandList[0] != Op1) in UpdateNodeOperands() 9348 N->OperandList[0].set(Op1); in UpdateNodeOperands() 9349 if (N->OperandList[1] != Op2) in UpdateNodeOperands() 9350 N->OperandList[1].set(Op2); in UpdateNodeOperands() 9400 if (N->OperandList[i] != Ops[i]) in UpdateNodeOperands() 9401 N->OperandList[i].set(Ops[i]); in UpdateNodeOperands() 11777 assert(!Node->OperandList && "Node already has operands"); in createOperands() 11791 Node->OperandList = Ops; in createOperands()
|