LLVM 22.0.0git
|
Used in the streaming interface as the general argument type. More...
#include "llvm/IR/DiagnosticInfo.h"
Public Member Functions | |
Argument (StringRef Str="") | |
LLVM_ABI | Argument (StringRef Key, const Value *V) |
LLVM_ABI | Argument (StringRef Key, const Type *T) |
LLVM_ABI | Argument (StringRef Key, StringRef S) |
Argument (StringRef Key, const char *S) | |
LLVM_ABI | Argument (StringRef Key, int N) |
LLVM_ABI | Argument (StringRef Key, float N) |
LLVM_ABI | Argument (StringRef Key, long N) |
LLVM_ABI | Argument (StringRef Key, long long N) |
LLVM_ABI | Argument (StringRef Key, unsigned N) |
LLVM_ABI | Argument (StringRef Key, unsigned long N) |
LLVM_ABI | Argument (StringRef Key, unsigned long long N) |
LLVM_ABI | Argument (StringRef Key, ElementCount EC) |
Argument (StringRef Key, bool B) | |
LLVM_ABI | Argument (StringRef Key, DebugLoc dl) |
LLVM_ABI | 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 536 of file DiagnosticInfo.h.
|
inlineexplicit |
Definition at line 202 of file DiagnosticInfo.cpp.
References llvm::GlobalValue::dropLLVMManglingEscape(), llvm::dyn_cast(), F, I, if(), II, llvm::isa(), Key, Loc, and Val.
Definition at line 230 of file DiagnosticInfo.cpp.
Definition at line 236 of file DiagnosticInfo.cpp.
Definition at line 546 of file DiagnosticInfo.h.
References Argument(), and Key.
DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
int | N ) |
Definition at line 239 of file DiagnosticInfo.cpp.
References llvm::itostr(), Key, N, and Val.
DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
float | N ) |
Definition at line 242 of file DiagnosticInfo.cpp.
References Key, N, llvm::to_string(), and Val.
DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
long | N ) |
Definition at line 245 of file DiagnosticInfo.cpp.
References llvm::itostr(), Key, N, and Val.
DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
long long | N ) |
Definition at line 248 of file DiagnosticInfo.cpp.
References llvm::itostr(), Key, N, and Val.
Definition at line 251 of file DiagnosticInfo.cpp.
References Key, N, llvm::utostr(), and Val.
Definition at line 254 of file DiagnosticInfo.cpp.
References Key, N, llvm::utostr(), and Val.
Definition at line 258 of file DiagnosticInfo.cpp.
References Key, N, llvm::utostr(), and Val.
DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
ElementCount | EC ) |
Definition at line 262 of file DiagnosticInfo.cpp.
Definition at line 555 of file DiagnosticInfo.h.
Definition at line 276 of file DiagnosticInfo.cpp.
DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
InstructionCost | C ) |
Definition at line 269 of file DiagnosticInfo.cpp.
References llvm::CallingConv::C, Key, and Val.
std::string llvm::DiagnosticInfoOptimizationBase::Argument::Key |
Definition at line 537 of file DiagnosticInfo.h.
Referenced by Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), and llvm::DiagnosticInfoMIROptimization::MachineArgument::MachineArgument().
DiagnosticLocation llvm::DiagnosticInfoOptimizationBase::Argument::Loc |
Definition at line 540 of file DiagnosticInfo.h.
Referenced by Argument(), and Argument().
std::string llvm::DiagnosticInfoOptimizationBase::Argument::Val |
Definition at line 538 of file DiagnosticInfo.h.
Referenced by Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), llvm::DiagnosticInfoMIROptimization::MachineArgument::MachineArgument(), and llvm::operator<<().