Home
last modified time | relevance | path

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

/external/llvm/include/llvm/IR/
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()
63 ~User() override { Use::zap(OperandList, OperandList + NumOperands); } in ~User()
89 return OperandList[i]; in getOperand()
96 OperandList[i] = Val; in setOperand()
100 return OperandList[i]; in getOperandUse()
104 return OperandList[i]; in getOperandUse()
117 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.h2157 OperandList = allocHungoffUses(ReservedSpace);
2165 OperandList = allocHungoffUses(ReservedSpace);
2403 return cast<Constant>(OperandList[Idx + 1]);
2408 return !isa<ArrayType>(OperandList[Idx + 1]->getType());
2413 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.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()
DX86DisassemblerTables.cpp606 OperandListTy OperandList; in emitInstructionInfo() local
614 OperandList.push_back(std::make_pair(Encoding, Type)); in emitInstructionInfo()
616 unsigned &N = OperandSets[OperandList]; in emitInstructionInfo()
622 for (unsigned i = 0, e = OperandList.size(); i != e; ++i) { in emitInstructionInfo()
623 const char *Encoding = stringForOperandEncoding(OperandList[i].first); in emitInstructionInfo()
624 const char *Type = stringForOperandType(OperandList[i].second); in emitInstructionInfo()
640 OperandListTy OperandList; in emitInstructionInfo() local
647 OperandList.push_back(std::make_pair(Encoding, Type)); in emitInstructionInfo()
649 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.cpp230 Operands = &insn.Operands.OperandList; in RecognizableInstr()
517 const std::vector<CGIOperandList::OperandInfo> &OperandList = *Operands; in emitInstructionSpecifier() local
519 unsigned numOperands = OperandList.size(); in emitInstructionSpecifier()
528 if (!OperandList[operandIndex].Constraints.empty()) { in emitInstructionSpecifier()
530 OperandList[operandIndex].Constraints[0]; in emitInstructionSpecifier()
/external/llvm/include/llvm/Bitcode/
DBitCodes.h166 SmallVector<BitCodeAbbrevOp, 32> OperandList;
173 return static_cast<unsigned>(OperandList.size());
176 return OperandList[N];
180 OperandList.push_back(OpInfo);
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h348 SDUse *OperandList;
508 return (unsigned)(Op - Op->getUser()->OperandList);
574 return OperandList[Num];
578 op_iterator op_begin() const { return OperandList; }
579 op_iterator op_end() const { return OperandList+NumOperands; }
716 OperandList(Ops.size() ? new SDUse[Ops.size()] : nullptr),
725 assert(OperandList && "no operands available");
726 OperandList[i].setUser(this);
727 OperandList[i].setInitial(Ops[i]);
736 SubclassData(0), NodeId(-1), OperandList(nullptr), ValueList(VTs.VTs),
[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()
1247 OperandList[0] = Ptr; in init()
3300 OperandList = allocHungoffUses(ReservedSpace); in init()
3302 OperandList[0] = Value; in init()
[all …]
DUser.cpp61 Obj->OperandList = Start; in operator new()
DConstants.cpp2378 OperandList[0] = C; in GetElementPtrConstantExpr()
2380 OperandList[i+1] = IdxList[i]; in GetElementPtrConstantExpr()
2837 for (Use *O = OperandList, *E = OperandList+getNumOperands(); O != E; ++O) { in replaceUsesOfWithOnConstant()
2864 Values, this, From, ToC, NumUpdated, U - OperandList)) in replaceUsesOfWithOnConstant()
2873 unsigned OperandToUpdate = U-OperandList; in replaceUsesOfWithOnConstant()
2885 for (Use *O = OperandList, *E = OperandList+getNumOperands(); O != E; ++O) { in replaceUsesOfWithOnConstant()
2892 for (Use *O = OperandList, *E = OperandList+getNumOperands(); O != E; ++O) { in replaceUsesOfWithOnConstant()
2898 for (Use *O = OperandList, *E = OperandList + getNumOperands(); O != E; ++O) in replaceUsesOfWithOnConstant()
2942 Values, this, From, ToC, NumUpdated, U - OperandList)) in replaceUsesOfWithOnConstant()
2970 NewOps, this, From, To, NumUpdated, U - OperandList)) in replaceUsesOfWithOnConstant()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp717 delete[] N->OperandList; in DeallocateNode()
5390 N->OperandList[0].set(Op); in UpdateNodeOperands()
5415 if (N->OperandList[0] != Op1) in UpdateNodeOperands()
5416 N->OperandList[0].set(Op1); in UpdateNodeOperands()
5417 if (N->OperandList[1] != Op2) in UpdateNodeOperands()
5418 N->OperandList[1].set(Op2); in UpdateNodeOperands()
5467 if (N->OperandList[i] != Ops[i]) in UpdateNodeOperands()
5468 N->OperandList[i].set(Ops[i]); in UpdateNodeOperands()
5663 delete[] MN->OperandList; in MorphNodeTo()
5674 MN->InitOperands(MN->OperandList, Ops.data(), NumOps); in MorphNodeTo()
[all …]