Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DAsmParser.cpp1368 static bool isAltmacroString(SMLoc &StrLoc, SMLoc &EndLoc) { in isAltmacroString() argument
1369 assert((StrLoc.getPointer() != nullptr) && in isAltmacroString()
1371 const char *CharPtr = StrLoc.getPointer(); in isAltmacroString()
1379 EndLoc = StrLoc.getFromPointer(CharPtr + 1); in isAltmacroString()
2675 SMLoc StrLoc = Lexer.getLoc(); in parseMacroArguments() local
2686 return Error(StrLoc, "expected absolute expression"); in parseMacroArguments()
2687 const char *StrChar = StrLoc.getPointer(); in parseMacroArguments()
2693 isAltmacroString(StrLoc, EndLoc)) { in parseMacroArguments()
2694 const char *StrChar = StrLoc.getPointer(); in parseMacroArguments()
/external/llvm-project/llvm/lib/MC/MCParser/
DAsmParser.cpp1374 static bool isAngleBracketString(SMLoc &StrLoc, SMLoc &EndLoc) { in isAngleBracketString() argument
1375 assert((StrLoc.getPointer() != nullptr) && in isAngleBracketString()
1377 const char *CharPtr = StrLoc.getPointer(); in isAngleBracketString()
1385 EndLoc = StrLoc.getFromPointer(CharPtr + 1); in isAngleBracketString()
2692 SMLoc StrLoc = Lexer.getLoc(); in parseMacroArguments() local
2703 return Error(StrLoc, "expected absolute expression"); in parseMacroArguments()
2704 const char *StrChar = StrLoc.getPointer(); in parseMacroArguments()
2710 isAngleBracketString(StrLoc, EndLoc)) { in parseMacroArguments()
2711 const char *StrChar = StrLoc.getPointer(); in parseMacroArguments()
DMasmParser.cpp1730 static bool isAngleBracketString(SMLoc &StrLoc, SMLoc &EndLoc) { in isAngleBracketString() argument
1731 assert((StrLoc.getPointer() != nullptr) && in isAngleBracketString()
1733 const char *CharPtr = StrLoc.getPointer(); in isAngleBracketString()
1741 EndLoc = StrLoc.getFromPointer(CharPtr + 1); in isAngleBracketString()
2902 SMLoc StrLoc = Lexer.getLoc(), EndLoc; in parseMacroArgument() local
2903 if (Lexer.is(AsmToken::Less) && isAngleBracketString(StrLoc, EndLoc)) { in parseMacroArgument()
2904 const char *StrChar = StrLoc.getPointer() + 1; in parseMacroArgument()
3035 SMLoc StrLoc = Lexer.getLoc(); in parseMacroArguments() local
3046 return Error(StrLoc, "expected absolute expression"); in parseMacroArguments()
3047 const char *StrChar = StrLoc.getPointer(); in parseMacroArguments()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp5582 SMLoc StrLoc = Parser.getTok().getLoc(); in parseSwizzleBitmaskPerm() local
5587 Error(StrLoc, "expected a 5-character mask"); in parseSwizzleBitmaskPerm()
5599 Error(StrLoc, "invalid mask"); in parseSwizzleBitmaskPerm()
/external/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp6375 SMLoc StrLoc = Parser.getTok().getLoc(); in parseSwizzleBitmaskPerm() local
6380 Error(StrLoc, "expected a 5-character mask"); in parseSwizzleBitmaskPerm()
6392 Error(StrLoc, "invalid mask"); in parseSwizzleBitmaskPerm()