Lines Matching defs:VerifierSupport
124 struct VerifierSupport { struct
125 raw_ostream *OS;
126 const Module &M;
127 ModuleSlotTracker MST;
128 Triple TT;
129 const DataLayout &DL;
130 LLVMContext &Context;
133 bool Broken = false;
135 bool BrokenDebugInfo = false;
137 bool TreatBrokenDebugInfoAsError = true;
139 explicit VerifierSupport(raw_ostream *OS, const Module &M) in VerifierSupport() function
144 void Write(const Module *M) { in Write()
148 void Write(const Value *V) { in Write()
153 void Write(const Value &V) { in Write()
163 void Write(const Metadata *MD) { in Write()
170 template <class T> void Write(const MDTupleTypedArrayWrapper<T> &MD) { in Write()
174 void Write(const NamedMDNode *NMD) { in Write()
181 void Write(Type *T) { in Write()
187 void Write(const Comdat *C) { in Write()
193 void Write(const APInt *AI) { in Write()
199 void Write(const unsigned i) { *OS << i << '\n'; } in Write()
202 void Write(const Attribute *A) { in Write()
209 void Write(const AttributeSet *AS) { in Write()
216 void Write(const AttributeList *AL) { in Write()
222 template <typename T> void Write(ArrayRef<T> Vs) { in Write()
228 void WriteTs(const T1 &V1, const Ts &... Vs) { in WriteTs()
233 template <typename... Ts> void WriteTs() {} in WriteTs()
240 void CheckFailed(const Twine &Message) { in CheckFailed()
251 void CheckFailed(const Twine &Message, const T1 &V1, const Ts &... Vs) { in CheckFailed()
258 void DebugInfoCheckFailed(const Twine &Message) { in DebugInfoCheckFailed()
267 void DebugInfoCheckFailed(const Twine &Message, const T1 &V1, in DebugInfoCheckFailed()