[PATCH] D155894: [BPF] allow external calls
Yonghong Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 26 20:10:19 PDT 2023
yonghong-song added a comment.
I checked the code and found that ExternalSymbolSDNode is indeed corresponding to builtin/library functions.
In SelectionDAG/SelectionDAG.cpp, we have
getExternalSymbol(TLI->getLibcallName(RTLIB::MEMCPY),
...
getExternalSymbol(TLI->getLibcallName(LibraryCall),
...
getExternalSymbol(TLI->getLibcallName(RTLIB::MEMMOVE),
...
getExternalSymbol(TLI->getLibcallName(LibraryCall),
...
getExternalSymbol(BzeroName, TLI->getPointerTy(DL)), std::move(Args));
...
getExternalSymbol(TLI->getLibcallName(RTLIB::MEMSET),
...
getExternalSymbol(TLI->getLibcallName(LibraryCall),
...
SDValue Callee = getExternalSymbol(TLI->getLibcallName(LC),
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155894/new/
https://reviews.llvm.org/D155894
More information about the llvm-commits
mailing list