Home
last modified time | relevance | path

Searched defs:Loc (Results 1 – 25 of 564) sorted by relevance

12345678910>>...23

/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPPCallbacks.h73 FileID PrevFID, SourceLocation Loc) {} in LexedFileChanged()
224 virtual void Ident(SourceLocation Loc, StringRef str) { in Ident()
228 virtual void PragmaDirective(SourceLocation Loc, in PragmaDirective()
233 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind, in PragmaComment()
238 virtual void PragmaMark(SourceLocation Loc, StringRef Trivia) { in PragmaMark()
243 virtual void PragmaDetectMismatch(SourceLocation Loc, StringRef Name, in PragmaDetectMismatch()
250 virtual void PragmaDebug(SourceLocation Loc, StringRef DebugType) { in PragmaDebug()
270 virtual void PragmaMessage(SourceLocation Loc, StringRef Namespace, in PragmaMessage()
276 virtual void PragmaDiagnosticPush(SourceLocation Loc, in PragmaDiagnosticPush()
282 virtual void PragmaDiagnosticPop(SourceLocation Loc, in PragmaDiagnosticPop()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPConditionalDirectiveRecord.cpp75 void PPConditionalDirectiveRecord::If(SourceLocation Loc, in If()
82 void PPConditionalDirectiveRecord::Ifdef(SourceLocation Loc, in Ifdef()
89 void PPConditionalDirectiveRecord::Ifndef(SourceLocation Loc, in Ifndef()
96 void PPConditionalDirectiveRecord::Elif(SourceLocation Loc, in Elif()
104 void PPConditionalDirectiveRecord::Elifdef(SourceLocation Loc, const Token &, in Elifdef()
109 void PPConditionalDirectiveRecord::Elifdef(SourceLocation Loc, SourceRange, in Elifdef() argument
115 void PPConditionalDirectiveRecord::Elifndef(SourceLocation Loc, const Token &, in Elifndef()
120 void PPConditionalDirectiveRecord::Elifndef(SourceLocation Loc, SourceRange, in Elifndef() argument
126 void PPConditionalDirectiveRecord::Else(SourceLocation Loc, in Else()
132 void PPConditionalDirectiveRecord::Endif(SourceLocation Loc, in Endif()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZMCObjectWriter.cpp
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTypeLoc.h200 void initialize(ASTContext &Context, SourceLocation Loc) const { in initialize()
303 void initializeLocal(ASTContext &Context, SourceLocation Loc) { in initializeLocal()
339 if (QualifiedTypeLoc Loc = getAs<QualifiedTypeLoc>()) in getUnqualifiedLoc() local
539 void setNameLoc(SourceLocation Loc) { in setNameLoc()
547 void initializeLocal(ASTContext &Context, SourceLocation Loc) { in initializeLocal()
571 void setBuiltinLoc(SourceLocation Loc) { in setBuiltinLoc()
668 void initializeLocal(ASTContext &Context, SourceLocation Loc) { in initializeLocal()
785 void setNameLoc(SourceLocation Loc) { in setNameLoc()
795 void setProtocolLAngleLoc(SourceLocation Loc) { in setProtocolLAngleLoc()
805 void setProtocolRAngleLoc(SourceLocation Loc) { in setProtocolRAngleLoc()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
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 …]
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
484 Location Loc; in handleFloatCastOverflow() local
524 SourceLocation Loc = Data->Loc.acquire(); in handleLoadInvalidValue() local
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DModRef.h82 static uint32_t getLocationPos(Location Loc) { in getLocationPos()
88 void setModRef(Location Loc, ModRefInfo MR) { in setModRef()
102 MemoryEffectsBase(Location Loc, ModRefInfo MR) { setModRef(Loc, MR); } in MemoryEffectsBase()
107 for (Location Loc : locations()) in MemoryEffectsBase() local
165 ModRefInfo getModRef(Location Loc) const { in getModRef()
170 MemoryEffectsBase getWithModRef(Location Loc, ModRefInfo MR) const { in getWithModRef()
177 MemoryEffectsBase getWithoutLoc(Location Loc) const { in getWithoutLoc()
186 for (Location Loc : locations()) in getModRef() local
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDIExpressionOptimizer.cpp96 static void consumeOneOperator(DIExpressionCursor &Cursor, uint64_t &Loc, in consumeOneOperator()
103 void startFromBeginning(uint64_t &Loc, DIExpressionCursor &Cursor, in startFromBeginning()
115 uint64_t Loc = 0; in canonicalizeDwarfOperations() local
150 uint64_t Loc = 0; in optimizeDwarfOperations() local
193 uint64_t &Loc, DIExpressionCursor &Cursor, in tryFoldNoOpMath()
209 uint64_t &Loc, DIExpressionCursor &Cursor, in tryFoldConstants()
234 uint64_t &Loc, DIExpressionCursor &Cursor, in tryFoldCommutativeMath()
261 uint64_t Const1, ArrayRef<DIExpression::ExprOperand> Ops, uint64_t &Loc, in tryFoldCommutativeMathWithArgInBetween()
289 uint64_t Loc = 0; in foldConstantMath() local
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DDeclSpec.cpp642 bool DeclSpec::SetStorageClassSpec(Sema &S, SCS SC, SourceLocation Loc, in SetStorageClassSpec()
704 bool DeclSpec::SetStorageClassSpecThread(TSCS TSC, SourceLocation Loc, in SetStorageClassSpecThread()
718 bool DeclSpec::SetTypeSpecWidth(TypeSpecifierWidth W, SourceLocation Loc, in SetTypeSpecWidth()
735 bool DeclSpec::SetTypeSpecComplex(TSC C, SourceLocation Loc, in SetTypeSpecComplex()
745 bool DeclSpec::SetTypeSpecSign(TypeSpecifierSign S, SourceLocation Loc, in SetTypeSpecSign()
754 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc, in SetTypeSpecType()
794 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc, in SetTypeSpecType()
816 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc, in SetTypeSpecType()
848 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, in SetTypeSpecType()
857 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc, in SetTypeSpecType()
[all …]
H A DSemaCoroutine.cpp35 SourceLocation Loc, bool &Res) { in lookupMember()
46 SourceLocation Loc) { in lookupMember()
142 SourceLocation Loc) { in lookupCoroutineHandleType()
184 static bool isValidCoroutineContext(Sema &S, SourceLocation Loc, in isValidCoroutineContext()
252 ExprResult Sema::BuildOperatorCoawaitCall(SourceLocation Loc, Expr *E, in BuildOperatorCoawaitCall()
260 SourceLocation Loc, Expr *E) { in buildOperatorCoawaitCall()
269 SourceLocation Loc) { in buildCoroutineHandle()
302 static ExprResult buildMemberCall(Sema &S, Expr *Base, SourceLocation Loc, in buildMemberCall()
333 SourceLocation Loc) { in maybeTailCall()
374 SourceLocation Loc, Expr *E) { in buildCoawaitCalls()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp86 void DiagnosticRenderer::emitDiagnostic(FullSourceLoc Loc, in emitDiagnostic()
164 void DiagnosticRenderer::emitIncludeStack(FullSourceLoc Loc, PresumedLoc PLoc, in emitIncludeStack()
189 void DiagnosticRenderer::emitIncludeStackRecursively(FullSourceLoc Loc) { in emitIncludeStackRecursively()
218 void DiagnosticRenderer::emitImportStack(FullSourceLoc Loc) { in emitImportStack()
230 void DiagnosticRenderer::emitImportStackRecursively(FullSourceLoc Loc, in emitImportStackRecursively()
260 retrieveMacroLocation(SourceLocation Loc, FileID MacroFileID, in retrieveMacroLocation()
315 static void getMacroArgExpansionFileIDs(SourceLocation Loc, in getMacroArgExpansionFileIDs()
423 void DiagnosticRenderer::emitCaret(FullSourceLoc Loc, in emitCaret()
435 FullSourceLoc Loc, DiagnosticsEngine::Level Level, in emitSingleMacroExpansion()
461 static bool checkLocForMacroArgExpansion(SourceLocation Loc, in checkLocForMacroArgExpansion()
[all …]
H A DPrintPreprocessedOutput.cpp219 bool MoveToLine(SourceLocation Loc, bool RequireStartOfLine) { in MoveToLine()
345 void PrintPPOutputPPCallbacks::FileChanged(SourceLocation Loc, in FileChanged()
550 void PrintPPOutputPPCallbacks::Ident(SourceLocation Loc, StringRef S) { in Ident()
606 void PrintPPOutputPPCallbacks::PragmaMessage(SourceLocation Loc, in PragmaMessage()
633 void PrintPPOutputPPCallbacks::PragmaDebug(SourceLocation Loc, in PragmaDebug()
644 PragmaDiagnosticPush(SourceLocation Loc, StringRef Namespace) { in PragmaDiagnosticPush()
651 PragmaDiagnosticPop(SourceLocation Loc, StringRef Namespace) { in PragmaDiagnosticPop()
657 void PrintPPOutputPPCallbacks::PragmaDiagnostic(SourceLocation Loc, in PragmaDiagnostic()
684 void PrintPPOutputPPCallbacks::PragmaWarning(SourceLocation Loc, in PragmaWarning()
709 void PrintPPOutputPPCallbacks::PragmaWarningPush(SourceLocation Loc, in PragmaWarningPush()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DTemplateDeduction.h49 SourceLocation Loc; variable
67 : Loc(Loc), DeducedDepth(DeducedDepth) {} in Loc() argument
151 void addSFINAEDiagnostic(SourceLocation Loc, PartialDiagnostic PD) { in addSFINAEDiagnostic()
161 void addSuppressedDiagnostic(SourceLocation Loc, in addSuppressedDiagnostic()
340 SourceLocation Loc; variable
351 : Loc(Loc), ForTakingAddress(ForTakingAddress) {} in Loc() argument
380 void NoteCandidates(Sema &S, SourceLocation Loc) const { in NoteCandidates()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DCOFFMasmParser.cpp236 bool COFFMasmParser::ParseDirectiveSegment(StringRef Directive, SMLoc Loc) { in ParseDirectiveSegment()
372 bool COFFMasmParser::ParseDirectiveSegmentEnd(StringRef Directive, SMLoc Loc) { in ParseDirectiveSegmentEnd()
385 bool COFFMasmParser::ParseDirectiveIncludelib(StringRef Directive, SMLoc Loc) { in ParseDirectiveIncludelib()
403 bool COFFMasmParser::ParseDirectiveOption(StringRef Directive, SMLoc Loc) { in ParseDirectiveOption()
443 bool COFFMasmParser::ParseDirectiveProc(StringRef Directive, SMLoc Loc) { in ParseDirectiveProc()
479 bool COFFMasmParser::ParseDirectiveEndProc(StringRef Directive, SMLoc Loc) { in ParseDirectiveEndProc()
499 bool COFFMasmParser::ParseDirectiveAlias(StringRef Directive, SMLoc Loc) { in ParseDirectiveAlias()
519 SMLoc Loc) { in ParseSEHDirectiveAllocStack()
531 SMLoc Loc) { in ParseSEHDirectiveEndProlog()
H A DCOFFAsmParser.cpp302 bool COFFAsmParser::ParseDirectiveCGProfile(StringRef S, SMLoc Loc) { in ParseDirectiveCGProfile()
604 bool COFFAsmParser::ParseDirectiveLinkOnce(StringRef, SMLoc Loc) { in ParseDirectiveLinkOnce()
628 bool COFFAsmParser::ParseSEHDirectiveStartProc(StringRef, SMLoc Loc) { in ParseSEHDirectiveStartProc()
643 bool COFFAsmParser::ParseSEHDirectiveEndProc(StringRef, SMLoc Loc) { in ParseSEHDirectiveEndProc()
649 bool COFFAsmParser::ParseSEHDirectiveEndFuncletOrFunc(StringRef, SMLoc Loc) { in ParseSEHDirectiveEndFuncletOrFunc()
655 bool COFFAsmParser::ParseSEHDirectiveStartChained(StringRef, SMLoc Loc) { in ParseSEHDirectiveStartChained()
661 bool COFFAsmParser::ParseSEHDirectiveEndChained(StringRef, SMLoc Loc) { in ParseSEHDirectiveEndChained()
667 bool COFFAsmParser::ParseSEHDirectiveHandler(StringRef, SMLoc Loc) { in ParseSEHDirectiveHandler()
693 bool COFFAsmParser::ParseSEHDirectiveHandlerData(StringRef, SMLoc Loc) { in ParseSEHDirectiveHandlerData()
699 bool COFFAsmParser::ParseSEHDirectiveAllocStack(StringRef, SMLoc Loc) { in ParseSEHDirectiveAllocStack()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/
H A DCodeRegion.cpp28 SMLoc Loc = Instruction.getLoc(); in addInstruction() local
39 void AnalysisRegions::beginRegion(StringRef Description, SMLoc Loc) { in beginRegion()
75 void AnalysisRegions::endRegion(StringRef Description, SMLoc Loc) { in endRegion()
117 void InstrumentRegions::beginRegion(StringRef Description, SMLoc Loc, in beginRegion()
144 void InstrumentRegions::endRegion(StringRef Description, SMLoc Loc) { in endRegion()
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DExtractAPIVisitor.h288 PresumedLoc Loc = in VisitVarDecl() local
361 PresumedLoc Loc = in VisitFunctionDecl() local
399 PresumedLoc Loc = in VisitEnumDecl() local
530 PresumedLoc Loc = in VisitNamespaceDecl() local
563 PresumedLoc Loc = in VisitRecordDecl() local
604 PresumedLoc Loc = in VisitCXXRecordDecl() local
657 PresumedLoc Loc = in VisitCXXMethodDecl() local
718 PresumedLoc Loc = in VisitCXXConstructorDecl() local
752 PresumedLoc Loc = in VisitCXXDestructorDecl() local
783 PresumedLoc Loc = in VisitConceptDecl() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DState.cpp21 OptionalDiagnostic State::FFDiag(SourceLocation Loc, diag::kind DiagId, in FFDiag()
42 OptionalDiagnostic State::CCEDiag(SourceLocation Loc, diag::kind DiagId, in CCEDiag()
63 OptionalDiagnostic State::Note(SourceLocation Loc, diag::kind DiagId) { in Note()
76 DiagnosticBuilder State::report(SourceLocation Loc, diag::kind DiagId) { in report()
81 PartialDiagnostic &State::addDiag(SourceLocation Loc, diag::kind DiagId) { in addDiag()
87 OptionalDiagnostic State::diag(SourceLocation Loc, diag::kind DiagId, in diag()
H A DInterp.cpp98 const SourceInfo &Loc = S.Current->getSource(OpPC); in diagnoseNonConstVariable() local
151 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckActive() local
345 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckNull() local
356 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckRange() local
366 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckRange() local
377 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckSubobject() local
426 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckConst() local
442 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckMutable() local
462 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckVolatile() local
479 const SourceInfo &Loc = S.Current->getSource(OpPC); in CheckInitialized() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCStreamer.cpp179 void MCStreamer::emitValue(const MCExpr *Value, unsigned Size, SMLoc Loc) { in emitValue()
308 SMLoc Loc) { in emitCVInlineSiteIdDirective()
322 StringRef FileName, SMLoc Loc) {} in emitCVLocDirective()
325 SMLoc Loc) { in checkCVLocSection()
414 void MCStreamer::emitLabel(MCSymbol *Symbol, SMLoc Loc) { in emitLabel()
438 void MCStreamer::emitCFIStartProc(bool IsSimple, SMLoc Loc) { in emitCFIStartProc()
486 void MCStreamer::emitCFIDefCfa(int64_t Register, int64_t Offset, SMLoc Loc) { in emitCFIDefCfa()
497 void MCStreamer::emitCFIDefCfaOffset(int64_t Offset, SMLoc Loc) { in emitCFIDefCfaOffset()
507 void MCStreamer::emitCFIAdjustCfaOffset(int64_t Adjustment, SMLoc Loc) { in emitCFIAdjustCfaOffset()
517 void MCStreamer::emitCFIDefCfaRegister(int64_t Register, SMLoc Loc) { in emitCFIDefCfaRegister()
[all …]
H A DMCAsmStreamer.cpp551 void MCAsmStreamer::emitLabel(MCSymbol *Symbol, SMLoc Loc) { in emitLabel()
1098 SMLoc Loc) { in emitZerofill()
1336 SMLoc Loc) { in emitValueImpl()
1458 SMLoc Loc) { in emitFill()
1488 int64_t Expr, SMLoc Loc) { in emitFill()
1586 SMLoc Loc) { in emitValueToOffset()
1808 SMLoc Loc) { in emitCVInlineSiteIdDirective()
1818 StringRef FileName, SMLoc Loc) { in emitCVLocDirective()
1983 void MCAsmStreamer::emitCFIDefCfa(int64_t Register, int64_t Offset, SMLoc Loc) { in emitCFIDefCfa()
1991 void MCAsmStreamer::emitCFIDefCfaOffset(int64_t Offset, SMLoc Loc) { in emitCFIDefCfaOffset()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasAnalysis.cpp151 ModRefInfo AAResults::getModRefInfoMask(const MemoryLocation &Loc, in getModRefInfoMask()
157 ModRefInfo AAResults::getModRefInfoMask(const MemoryLocation &Loc, in getModRefInfoMask()
214 const MemoryLocation &Loc, in getModRefInfo()
447 for (IRMemLocation Loc : MemoryEffects::locations()) { in operator <<() local
469 const MemoryLocation &Loc, in getModRefInfo()
487 const MemoryLocation &Loc, in getModRefInfo()
513 const MemoryLocation &Loc, in getModRefInfo()
524 const MemoryLocation &Loc, in getModRefInfo()
543 const MemoryLocation &Loc, in getModRefInfo()
556 const MemoryLocation &Loc, in getModRefInfo()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DConsumed.h70 virtual void warnLoopStateMismatch(SourceLocation Loc, in warnLoopStateMismatch()
82 virtual void warnParamReturnTypestateMismatch(SourceLocation Loc, in warnParamReturnTypestateMismatch()
99 virtual void warnReturnTypestateForUnconsumableType(SourceLocation Loc, in warnReturnTypestateForUnconsumableType()
111 virtual void warnReturnTypestateMismatch(SourceLocation Loc, in warnReturnTypestateMismatch()
124 SourceLocation Loc) {} in warnUseOfTempInInvalidState()
139 SourceLocation Loc) {} in warnUseInInvalidState()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDiagnosticInfo.h326 const DiagnosticLocation &Loc) in DiagnosticInfoWithLocationBase()
353 DiagnosticLocation Loc; variable
430 DiagnosticLocation Loc; member
460 const DiagnosticLocation &Loc) in DiagnosticInfoOptimizationBase()
640 Loc), in DiagnosticInfoOptimizationBase() argument
671 const DiagnosticLocation &Loc, const Twine &Msg) in DiagnosticInfoIROptimization()
728 const DiagnosticLocation &Loc, const Twine &Msg) in OptimizationRemark()
774 const DiagnosticLocation &Loc, const Twine &Msg) in OptimizationRemarkMissed()
826 const Function &Fn, const DiagnosticLocation &Loc, in OptimizationRemarkAnalysis()
846 const DiagnosticLocation &Loc, const Twine &Msg) in OptimizationRemarkAnalysis()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp94 auto *Loc = Env.getStorageLocation(E); in maybeUnpackLValueExpr() local
119 if (auto *Loc = Env.getStorageLocation(From)) in propagateStorageLocation() local
267 if (auto *Loc = Env.getStorageLocation(*ME)) in ProcessVarDecl() local
399 if (StorageLocation *Loc = Env.getStorageLocation(*S->getSubExpr())) in VisitUnaryOperator() local
408 if (StorageLocation *Loc = Env.getStorageLocation(*S->getSubExpr())) in VisitUnaryOperator() local
457 auto *Loc = Env.getStorageLocation(*Ret); in VisitReturnStmt() local
505 auto &Loc = Env.getResultObjectLocation(*S); in VisitCXXDefaultArgExpr() local
535 RecordStorageLocation &Loc = Env.getResultObjectLocation(*S); in VisitCXXConstructExpr() local
653 RecordStorageLocation &Loc = Env.getResultObjectLocation(*S); in VisitCallExpr() local
663 StorageLocation &Loc = Env.createStorageLocation(*S); in VisitMaterializeTemporaryExpr() local
[all …]

12345678910>>...23