• Home
  • Raw
  • Download

Lines Matching refs:TokError

170     default:         return TokError("expected top-level entity");  in ParseTopLevelEntities()
253 default: return TokError("unknown target property"); in ParseTargetDefinition()
384 return TokError("expected 'global' or 'constant'"); in ParseGlobalType()
553 return TokError("Metadata id is already used"); in ParseStandaloneMetadata()
735 TokError("unknown global variable property!"); in ParseGlobal()
838 return TokError(ErrMsg); in ParseToken()
847 return TokError("expected string constant"); in ParseStringConstant()
857 return TokError("expected integer"); in ParseUInt32()
860 return TokError("expected 32-bit integer (too large)"); in ParseUInt32()
1069 return TokError("expected metadata after comma"); in ParseInstructionMetadata()
1165 default: return TokError("Expected ordering on atomic instruction"); in ParseScopeAndOrdering()
1211 return TokError("expected ',' as start of index list"); in ParseIndexList()
1235 return TokError("expected type"); in ParseType()
1307 return TokError("basic block pointers are invalid"); in ParseType()
1309 return TokError("pointers to void are invalid - use i8* instead"); in ParseType()
1311 return TokError("pointer to this type is invalid"); in ParseType()
1319 return TokError("basic block pointers are invalid"); in ParseType()
1321 return TokError("pointers to void are invalid; use i8* instead"); in ParseType()
1323 return TokError("pointer to this type is invalid"); in ParseType()
1458 return TokError("invalid function return type"); in ParseFunctionType()
1592 return TokError("expected number in address space"); in ParseArrayVectorType()
1895 default: return TokError("expected value token"); in ParseValID()
2639 return TokError("function expected to be numbered '%" + in ParseFunctionHeader()
2642 return TokError("expected function name"); in ParseFunctionHeader()
2648 return TokError("expected '(' in function argument list"); in ParseFunctionHeader()
2777 return TokError("expected '{' in function body"); in ParseFunctionBody()
2787 return TokError("function body requires at least one basic block"); in ParseFunctionBody()
2876 return TokError("found end of file when expecting more instructions"); in ParseInstruction()
2968 return TokError("expected 'load' or 'store'"); in ParseInstruction()
2979 default: TokError("expected fcmp predicate (e.g. 'oeq')"); in ParseCmpPredicate()
2999 default: TokError("expected icmp predicate (e.g. 'eq')"); in ParseCmpPredicate()
3541 return TokError("expected 'catch' or 'filter' clause type"); in ParseLandingPad()
3705 return TokError("mixing atomic with old volatile placement"); in ParseLoad()
3712 return TokError("duplicate volatile before and after store"); in ParseLoad()
3752 return TokError("mixing atomic with old volatile placement"); in ParseStore()
3759 return TokError("duplicate volatile before and after store"); in ParseStore()
3808 return TokError("cmpxchg cannot be unordered"); in ParseCmpXchg()
3844 default: return TokError("expected binary operation in atomicrmw"); in ParseAtomicRMW()
3866 return TokError("atomicrmw cannot be unordered"); in ParseAtomicRMW()
3894 return TokError("fence cannot be unordered"); in ParseFence()
3896 return TokError("fence cannot be monotonic"); in ParseFence()