Home
last modified time | relevance | path

Searched refs:Loc (Results 1 – 25 of 760) sorted by relevance

12345678910>>...31

/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPPCallbacks.h510 First->Ident(Loc, str); in Ident()
511 Second->Ident(Loc, str); in Ident()
527 First->PragmaMark(Loc, Trivia); in PragmaMark()
528 Second->PragmaMark(Loc, Trivia); in PragmaMark()
586 First->PragmaWarningPop(Loc); in PragmaWarningPop()
587 Second->PragmaWarningPop(Loc); in PragmaWarningPop()
596 First->PragmaExecCharsetPop(Loc); in PragmaExecCharsetPop()
696 First->Else(Loc, IfLoc); in Else()
697 Second->Else(Loc, IfLoc); in Else()
702 First->Endif(Loc, IfLoc); in Endif()
[all …]
H A DPPConditionalDirectiveRecord.h31 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/contrib/llvm-project/clang/lib/Lex/
H A DPPConditionalDirectiveRecord.cpp48 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/contrib/llvm-project/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp92 assert(Loc.hasManager() || Loc.isInvalid()); in emitDiagnostic()
96 if (!Loc.isValid()) in emitDiagnostic()
117 Loc = Loc.getFileLoc(); in emitDiagnostic()
136 LastLoc = Loc; in emitDiagnostic()
183 emitImportStack(Loc); in emitIncludeStack()
190 if (Loc.isInvalid()) { in emitIncludeStackRecursively()
219 if (Loc.isInvalid()) { in emitImportStack()
267 return Loc; in retrieveMacroLocation()
268 if (!Loc.isMacroID()) in retrieveMacroLocation()
321 Loc = SM->getImmediateSpellingLoc(Loc); in getMacroArgExpansionFileIDs()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_handlers.cpp88 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 Dubsan_handlers.h20 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/contrib/llvm-project/clang/include/clang/AST/
H A DTypeLoc.h542 setNameLoc(Loc); in initializeLocal()
1108 setNameLoc(Loc); in initializeLocal()
1255 setSigilLoc(Loc); in initializeLocal()
1807 setNameLoc(Loc); in initializeLocal()
1830 setNameLoc(Loc); in initializeLocal()
1858 setNameLoc(Loc); in initializeLocal()
2071 void setKWLoc(SourceLocation Loc) { getLocalData()->KWLoc = Loc; } in setKWLoc() argument
2234 setNameLoc(Loc); in setTemplateNameLoc()
2583 setKWLoc(Loc); in initializeLocal()
2608 setKWLoc(Loc); in initializeLocal()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/
H A DCodeRegion.cpp19 bool CodeRegion::isLocInRange(SMLoc Loc) const { in isLocInRange()
28 SMLoc Loc = Instruction.getLoc(); in addInstruction() local
30 if (Region->isLocInRange(Loc)) in addInstruction()
83 Regions[It->second]->setEndLocation(Loc); in endRegion()
91 Regions[0]->setEndLocation(Loc); in endRegion()
98 Regions[It->second]->setEndLocation(Loc); in endRegion()
104 SM.PrintMessage(Loc, llvm::SourceMgr::DK_Error, in endRegion()
130 Loc, llvm::SourceMgr::DK_Error, in beginRegion()
147 Regions[It->second]->setEndLocation(Loc); in endRegion()
153 SM.PrintMessage(Loc, llvm::SourceMgr::DK_Error, in endRegion()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp167 TemplateArgumentListInfo Args(Loc, Loc); in lookupCoroutineHandleType()
292 return S.BuildCallExpr(nullptr, FromAddr.get(), Loc, FramePtr, Loc); in buildCoroutineHandle()
947 Diag(Loc, in BuildUnresolvedCoawaitExpr()
1320 Loc, in diagReturnOnAllocFailure()
1357 S.BuildCallExpr(nullptr, DeclNameExpr.get(), Loc, {}, Loc); in makeReturnOnAllocFailure()
1625 SourceRange(Loc, Loc)) in makeNewAndDeleteExpr()
1643 S.BuildCallExpr(S.getCurScope(), NewRef.get(), Loc, NewArgs, Loc); in makeNewAndDeleteExpr()
1693 S.BuildCallExpr(S.getCurScope(), DeleteRef.get(), Loc, DeleteArgs, Loc); in makeNewAndDeleteExpr()
1901 S.ActOnDeclStmt(S.ConvertDeclToDeclGroup(GroDecl), Loc, Loc); in makeGroDeclAndReturnStmt()
1947 VarDecl *Decl = VarDecl::Create(S.Context, S.CurContext, Loc, Loc, II, Type, in buildVarDecl()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZELFObjectWriter.cpp66 Ctx.reportError(Loc, "Unsupported absolute address"); in getAbsoluteReloc()
92 Ctx.reportError(Loc, "Unsupported PC-relative address"); in getPCRelReloc()
146 Ctx.reportError(Loc, "Unsupported PC-relative PLT address"); in getPLTReloc()
154 SMLoc Loc = Fixup.getLoc(); in getRelocType() local
162 return getPCRelReloc(Ctx, Loc, Kind); in getRelocType()
163 return getAbsoluteReloc(Ctx, Loc, Kind); in getRelocType()
167 return getTLSLEReloc(Ctx, Loc, Kind); in getRelocType()
177 return getTLSLDOReloc(Ctx, Loc, Kind); in getRelocType()
181 return getTLSLDMReloc(Ctx, Loc, Kind); in getRelocType()
185 return getTLSGDReloc(Ctx, Loc, Kind); in getRelocType()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DSetTheory.cpp40 ArrayRef<SMLoc> Loc) override { in apply()
48 ArrayRef<SMLoc> Loc) override { in apply()
53 ST.evaluate(*Expr->arg_begin(), Add, Loc); in apply()
64 ArrayRef<SMLoc> Loc) override { in apply()
69 ST.evaluate(Expr->arg_begin()[0], S1, Loc); in apply()
70 ST.evaluate(Expr->arg_begin()[1], S2, Loc); in apply()
83 ArrayRef<SMLoc> Loc) override { in apply()
88 ST.evaluate(Expr->arg_begin()[0], Set, Loc); in apply()
159 ArrayRef<SMLoc> Loc) override { in apply()
178 ArrayRef<SMLoc> Loc) override { in apply()
[all …]
H A DError.cpp35 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
165 PrintError(Loc, "assertion failed"); in CheckAssert()
174 void dumpMessage(SMLoc Loc, Init *Message) { in dumpMessage() argument
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DDiagnosticRenderer.h82 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/contrib/llvm-project/clang/include/clang/Sema/
H A DTemplateDeduction.h48 SourceLocation Loc; variable
66 : Loc(Loc), DeducedDepth(DeducedDepth) {} in Loc() argument
74 : DeducedSugared(Info.DeducedSugared), Loc(Info.Loc), in TemplateDeductionInfo()
80 return Loc; in getLocation()
155 SuppressedDiagnostics.emplace_back(Loc, std::move(PD)); in addSFINAEDiagnostic()
160 void addSuppressedDiagnostic(SourceLocation Loc, in addSuppressedDiagnostic() argument
164 SuppressedDiagnostics.emplace_back(Loc, std::move(PD)); in addSuppressedDiagnostic()
335 SourceLocation Loc; variable
346 : Loc(Loc), ForTakingAddress(ForTakingAddress) {} in Loc() argument
352 SourceLocation getLocation() const { return Loc; } in getLocation()
[all …]
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DAPI.cpp48 PresumedLoc Loc, AvailabilityInfo Availability, in addNamespace() argument
63 APISet::addGlobalVar(StringRef Name, StringRef USR, PresumedLoc Loc, in addGlobalVar() argument
73 StringRef Name, StringRef USR, PresumedLoc Loc, in addGlobalVariableTemplate() argument
85 StringRef Name, StringRef USR, PresumedLoc Loc, in addGlobalFunction() argument
96 StringRef Name, StringRef USR, PresumedLoc Loc, in addGlobalFunctionTemplate() argument
109 StringRef Name, StringRef USR, PresumedLoc Loc, in addGlobalFunctionTemplateSpecialization() argument
278 StringRef Name, StringRef USR, PresumedLoc Loc, in addGlobalVariableTemplateSpecialization() argument
290 StringRef Name, StringRef USR, PresumedLoc Loc, in addGlobalVariableTemplatePartialSpecialization() argument
302 PresumedLoc Loc, in addConcept() argument
381 StringRef Name, StringRef USR, PresumedLoc Loc, in addObjCCategory() argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTypeLoc.cpp481 setNameLoc(Loc); in initializeLocal()
487 setProtocolLoc(i, Loc); in initializeLocal()
533 setKWLoc(Loc); in initializeLocal()
534 setRParenLoc(Loc); in initializeLocal()
535 setLParenLoc(Loc); in initializeLocal()
556 setNameLoc(Loc); in initializeLocal()
571 setTemplateNameLoc(Loc); in initializeLocal()
572 setLAngleLoc(Loc); in initializeLocal()
573 setRAngleLoc(Loc); in initializeLocal()
654 setRParenLoc(Loc); in initializeLocal()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCDwarf.h481 SMLoc &Loc);
515 SMLoc Loc; variable
521 : Operation(Op), Label(L), Register(R), Offset(O), Loc(Loc), in Operation()
527 : Operation(Op), Label(L), Register(R1), Register2(R2), Loc(Loc) { in MCCFIInstruction()
532 SMLoc Loc) in MCCFIInstruction() argument
534 Loc(Loc) { in MCCFIInstruction()
542 SMLoc Loc = {}) {
578 AddressSpace, Loc); in createLLVMDefAspaceCfa()
605 return MCCFIInstruction(OpWindowSave, L, 0, 0, Loc);
617 SMLoc Loc = {}) {
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h1178 FileID FID = getFileID(Loc); in getModuleImportLoc()
1193 if (Loc.isFileID()) return Loc; in getExpansionLoc()
1201 if (Loc.isFileID()) return Loc; in getFileLoc()
1241 if (Loc.isFileID()) return Loc; in getSpellingLoc()
1269 FileID FID = getFileID(Loc); in getDecomposedLoc()
1282 FileID FID = getFileID(Loc); in getDecomposedExpansionLoc()
1288 if (Loc.isFileID()) in getDecomposedExpansionLoc()
1300 FileID FID = getFileID(Loc); in getDecomposedSpellingLoc()
1306 if (Loc.isFileID()) in getDecomposedSpellingLoc()
1530 if (Loc.isInvalid()) in isInSystemHeader()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCStreamer.cpp181 emitValueImpl(Value, Size, Loc); in emitValue()
326 SMLoc Loc) { in checkCVLocSection() argument
340 Loc, in checkCVLocSection()
666 SMLoc Loc) { in emitCFIRegister() argument
676 void MCStreamer::emitCFIWindowSave(SMLoc Loc) { in emitCFIWindowSave() argument
735 void MCStreamer::emitWinCFIEndProc(SMLoc Loc) { in emitWinCFIEndProc() argument
792 SMLoc Loc) { in emitWinEHHandler() argument
911 return getContext().reportError(Loc, in emitWinCFIAllocStack()
924 SMLoc Loc) { in emitWinCFISaveReg() argument
941 SMLoc Loc) { in emitWinCFISaveXMM() argument
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DAPI.h346 StringRef USR, StringRef Name, PresumedLoc Loc, in GlobalFunctionTemplateSpecializationRecord()
409 StringRef USR, StringRef Name, PresumedLoc Loc, in GlobalVariableTemplateSpecializationRecord()
427 StringRef USR, StringRef Name, PresumedLoc Loc, in GlobalVariableTemplatePartialSpecializationRecord()
562 : CXXFieldRecord(RK_CXXFieldTemplate, USR, Name, Loc, in CXXFieldTemplateRecord()
688 StringRef USR, StringRef Name, PresumedLoc Loc, in CXXMethodTemplateSpecializationRecord()
965 StringRef USR, StringRef Name, PresumedLoc Loc, in ClassTemplateSpecializationRecord()
981 StringRef USR, StringRef Name, PresumedLoc Loc, in ClassTemplatePartialSpecializationRecord()
1236 StringRef Name, StringRef USR, PresumedLoc Loc,
1244 StringRef Name, StringRef USR, PresumedLoc Loc,
1350 StringRef Name, StringRef USR, PresumedLoc Loc,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasAnalysis.cpp446 switch (Loc) { in operator <<()
457 OS << ME.getModRef(Loc) << ", "; in operator <<()
475 if (Loc.Ptr) { in getModRefInfo()
491 if (Loc.Ptr) { in getModRefInfo()
516 if (Loc.Ptr) in getModRefInfo()
517 return getModRefInfoMask(Loc); in getModRefInfo()
524 if (Loc.Ptr) { in getModRefInfo()
543 if (Loc.Ptr) { in getModRefInfo()
556 if (Loc.Ptr) { in getModRefInfo()
573 if (Loc.Ptr) { in getModRefInfo()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DStackMapPrinter.h45 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/contrib/llvm-project/llvm/lib/IR/
H A DDebugLoc.cpp18 DebugLoc::DebugLoc(const MDNode *L) : Loc(const_cast<MDNode *>(L)) {} in DebugLoc()
21 return cast_or_null<DILocation>(Loc.get()); in get()
45 return cast<DILocation>(Loc)->getInlinedAtScope(); in getInlinedAtScope()
58 if (DILocation *Loc = get()) { in isImplicitCode() local
59 return Loc->isImplicitCode(); in isImplicitCode()
65 if (DILocation *Loc = get()) { in setImplicitCode() local
66 Loc->setImplicitCode(ImplicitCode); in setImplicitCode()
78 for (DILocation *Loc = RootLoc; Loc; Loc = Loc->getInlinedAt()) { in replaceInlinedAtSubprogram() local
79 if (auto It = Cache.find(Loc); It != Cache.end()) { in replaceInlinedAtSubprogram()
83 LocChain.push_back(Loc); in replaceInlinedAtSubprogram()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp884 return Loc; in getExpansionLocSlowCase()
891 Loc = Loc.getLocWithOffset(LocInfo.second); in getSpellingLocSlowCase()
893 return Loc; in getSpellingLocSlowCase()
899 Loc = getImmediateSpellingLoc(Loc); in getFileLocSlowCase()
901 Loc = getImmediateExpansionRange(Loc).getBegin(); in getFileLocSlowCase()
903 return Loc; in getFileLocSlowCase()
933 Loc = Loc.getLocWithOffset(Offset); in getDecomposedSpellingLocSlowCase()
948 if (Loc.isFileID()) return Loc; in getImmediateSpellingLoc()
972 Loc = getImmediateSpellingLoc(Loc); in getTopMacroCallerLoc()
1853 if (Loc.isInvalid() || !Loc.isFileID()) in getMacroArgExpandedLocation()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DModRef.h83 return (uint32_t)Loc * BitsPerLoc; in getLocationPos()
88 void setModRef(Location Loc, ModRefInfo MR) { in setModRef() argument
89 Data &= ~(LocMask << getLocationPos(Loc)); in setModRef()
102 MemoryEffectsBase(Location Loc, ModRefInfo MR) { setModRef(Loc, MR); } in MemoryEffectsBase() argument
107 for (Location Loc : locations()) in MemoryEffectsBase() local
108 setModRef(Loc, MR); in MemoryEffectsBase()
165 ModRefInfo getModRef(Location Loc) const { in getModRef() argument
172 ME.setModRef(Loc, MR); in getWithModRef()
179 ME.setModRef(Loc, ModRefInfo::NoModRef); in getWithoutLoc()
186 for (Location Loc : locations()) in getModRef() local
[all …]

12345678910>>...31