Home
last modified time | relevance | path

Searched refs:StrLoc (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp1464 static bool isAngleBracketString(SMLoc &StrLoc, SMLoc &EndLoc) { in isAngleBracketString() argument
1465 assert((StrLoc.getPointer() != nullptr) && in isAngleBracketString()
1467 const char *CharPtr = StrLoc.getPointer(); in isAngleBracketString()
1475 EndLoc = StrLoc.getFromPointer(CharPtr + 1); in isAngleBracketString()
2784 SMLoc StrLoc = Lexer.getLoc(); in parseMacroArguments() local
2795 return Error(StrLoc, "expected absolute expression"); in parseMacroArguments()
2796 const char *StrChar = StrLoc.getPointer(); in parseMacroArguments()
2802 isAngleBracketString(StrLoc, EndLoc)) { in parseMacroArguments()
2803 const char *StrChar = StrLoc.getPointer(); in parseMacroArguments()
H A DMasmParser.cpp1850 static bool isAngleBracketString(SMLoc &StrLoc, SMLoc &EndLoc) { in isAngleBracketString() argument
1851 assert((StrLoc.getPointer() != nullptr) && in isAngleBracketString()
1853 const char *CharPtr = StrLoc.getPointer(); in isAngleBracketString()
1861 EndLoc = StrLoc.getFromPointer(CharPtr + 1); in isAngleBracketString()
3013 SMLoc StrLoc = Lexer.getLoc(), EndLoc; in parseMacroArgument() local
3014 if (Lexer.is(AsmToken::Less) && isAngleBracketString(StrLoc, EndLoc)) { in parseMacroArgument()
3015 const char *StrChar = StrLoc.getPointer() + 1; in parseMacroArgument()
3146 SMLoc StrLoc = Lexer.getLoc(); in parseMacroArguments() local
3157 return Error(StrLoc, "expected absolute expression"); in parseMacroArguments()
3158 const char *StrChar = StrLoc.getPointer(); in parseMacroArguments()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp8061 SMLoc StrLoc = getLoc(); in parseSwizzleBitmaskPerm() local
8066 Error(StrLoc, "expected a 5-character mask"); in parseSwizzleBitmaskPerm()
8078 Error(StrLoc, "invalid mask"); in parseSwizzleBitmaskPerm()