Home
last modified time | relevance | path

Searched refs:Remark (Results 1 – 25 of 68) sorted by relevance

123

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/
DRemark.cpp21 std::string Remark::getArgsAsMsg() const { in getArgsAsMsg()
69 extern "C" void LLVMRemarkEntryDispose(LLVMRemarkEntryRef Remark) { in LLVMRemarkEntryDispose() argument
70 delete unwrap(Remark); in LLVMRemarkEntryDispose()
73 extern "C" LLVMRemarkType LLVMRemarkEntryGetType(LLVMRemarkEntryRef Remark) { in LLVMRemarkEntryGetType() argument
75 return static_cast<LLVMRemarkType>(unwrap(Remark)->RemarkType); in LLVMRemarkEntryGetType()
79 LLVMRemarkEntryGetPassName(LLVMRemarkEntryRef Remark) { in LLVMRemarkEntryGetPassName() argument
80 return wrap(&unwrap(Remark)->PassName); in LLVMRemarkEntryGetPassName()
84 LLVMRemarkEntryGetRemarkName(LLVMRemarkEntryRef Remark) { in LLVMRemarkEntryGetRemarkName() argument
85 return wrap(&unwrap(Remark)->RemarkName); in LLVMRemarkEntryGetRemarkName()
89 LLVMRemarkEntryGetFunctionName(LLVMRemarkEntryRef Remark) { in LLVMRemarkEntryGetFunctionName() argument
[all …]
DYAMLRemarkSerializer.cpp38 template <> struct MappingTraits<remarks::Remark *> {
39 static void mapping(IO &io, remarks::Remark *&Remark) { in mapping()
42 if (io.mapTag("!Passed", (Remark->RemarkType == Type::Passed))) in mapping()
44 else if (io.mapTag("!Missed", (Remark->RemarkType == Type::Missed))) in mapping()
46 else if (io.mapTag("!Analysis", (Remark->RemarkType == Type::Analysis))) in mapping()
49 (Remark->RemarkType == Type::AnalysisFPCommute))) in mapping()
52 (Remark->RemarkType == Type::AnalysisAliasing))) in mapping()
54 else if (io.mapTag("!Failure", (Remark->RemarkType == Type::Failure))) in mapping()
64 unsigned PassID = StrTab.add(Remark->PassName).first; in mapping()
65 unsigned NameID = StrTab.add(Remark->RemarkName).first; in mapping()
[all …]
DRemarkLinker.cpp53 Remark &RemarkLinker::keep(std::unique_ptr<Remark> Remark) { in keep() argument
54 StrTab.internalize(*Remark); in keep()
55 auto Inserted = Remarks.insert(std::move(Remark)); in keep()
64 static bool shouldKeepRemark(const Remark &R) { return R.Loc.hasValue(); } in shouldKeepRemark()
85 Expected<std::unique_ptr<Remark>> Next = Parser.next(); in link()
123 for (const Remark &R : remarks()) in serialize()
DBitstreamRemarkSerializer.cpp268 void BitstreamRemarkSerializerHelper::emitRemarkBlock(const Remark &Remark, in emitRemarkBlock() argument
274 R.push_back(static_cast<uint64_t>(Remark.RemarkType)); in emitRemarkBlock()
275 R.push_back(StrTab.add(Remark.RemarkName).first); in emitRemarkBlock()
276 R.push_back(StrTab.add(Remark.PassName).first); in emitRemarkBlock()
277 R.push_back(StrTab.add(Remark.FunctionName).first); in emitRemarkBlock()
280 if (const Optional<RemarkLocation> &Loc = Remark.Loc) { in emitRemarkBlock()
289 if (Optional<uint64_t> Hotness = Remark.Hotness) { in emitRemarkBlock()
296 for (const Argument &Arg : Remark.Args) { in emitRemarkBlock()
348 void BitstreamRemarkSerializer::emit(const Remark &Remark) { in emit() argument
363 Helper.emitRemarkBlock(Remark, *StrTab); in emit()
DBitstreamRemarkParser.h54 Expected<std::unique_ptr<Remark>> next() override;
64 Expected<std::unique_ptr<Remark>> parseRemark();
72 Expected<std::unique_ptr<Remark>>
DYAMLRemarkParser.h68 Expected<std::unique_ptr<Remark>> next() override;
83 Expected<std::unique_ptr<Remark>> parseRemark(yaml::Document &Remark);
DYAMLRemarkParser.cpp190 Expected<std::unique_ptr<Remark>>
205 std::unique_ptr<Remark> Result = std::make_unique<Remark>(); in parseRemark()
206 Remark &TheRemark = *Result; in parseRemark()
414 Expected<std::unique_ptr<Remark>> YAMLRemarkParser::next() { in next()
418 Expected<std::unique_ptr<Remark>> MaybeResult = parseRemark(*YAMLIt); in next()
DBitstreamRemarkParser.cpp331 Expected<std::unique_ptr<Remark>> BitstreamRemarkParser::next() { in next()
491 Expected<std::unique_ptr<Remark>> BitstreamRemarkParser::parseRemark() { in parseRemark()
499 Expected<std::unique_ptr<Remark>>
501 std::unique_ptr<Remark> Result = std::make_unique<Remark>(); in processRemark()
502 Remark &R = *Result; in processRemark()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Remarks/
DRemark.h67 struct Remark { struct
92 Remark() = default; argument
93 Remark(Remark &&) = default;
94 Remark &operator=(Remark &&) = default; argument
100 Remark clone() const { return *this; } in clone() argument
105 Remark(const Remark &) = default;
106 Remark& operator=(const Remark &) = default; argument
110 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(Remark, LLVMRemarkEntryRef)
156 inline bool operator==(const Remark &LHS, const Remark &RHS) {
163 inline bool operator!=(const Remark &LHS, const Remark &RHS) {
[all …]
DRemarkLinker.h31 bool operator()(const std::unique_ptr<Remark> &LHS, in operator()
32 const std::unique_ptr<Remark> &RHS) const { in operator()
47 std::set<std::unique_ptr<Remark>, RemarkPtrCompare> Remarks;
53 Remark &keep(std::unique_ptr<Remark> Remark);
84 pointee_iterator<std::set<std::unique_ptr<Remark>>::iterator>;
DYAMLRemarkSerializer.h40 void emit(const Remark &Remark) override;
82 void emit(const Remark &Remark) override;
DBitstreamRemarkSerializer.h112 void emitRemarkBlock(const Remark &Remark, StringTable &StrTab);
144 void emit(const Remark &Remark) override;
DRemarkSerializer.h56 virtual void emit(const Remark &Remark) = 0;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DRemarks.h147 extern void LLVMRemarkEntryDispose(LLVMRemarkEntryRef Remark);
155 extern enum LLVMRemarkType LLVMRemarkEntryGetType(LLVMRemarkEntryRef Remark);
163 LLVMRemarkEntryGetPassName(LLVMRemarkEntryRef Remark);
171 LLVMRemarkEntryGetRemarkName(LLVMRemarkEntryRef Remark);
179 LLVMRemarkEntryGetFunctionName(LLVMRemarkEntryRef Remark);
189 LLVMRemarkEntryGetDebugLoc(LLVMRemarkEntryRef Remark);
198 extern uint64_t LLVMRemarkEntryGetHotness(LLVMRemarkEntryRef Remark);
205 extern uint32_t LLVMRemarkEntryGetNumArgs(LLVMRemarkEntryRef Remark);
216 extern LLVMRemarkArgRef LLVMRemarkEntryGetFirstArg(LLVMRemarkEntryRef Remark);
228 LLVMRemarkEntryRef Remark);
/external/python/cpython2/PC/VS7.1/
Dpython20.wse81 item: Remark
83 item: Remark
86 item: Remark
89 item: Remark
92 item: Remark
95 item: Remark
98 item: Remark
101 item: Remark
104 item: Remark
107 item: Remark
[all …]
DUninstal.wse24 item: Remark
27 item: Remark
30 item: Remark
32 item: Remark
35 item: Remark
64 item: Remark
66 item: Remark
69 item: Remark
416 item: Remark
418 item: Remark
[all …]
/external/clang/include/clang/Basic/
DDiagnosticFrontendKinds.td35 def remark_fe_backend_plugin: Remark<"%0">, BackendInfo, InGroup<RemarkBackendPlugin>;
42 def remark_fe_backend_optimization_remark : Remark<"%0">, BackendInfo,
44 def remark_fe_backend_optimization_remark_missed : Remark<"%0">, BackendInfo,
46 def remark_fe_backend_optimization_remark_analysis : Remark<"%0">, BackendInfo,
48 def remark_fe_backend_optimization_remark_analysis_fpcommute : Remark<"%0; "
52 def remark_fe_backend_optimization_remark_analysis_aliasing : Remark<"%0; "
66 def remark_sanitize_address_insert_extra_padding_accepted : Remark<
69 def remark_sanitize_address_insert_extra_padding_rejected : Remark<
201 def remark_module_build : Remark<"building module '%0' as '%1'">,
203 def remark_module_build_done : Remark<"finished building module '%0'">,
DDiagnosticIDs.h65 Remark = 2, ///< Present this diagnostic as a remark. enumerator
76 Remark ///< A diagnostic that indicates normal progress through enumerator
120 Ignored, Note, Remark, Warning, Error, Fatal enumerator
DDiagnosticOptions.h33 Remark = 1 << 1, enumerator
36 All = Note | Remark | Warning | Error
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineOptimizationRemarkEmitter.cpp43 DiagnosticInfoMIROptimization &Remark) { in computeHotness() argument
44 const MachineBasicBlock *MBB = Remark.getBlock(); in computeHotness()
46 Remark.setHotness(computeHotness(*MBB)); in computeHotness()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DLLVMContext.cpp193 if (auto *Remark = dyn_cast<DiagnosticInfoOptimizationBase>(&DI)) in isDiagnosticEnabled() local
194 return Remark->isEnabled() && in isDiagnosticEnabled()
195 (!Remark->isVerbose() || Remark->getHotness()); in isDiagnosticEnabled()
DRemarkStreamer.cpp83 remarks::Remark
85 remarks::Remark R; // The result. in toRemark()
110 remarks::Remark R = toRemark(Diag); in emit()
/external/clang/lib/Frontend/
DTextDiagnosticBuffer.cpp38 case DiagnosticsEngine::Remark: in HandleDiagnostic()
57 Diags.Report(Diags.getCustomDiagID(DiagnosticsEngine::Remark, "%0")) in FlushDiagnostics()
/external/clang/lib/Basic/
DWarnings.cpp200 const auto Flavor = diag::Flavor::Remark; in ProcessWarningOptions()
207 auto Severity = IsPositive ? diag::Severity::Remark in ProcessWarningOptions()
225 IsPositive ? diag::Severity::Remark in ProcessWarningOptions()
/external/llvm/test/Bindings/OCaml/
Ddiagnostic_handler.ml17 | Remark -> Printf.printf "Diagnostic severity is Remark\n"

123