/external/llvm/include/llvm/IR/ |
D | User.h | 45 Use *OperandList; 53 : Value(ty, vty), OperandList(OpList), NumOperands(NumOps) {} in User() 56 Use::zap(OperandList, OperandList + NumOperands, true); in dropHungoffUses() 57 OperandList = 0; in dropHungoffUses() 63 Use::zap(OperandList, OperandList + NumOperands); in ~User() 90 return OperandList[i]; in getOperand() 97 OperandList[i] = Val; in setOperand() 101 return OperandList[i]; in getOperandUse() 105 return OperandList[i]; in getOperandUse() 116 inline op_iterator op_begin() { return OperandList; } in op_begin() [all …]
|
D | OperandTraits.h | 95 return U->OperandList; in op_begin() 98 return U->OperandList + U->getNumOperands(); in op_end()
|
D | Instructions.h | 1987 OperandList = allocHungoffUses(ReservedSpace); 1995 OperandList = allocHungoffUses(ReservedSpace); 2231 Value *getClause(unsigned Idx) const { return OperandList[Idx + 1]; } 2235 return !isa<ArrayType>(OperandList[Idx + 1]->getType()); 2240 return isa<ArrayType>(OperandList[Idx + 1]->getType());
|
/external/llvm/utils/TableGen/ |
D | CodeGenInstruction.h | 137 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() 173 return OperandList[Op.first].MIOperandNo + Op.second; in getFlattenedOperandNumber() 180 assert(i < OperandList.size() && "Invalid flat operand #"); in getSubOperandNumber() 181 if (OperandList[i].MIOperandNo+OperandList[i].MINumOperands > Op) in getSubOperandNumber() [all …]
|
D | CodeGenInstruction.cpp | 115 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() 280 if (Op.second >= OperandList[Op.first].DoNotEncode.size()) in ProcessDisableEncoding() 281 OperandList[Op.first].DoNotEncode.resize(Op.second+1); in ProcessDisableEncoding() 282 OperandList[Op.first].DoNotEncode[Op.second] = true; in ProcessDisableEncoding()
|
D | X86DisassemblerTables.cpp | 454 OperandListTy OperandList; in emitInstructionInfo() local 464 OperandList.push_back(std::make_pair(Encoding, Type)); in emitInstructionInfo() 466 unsigned &N = OperandSets[OperandList]; in emitInstructionInfo() 472 for (unsigned i = 0, e = OperandList.size(); i != e; ++i) { in emitInstructionInfo() 473 o << " { " << OperandList[i].first << ", " in emitInstructionInfo() 474 << OperandList[i].second << " },\n"; in emitInstructionInfo() 497 OperandListTy OperandList; in emitInstructionInfo() local 506 OperandList.push_back(std::make_pair(Encoding, Type)); in emitInstructionInfo() 508 o.indent(i * 2) << (OperandSets[OperandList] - 1) << ",\n"; in emitInstructionInfo()
|
D | InstrInfoEmitter.cpp | 79 std::vector<CGIOperandList::OperandInfo> OperandList; in GetOperandInfo() local 89 OperandList.push_back(Inst.Operands[i]); in GetOperandInfo() 92 OperandList.push_back(Inst.Operands[i]); in GetOperandInfo() 95 OperandList.back().Rec = OpR; in GetOperandInfo() 99 for (unsigned j = 0, e = OperandList.size(); j != e; ++j) { in GetOperandInfo() 100 Record *OpR = OperandList[j].Rec; in GetOperandInfo()
|
D | X86RecognizableInstr.cpp | 242 Operands = &insn.Operands.OperandList; in RecognizableInstr() 470 const std::vector<CGIOperandList::OperandInfo> &OperandList = *Operands; in hasFROperands() local 471 unsigned numOperands = OperandList.size(); in hasFROperands() 474 const std::string &recName = OperandList[operandIndex].Rec->getName(); in hasFROperands() 535 const std::vector<CGIOperandList::OperandInfo> &OperandList = *Operands; in emitInstructionSpecifier() local 537 unsigned numOperands = OperandList.size(); in emitInstructionSpecifier() 546 if (OperandList[operandIndex].Constraints.size()) { in emitInstructionSpecifier() 548 OperandList[operandIndex].Constraints[0]; in emitInstructionSpecifier()
|
/external/llvm/include/llvm/Bitcode/ |
D | BitCodes.h | 165 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/ |
D | SelectionDAGNodes.h | 338 SDUse *OperandList; 480 return (unsigned)(Op - Op->getUser()->OperandList); 545 return OperandList[Num]; 549 op_iterator op_begin() const { return OperandList; } 550 op_iterator op_end() const { return OperandList+NumOperands; } 694 OperandList(NumOps ? new SDUse[NumOps] : 0), 699 OperandList[i].setUser(this); 700 OperandList[i].setInitial(Ops[i]); 709 SubclassData(0), NodeId(-1), OperandList(0), ValueList(VTs.VTs), 718 OperandList = Ops; [all …]
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 151 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() 1335 OperandList[0] = Ptr; in init() 3146 OperandList = allocHungoffUses(ReservedSpace); in init() 3148 OperandList[0] = Value; in init() [all …]
|
D | User.cpp | 64 Obj->OperandList = Start; in operator new()
|
D | Constants.cpp | 2145 OperandList[0] = C; in GetElementPtrConstantExpr() 2147 OperandList[i+1] = IdxList[i]; in GetElementPtrConstantExpr() 2546 for (Use *O = OperandList, *E = OperandList+getNumOperands(); O != E; ++O) { in replaceUsesOfWithOnConstant() 2579 unsigned OperandToUpdate = U - OperandList; in replaceUsesOfWithOnConstant() 2608 unsigned OperandToUpdate = U-OperandList; in replaceUsesOfWithOnConstant() 2622 for (Use *O = OperandList, *E = OperandList+getNumOperands(); O != E; ++O) { in replaceUsesOfWithOnConstant() 2629 for (Use *O = OperandList, *E = OperandList+getNumOperands(); O != E; ++O) { in replaceUsesOfWithOnConstant() 2635 for (Use *O = OperandList, *E = OperandList + getNumOperands(); O != E; ++O) in replaceUsesOfWithOnConstant()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 631 delete[] N->OperandList; in DeallocateNode() 4925 N->OperandList[0].set(Op); in UpdateNodeOperands() 4950 if (N->OperandList[0] != Op1) in UpdateNodeOperands() 4951 N->OperandList[0].set(Op1); in UpdateNodeOperands() 4952 if (N->OperandList[1] != Op2) in UpdateNodeOperands() 4953 N->OperandList[1].set(Op2); in UpdateNodeOperands() 5009 if (N->OperandList[i] != Ops[i]) in UpdateNodeOperands() 5010 N->OperandList[i].set(Ops[i]); in UpdateNodeOperands() 5201 delete[] MN->OperandList; in MorphNodeTo() 5212 MN->InitOperands(MN->OperandList, Ops, NumOps); in MorphNodeTo() [all …]
|