/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/ |
D | Remark.cpp | 21 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 …]
|
D | YAMLRemarkSerializer.cpp | 38 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 …]
|
D | RemarkLinker.cpp | 53 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()
|
D | BitstreamRemarkSerializer.cpp | 268 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()
|
D | BitstreamRemarkParser.h | 54 Expected<std::unique_ptr<Remark>> next() override; 64 Expected<std::unique_ptr<Remark>> parseRemark(); 72 Expected<std::unique_ptr<Remark>>
|
D | YAMLRemarkParser.h | 68 Expected<std::unique_ptr<Remark>> next() override; 83 Expected<std::unique_ptr<Remark>> parseRemark(yaml::Document &Remark);
|
D | YAMLRemarkParser.cpp | 190 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()
|
D | BitstreamRemarkParser.cpp | 331 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()
|
D | CMakeLists.txt | 4 Remark.cpp
|
D | RemarkStringTable.cpp | 41 void StringTable::internalize(Remark &R) { in internalize()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Remarks/ |
D | Remark.h | 67 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 …]
|
D | RemarkLinker.h | 31 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>;
|
D | YAMLRemarkSerializer.h | 40 void emit(const Remark &Remark) override; 82 void emit(const Remark &Remark) override;
|
D | BitstreamRemarkSerializer.h | 112 void emitRemarkBlock(const Remark &Remark, StringTable &StrTab); 144 void emit(const Remark &Remark) override;
|
D | RemarkSerializer.h | 56 virtual void emit(const Remark &Remark) = 0;
|
D | RemarkStringTable.h | 58 void internalize(Remark &R);
|
D | RemarkParser.h | 52 virtual Expected<std::unique_ptr<Remark>> next() = 0;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/ |
D | Remarks.h | 147 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);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineOptimizationRemarkEmitter.cpp | 43 DiagnosticInfoMIROptimization &Remark) { in computeHotness() argument 44 const MachineBasicBlock *MBB = Remark.getBlock(); in computeHotness() 46 Remark.setHotness(computeHotness(*MBB)); in computeHotness()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | LLVMContext.cpp | 193 if (auto *Remark = dyn_cast<DiagnosticInfoOptimizationBase>(&DI)) in isDiagnosticEnabled() local 194 return Remark->isEnabled() && in isDiagnosticEnabled() 195 (!Remark->isVerbose() || Remark->getHotness()); in isDiagnosticEnabled()
|
D | RemarkStreamer.cpp | 83 remarks::Remark 85 remarks::Remark R; // The result. in toRemark() 110 remarks::Remark R = toRemark(Diag); in emit()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | WithColor.cpp | 53 case HighlightColor::Remark: in WithColor() 95 return WithColor(OS, HighlightColor::Remark, DisableColors).get() in remark()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | SampleProfile.cpp | 727 OptimizationRemarkAnalysis Remark(DEBUG_TYPE, "AppliedSamples", &Inst); in getInstWeight() local 728 Remark << "Applied " << ore::NV("NumSamples", *R); in getInstWeight() 729 Remark << " samples from profile (offset: "; in getInstWeight() 730 Remark << ore::NV("LineOffset", LineOffset); in getInstWeight() 732 Remark << "."; in getInstWeight() 733 Remark << ore::NV("Discriminator", Discriminator); in getInstWeight() 735 Remark << ")"; in getInstWeight() 736 return Remark; in getInstWeight()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | WithColor.h | 32 Remark enumerator
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | RemarkStreamer.h | 38 remarks::Remark toRemark(const DiagnosticInfoOptimizationBase &Diag);
|