Lines Matching refs:CheckFailed
212 void CheckFailed(const Twine &Message) { in CheckFailed() function
223 void CheckFailed(const Twine &Message, const T1 &V1, const Ts &... Vs) { in CheckFailed() function
224 CheckFailed(Message); in CheckFailed()
534 do { if (!(C)) { CheckFailed(__VA_ARGS__); return; } } while (false)
599 CheckFailed("Global is referenced by parentless instruction!", &GV, &M, in visitGlobalValue()
602 CheckFailed("Global is referenced in a different module!", &GV, &M, I, in visitGlobalValue()
608 CheckFailed("Global is used by function in a different module", &GV, &M, in visitGlobalValue()
1353 CheckFailed("invalid requirement on flag, flag is not present in module", in visitModuleFlags()
1359 CheckFailed(("invalid requirement on flag, " in visitModuleFlags()
1542 CheckFailed("Attribute '" + A.getAsString() + in verifyAttributeTypes()
1548 CheckFailed("Attribute '" + A.getAsString() + in verifyAttributeTypes()
1783 CheckFailed("'allocsize' " + Name + " argument is out of bounds", V); in verifyFunctionAttrs()
1788 CheckFailed("'allocsize' " + Name + in verifyFunctionAttrs()
3953 CheckFailed("Use of instruction is not an instruction!", U); in visitInstruction()
4888 template <typename... Tys> void TBAAVerifier::CheckFailed(Tys &&... Args) { in CheckFailed() function in TBAAVerifier
4890 return Diagnostic->CheckFailed(Args...); in CheckFailed()
4896 CheckFailed(__VA_ARGS__); \
4908 CheckFailed("Base nodes must have at least two operands", &I, BaseNode); in verifyTBAABaseNode()
4937 CheckFailed("Access tag nodes must have the number of operands that is a " in verifyTBAABaseNodeImpl()
4943 CheckFailed("Struct tag nodes must have an odd number of operands!", in verifyTBAABaseNodeImpl()
4954 CheckFailed("Type size nodes must be constants!", &I, BaseNode); in verifyTBAABaseNodeImpl()
4961 CheckFailed("Struct tag nodes have a string as their first operand", in verifyTBAABaseNodeImpl()
4980 CheckFailed("Incorrect field entry in struct type node!", &I, BaseNode); in verifyTBAABaseNodeImpl()
4988 CheckFailed("Offset entries must be constants!", &I, BaseNode); in verifyTBAABaseNodeImpl()
4997 CheckFailed( in verifyTBAABaseNodeImpl()
5013 CheckFailed("Offsets must be increasing!", &I, BaseNode); in verifyTBAABaseNodeImpl()
5023 CheckFailed("Member size entries must be constants!", &I, BaseNode); in verifyTBAABaseNodeImpl()
5095 CheckFailed("Could not find TBAA parent in struct type node", &I, in getFieldNodeFromTBAABaseNode()
5198 CheckFailed("Cycle detected in struct path", &I, MD); in visitTBAAMetadata()