Lines Matching defs:VerifierSupport
119 struct VerifierSupport { struct
120 raw_ostream *OS;
121 const Module &M;
122 ModuleSlotTracker MST;
123 const DataLayout &DL;
124 LLVMContext &Context;
127 bool Broken = false;
129 bool BrokenDebugInfo = false;
131 bool TreatBrokenDebugInfoAsError = true;
133 explicit VerifierSupport(raw_ostream *OS, const Module &M) in VerifierSupport() argument
137 void Write(const Module *M) { in Write()
141 void Write(const Value *V) { in Write()
146 void Write(const Value &V) { in Write()
156 void Write(const Metadata *MD) { in Write()
163 template <class T> void Write(const MDTupleTypedArrayWrapper<T> &MD) { in Write()
167 void Write(const NamedMDNode *NMD) { in Write()
174 void Write(Type *T) { in Write()
180 void Write(const Comdat *C) { in Write()
186 void Write(const APInt *AI) { in Write()
192 void Write(const unsigned i) { *OS << i << '\n'; } in Write()
194 template <typename T> void Write(ArrayRef<T> Vs) { in Write()
200 void WriteTs(const T1 &V1, const Ts &... Vs) { in WriteTs()
205 template <typename... Ts> void WriteTs() {} in WriteTs()
212 void CheckFailed(const Twine &Message) { in CheckFailed()
223 void CheckFailed(const Twine &Message, const T1 &V1, const Ts &... Vs) { in CheckFailed()
230 void DebugInfoCheckFailed(const Twine &Message) { in DebugInfoCheckFailed()
239 void DebugInfoCheckFailed(const Twine &Message, const T1 &V1, in DebugInfoCheckFailed()