Home
last modified time | relevance | path

Searched refs:OtherOpIdx (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTwoAddressInstructionPass.cpp1259 unsigned OtherOpIdx = MI->getDesc().getNumDefs(); in tryInstructionCommute() local
1260 for (; OtherOpIdx < OpsNum; OtherOpIdx++) { in tryInstructionCommute()
1265 if (OtherOpIdx == BaseOpIdx || !MI->getOperand(OtherOpIdx).isReg() || in tryInstructionCommute()
1266 !TII->findCommutedOpIndices(*MI, BaseOpIdx, OtherOpIdx)) in tryInstructionCommute()
1269 Register OtherOpReg = MI->getOperand(OtherOpIdx).getReg(); in tryInstructionCommute()
1284 if (DoCommute && commuteInstruction(MI, DstOpIdx, BaseOpIdx, OtherOpIdx, in tryInstructionCommute()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstraintElimination.cpp1505 unsigned OtherOpIdx = JoinOp->getOperand(0) == CmpToCheck ? 1 : 0; in checkOrAndOpImpliedByOther() local
1510 if (OtherOpIdx != 0 && isa<SelectInst>(JoinOp)) in checkOrAndOpImpliedByOther()
1513 if (!match(JoinOp->getOperand(OtherOpIdx), in checkOrAndOpImpliedByOther()
1535 OtherOpIdx == 0 ? 2 : 0, in checkOrAndOpImpliedByOther()
1539 1 - OtherOpIdx, in checkOrAndOpImpliedByOther()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DGIMatchTableExecutorImpl.h947 uint64_t OtherOpIdx = readULEB(); in executeMatchTable() local
951 << OtherInsnID << "][" << OtherOpIdx << "])\n"); in executeMatchTable()
956 MachineOperand &OtherOp = State.MIs[OtherInsnID]->getOperand(OtherOpIdx); in executeMatchTable()