| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | PPCallbacks.h | 479 First->Ident(Loc, str); in Ident() 480 Second->Ident(Loc, str); in Ident() 502 First->PragmaDebug(Loc, DebugType); in PragmaDebug() 550 First->PragmaWarningPop(Loc); in PragmaWarningPop() 551 Second->PragmaWarningPop(Loc); in PragmaWarningPop() 560 First->PragmaExecCharsetPop(Loc); in PragmaExecCharsetPop() 561 Second->PragmaExecCharsetPop(Loc); in PragmaExecCharsetPop() 660 First->Else(Loc, IfLoc); in Else() 661 Second->Else(Loc, IfLoc); in Else() 666 First->Endif(Loc, IfLoc); in Endif() [all …]
|
| H A D | PPConditionalDirectiveRecord.h | 31 SourceLocation Loc; variable 35 CondDirectiveLoc(SourceLocation Loc, SourceLocation RegionLoc) in CondDirectiveLoc() argument 36 : Loc(Loc), RegionLoc(RegionLoc) {} in CondDirectiveLoc() 38 SourceLocation getLoc() const { return Loc; } in getLoc() 88 void If(SourceLocation Loc, SourceRange ConditionRange, 90 void Elif(SourceLocation Loc, SourceRange ConditionRange, 92 void Ifdef(SourceLocation Loc, const Token &MacroNameTok, 94 void Ifndef(SourceLocation Loc, const Token &MacroNameTok, 96 void Elifdef(SourceLocation Loc, const Token &MacroNameTok, 98 void Elifdef(SourceLocation Loc, SourceRange ConditionRange, [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Lex/ |
| H A D | PPConditionalDirectiveRecord.cpp | 48 if (Loc.isInvalid()) in findConditionalDirectiveRegionLoc() 54 Loc)) in findConditionalDirectiveRegionLoc() 79 CondDirectiveStack.push_back(Loc); in If() 86 CondDirectiveStack.push_back(Loc); in Ifdef() 93 CondDirectiveStack.push_back(Loc); in Ifndef() 101 CondDirectiveStack.back() = Loc; in Elif() 107 CondDirectiveStack.back() = Loc; in Elifdef() 112 CondDirectiveStack.back() = Loc; in Elifdef() 118 CondDirectiveStack.back() = Loc; in Elifndef() 123 CondDirectiveStack.back() = Loc; in Elifndef() [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/ubsan/ |
| H A D | ubsan_handlers.cpp | 88 Location Loc = Data->Loc.acquire(); in handleTypeMismatchImpl() local 156 Location Loc = Data->Loc.acquire(); in handleAlignmentAssumptionImpl() local 212 SourceLocation Loc = Data->Loc.acquire(); in handleIntegerOverflowImpl() local 251 SourceLocation Loc = Data->Loc.acquire(); in handleNegateOverflowImpl() local 288 SourceLocation Loc = Data->Loc.acquire(); in handleDivremOverflowImpl() local 333 SourceLocation Loc = Data->Loc.acquire(); in handleShiftOutOfBoundsImpl() local 383 SourceLocation Loc = Data->Loc.acquire(); in handleOutOfBoundsImpl() local 438 SourceLocation Loc = Data->Loc.acquire(); in handleVLABoundNotPositive() local 524 SourceLocation Loc = Data->Loc.acquire(); in handleLoadInvalidValue() local 557 SourceLocation Loc = Data->Loc.acquire(); in handleImplicitConversion() local [all …]
|
| H A D | ubsan_handlers.h | 20 SourceLocation Loc; member 42 SourceLocation Loc; member 53 SourceLocation Loc; member 74 SourceLocation Loc; member 85 SourceLocation Loc; member 94 SourceLocation Loc; member 103 SourceLocation Loc; member 118 SourceLocation Loc; member 128 SourceLocation Loc; member 146 SourceLocation Loc; member [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | DiagnosticRenderer.cpp | 93 assert(Loc.hasManager() || Loc.isInvalid()); in emitDiagnostic() 97 if (!Loc.isValid()) in emitDiagnostic() 118 Loc = Loc.getFileLoc(); in emitDiagnostic() 137 LastLoc = Loc; in emitDiagnostic() 184 emitImportStack(Loc); in emitIncludeStack() 191 if (Loc.isInvalid()) { in emitIncludeStackRecursively() 220 if (Loc.isInvalid()) { in emitImportStack() 268 return Loc; in retrieveMacroLocation() 269 if (!Loc.isMacroID()) in retrieveMacroLocation() 322 Loc = SM->getImmediateSpellingLoc(Loc); in getMacroArgExpansionFileIDs() [all …]
|
| H A D | PrintPreprocessedOutput.cpp | 401 MoveToLine(Loc); in Ident() 450 MoveToLine(Loc); in PragmaMessage() 476 MoveToLine(Loc); in PragmaDebug() 487 MoveToLine(Loc); in PragmaDiagnosticPush() 495 MoveToLine(Loc); in PragmaDiagnosticPop() 505 MoveToLine(Loc); in PragmaDiagnostic() 532 MoveToLine(Loc); in PragmaWarning() 543 MoveToLine(Loc); in PragmaWarningPush() 553 MoveToLine(Loc); in PragmaWarningPop() 561 MoveToLine(Loc); in PragmaExecCharsetPush() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | TypeLoc.h | 536 setNameLoc(Loc); in initializeLocal() 1070 setNameLoc(Loc); in initializeLocal() 1217 setSigilLoc(Loc); in initializeLocal() 1234 setSigilLoc(Loc); in setStarLoc() 1768 setNameLoc(Loc); in initializeLocal() 1791 setNameLoc(Loc); in initializeLocal() 1819 setNameLoc(Loc); in initializeLocal() 2009 void setKWLoc(SourceLocation Loc) { getLocalData()->KWLoc = Loc; } in setKWLoc() argument 2188 setNameLoc(Loc); in setTemplateNameLoc() 2515 setKWLoc(Loc); in initializeLocal() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCoroutine.cpp | 171 TemplateArgumentListInfo Args(Loc, Loc); in lookupCoroutineHandleType() 318 return S.BuildCallExpr(nullptr, FromAddr.get(), Loc, FramePtr, Loc); in buildCoroutineHandle() 350 return S.BuildCallExpr(nullptr, Result.get(), Loc, Args, Loc, nullptr); in buildMemberCall() 846 Diag(Loc, in BuildUnresolvedCoawaitExpr() 1160 Loc, in diagReturnOnAllocFailure() 1194 S.BuildCallExpr(nullptr, DeclNameExpr.get(), Loc, {}, Loc); in makeReturnOnAllocFailure() 1357 S.BuildCallExpr(S.getCurScope(), NewRef.get(), Loc, NewArgs, Loc); in makeNewAndDeleteExpr() 1383 S.BuildCallExpr(S.getCurScope(), DeleteRef.get(), Loc, DeleteArgs, Loc); in makeNewAndDeleteExpr() 1570 S.ActOnDeclStmt(S.ConvertDeclToDeclGroup(GroDecl), Loc, Loc); in makeGroDeclAndReturnStmt() 1612 VarDecl *Decl = VarDecl::Create(S.Context, S.CurContext, Loc, Loc, II, Type, in buildVarDecl() [all …]
|
| H A D | DeclSpec.cpp | 716 TSCLoc = Loc; in SetTypeSpecComplex() 725 TSSLoc = Loc; in SetTypeSpecSign() 776 TSTLoc = Loc; in SetTypeSpecType() 777 TSTNameLoc = Loc; in SetTypeSpecType() 836 TSTLoc = Loc; in SetTypeSpecType() 837 TSTNameLoc = Loc; in SetTypeSpecType() 856 TSSatLoc = Loc; in SetTypeSpecSat() 871 AltiVecLoc = Loc; in SetTypeAltiVecVector() 904 TSTLoc = Loc; in SetTypeAltiVecPixel() 921 TSTLoc = Loc; in SetTypeAltiVecBool() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | SetTheory.cpp | 41 ArrayRef<SMLoc> Loc) override { in apply() 49 ArrayRef<SMLoc> Loc) override { in apply() 54 ST.evaluate(*Expr->arg_begin(), Add, Loc); in apply() 65 ArrayRef<SMLoc> Loc) override { in apply() 70 ST.evaluate(Expr->arg_begin()[0], S1, Loc); in apply() 71 ST.evaluate(Expr->arg_begin()[1], S2, Loc); in apply() 84 ArrayRef<SMLoc> Loc) override { in apply() 89 ST.evaluate(Expr->arg_begin()[0], Set, Loc); in apply() 160 ArrayRef<SMLoc> Loc) override { in apply() 179 ArrayRef<SMLoc> Loc) override { in apply() [all …]
|
| H A D | Error.cpp | 27 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind, in PrintMessage() argument 35 if (Loc.empty()) in PrintMessage() 36 Loc = NullLoc; in PrintMessage() 37 SrcMgr.PrintMessage(Loc.front(), Kind, Msg); in PrintMessage() 38 for (unsigned i = 1; i < Loc.size(); ++i) in PrintMessage() 39 SrcMgr.PrintMessage(Loc[i], SourceMgr::DK_Note, in PrintMessage() 95 void PrintWarning(const char *Loc, const Twine &Msg) { in PrintWarning() argument 107 void PrintError(const char *Loc, const Twine &Msg) { in PrintError() argument 159 void CheckAssert(SMLoc Loc, Init *Condition, Init *Message) { in CheckAssert() argument 163 PrintError(Loc, "assert condition must of type bit, bits, or int."); in CheckAssert() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-mca/ |
| H A D | CodeRegion.cpp | 24 bool CodeRegion::isLocInRange(SMLoc Loc) const { in isLocInRange() 47 SM.PrintMessage(Loc, SourceMgr::DK_Error, in beginRegion() 55 SM.PrintMessage(Loc, SourceMgr::DK_Error, in beginRegion() 76 Regions[It->second]->setEndLocation(Loc); in endRegion() 84 Regions[0]->setEndLocation(Loc); in endRegion() 91 Regions[It->second]->setEndLocation(Loc); in endRegion() 97 SM.PrintMessage(Loc, SourceMgr::DK_Error, in endRegion() 100 SM.PrintMessage(Loc, SourceMgr::DK_Note, in endRegion() 103 SM.PrintMessage(Loc, SourceMgr::DK_Note, in endRegion() 109 SMLoc Loc = Instruction.getLoc(); in addInstruction() local [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | TypeLoc.cpp | 462 setNameLoc(Loc); in initializeLocal() 510 setKWLoc(Loc); in initializeLocal() 511 setRParenLoc(Loc); in initializeLocal() 512 setLParenLoc(Loc); in initializeLocal() 531 setNameLoc(Loc); in initializeLocal() 547 setLAngleLoc(Loc); in initializeLocal() 548 setRAngleLoc(Loc); in initializeLocal() 610 setTemplateKWLoc(Loc); in initializeLocal() 613 setRAngleLoc(Loc); in initializeLocal() 614 setLAngleLoc(Loc); in initializeLocal() [all …]
|
| H A D | DataCollection.cpp | 19 ASTContext &Context, SourceLocation Loc) { in printMacroName() argument 20 MacroStack << Lexer::getImmediateMacroName(Loc, Context.getSourceManager(), in printMacroName() 33 std::string getMacroStack(SourceLocation Loc, ASTContext &Context) { in getMacroStack() argument 39 while (Loc.isMacroID()) { in getMacroStack() 41 printMacroName(MacroStackStream, Context, Loc); in getMacroStack() 42 Loc = SM.getImmediateMacroCallerLoc(Loc); in getMacroStack()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Frontend/ |
| H A D | DiagnosticRenderer.h | 82 virtual void emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc, 86 virtual void emitCodeContext(FullSourceLoc Loc, 92 virtual void emitImportLocation(FullSourceLoc Loc, PresumedLoc PLoc, 104 void emitIncludeStack(FullSourceLoc Loc, PresumedLoc PLoc, 106 void emitIncludeStackRecursively(FullSourceLoc Loc); 107 void emitImportStack(FullSourceLoc Loc); 110 void emitCaret(FullSourceLoc Loc, DiagnosticsEngine::Level Level, 112 void emitSingleMacroExpansion(FullSourceLoc Loc, 152 void emitImportLocation(FullSourceLoc Loc, PresumedLoc PLoc, 155 void emitBuildingModuleLocation(FullSourceLoc Loc, PresumedLoc PLoc, [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | AliasAnalysis.cpp | 479 return getModRefInfo(L, Loc, AAQIP); in getModRefInfo() 490 if (Loc.Ptr) { in getModRefInfo() 504 return getModRefInfo(S, Loc, AAQIP); in getModRefInfo() 513 if (Loc.Ptr) { in getModRefInfo() 536 return getModRefInfo(S, Loc, AAQIP); in getModRefInfo() 544 if (Loc.Ptr && pointsToConstantMemory(Loc, AAQI)) in getModRefInfo() 558 if (Loc.Ptr) { in getModRefInfo() 588 if (Loc.Ptr) { in getModRefInfo() 608 if (Loc.Ptr) { in getModRefInfo() 632 if (Loc.Ptr) { in getModRefInfo() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | TemplateDeduction.h | 48 SourceLocation Loc; variable 66 : Loc(Loc), DeducedDepth(DeducedDepth) {} in Loc() function 74 : Deduced(Info.Deduced), Loc(Info.Loc), DeducedDepth(Info.DeducedDepth), in TemplateDeductionInfo() 80 return Loc; in getLocation() 145 SuppressedDiagnostics.emplace_back(Loc, std::move(PD)); in addSFINAEDiagnostic() 150 void addSuppressedDiagnostic(SourceLocation Loc, in addSuppressedDiagnostic() argument 154 SuppressedDiagnostics.emplace_back(Loc, std::move(PD)); in addSuppressedDiagnostic() 318 SourceLocation Loc; variable 329 : Loc(Loc), ForTakingAddress(ForTakingAddress) {} in Loc() function 335 SourceLocation getLocation() const { return Loc; } in getLocation() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | SourceManager.h | 1146 FileID FID = getFileID(Loc); in getModuleImportLoc() 1161 if (Loc.isFileID()) return Loc; in getExpansionLoc() 1169 if (Loc.isFileID()) return Loc; in getFileLoc() 1209 if (Loc.isFileID()) return Loc; in getSpellingLoc() 1237 FileID FID = getFileID(Loc); in getDecomposedLoc() 1250 FileID FID = getFileID(Loc); in getDecomposedExpansionLoc() 1256 if (Loc.isFileID()) in getDecomposedExpansionLoc() 1268 FileID FID = getFileID(Loc); in getDecomposedSpellingLoc() 1274 if (Loc.isFileID()) in getDecomposedSpellingLoc() 1748 if (!Loc.isMacroID()) return Loc; in getImmediateMacroCallerLoc() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.h | 477 void createFlush(const LocationDescription &Loc); 482 void createTaskwait(const LocationDescription &Loc); 487 void createTaskyield(const LocationDescription &Loc); 495 bool updateToLocation(const LocationDescription &Loc) { in updateToLocation() argument 496 Builder.restoreIP(Loc.IP); in updateToLocation() 497 Builder.SetCurrentDebugLocation(Loc.DL); in updateToLocation() 498 return Loc.IP.getBlock() != nullptr; in updateToLocation() 555 void emitFlush(const LocationDescription &Loc); 573 void emitTaskwaitImpl(const LocationDescription &Loc); 578 void emitTaskyieldImpl(const LocationDescription &Loc); [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | StackMapPrinter.h | 45 for (const auto &Loc : R.locations()) { in prettyPrintStackMap() local 48 switch (Loc.getKind()) { in prettyPrintStackMap() 50 OS << "Register R#" << Loc.getDwarfRegNum(); in prettyPrintStackMap() 53 OS << "Direct R#" << Loc.getDwarfRegNum() << " + " << Loc.getOffset(); in prettyPrintStackMap() 56 OS << "Indirect [R#" << Loc.getDwarfRegNum() << " + " << Loc.getOffset() in prettyPrintStackMap() 60 OS << "Constant " << Loc.getSmallConstant(); in prettyPrintStackMap() 63 OS << "ConstantIndex #" << Loc.getConstantIndex() << " (" in prettyPrintStackMap() 64 << SMP.getConstant(Loc.getConstantIndex()).getValue() << ")"; in prettyPrintStackMap() 67 OS << ", size: " << Loc.getSizeInBytes() << "\n"; in prettyPrintStackMap()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 947 return Loc; in getExpansionLocSlowCase() 954 Loc = Loc.getLocWithOffset(LocInfo.second); in getSpellingLocSlowCase() 956 return Loc; in getSpellingLocSlowCase() 962 Loc = getImmediateSpellingLoc(Loc); in getFileLocSlowCase() 964 Loc = getImmediateExpansionRange(Loc).getBegin(); in getFileLocSlowCase() 966 return Loc; in getFileLocSlowCase() 996 Loc = Loc.getLocWithOffset(Offset); in getDecomposedSpellingLocSlowCase() 1011 if (Loc.isFileID()) return Loc; in getImmediateSpellingLoc() 1035 Loc = getImmediateSpellingLoc(Loc); in getTopMacroCallerLoc() 1036 return Loc; in getTopMacroCallerLoc() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 45 if (Loc.isInvalid()) in IsValidEditLoc() 47 const clang::FullSourceLoc FullLoc(Loc, SM); in IsValidEditLoc() 74 if (Loc.isMacroID()) in visitSymbolOccurrence() 75 Loc = SM.getSpellingLoc(Loc); in visitSymbolOccurrence() 76 checkAndAddLocation(Loc); in visitSymbolOccurrence() 89 const SourceLocation BeginLoc = Loc; in checkAndAddLocation() 257 RenameInfos.push_back({Loc, Loc, in VisitCXXConstructorDecl() 371 bool VisitTypeLoc(TypeLoc Loc) { in VisitTypeLoc() argument 372 auto Parents = Context.getParents(Loc); in VisitTypeLoc() 424 TypeLoc TargetLoc = Loc; in VisitTypeLoc() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntime.h | 1029 SourceLocation Loc, 1037 SourceLocation Loc); 1044 SourceLocation Loc, 1055 SourceLocation Loc); 1062 SourceLocation Loc, 1275 SourceLocation Loc); 1894 SourceLocation Loc); 1902 SourceLocation Loc); 1907 SourceLocation Loc); 2004 SourceLocation Loc, [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DebugLoc.h | 34 TrackingMDNodeRef Loc; variable 66 explicit operator bool() const { return Loc; } 69 bool hasTrivialDestructor() const { return Loc.hasTrivialDestructor(); } in hasTrivialDestructor() 99 MDNode *getAsMDNode() const { return Loc; } in getAsMDNode() 105 bool operator==(const DebugLoc &DL) const { return Loc == DL.Loc; } 106 bool operator!=(const DebugLoc &DL) const { return Loc != DL.Loc; }
|