LLVM
8.0.1
|
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, bool B) | |
Argument (StringRef Key, DebugLoc dl) | |
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 417 of file DiagnosticInfo.h.
|
inlineexplicit |
Definition at line 423 of file DiagnosticInfo.h.
Definition at line 164 of file DiagnosticInfo.cpp.
References llvm::GlobalValue::dropLLVMManglingEscape(), F(), llvm::Value::getName(), I, Loc, llvm::Value::printAsOperand(), and Val.
Definition at line 184 of file DiagnosticInfo.cpp.
Definition at line 190 of file DiagnosticInfo.cpp.
Definition at line 427 of file DiagnosticInfo.h.
References N.
DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
int | N | ||
) |
Definition at line 193 of file DiagnosticInfo.cpp.
DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
float | N | ||
) |
Definition at line 196 of file DiagnosticInfo.cpp.
DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
long | N | ||
) |
Definition at line 199 of file DiagnosticInfo.cpp.
DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
long long | N | ||
) |
Definition at line 202 of file DiagnosticInfo.cpp.
Definition at line 205 of file DiagnosticInfo.cpp.
Definition at line 208 of file DiagnosticInfo.cpp.
Definition at line 212 of file DiagnosticInfo.cpp.
Definition at line 435 of file DiagnosticInfo.h.
Definition at line 216 of file DiagnosticInfo.cpp.
References llvm::DebugLoc::getCol(), llvm::DebugLoc::getLine(), and Val.
std::string llvm::DiagnosticInfoOptimizationBase::Argument::Key |
Definition at line 418 of file DiagnosticInfo.h.
Referenced by llvm::DiagnosticInfoMIROptimization::MachineArgument::MachineArgument(), and llvm::yaml::MappingTraits< DiagnosticInfoOptimizationBase::Argument >::mapping().
DiagnosticLocation llvm::DiagnosticInfoOptimizationBase::Argument::Loc |
Definition at line 421 of file DiagnosticInfo.h.
Referenced by Argument(), and llvm::yaml::MappingTraits< DiagnosticInfoOptimizationBase::Argument >::mapping().
std::string llvm::DiagnosticInfoOptimizationBase::Argument::Val |
Definition at line 419 of file DiagnosticInfo.h.
Referenced by Argument(), llvm::DiagnosticInfoMIROptimization::MachineArgument::MachineArgument(), and llvm::yaml::MappingTraits< DiagnosticInfoOptimizationBase::Argument >::mapping().