Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DUser.h48 Use *OperandList;
52 : Value(ty, vty), OperandList(OpList) { in User()
57 Use::zap(OperandList, OperandList + NumOperands, true); in dropHungoffUses()
58 OperandList = nullptr; in dropHungoffUses()
64 Use::zap(OperandList, OperandList + NumOperands); in ~User()
91 return OperandList[i]; in getOperand()
98 OperandList[i] = Val; in setOperand()
102 return OperandList[i]; in getOperandUse()
106 return OperandList[i]; in getOperandUse()
119 inline op_iterator op_begin() { return OperandList; } in op_begin()
[all …]
H A DOperandTraits.h95 return U->OperandList; in op_begin()
98 return U->OperandList + U->getNumOperands(); in op_end()
H A DInstructions.h2106 OperandList = allocHungoffUses(ReservedSpace);
2114 OperandList = allocHungoffUses(ReservedSpace);
2350 return cast<Constant>(OperandList[Idx + 1]);
2355 return !isa<ArrayType>(OperandList[Idx + 1]->getType());
2360 return isa<ArrayType>(OperandList[Idx + 1]->getType());
/minix3/external/bsd/llvm/dist/llvm/utils/TableGen/
H A DCodeGenInstruction.h137 std::vector<OperandInfo> OperandList; variable
145 bool empty() const { return OperandList.empty(); } in empty()
146 unsigned size() const { return OperandList.size(); } in size()
147 const OperandInfo &operator[](unsigned i) const { return OperandList[i]; }
148 OperandInfo &operator[](unsigned i) { return OperandList[i]; }
149 OperandInfo &back() { return OperandList.back(); } in back()
150 const OperandInfo &back() const { return OperandList.back(); } in back()
154 iterator begin() { return OperandList.begin(); } in begin()
155 const_iterator begin() const { return OperandList.begin(); } in begin()
156 iterator end() { return OperandList.end(); } in end()
[all …]
H A DCodeGenInstruction.cpp118 OperandList.push_back(OperandInfo(Rec, ArgName, PrintMethod, EncoderMethod, in CGIOperandList()
127 for (unsigned i = 0, e = OperandList.size(); i != e; ++i) in CGIOperandList()
128 OperandList[i].Constraints.resize(OperandList[i].MINumOperands); in CGIOperandList()
148 for (unsigned i = 0, e = OperandList.size(); i != e; ++i) in hasOperandNamed()
149 if (OperandList[i].Name == Name) { in hasOperandNamed()
177 if (OperandList[OpIdx].MINumOperands > 1 && !AllowWholeOp && in ParseOperandName()
187 DagInit *MIOpInfo = OperandList[OpIdx].MIOperandInfo; in ParseOperandName()
284 if (Op.second >= OperandList[Op.first].DoNotEncode.size()) in ProcessDisableEncoding()
285 OperandList[Op.first].DoNotEncode.resize(Op.second+1); in ProcessDisableEncoding()
286 OperandList[Op.first].DoNotEncode[Op.second] = true; in ProcessDisableEncoding()
H A DX86DisassemblerTables.cpp593 OperandListTy OperandList; in emitInstructionInfo() local
603 OperandList.push_back(std::make_pair(Encoding, Type)); in emitInstructionInfo()
605 unsigned &N = OperandSets[OperandList]; in emitInstructionInfo()
611 for (unsigned i = 0, e = OperandList.size(); i != e; ++i) { in emitInstructionInfo()
612 o << " { " << OperandList[i].first << ", " in emitInstructionInfo()
613 << OperandList[i].second << " },\n"; in emitInstructionInfo()
628 OperandListTy OperandList; in emitInstructionInfo() local
637 OperandList.push_back(std::make_pair(Encoding, Type)); in emitInstructionInfo()
639 o.indent(i * 2) << (OperandSets[OperandList] - 1) << ",\n"; in emitInstructionInfo()
H A DInstrInfoEmitter.cpp94 std::vector<CGIOperandList::OperandInfo> OperandList; in GetOperandInfo() local
104 OperandList.push_back(Op); in GetOperandInfo()
107 OperandList.push_back(Op); in GetOperandInfo()
110 OperandList.back().Rec = OpR; in GetOperandInfo()
114 for (unsigned j = 0, e = OperandList.size(); j != e; ++j) { in GetOperandInfo()
115 Record *OpR = OperandList[j].Rec; in GetOperandInfo()
H A DX86RecognizableInstr.cpp219 Operands = &insn.Operands.OperandList; in RecognizableInstr()
506 const std::vector<CGIOperandList::OperandInfo> &OperandList = *Operands; in emitInstructionSpecifier() local
508 unsigned numOperands = OperandList.size(); in emitInstructionSpecifier()
517 if (OperandList[operandIndex].Constraints.size()) { in emitInstructionSpecifier()
519 OperandList[operandIndex].Constraints[0]; in emitInstructionSpecifier()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Bitcode/
H A DBitCodes.h166 SmallVector<BitCodeAbbrevOp, 32> OperandList;
173 return static_cast<unsigned>(OperandList.size());
176 return OperandList[N];
180 OperandList.push_back(OpInfo);
/minix3/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h370 SDUse *OperandList;
537 return (unsigned)(Op - Op->getUser()->OperandList);
610 return OperandList[Num];
614 op_iterator op_begin() const { return OperandList; }
615 op_iterator op_end() const { return OperandList+NumOperands; }
761 OperandList(Ops.size() ? new SDUse[Ops.size()] : nullptr),
771 assert(OperandList && "no operands available");
772 OperandList[i].setUser(this);
773 OperandList[i].setInitial(Ops[i]);
782 SubclassData(0), NodeId(-1), OperandList(nullptr), ValueList(VTs.VTs),
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/IR/
H A DUser.cpp61 Obj->OperandList = Start; in operator new()
H A DInstructions.cpp151 OperandList = allocHungoffUses(ReservedSpace); in growOperands()
198 Use *OL = OperandList, *InOL = LP.OperandList; in LandingPadInst()
229 OperandList = allocHungoffUses(ReservedSpace); in init()
230 OperandList[0] = PersFn; in init()
243 Use *OldOps = OperandList; in growOperands()
247 OperandList = NewOps; in growOperands()
256 OperandList[OpNo] = Val; in addClause()
1346 OperandList[0] = Ptr; in init()
3419 OperandList = allocHungoffUses(ReservedSpace); in init()
3421 OperandList[0] = Value; in init()
[all …]
H A DConstants.cpp2373 OperandList[0] = C; in GetElementPtrConstantExpr()
2375 OperandList[i+1] = IdxList[i]; in GetElementPtrConstantExpr()
2783 for (Use *O = OperandList, *E = OperandList+getNumOperands(); O != E; ++O) { in replaceUsesOfWithOnConstant()
2810 Values, this, From, ToC, NumUpdated, U - OperandList)) in replaceUsesOfWithOnConstant()
2819 unsigned OperandToUpdate = U-OperandList; in replaceUsesOfWithOnConstant()
2831 for (Use *O = OperandList, *E = OperandList+getNumOperands(); O != E; ++O) { in replaceUsesOfWithOnConstant()
2838 for (Use *O = OperandList, *E = OperandList+getNumOperands(); O != E; ++O) { in replaceUsesOfWithOnConstant()
2844 for (Use *O = OperandList, *E = OperandList + getNumOperands(); O != E; ++O) in replaceUsesOfWithOnConstant()
2888 Values, this, From, ToC, NumUpdated, U - OperandList)) in replaceUsesOfWithOnConstant()
2916 NewOps, this, From, To, NumUpdated, U - OperandList)) in replaceUsesOfWithOnConstant()
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp701 delete[] N->OperandList; in DeallocateNode()
5282 N->OperandList[0].set(Op); in UpdateNodeOperands()
5307 if (N->OperandList[0] != Op1) in UpdateNodeOperands()
5308 N->OperandList[0].set(Op1); in UpdateNodeOperands()
5309 if (N->OperandList[1] != Op2) in UpdateNodeOperands()
5310 N->OperandList[1].set(Op2); in UpdateNodeOperands()
5367 if (N->OperandList[i] != Ops[i]) in UpdateNodeOperands()
5368 N->OperandList[i].set(Ops[i]); in UpdateNodeOperands()
5564 delete[] MN->OperandList; in MorphNodeTo()
5575 MN->InitOperands(MN->OperandList, Ops.data(), NumOps); in MorphNodeTo()
[all …]