Home
last modified time | relevance | path

Searched refs:FirstLoc (Results 1 – 23 of 23) sorted by relevance

/external/clang/lib/Lex/
DTokenLexer.cpp771 SourceLocation FirstLoc = begin_tokens->getLocation(); in updateConsecutiveMacroArgTokens() local
772 SourceLocation CurLoc = FirstLoc; in updateConsecutiveMacroArgTokens()
808 SM.isInSameSLocAddrSpace(FirstLoc, LastConsecutiveTok.getLocation(), in updateConsecutiveMacroArgTokens()
814 SM.createMacroArgExpansionLoc(FirstLoc, InstLoc,FullLength); in updateConsecutiveMacroArgTokens()
821 SM.isInSameSLocAddrSpace(FirstLoc, Tok.getLocation(), &RelOffs); in updateConsecutiveMacroArgTokens()
/external/llvm-project/clang/lib/Lex/
DTokenLexer.cpp994 SourceLocation FirstLoc = begin_tokens->getLocation(); in updateConsecutiveMacroArgTokens() local
995 SourceLocation CurLoc = FirstLoc; in updateConsecutiveMacroArgTokens()
1031 SM.isInSameSLocAddrSpace(FirstLoc, LastConsecutiveTok.getLocation(), in updateConsecutiveMacroArgTokens()
1037 SM.createMacroArgExpansionLoc(FirstLoc, InstLoc,FullLength); in updateConsecutiveMacroArgTokens()
1044 SM.isInSameSLocAddrSpace(FirstLoc, Tok.getLocation(), &RelOffs); in updateConsecutiveMacroArgTokens()
/external/llvm-project/clang/lib/Tooling/Syntax/
DTokens.cpp69 auto FirstLoc = First.location(), LastLoc = Last.location(); in findCommonRangeForMacroArgs() local
72 while (!FirstLoc.isFileID() && !LastLoc.isFileID()) { in findCommonRangeForMacroArgs()
73 auto ExpInfoFirst = SM.getSLocEntry(SM.getFileID(FirstLoc)).getExpansion(); in findCommonRangeForMacroArgs()
83 FirstLoc = SM.getImmediateSpellingLoc(FirstLoc); in findCommonRangeForMacroArgs()
87 Res = {FirstLoc, LastLoc}; in findCommonRangeForMacroArgs()
/external/llvm/utils/FileCheck/
DFileCheck.cpp785 size_t FirstLoc = StringRef::npos; in FindFirstCandidateMatch() local
807 if (PrefixLoc > FirstLoc) in FindFirstCandidateMatch()
811 if (PrefixLoc == FirstLoc && Prefix.size() < FirstPrefix.size()) in FindFirstCandidateMatch()
823 FirstLoc = PrefixLoc; in FindFirstCandidateMatch()
834 CheckLoc = FirstLoc; in FindFirstCandidateMatch()
/external/clang/include/clang/Serialization/
DModule.h196 SourceLocation FirstLoc; variable
/external/llvm-project/clang/include/clang/Serialization/
DModuleFile.h217 SourceLocation FirstLoc; variable
/external/clang/lib/Sema/
DDeclSpec.cpp972 SourceLocation FirstLoc; in Finish() local
975 if (FirstLoc.isInvalid() || in Finish()
977 FirstLoc)) in Finish()
978 FirstLoc = ExtraLocs[I]; in Finish()
/external/llvm/lib/MC/MCParser/
DELFAsmParser.cpp223 SMLoc FirstLoc = getLexer().getLoc(); in ParseSectionName() local
251 SectionName = StringRef(FirstLoc.getPointer(), Size); in ParseSectionName()
/external/llvm-project/clang/lib/Sema/
DDeclSpec.cpp1134 SourceLocation FirstLoc; in Finish() local
1137 if (FirstLoc.isInvalid() || in Finish()
1139 FirstLoc)) in Finish()
1140 FirstLoc = ExtraLocs[I]; in Finish()
/external/llvm-project/llvm/lib/MC/MCParser/
DELFAsmParser.cpp242 SMLoc FirstLoc = getLexer().getLoc(); in ParseSectionName() local
269 SectionName = StringRef(FirstLoc.getPointer(), Size); in ParseSectionName()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DELFAsmParser.cpp242 SMLoc FirstLoc = getLexer().getLoc(); in ParseSectionName() local
269 SectionName = StringRef(FirstLoc.getPointer(), Size); in ParseSectionName()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp1705 SourceLocation FirstLoc = start->getBeginLoc(); in removePunyEdges() local
1708 if (!SM.isWrittenInSameFile(FirstLoc, SecondLoc)) in removePunyEdges()
1710 if (SM.isBeforeInTranslationUnit(SecondLoc, FirstLoc)) in removePunyEdges()
1711 std::swap(SecondLoc, FirstLoc); in removePunyEdges()
1713 SourceRange EdgeRange(FirstLoc, SecondLoc); in removePunyEdges()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp2265 SourceLocation FirstLoc = start->getLocStart(); in removePunyEdges() local
2268 if (!SM.isWrittenInSameFile(FirstLoc, SecondLoc)) in removePunyEdges()
2270 if (SM.isBeforeInTranslationUnit(SecondLoc, FirstLoc)) in removePunyEdges()
2271 std::swap(SecondLoc, FirstLoc); in removePunyEdges()
2273 SourceRange EdgeRange(FirstLoc, SecondLoc); in removePunyEdges()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMLoadStoreOptimizer.cpp2241 unsigned FirstLoc = ~0U; in RescheduleOps() local
2276 if (Loc <= FirstLoc) { in RescheduleOps()
2277 FirstLoc = Loc; in RescheduleOps()
2298 bool DoMove = (LastLoc - FirstLoc) <= NumMove*4; // FIXME: Tune this. in RescheduleOps()
/external/llvm/lib/Target/ARM/
DARMLoadStoreOptimizer.cpp2149 unsigned FirstLoc = ~0U; in RescheduleOps() local
2160 if (Loc <= FirstLoc) { in RescheduleOps()
2161 FirstLoc = Loc; in RescheduleOps()
2199 bool DoMove = (LastLoc - FirstLoc) <= NumMove*4; // FIXME: Tune this. in RescheduleOps()
/external/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp346 bool FirstLoc = true; in maybeRecordLocation() local
350 if (!FirstLoc) in maybeRecordLocation()
352 FirstLoc = false; in maybeRecordLocation()
/external/llvm-project/llvm/lib/Target/ARM/
DARMLoadStoreOptimizer.cpp2295 unsigned FirstLoc = ~0U; in RescheduleOps() local
2330 if (Loc <= FirstLoc) { in RescheduleOps()
2331 FirstLoc = Loc; in RescheduleOps()
2352 bool DoMove = (LastLoc - FirstLoc) <= NumMove*4; // FIXME: Tune this. in RescheduleOps()
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp521 bool FirstLoc = true; in maybeRecordLocation() local
525 if (!FirstLoc) in maybeRecordLocation()
527 FirstLoc = false; in maybeRecordLocation()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp534 bool FirstLoc = true; in maybeRecordLocation() local
538 if (!FirstLoc) in maybeRecordLocation()
540 FirstLoc = false; in maybeRecordLocation()
/external/clang/lib/Parse/
DParseExprCXX.cpp45 SourceLocation FirstLoc = SM.getSpellingLoc(First.getLocation()); in areTokensAdjacent() local
46 SourceLocation FirstEnd = FirstLoc.getLocWithOffset(First.getLength()); in areTokensAdjacent()
/external/llvm-project/clang/lib/Serialization/
DASTReader.cpp1614 return F->ImportedBy[0]->FirstLoc; in getImportLocation()
3378 F.FirstLoc = SourceLocation::getFromRawEncoding(F.SLocEntryBaseOffset); in ReadASTBlock()
10093 SourceLocation FirstLoc; in diagnoseOdrViolations() local
10097 FirstLoc = FirstTag->getBraceRange().getEnd(); in diagnoseOdrViolations()
10099 FirstLoc = DR.FirstDecl->getLocation(); in diagnoseOdrViolations()
10102 Diag(FirstLoc, diag::err_module_odr_violation_mismatch_decl) in diagnoseOdrViolations()
10503 SourceLocation FirstLoc, SecondLoc; in diagnoseOdrViolations() local
10506 FirstLoc = FirstStr->getBeginLoc(); in diagnoseOdrViolations()
10509 FirstLoc = FirstSA->getBeginLoc(); in diagnoseOdrViolations()
10519 ODRDiagDeclError(FirstRecord, FirstModule, FirstLoc, FirstRange, in diagnoseOdrViolations()
/external/llvm-project/clang/lib/Parse/
DParseExprCXX.cpp47 SourceLocation FirstLoc = SM.getSpellingLoc(First.getLocation()); in areTokensAdjacent() local
48 SourceLocation FirstEnd = FirstLoc.getLocWithOffset(First.getLength()); in areTokensAdjacent()
/external/clang/lib/Serialization/
DASTReader.cpp1374 return F->ImportedBy[0]->FirstLoc; in getImportLocation()
2829 F.FirstLoc = SourceLocation::getFromRawEncoding(F.SLocEntryBaseOffset); in ReadASTBlock()