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

/external/llvm/include/llvm/IR/
H A DUser.h46 /// OperandList - This is a pointer to the array of Uses for this User.
51 Use *OperandList; member in class:llvm::User
55 : Value(ty, vty), NumOperands(NumOps), OperandList(OpList) {}
58 Use::zap(OperandList, OperandList + NumOperands, true);
59 OperandList = nullptr;
65 Use::zap(OperandList, OperandList + NumOperands);
92 return OperandList[i];
99 OperandList[
[all...]
H A DOperandTraits.h86 /// has an OperandList member of type User::op_iterator. [Note: this is now
95 return U->OperandList;
98 return U->OperandList + U->getNumOperands();
H A 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/
H A DCodeGenInstruction.h89 /// OperandList may not match the MachineInstr operand num. Until it
128 Record *TheDef; // The actual record containing this OperandList.
135 /// OperandList - The list of declared operands, along with their declared
137 std::vector<OperandInfo> OperandList; member in class:llvm::CGIOperandList
145 bool empty() const { return OperandList.empty(); }
146 unsigned size() const { return OperandList.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(); }
150 const OperandInfo &back() const { return OperandList
[all...]
H A DCodeGenInstruction.cpp115 OperandList.push_back(OperandInfo(Rec, ArgName, PrintMethod, EncoderMethod,
124 for (unsigned i = 0, e = OperandList.size(); i != e; ++i)
125 OperandList[i].Constraints.resize(OperandList[i].MINumOperands);
145 for (unsigned i = 0, e = OperandList.size(); i != e; ++i)
146 if (OperandList[i].Name == Name) {
174 if (OperandList[OpIdx].MINumOperands > 1 && !AllowWholeOp &&
184 DagInit *MIOpInfo = OperandList[OpIdx].MIOperandInfo;
281 if (Op.second >= OperandList[Op.first].DoNotEncode.size())
282 OperandList[O
[all...]
H A DInstrInfoEmitter.cpp94 std::vector<CGIOperandList::OperandInfo> OperandList; local
104 OperandList.push_back(Op);
107 OperandList.push_back(Op);
110 OperandList.back().Rec = OpR;
114 for (unsigned j = 0, e = OperandList.size(); j != e; ++j) {
115 Record *OpR = OperandList[j].Rec;
H A DX86DisassemblerTables.cpp557 OperandListTy OperandList;
567 OperandList.push_back(std::make_pair(Encoding, Type));
569 unsigned &N = OperandSets[OperandList];
575 for (unsigned i = 0, e = OperandList.size(); i != e; ++i) {
576 o << " { " << OperandList[i].first << ", "
577 << OperandList[i].second << " },\n";
592 OperandListTy OperandList;
601 OperandList.push_back(std::make_pair(Encoding, Type));
603 o.indent(i * 2) << (OperandSets[OperandList] - 1) << ",\n";
H A DX86RecognizableInstr.cpp212 Operands = &insn.Operands.OperandList;
481 const std::vector<CGIOperandList::OperandInfo> &OperandList = *Operands;
483 unsigned numOperands = OperandList.size();
486 // operandMapping maps from operands in OperandList to their originals.
492 if (OperandList[operandIndex].Constraints.size()) {
494 OperandList[operandIndex].Constraints[0];
/external/llvm/include/llvm/Bitcode/
H A DBitCodes.h165 SmallVector<BitCodeAbbrevOp, 32> OperandList; member in class:llvm::BitCodeAbbrev
175 return static_cast<unsigned>(OperandList.size());
178 return OperandList[N];
182 OperandList.push_back(OpInfo);
/external/llvm/lib/IR/
H A DUser.cpp64 Obj->OperandList = Start;
H A DInstructions.cpp151 OperandList = allocHungoffUses(ReservedSpace);
198 Use *OL = OperandList, *InOL = LP.OperandList;
229 OperandList = allocHungoffUses(ReservedSpace);
230 OperandList[0] = PersFn;
243 Use *OldOps = OperandList;
247 OperandList = NewOps;
256 OperandList[OpNo] = Val;
1348 OperandList[0] = Ptr;
3347 OperandList
[all...]
H A DConstants.cpp2250 OperandList[0] = C;
2252 OperandList[i+1] = IdxList[i];
2651 for (Use *O = OperandList, *E = OperandList+getNumOperands(); O != E; ++O) {
2684 unsigned OperandToUpdate = U - OperandList;
2713 unsigned OperandToUpdate = U-OperandList;
2727 for (Use *O = OperandList, *E = OperandList+getNumOperands(); O != E; ++O) {
2734 for (Use *O = OperandList, *E = OperandList
[all...]
/external/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h344 /// OperandsNeedDelete - This is true if OperandList was new[]'d. If true,
362 /// OperandList - The values that are used by this operation.
364 SDUse *OperandList; member in class:llvm::SDNode
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[
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp691 delete[] N->OperandList;
5227 N->OperandList[0].set(Op);
5252 if (N->OperandList[0] != Op1)
5253 N->OperandList[0].set(Op1);
5254 if (N->OperandList[1] != Op2)
5255 N->OperandList[1].set(Op2);
5312 if (N->OperandList[i] != Ops[i])
5313 N->OperandList[i].set(Ops[i]);
5505 delete[] MN->OperandList;
5516 MN->InitOperands(MN->OperandList, Op
[all...]

Completed in 541 milliseconds