================ @@ -517,6 +520,32 @@ class LLVM_ABI MachineFunction { SmallVector<ArgRegPair, 1> ArgRegPairs; /// Callee type ids. SmallVector<ConstantInt *, 4> CalleeTypeIds; + + CallSiteInfo() = default; + + /// Extracts the numeric type id from the CallBase's callee_type Metadata, + /// and sets CalleeTypeIds. This is used as type id for the indirect call in + /// the call graph section. + CallSiteInfo(const CallBase &CB) { ---------------- Prabhuk wrote:
I started a new PR #151520 to address this. PTAL. https://github.com/llvm/llvm-project/pull/87575 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits