| 21 | std::unique_ptr<UTLoader> Loader; |
| 22 | |
| 23 | ASTDefNode *getADN(std::string FuncName, unsigned BIdx, unsigned IIdx, |
| 24 | int OIdx) { |
| 25 | if (!IRAccess || !ASTMap) |
| 26 | return nullptr; |
| 27 | |
| 28 | auto *I = IRAccess->getInstruction(FuncName, BIdx, IIdx); |
| 29 | if (!I) |
| 30 | return nullptr; |
| 31 | if (OIdx != -1 && (unsigned)OIdx >= I->getNumOperands()) |
| 32 | return nullptr; |
| 33 | return ASTMap->getASTDefNode(*I, OIdx); |
| 34 | } |
| 35 | |
| 36 | const ASTNode *getRValueASTNode(std::string FuncName, unsigned BIdx, |
| 37 | unsigned IIdx, int OIdx) { |
nothing calls this directly
no test coverage detected