| 78 | } |
| 79 | |
| 80 | void RDNode::setFirstUse(llvm::CallBase &CB, int ArgNo) { |
| 81 | |
| 82 | auto *CF = CB.getCalledFunction(); |
| 83 | if (CF && CF->isDeclaration()) { |
| 84 | FirstUses.clear(); |
| 85 | addFirstUse(CB, ArgNo); |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | void RDNode::setForcedDef() { this->ForcedDef = true; } |
| 90 |