LLVM
15.0.0git
|
Used in the streaming interface as the general argument type. More...
#include "llvm/IR/DiagnosticInfo.h"
Public Member Functions | |
Argument (StringRef Str="") | |
Argument (StringRef Key, const Value *V) | |
Argument (StringRef Key, const Type *T) | |
Argument (StringRef Key, StringRef S) | |
Argument (StringRef Key, const char *S) | |
Argument (StringRef Key, int N) | |
Argument (StringRef Key, float N) | |
Argument (StringRef Key, long N) | |
Argument (StringRef Key, long long N) | |
Argument (StringRef Key, unsigned N) | |
Argument (StringRef Key, unsigned long N) | |
Argument (StringRef Key, unsigned long long N) | |
Argument (StringRef Key, ElementCount EC) | |
Argument (StringRef Key, bool B) | |
Argument (StringRef Key, DebugLoc dl) | |
Argument (StringRef Key, InstructionCost C) | |
Public Attributes | |
std::string | Key |
std::string | Val |
DiagnosticLocation | Loc |
Used in the streaming interface as the general argument type.
It internally converts everything into a key-value pair.
Definition at line 427 of file DiagnosticInfo.h.
|
inlineexplicit |
Definition at line 433 of file DiagnosticInfo.h.
Definition at line 156 of file DiagnosticInfo.cpp.
References llvm::GlobalValue::dropLLVMManglingEscape(), F, llvm::Value::getName(), I, Loc, llvm::Value::printAsOperand(), string, and Val.
Definition at line 177 of file DiagnosticInfo.cpp.
Definition at line 183 of file DiagnosticInfo.cpp.
References string.
Definition at line 437 of file DiagnosticInfo.h.
Definition at line 186 of file DiagnosticInfo.cpp.
References string.
DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
float | N | ||
) |
Definition at line 189 of file DiagnosticInfo.cpp.
References string.
DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
long | N | ||
) |
Definition at line 192 of file DiagnosticInfo.cpp.
References string.
DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
long long | N | ||
) |
Definition at line 195 of file DiagnosticInfo.cpp.
References string.
DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
unsigned | N | ||
) |
Definition at line 198 of file DiagnosticInfo.cpp.
References string.
DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
unsigned long | N | ||
) |
Definition at line 201 of file DiagnosticInfo.cpp.
References string.
DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
unsigned long long | N | ||
) |
Definition at line 205 of file DiagnosticInfo.cpp.
References string.
DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
ElementCount | EC | ||
) |
Definition at line 209 of file DiagnosticInfo.cpp.
|
inline |
Definition at line 446 of file DiagnosticInfo.h.
Definition at line 223 of file DiagnosticInfo.cpp.
References llvm::DiagnosticLocation::getLine(), Loc, string, and Val.
DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
InstructionCost | C | ||
) |
Definition at line 216 of file DiagnosticInfo.cpp.
std::string llvm::DiagnosticInfoOptimizationBase::Argument::Key |
Definition at line 428 of file DiagnosticInfo.h.
Referenced by llvm::DiagnosticInfoMIROptimization::MachineArgument::MachineArgument().
DiagnosticLocation llvm::DiagnosticInfoOptimizationBase::Argument::Loc |
Definition at line 431 of file DiagnosticInfo.h.
Referenced by Argument().
std::string llvm::DiagnosticInfoOptimizationBase::Argument::Val |
Definition at line 429 of file DiagnosticInfo.h.
Referenced by Argument(), and llvm::DiagnosticInfoMIROptimization::MachineArgument::MachineArgument().