31 auto *It =
find_if(
Args, [&](
auto &Arg) {
return Arg.Key ==
Key; });
44 OS <<
Key <<
": " <<
Val <<
"\n";
52 OS <<
"PassName: " <<
PassName <<
"\n";
54 OS <<
"Loc: " <<
Loc.value();
99 if (
const std::optional<RemarkLocation> &
Loc =
unwrap(Arg)->
Loc)
136 if (
const std::optional<uint64_t> &Hotness =
unwrap(
Remark)->Hotness)
152 const_cast<Argument *
>(Args.begin()));
158 if (ArgIt ==
nullptr)
162 auto Next = std::next(It);
This file implements a class to represent arbitrary precision integral constant values and operations...
MachineBasicBlock MachineBasicBlock::iterator DebugLoc DL
#define DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref)
static const char PassName[]
This class represents an incoming formal argument to a Function.
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
const_pointer const_iterator
StringRef - Represent a constant reference to a string, i.e.
This class implements an extremely fast bulk output stream that can only output to a stream.
A raw_ostream that writes to an std::string.
This is an optimization pass for GlobalISel generic memory operations.
LLVM_ATTRIBUTE_VISIBILITY_DEFAULT AnalysisKey InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key
Attribute unwrap(LLVMAttributeRef Attr)
FunctionAddr VTableAddr Next
auto find_if(R &&Range, UnaryPredicate P)
Provide wrappers to std::find_if which take ranges instead of having to pass begin/end explicitly.
LLVMAttributeRef wrap(Attribute Attr)