Home
last modified time | relevance | path

Searched refs:DiagnosticArgument (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/mlir/include/mlir/IR/
DDiagnostics.h51 class DiagnosticArgument {
104 explicit DiagnosticArgument(Attribute attr);
107 explicit DiagnosticArgument(double val) in DiagnosticArgument() function
109 explicit DiagnosticArgument(float val) : DiagnosticArgument(double(val)) {} in DiagnosticArgument() function
113 explicit DiagnosticArgument(
121 explicit DiagnosticArgument(
128 explicit DiagnosticArgument(StringRef val) in DiagnosticArgument() function
132 explicit DiagnosticArgument(Type val);
145 inline raw_ostream &operator<<(raw_ostream &os, const DiagnosticArgument &arg) {
187 MutableArrayRef<DiagnosticArgument> getArguments() { return arguments; } in getArguments()
[all …]
/external/llvm-project/mlir/lib/IR/
DDiagnostics.cpp34 DiagnosticArgument::DiagnosticArgument(Attribute attr) in DiagnosticArgument() function in DiagnosticArgument
39 DiagnosticArgument::DiagnosticArgument(Type val) in DiagnosticArgument() function in DiagnosticArgument
44 Attribute DiagnosticArgument::getAsAttribute() const { in getAsAttribute()
51 Type DiagnosticArgument::getAsType() const { in getAsType()
57 void DiagnosticArgument::print(raw_ostream &os) const { in print()
101 arguments.push_back(DiagnosticArgument(twineToStrRef(val, strings))); in operator <<()
105 arguments.push_back(DiagnosticArgument(twineToStrRef(val, strings))); in operator <<()
113 arguments.push_back(DiagnosticArgument(val.strref())); in operator <<()
121 arguments.push_back(DiagnosticArgument(val.getStringRef())); in operator <<()