Lines Matching refs:Op
186 for (unsigned Op = 1; ; ++Op) {
191 if (FirstInst.Operands.size() == Op)
199 return OtherInst.Operands.size() == Op ||
200 OtherInst.Operands[Op] != FirstInst.Operands[Op];
207 FirstInst.Operands[Op].getCode(PassSubtarget) + "\n";
613 void addOperand(StringRef Op, int OpIdx, int PrintMethodIdx = -1) {
617 OpMap[Op] = std::make_pair(OpIdx, PrintMethodIdx);
620 bool isOpMapped(StringRef Op) { return OpMap.find(Op) != OpMap.end(); }
621 int getOpIndex(StringRef Op) { return OpMap[Op].first; }
622 std::pair<int, int> &getOpData(StringRef Op) { return OpMap[Op]; }
772 const DefInit *Op = cast<DefInit>(DI->getOperator());
773 AliasMap[getQualifiedName(Op->getDef())].insert(
824 std::string Op = "MI->getOperand(" + llvm::utostr(MIOpNum) + ")";
852 IAP.addCond(Op + ".isReg()");
861 ".contains(" + Op + ".getReg())";
863 Cond = Op + ".getReg() == MI->getOperand(" +
882 Op + ", STI, " + llvm::utostr(Entry) + ")";
891 IAP.addCond(Op + ".isImm()");
893 Cond = Op + ".getImm() == " +
906 Cond = Op + ".getReg() == " + Target.getName() + "::" +
926 for (auto &Op : Ops) {
927 assert(!Op.empty() && "Empty operator");
928 if (Op[0] == '!')
930 Op.substr(1).str() + "]";
932 Cond = "STI.getFeatureBits()[" + Namespace + "::" + Op.str() + "]";