Home
last modified time | relevance | path

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

/external/llvm/include/llvm/IR/
DUser.h51 Use *OperandList; variable
55 : Value(ty, vty), NumOperands(NumOps), OperandList(OpList) {} in User()
58 Use::zap(OperandList, OperandList + NumOperands, true); in dropHungoffUses()
59 OperandList = nullptr; in dropHungoffUses()
65 Use::zap(OperandList, OperandList + NumOperands); in ~User()
92 return OperandList[i]; in getOperand()
99 OperandList[i] = Val; in setOperand()
103 return OperandList[i]; in getOperandUse()
107 return OperandList[i]; in getOperandUse()
120 inline op_iterator op_begin() { return OperandList; } in op_begin()
[all …]
DOperandTraits.h95 return U->OperandList; in op_begin()
98 return U->OperandList + U->getNumOperands(); in op_end()
DInstructions.h2086 OperandList = allocHungoffUses(ReservedSpace);
2094 OperandList = allocHungoffUses(ReservedSpace);
2330 return cast<Constant>(OperandList[Idx + 1]);
2335 return !isa<ArrayType>(OperandList[Idx + 1]->getType());
2340 return isa<ArrayType>(OperandList[Idx + 1]->getType());
/external/llvm/utils/TableGen/
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 …]
DCodeGenInstruction.cpp115 OperandList.push_back(OperandInfo(Rec, ArgName, PrintMethod, EncoderMethod, in CGIOperandList()
124 for (unsigned i = 0, e = OperandList.size(); i != e; ++i) in CGIOperandList()
125 OperandList[i].Constraints.resize(OperandList[i].MINumOperands); in CGIOperandList()
145 for (unsigned i = 0, e = OperandList.size(); i != e; ++i) in hasOperandNamed()
146 if (OperandList[i].Name == Name) { in hasOperandNamed()
174 if (OperandList[OpIdx].MINumOperands > 1 && !AllowWholeOp && in ParseOperandName()
184 DagInit *MIOpInfo = OperandList[OpIdx].MIOperandInfo; in ParseOperandName()
281 if (Op.second >= OperandList[Op.first].DoNotEncode.size()) in ProcessDisableEncoding()
282 OperandList[Op.first].DoNotEncode.resize(Op.second+1); in ProcessDisableEncoding()
283 OperandList[Op.first].DoNotEncode[Op.second] = true; in ProcessDisableEncoding()
DX86DisassemblerTables.cpp557 OperandListTy OperandList; in emitInstructionInfo() local
567 OperandList.push_back(std::make_pair(Encoding, Type)); in emitInstructionInfo()
569 unsigned &N = OperandSets[OperandList]; in emitInstructionInfo()
575 for (unsigned i = 0, e = OperandList.size(); i != e; ++i) { in emitInstructionInfo()
576 o << " { " << OperandList[i].first << ", " in emitInstructionInfo()
577 << OperandList[i].second << " },\n"; in emitInstructionInfo()
592 OperandListTy OperandList; in emitInstructionInfo() local
601 OperandList.push_back(std::make_pair(Encoding, Type)); in emitInstructionInfo()
603 o.indent(i * 2) << (OperandSets[OperandList] - 1) << ",\n"; in emitInstructionInfo()
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()
DX86RecognizableInstr.cpp212 Operands = &insn.Operands.OperandList; in RecognizableInstr()
481 const std::vector<CGIOperandList::OperandInfo> &OperandList = *Operands; in emitInstructionSpecifier() local
483 unsigned numOperands = OperandList.size(); in emitInstructionSpecifier()
492 if (OperandList[operandIndex].Constraints.size()) { in emitInstructionSpecifier()
494 OperandList[operandIndex].Constraints[0]; in emitInstructionSpecifier()
/external/llvm/include/llvm/Bitcode/
DBitCodes.h165 SmallVector<BitCodeAbbrevOp, 32> OperandList;
175 return static_cast<unsigned>(OperandList.size());
178 return OperandList[N];
182 OperandList.push_back(OpInfo);
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h364 SDUse *OperandList;
521 return (unsigned)(Op - Op->getUser()->OperandList);
594 return OperandList[Num];
598 op_iterator op_begin() const { return OperandList; }
599 op_iterator op_end() const { return OperandList+NumOperands; }
745 OperandList(Ops.size() ? new SDUse[Ops.size()] : nullptr),
750 OperandList[i].setUser(this);
751 OperandList[i].setInitial(Ops[i]);
760 SubclassData(0), NodeId(-1), OperandList(nullptr), ValueList(VTs.VTs),
769 OperandList = Ops;
[all …]
/external/llvm/lib/IR/
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()
1348 OperandList[0] = Ptr; in init()
3347 OperandList = allocHungoffUses(ReservedSpace); in init()
3349 OperandList[0] = Value; in init()
[all …]
DUser.cpp64 Obj->OperandList = Start; in operator new()
DConstants.cpp2250 OperandList[0] = C; in GetElementPtrConstantExpr()
2252 OperandList[i+1] = IdxList[i]; in GetElementPtrConstantExpr()
2651 for (Use *O = OperandList, *E = OperandList+getNumOperands(); O != E; ++O) { in replaceUsesOfWithOnConstant()
2684 unsigned OperandToUpdate = U - OperandList; in replaceUsesOfWithOnConstant()
2713 unsigned OperandToUpdate = U-OperandList; in replaceUsesOfWithOnConstant()
2727 for (Use *O = OperandList, *E = OperandList+getNumOperands(); O != E; ++O) { in replaceUsesOfWithOnConstant()
2734 for (Use *O = OperandList, *E = OperandList+getNumOperands(); O != E; ++O) { in replaceUsesOfWithOnConstant()
2740 for (Use *O = OperandList, *E = OperandList + getNumOperands(); O != E; ++O) in replaceUsesOfWithOnConstant()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp691 delete[] N->OperandList; in DeallocateNode()
5227 N->OperandList[0].set(Op); in UpdateNodeOperands()
5252 if (N->OperandList[0] != Op1) in UpdateNodeOperands()
5253 N->OperandList[0].set(Op1); in UpdateNodeOperands()
5254 if (N->OperandList[1] != Op2) in UpdateNodeOperands()
5255 N->OperandList[1].set(Op2); in UpdateNodeOperands()
5312 if (N->OperandList[i] != Ops[i]) in UpdateNodeOperands()
5313 N->OperandList[i].set(Ops[i]); in UpdateNodeOperands()
5505 delete[] MN->OperandList; in MorphNodeTo()
5516 MN->InitOperands(MN->OperandList, Ops.data(), NumOps); in MorphNodeTo()
[all …]