Lines Matching defs:VerifierSupport
137 struct VerifierSupport { struct
138 raw_ostream *OS;
139 const Module &M;
140 ModuleSlotTracker MST;
141 Triple TT;
142 const DataLayout &DL;
143 LLVMContext &Context;
146 bool Broken = false;
148 bool BrokenDebugInfo = false;
150 bool TreatBrokenDebugInfoAsError = true;
152 explicit VerifierSupport(raw_ostream *OS, const Module &M) in VerifierSupport() function
157 void Write(const Module *M) { in Write()
161 void Write(const Value *V) { in Write()
166 void Write(const Value &V) { in Write()
176 void Write(const DPValue *V) { in Write()
181 void Write(const Metadata *MD) { in Write()
188 template <class T> void Write(const MDTupleTypedArrayWrapper<T> &MD) { in Write()
192 void Write(const NamedMDNode *NMD) { in Write()
199 void Write(Type *T) { in Write()
205 void Write(const Comdat *C) { in Write()
211 void Write(const APInt *AI) { in Write()
217 void Write(const unsigned i) { *OS << i << '\n'; } in Write()
220 void Write(const Attribute *A) { in Write()
227 void Write(const AttributeSet *AS) { in Write()
234 void Write(const AttributeList *AL) { in Write()
240 void Write(Printable P) { *OS << P << '\n'; } in Write()
242 template <typename T> void Write(ArrayRef<T> Vs) { in Write()
248 void WriteTs(const T1 &V1, const Ts &... Vs) { in WriteTs()
253 template <typename... Ts> void WriteTs() {} in WriteTs()
260 void CheckFailed(const Twine &Message) { in CheckFailed()
271 void CheckFailed(const Twine &Message, const T1 &V1, const Ts &... Vs) { in CheckFailed()
278 void DebugInfoCheckFailed(const Twine &Message) { in DebugInfoCheckFailed()
287 void DebugInfoCheckFailed(const Twine &Message, const T1 &V1, in DebugInfoCheckFailed()