|
LLVM 23.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) |
| LLVM_ABI | Argument (StringRef Key, BranchProbability P) |
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 538 of file DiagnosticInfo.h.
|
inlineexplicit |
Definition at line 203 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 235 of file DiagnosticInfo.cpp.
Definition at line 548 of file DiagnosticInfo.h.
References Argument(), and Key.
| DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
| int | N ) |
Definition at line 238 of file DiagnosticInfo.cpp.
References llvm::itostr(), Key, N, and Val.
| DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
| float | N ) |
Definition at line 241 of file DiagnosticInfo.cpp.
References Key, N, llvm::to_string(), and Val.
| DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
| long | N ) |
Definition at line 244 of file DiagnosticInfo.cpp.
References llvm::itostr(), Key, N, and Val.
| DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
| long long | N ) |
Definition at line 247 of file DiagnosticInfo.cpp.
References llvm::itostr(), Key, N, and Val.
Definition at line 250 of file DiagnosticInfo.cpp.
References Key, N, llvm::utostr(), and Val.
Definition at line 253 of file DiagnosticInfo.cpp.
References Key, N, llvm::utostr(), and Val.
Definition at line 257 of file DiagnosticInfo.cpp.
References Key, N, llvm::utostr(), and Val.
| DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
| ElementCount | EC ) |
Definition at line 261 of file DiagnosticInfo.cpp.
Definition at line 557 of file DiagnosticInfo.h.
Definition at line 282 of file DiagnosticInfo.cpp.
| DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
| InstructionCost | C ) |
Definition at line 268 of file DiagnosticInfo.cpp.
References llvm::CallingConv::C, Key, and Val.
| DiagnosticInfoOptimizationBase::Argument::Argument | ( | StringRef | Key, |
| BranchProbability | P ) |
Definition at line 275 of file DiagnosticInfo.cpp.
| std::string llvm::DiagnosticInfoOptimizationBase::Argument::Key |
Definition at line 539 of file DiagnosticInfo.h.
Referenced by Argument(), 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 542 of file DiagnosticInfo.h.
Referenced by Argument(), and Argument().
| std::string llvm::DiagnosticInfoOptimizationBase::Argument::Val |
Definition at line 540 of file DiagnosticInfo.h.
Referenced by Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), Argument(), llvm::DiagnosticInfoMIROptimization::MachineArgument::MachineArgument(), and llvm::operator<<().