Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/include/llvm/
DUser.h43 Use *OperandList;
51 : Value(ty, vty), OperandList(OpList), NumOperands(NumOps) {} in User()
54 Use::zap(OperandList, OperandList + NumOperands, true); in dropHungoffUses()
55 OperandList = 0; in dropHungoffUses()
61 Use::zap(OperandList, OperandList + NumOperands); in ~User()
88 return OperandList[i]; in getOperand()
95 OperandList[i] = Val; in setOperand()
99 return OperandList[i]; in getOperandUse()
103 return OperandList[i]; in getOperandUse()
114 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()
/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.cpp53 OperandList.reserve(e); in CGIOperandList()
121 OperandList.emplace_back(Rec, ArgName, PrintMethod, EncoderMethod, in CGIOperandList()
130 for (unsigned i = 0, e = OperandList.size(); i != e; ++i) in CGIOperandList()
131 OperandList[i].Constraints.resize(OperandList[i].MINumOperands); in CGIOperandList()
151 for (unsigned i = 0, e = OperandList.size(); i != e; ++i) in hasOperandNamed()
152 if (OperandList[i].Name == Name) { in hasOperandNamed()
180 if (OperandList[OpIdx].MINumOperands > 1 && !AllowWholeOp && in ParseOperandName()
190 DagInit *MIOpInfo = OperandList[OpIdx].MIOperandInfo; in ParseOperandName()
287 if (Op.second >= OperandList[Op.first].DoNotEncode.size()) in ProcessDisableEncoding()
288 OperandList[Op.first].DoNotEncode.resize(Op.second+1); in ProcessDisableEncoding()
[all …]
DX86DisassemblerTables.cpp635 OperandListTy OperandList; in emitInstructionInfo() local
643 OperandList.push_back(std::make_pair(Encoding, Type)); in emitInstructionInfo()
645 unsigned &N = OperandSets[OperandList]; in emitInstructionInfo()
651 for (unsigned i = 0, e = OperandList.size(); i != e; ++i) { in emitInstructionInfo()
652 const char *Encoding = stringForOperandEncoding(OperandList[i].first); in emitInstructionInfo()
653 const char *Type = stringForOperandType(OperandList[i].second); in emitInstructionInfo()
669 OperandListTy OperandList; in emitInstructionInfo() local
676 OperandList.push_back(std::make_pair(Encoding, Type)); in emitInstructionInfo()
678 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()
/external/swiftshader/third_party/llvm-7.0/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 …]
DWebAssemblyDisassemblerEmitter.cpp52 CGIP.second->Operands.OperandList.size() > in emitWebAssemblyDisassemblerTables()
53 CGI.Operands.OperandList.size()) { in emitWebAssemblyDisassemblerTables()
84 OS << CGI.Operands.OperandList.size() << ", {\n"; in emitWebAssemblyDisassemblerTables()
85 for (auto &Op : CGI.Operands.OperandList) { in emitWebAssemblyDisassemblerTables()
DCodeGenInstruction.cpp53 OperandList.reserve(e); in CGIOperandList()
122 OperandList.emplace_back(Rec, ArgName, PrintMethod, EncoderMethod, in CGIOperandList()
131 for (OperandInfo &OpInfo : OperandList) in CGIOperandList()
152 for (unsigned i = 0, e = OperandList.size(); i != e; ++i) in hasOperandNamed()
153 if (OperandList[i].Name == Name) { in hasOperandNamed()
181 if (OperandList[OpIdx].MINumOperands > 1 && !AllowWholeOp && in ParseOperandName()
191 DagInit *MIOpInfo = OperandList[OpIdx].MIOperandInfo; in ParseOperandName()
288 if (Op.second >= OperandList[Op.first].DoNotEncode.size()) in ProcessDisableEncoding()
289 OperandList[Op.first].DoNotEncode.resize(Op.second+1); in ProcessDisableEncoding()
290 OperandList[Op.first].DoNotEncode[Op.second] = true; in ProcessDisableEncoding()
DInstrInfoEmitter.cpp114 std::vector<CGIOperandList::OperandInfo> OperandList; in GetOperandInfo() local
124 OperandList.push_back(Op); in GetOperandInfo()
127 OperandList.push_back(Op); in GetOperandInfo()
130 OperandList.back().Rec = OpR; in GetOperandInfo()
134 for (unsigned j = 0, e = OperandList.size(); j != e; ++j) { in GetOperandInfo()
135 Record *OpR = OperandList[j].Rec; in GetOperandInfo()
DX86DisassemblerTables.cpp836 OperandListTy OperandList; in emitInstructionInfo() local
844 OperandList.push_back(std::make_pair(Encoding, Type)); in emitInstructionInfo()
846 unsigned &N = OperandSets[OperandList]; in emitInstructionInfo()
852 for (unsigned i = 0, e = OperandList.size(); i != e; ++i) { in emitInstructionInfo()
853 const char *Encoding = stringForOperandEncoding(OperandList[i].first); in emitInstructionInfo()
854 const char *Type = stringForOperandType(OperandList[i].second); in emitInstructionInfo()
870 OperandListTy OperandList; in emitInstructionInfo() local
877 OperandList.push_back(std::make_pair(Encoding, Type)); in emitInstructionInfo()
879 o.indent(i * 2) << (OperandSets[OperandList] - 1) << ",\n"; in emitInstructionInfo()
/external/swiftshader/third_party/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()
174 return OperandList[Op.first].MIOperandNo + Op.second; in getFlattenedOperandNumber()
181 assert(i < OperandList.size() && "Invalid flat operand #"); in getSubOperandNumber()
182 if (OperandList[i].MIOperandNo+OperandList[i].MINumOperands > Op) in getSubOperandNumber()
[all …]
DCodeGenInstruction.cpp116 OperandList.push_back(OperandInfo(Rec, ArgName, PrintMethod, EncoderMethod, in CGIOperandList()
125 for (unsigned i = 0, e = OperandList.size(); i != e; ++i) in CGIOperandList()
126 OperandList[i].Constraints.resize(OperandList[i].MINumOperands); in CGIOperandList()
146 for (unsigned i = 0, e = OperandList.size(); i != e; ++i) in hasOperandNamed()
147 if (OperandList[i].Name == Name) { in hasOperandNamed()
175 if (OperandList[OpIdx].MINumOperands > 1 && !AllowWholeOp && in ParseOperandName()
185 DagInit *MIOpInfo = OperandList[OpIdx].MIOperandInfo; in ParseOperandName()
279 if (Op.second >= OperandList[Op.first].DoNotEncode.size()) in ProcessDisableEncoding()
280 OperandList[Op.first].DoNotEncode.resize(Op.second+1); in ProcessDisableEncoding()
281 OperandList[Op.first].DoNotEncode[Op.second] = true; in ProcessDisableEncoding()
DInstrInfoEmitter.cpp58 std::vector<CGIOperandList::OperandInfo> OperandList; in GetOperandInfo() local
68 OperandList.push_back(Inst.Operands[i]); in GetOperandInfo()
71 OperandList.push_back(Inst.Operands[i]); in GetOperandInfo()
74 OperandList.back().Rec = OpR; in GetOperandInfo()
78 for (unsigned j = 0, e = OperandList.size(); j != e; ++j) { in GetOperandInfo()
79 Record *OpR = OperandList[j].Rec; in GetOperandInfo()
DX86RecognizableInstr.cpp227 Operands = &insn.Operands.OperandList; in RecognizableInstr()
478 const std::vector<CGIOperandList::OperandInfo> &OperandList = *Operands; in hasFROperands() local
479 unsigned numOperands = OperandList.size(); in hasFROperands()
482 const std::string &recName = OperandList[operandIndex].Rec->getName(); in hasFROperands()
491 const std::vector<CGIOperandList::OperandInfo> &OperandList = *Operands; in has256BitOperands() local
492 unsigned numOperands = OperandList.size(); in has256BitOperands()
495 const std::string &recName = OperandList[operandIndex].Rec->getName(); in has256BitOperands()
557 const std::vector<CGIOperandList::OperandInfo> &OperandList = *Operands; in emitInstructionSpecifier() local
560 unsigned numOperands = OperandList.size(); in emitInstructionSpecifier()
572 if (OperandList[operandIndex].Constraints.size()) { in emitInstructionSpecifier()
[all …]
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitCodes.cpp103 for (unsigned i = 0; i < OperandList.size(); ++i) { in Simplify()
104 const NaClBitCodeAbbrevOp &Op = OperandList[i]; in Simplify()
109 assert(!Op.isArrayOp() || i == OperandList.size()-2); in Simplify()
110 while (Op.isArrayOp() && !Abbrev->OperandList.empty() && in Simplify()
111 Abbrev->OperandList.back() == OperandList[i+1]) { in Simplify()
112 Abbrev->OperandList.pop_back(); in Simplify()
114 Abbrev->OperandList.push_back(Op); in Simplify()
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitCodes.h258 SmallVector<NaClBitCodeAbbrevOp, 8> OperandList;
268 return static_cast<unsigned>(OperandList.size());
271 return OperandList[N];
275 OperandList.push_back(OpInfo);
287 size_t OperandListSize = OperandList.size();
288 size_t AbbrevOperandListSize = Abbrev.OperandList.size();
296 if (int Diff = OperandList[I].Compare(Abbrev.OperandList[I]))
307 return !OperandList[Size-2].isArrayOp();
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/
DBitCodes.h169 SmallVector<BitCodeAbbrevOp, 32> OperandList;
173 return static_cast<unsigned>(OperandList.size());
176 return OperandList[N];
180 OperandList.push_back(OpInfo);
/external/llvm/include/llvm/Bitcode/
DBitCodes.h162 SmallVector<BitCodeAbbrevOp, 32> OperandList;
169 return static_cast<unsigned>(OperandList.size());
172 return OperandList[N];
176 OperandList.push_back(OpInfo);
/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/
DBitCodes.h163 SmallVector<BitCodeAbbrevOp, 8> OperandList; variable
173 return static_cast<unsigned>(OperandList.size()); in getNumOperandInfos()
176 return OperandList[N]; in getOperandInfo()
180 OperandList.push_back(OpInfo); in Add()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dinstruction.h102 using OperandList = std::vector<Operand>;
103 using iterator = OperandList::iterator;
104 using const_iterator = OperandList::const_iterator;
131 const OperandList& in_operands);
215 inline void SetInOperands(OperandList&& new_operands);
303 void ReplaceOperands(const OperandList& new_operands);
462 OperandList operands_;
517 inline void Instruction::SetInOperands(OperandList&& new_operands) { in SetInOperands()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinstruction.h102 using OperandList = std::vector<Operand>;
103 using iterator = OperandList::iterator;
104 using const_iterator = OperandList::const_iterator;
131 const OperandList& in_operands);
215 inline void SetInOperands(OperandList&& new_operands);
303 void ReplaceOperands(const OperandList& new_operands);
462 OperandList operands_;
517 inline void Instruction::SetInOperands(OperandList&& new_operands) { in SetInOperands()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DSelectionDAGNodes.h328 SDUse *OperandList;
470 return (unsigned)(Op - Op->getUser()->OperandList);
535 return OperandList[Num];
539 op_iterator op_begin() const { return OperandList; }
540 op_iterator op_end() const { return OperandList+NumOperands; }
681 OperandList(NumOps ? new SDUse[NumOps] : 0),
686 OperandList[i].setUser(this);
687 OperandList[i].setInitial(Ops[i]);
696 SubclassData(0), NodeId(-1), OperandList(0), ValueList(VTs.VTs),
705 OperandList = Ops;
[all …]
/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstructions.cpp150 OperandList = allocHungoffUses(ReservedSpace); in growOperands()
191 Use *OL = OperandList, *InOL = LP.OperandList; in LandingPadInst()
222 OperandList = allocHungoffUses(ReservedSpace); in init()
223 OperandList[0] = PersFn; in init()
236 Use *OldOps = OperandList; in growOperands()
240 OperandList = NewOps; in growOperands()
249 OperandList[OpNo] = Val; in addClause()
1337 OperandList[0] = Ptr; in init()
3102 OperandList = allocHungoffUses(ReservedSpace); in init()
3104 OperandList[0] = Value; in init()
[all …]
DUser.cpp61 Obj->OperandList = Start; in operator new()

12