| 2371 | |
| 2372 | |
| 2373 | bool LowLevelILInstruction::GetOperandIndexForUsage(LowLevelILOperandUsage usage, size_t& operandIndex) const |
| 2374 | { |
| 2375 | auto operationIter = LowLevelILInstructionBase::operationOperandIndex.find(operation); |
| 2376 | if (operationIter == LowLevelILInstructionBase::operationOperandIndex.end()) |
| 2377 | return false; |
| 2378 | auto usageIter = operationIter->second.find(usage); |
| 2379 | if (usageIter == operationIter->second.end()) |
| 2380 | return false; |
| 2381 | operandIndex = usageIter->second; |
| 2382 | return true; |
| 2383 | } |
| 2384 | |
| 2385 | |
| 2386 | LowLevelILInstruction LowLevelILInstruction::GetSourceExpr() const |