struct FunctionSummary::ParamAccess
Declaration
struct FunctionSummary::ParamAccess { /* full declaration omitted */ };
Description
Describes the uses of a parameter by the function.
Declared at: llvm/include/llvm/IR/ModuleSummaryIndex.h:631
Member Variables
- public uint64_t ParamNo = 0
- public llvm::ConstantRange Use = {RangeWidth, true}
- The range contains byte offsets from the parameter pointer which accessed by the function. In the per-module summary, it only includes accesses made by the function instructions. In the combined summary, it also includes accesses by nested function calls.
- public std::vector<Call> Calls
- In the per-module summary, it summarizes the byte offset applied to each pointer parameter before passing to each corresponding callee. In the combined summary, it's empty and information is propagated by inter-procedural analysis and applied to the Use field.
- public static const uint32_t RangeWidth = 64
Method Overview
- public ParamAccess()
- public ParamAccess(uint64_t ParamNo, const llvm::ConstantRange & Use)
Methods
¶ParamAccess()
ParamAccess()
Declared at: llvm/include/llvm/IR/ModuleSummaryIndex.h:659
¶ParamAccess(uint64_t ParamNo,
const llvm::ConstantRange& Use)
ParamAccess(uint64_t ParamNo,
const llvm::ConstantRange& Use)
Declared at: llvm/include/llvm/IR/ModuleSummaryIndex.h:660
Parameters
- uint64_t ParamNo
- const llvm::ConstantRange& Use