/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCObjectStreamer.h | 117 void emitLabel(MCSymbol *Symbol, SMLoc Loc = SMLoc()) override; 118 virtual void emitLabelAtPos(MCSymbol *Symbol, SMLoc Loc, MCFragment *F, 122 SMLoc Loc = SMLoc()) override; 143 SMLoc Loc) override; 154 StringRef FileName, SMLoc Loc) override; 176 SMLoc Loc, const MCSubtargetInfo &STI) override; 179 SMLoc Loc = SMLoc()) override; 181 SMLoc Loc = SMLoc()) override;
|
H A D | MCStreamer.h | 176 const MCExpr *addConstantPoolEntry(const MCExpr *, SMLoc Loc); 247 bool checkCVLocSection(unsigned FuncId, unsigned FileNo, SMLoc Loc); 285 WinEH::FrameInfo *EnsureValidWinFrameInfo(SMLoc Loc); 455 virtual void emitLabel(MCSymbol *Symbol, SMLoc Loc = SMLoc()); 632 SMLoc Loc = SMLoc()) = 0; 667 /// \param Loc - The location of the expression for error reporting. 669 SMLoc Loc = SMLoc()); 671 void emitValue(const MCExpr *Value, unsigned Size, SMLoc Loc = SMLoc()); 765 /// \param Loc - The location of the expression for error reporting. 767 SMLoc Loc 1020 emitRelocDirective(const MCExpr &Offset, StringRef Name, const MCExpr *Expr, SMLoc Loc, const MCSubtargetInfo &STI) argument [all...] |
H A D | MCELFStreamer.h | 43 void emitLabel(MCSymbol *Symbol, SMLoc Loc = SMLoc()) override; 44 void emitLabelAtPos(MCSymbol *Symbol, SMLoc Loc, MCFragment *F, 67 SMLoc Loc = SMLoc()) override;
|
H A D | MCWinCOFFStreamer.h | 43 void emitLabel(MCSymbol *Symbol, SMLoc Loc = SMLoc()) override; 62 unsigned ByteAlignment, SMLoc Loc = SMLoc()) override; 66 void EmitWinEHHandlerData(SMLoc Loc) override;
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Edit/ |
H A D | Commit.cpp | 25 SourceLocation Loc = SM.getLocForStartOfFile(Offset.getFID()); local 26 Loc = Loc.getLocWithOffset(Offset.getOffset()); 27 assert(Loc.isFileID()); 28 return Loc; 32 SourceLocation Loc = getFileLocation(SM); local 33 return CharSourceRange::getCharRange(Loc, Loc.getLocWithOffset(Length)); 37 SourceLocation Loc = SM.getLocForStartOfFile(InsertFromRangeOffs.getFID()); local 38 Loc [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DependentDiagnostic.h | 43 SourceLocation Loc, 51 DD->AccessData.Loc = Loc.getRawEncoding(); 76 return SourceLocation::getFromRawEncoding(AccessData.Loc); 115 unsigned Loc; member in struct:clang::DependentDiagnostic::__anon1304 40 Create(ASTContext &Context, DeclContext *Parent, AccessNonce _, SourceLocation Loc, bool IsMemberAccess, AccessSpecifier AS, NamedDecl *TargetDecl, CXXRecordDecl *NamingClass, QualType BaseObjectType, const PartialDiagnostic &PDiag) argument
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/MCParser/ |
H A D | COFFAsmParser.cpp | 304 bool COFFAsmParser::ParseDirectiveCGProfile(StringRef S, SMLoc Loc) { argument 305 return MCAsmParserExtension::ParseDirectiveCGProfile(S, Loc); 587 bool COFFAsmParser::ParseDirectiveLinkOnce(StringRef, SMLoc Loc) { argument 597 return Error(Loc, "cannot make section associative with .linkonce"); 600 return Error(Loc, Twine("section '") + Current->getName() + 611 bool COFFAsmParser::ParseSEHDirectiveStartProc(StringRef, SMLoc Loc) { argument 622 getStreamer().EmitWinCFIStartProc(Symbol, Loc); 626 bool COFFAsmParser::ParseSEHDirectiveEndProc(StringRef, SMLoc Loc) { argument 628 getStreamer().EmitWinCFIEndProc(Loc); 632 bool COFFAsmParser::ParseSEHDirectiveStartChained(StringRef, SMLoc Loc) { argument 638 ParseSEHDirectiveEndChained(StringRef, SMLoc Loc) argument 644 ParseSEHDirectiveHandler(StringRef, SMLoc Loc) argument 670 ParseSEHDirectiveHandlerData(StringRef, SMLoc Loc) argument 676 ParseSEHDirectiveAllocStack(StringRef, SMLoc Loc) argument 689 ParseSEHDirectiveEndProlog(StringRef, SMLoc Loc) argument [all...] |
H A D | DarwinAsmParser.cpp | 446 bool parseWatchOSVersionMin(StringRef Directive, SMLoc Loc) { argument 447 return parseVersionMin(Directive, Loc, MCVM_WatchOSVersionMin); 449 bool parseTvOSVersionMin(StringRef Directive, SMLoc Loc) { argument 450 return parseVersionMin(Directive, Loc, MCVM_TvOSVersionMin); 452 bool parseIOSVersionMin(StringRef Directive, SMLoc Loc) { argument 453 return parseVersionMin(Directive, Loc, MCVM_IOSVersionMin); 455 bool parseMacOSXVersionMin(StringRef Directive, SMLoc Loc) { argument 456 return parseVersionMin(Directive, Loc, MCVM_OSXVersionMin); 459 bool parseBuildVersion(StringRef Directive, SMLoc Loc); 460 bool parseVersionMin(StringRef Directive, SMLoc Loc, MCVersionMinTyp 551 parseDirectiveIndirectSymbol(StringRef, SMLoc Loc) argument 665 SMLoc Loc = getLexer().getLoc(); local 732 parseDirectivePushSection(StringRef S, SMLoc Loc) argument 980 SMLoc Loc = getParser().getTok().getLoc(); local 1093 checkVersion(StringRef Directive, StringRef Arg, SMLoc Loc, Triple::OSType ExpectedOS) argument 1123 parseVersionMin(StringRef Directive, SMLoc Loc, MCVersionMinType Type) argument 1161 parseBuildVersion(StringRef Directive, SMLoc Loc) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ScopedNoAliasAA.cpp | 100 const MemoryLocation &Loc, 103 return AAResultBase::getModRefInfo(Call, Loc, AAQI); 105 if (!mayAliasInScopes(Loc.AATags.Scope, 110 Loc.AATags.NoAlias)) 113 return AAResultBase::getModRefInfo(Call, Loc, AAQI); 99 getModRefInfo(const CallBase *Call, const MemoryLocation &Loc, AAQueryInfo &AAQI) argument
|
H A D | MemoryDependenceAnalysis.cpp | 111 /// If the given instruction references a specific memory location, fill in Loc 112 /// with the details, otherwise set Loc.Ptr to null. 116 static ModRefInfo GetLocation(const Instruction *Inst, MemoryLocation &Loc, argument 120 Loc = MemoryLocation::get(LI); 124 Loc = MemoryLocation::get(LI); 127 Loc = MemoryLocation(); 133 Loc = MemoryLocation::get(SI); 137 Loc = MemoryLocation::get(SI); 140 Loc = MemoryLocation(); 145 Loc 827 const MemoryLocation Loc = MemoryLocation::get(QueryInst); local 888 GetNonLocalInfoForBlock( Instruction *QueryInst, const MemoryLocation &Loc, bool isLoad, BasicBlock *BB, NonLocalDepInfo *Cache, unsigned NumSortedEntries) argument 1019 getNonLocalPointerDepFromBB( Instruction *QueryInst, const PHITransAddr &Pointer, const MemoryLocation &Loc, bool isLoad, BasicBlock *StartBB, SmallVectorImpl<NonLocalDepResult> &Result, DenseMap<BasicBlock *, Value *> &Visited, bool SkipFirstBlock, bool IsIncomplete) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUAliasAnalysis.cpp | 92 bool AMDGPUAAResult::pointsToConstantMemory(const MemoryLocation &Loc, argument 94 unsigned AS = Loc.Ptr->getType()->getPointerAddressSpace(); 99 const Value *Base = GetUnderlyingObject(Loc.Ptr, DL); 114 return AAResultBase::pointsToConstantMemory(Loc, AAQI, OrLocal); 141 return AAResultBase::pointsToConstantMemory(Loc, AAQI, OrLocal);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexTypeSourceInfo.cpp | 49 SourceLocation Loc = TTPL.getNameLoc(); local 51 return IndexCtx.handleReference(TTPD, Loc, Parent, ParentDC, 56 SourceLocation Loc = TL.getNameLoc(); local 60 return IndexCtx.handleReference(Underlying, Loc, Parent, 64 TRY_TO(IndexCtx.handleReference(ND, Loc, 67 TRY_TO(IndexCtx.handleReference(CD, Loc, Parent, ParentDC, 72 TRY_TO(IndexCtx.handleReference(ND, Loc, 249 SourceLocation Loc = NNS.getLocalBeginLoc(); local 259 Loc, Parent, DC, SymbolRoleSet()); 263 Loc, Paren [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | Lexer.h | 253 DiagnosticBuilder Diag(const char *Loc, unsigned DiagID) const; 257 SourceLocation getSourceLocation(const char *Loc, unsigned TokLen = 1) const; 335 static unsigned MeasureTokenLength(SourceLocation Loc, 341 static bool getRawToken(SourceLocation Loc, Token &Result, 349 static SourceLocation GetBeginningOfToken(SourceLocation Loc, 375 /// points just past the end of the token referenced by \p Loc, and 386 static SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset, 473 static StringRef getImmediateMacroName(SourceLocation Loc, 495 SourceLocation Loc, const SourceManager &SM, const LangOptions &LangOpts); 519 static Optional<Token> findNextToken(SourceLocation Loc, [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | SourceMgr.cpp | 61 unsigned SourceMgr::FindBufferContainingLoc(SMLoc Loc) const { 63 if (Loc.getPointer() >= Buffers[i].Buffer->getBufferStart() && 66 Loc.getPointer() <= Buffers[i].Buffer->getBufferEnd()) 180 SourceMgr::getLineAndColumn(SMLoc Loc, unsigned BufferID) const { argument 182 BufferID = FindBufferContainingLoc(Loc); 186 const char *Ptr = Loc.getPointer(); 238 SMDiagnostic SourceMgr::GetMessage(SMLoc Loc, SourceMgr::DiagKind Kind, argument 248 if (Loc.isValid()) { 249 unsigned CurBuf = FindBufferContainingLoc(Loc); 256 const char *LineStart = Loc 317 PrintMessage(raw_ostream &OS, SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg, ArrayRef<SMRange> Ranges, ArrayRef<SMFixIt> FixIts, bool ShowColors) const argument 324 PrintMessage(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg, ArrayRef<SMRange> Ranges, ArrayRef<SMFixIt> FixIts, bool ShowColors) const argument 327 PrintMessage(errs(), Loc, Kind, Msg, Ranges, FixIts, ShowColors); local [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SValBuilder.h | 76 virtual SVal evalCastFromLoc(Loc val, QualType castTy) = 0; 123 Loc lhs, Loc rhs, QualType resultTy) = 0; 129 Loc lhs, NonLoc rhs, QualType resultTy) = 0; 303 if (Loc::isLocType(type)) 318 NonLoc makeLocAsInteger(Loc loc, unsigned bits) { 345 Loc makeNullWithType(QualType type) { 349 Loc makeNull() { 353 Loc makeLoc(SymbolRef sym) { 357 Loc makeLo [all...] |
H A D | SVals.h | 9 // This file defines SVal, Loc, and NonLoc, classes that represent 64 /// Sub-kinds for Loc values. 320 class Loc : public DefinedSVal { class in namespace:clang::ento 322 Loc() = default; 323 explicit Loc(unsigned SubKind, const void *D) function in class:clang::ento::Loc 354 assert(!Loc::isLocType(sym->getType())); 423 Loc getLoc() const { 426 return D->first.castAs<Loc>(); 429 Loc getPersistentLoc() const { 433 return V.castAs<Loc>(); [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86SpeculativeLoadHardening.cpp | 184 MachineBasicBlock::iterator InsertPt, DebugLoc Loc); 186 MachineBasicBlock::iterator InsertPt, DebugLoc Loc, 190 MachineBasicBlock::iterator InsertPt, DebugLoc Loc, 194 DebugLoc Loc); 206 DebugLoc Loc); 428 DebugLoc Loc; local 448 BuildMI(Entry, EntryInsertPt, Loc, TII->get(X86::MOV64ri32), PS->PoisonReg) 461 BuildMI(Entry, EntryInsertPt, Loc, TII->get(X86::LFENCE)); 476 PS->InitialReg = extractPredStateFromSP(Entry, EntryInsertPt, Loc); 482 auto ZeroI = BuildMI(Entry, EntryInsertPt, Loc, TI 1503 saveEFLAGS( MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertPt, DebugLoc Loc) argument 1521 restoreEFLAGS( MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertPt, DebugLoc Loc, unsigned Reg) argument 1532 mergePredStateIntoSP( MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertPt, DebugLoc Loc, unsigned PredStateReg) argument 1552 extractPredStateFromSP( MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertPt, DebugLoc Loc) argument 1577 DebugLoc Loc = MI.getDebugLoc(); local 1911 hardenValueInRegister( unsigned Reg, MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertPt, DebugLoc Loc) argument 1963 DebugLoc Loc = MI.getDebugLoc(); local 2014 DebugLoc Loc = MI.getDebugLoc(); local 2063 DebugLoc Loc = MI.getDebugLoc(); local [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | TypeLocBuilder.h | 94 TyLocType Loc = TypeLoc(T, nullptr).castAs<TyLocType>(); local 95 size_t LocalSize = Loc.getLocalDataSize(); 96 unsigned LocalAlign = Loc.getLocalDataAlignment();
|
H A D | Sema.cpp | 51 SourceLocation Sema::getLocForEndOfToken(SourceLocation Loc, unsigned Offset) { argument 52 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts); 106 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason, 114 SourceLocation IncludeLoc = SM.getIncludeLoc(SM.getFileID(Loc)); 117 const FileEntry *FE = SM.getFileEntryForID(SM.getFileID(Loc)); 420 void Sema::warnStackExhausted(SourceLocation Loc) { argument 423 Diag(Loc, diag::warn_stack_exhausted); 428 void Sema::runWithSufficientStackSpace(SourceLocation Loc, argument 430 clang::runWithSufficientStackSpace([&] { warnStackExhausted(Loc); }, Fn); 494 SourceLocation Loc) { 492 diagnoseNullableToNonnullConversion(QualType DstType, QualType SrcType, SourceLocation Loc) argument 1377 SourceLocation Loc = Diags.getCurrentDiagLoc(); local 1436 Diag(SourceLocation Loc, const PartialDiagnostic& PD) argument 1521 visitUsedDecl(SourceLocation Loc, Decl *D) argument 1545 checkFunc(SourceLocation Loc, FunctionDecl *FD) argument 1594 const SourceLocation &Loc = PDAt.first; local 1652 DeviceDiagBuilder(Kind K, SourceLocation Loc, unsigned DiagID, FunctionDecl *Fn, Sema &S) argument 1698 targetDiag(SourceLocation Loc, unsigned DiagID) argument 1713 checkDeviceDecl(const ValueDecl *D, SourceLocation Loc) argument 1847 SourceLocation Loc = VD->getLocation(); local 2244 notePlausibleOverloads(Sema &S, SourceLocation Loc, const UnresolvedSetImpl &Overloads, bool (*IsPlausibleResult)(QualType)) argument 2291 SourceLocation Loc = E.get()->getExprLoc(); local 2411 auto Loc = Map.find(FDT); local 2416 auto Loc = OpenCLDeclExtMap.find(FD); local 2431 auto Loc = Map.find(D); local 2452 auto Loc = DS.getTypeSpecTypeLoc(); local [all...] |
H A D | SemaExpr.cpp | 88 static void DiagnoseUnusedOfDecl(Sema &S, NamedDecl *D, SourceLocation Loc) { argument 97 S.Diag(Loc, diag::warn_used_but_marked_unused) << D->getDeclName(); 145 SourceLocation Loc) { 173 bool DowngradeWarning = S.getSourceManager().isInMainFile(Loc); 177 S.Diag(Loc, DowngradeWarning ? diag::ext_internal_in_extern_inline_quiet 215 SourceLocation Loc = Locs.front(); local 234 Diag(Loc, diag::ext_main_used); 236 diagnoseUnavailableAlignedAllocation(*cast<FunctionDecl>(D), Loc); local 242 Diag(Loc, diag::err_binding_cannot_appear_in_own_initializer) 245 Diag(Loc, dia 143 diagnoseUseOfInternalDeclInInlineFunction(Sema &S, const NamedDecl *D, SourceLocation Loc) argument 386 DiagnoseSentinelCalls(NamedDecl *D, SourceLocation Loc, ArrayRef<Expr *> Args) argument 1400 checkEnumArithmeticConversions(Sema &S, Expr *LHS, Expr *RHS, SourceLocation Loc, Sema::ArithConvKind ACK) argument 1458 UsualArithmeticConversions(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, ArithConvKind ACK) argument 1899 BuildDeclRefExpr(ValueDecl *D, QualType Ty, ExprValueKind VK, SourceLocation Loc, const CXXScopeSpec *SS) argument 2592 SourceLocation Loc = SS.getBeginLoc(); local 2640 SourceLocation Loc = Lookup.getNameLoc(); local 2711 BuildIvarRefExpr(Scope *S, SourceLocation Loc, ObjCIvarDecl *IV) argument 3036 CheckDeclInExpr(Sema &S, SourceLocation Loc, NamedDecl *D) argument 3114 SourceLocation Loc = NameInfo.getLoc(); local 3121 diagnoseMissingTemplateArguments(TemplateName(Template), Loc); local 3359 BuildPredefinedExpr(SourceLocation Loc, PredefinedExpr::IdentKind IK) argument 3476 ActOnPredefinedExpr(SourceLocation Loc, tok::TokenKind Kind) argument 3550 ActOnIntegerConstant(SourceLocation Loc, uint64_t Val) argument 3556 BuildFloatingLiteral(Sema &S, NumericLiteralParser &Literal, QualType Ty, SourceLocation Loc) argument 3588 CheckLoopHintExpr(Expr *E, SourceLocation Loc) argument 3960 CheckVecStepTraitOperandType(Sema &S, QualType T, SourceLocation Loc, SourceRange ArgRange) argument 3978 CheckExtensionTraitOperandType(Sema &S, QualType T, SourceLocation Loc, SourceRange ArgRange, UnaryExprOrTypeTrait TraitKind) argument 4008 CheckObjCTraitOperandConstraints(Sema &S, QualType T, SourceLocation Loc, SourceRange ArgRange, UnaryExprOrTypeTrait TraitKind) argument 4026 warnOnSizeofOnArrayDecay(Sema &S, SourceLocation Loc, QualType T, Expr *E) argument 4480 CheckRealImagOperand(Sema &S, ExprResult &V, SourceLocation Loc, bool IsReal) argument 7635 checkConditionalPointerCompatibility(Sema &S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc) argument 7764 checkConditionalBlockPointerCompatibility(Sema &S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc) argument 7790 checkConditionalObjectPointersCompatibility(Sema &S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc) argument 7829 checkPointerIntegerMismatch(Sema &S, ExprResult &Int, Expr* PointerExpr, SourceLocation Loc, bool IsIntFirstExpr) argument 8332 SuggestParentheses(Sema &Self, SourceLocation Loc, const PartialDiagnostic &Note, SourceRange ParenRange) argument 8869 CheckAssignmentConstraints(SourceLocation Loc, QualType LHSType, QualType RHSType) argument 9463 InvalidOperands(SourceLocation Loc, ExprResult &LHS, ExprResult &RHS) argument 9490 InvalidLogicalVectorOperands(SourceLocation Loc, ExprResult &LHS, ExprResult &RHS) argument 9762 CheckVectorOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsCompAssign, bool AllowBothBool, bool AllowBoolConversions) argument 9933 checkArithmeticNull(Sema &S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsCompare) argument 9969 DiagnoseDivisionSizeofPointerOrArray(Sema &S, Expr *LHS, Expr *RHS, SourceLocation Loc) argument 10017 DiagnoseBadDivideOrRemainderValues(Sema& S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsDiv) argument 10030 CheckMultiplyDivideOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsCompAssign, bool IsDiv) argument 10059 CheckRemainderOperands( ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsCompAssign) argument 10085 diagnoseArithmeticOnTwoVoidPointers(Sema &S, SourceLocation Loc, Expr *LHSExpr, Expr *RHSExpr) argument 10095 diagnoseArithmeticOnVoidPointer(Sema &S, SourceLocation Loc, Expr *Pointer) argument 10108 diagnoseArithmeticOnNullPointer(Sema &S, SourceLocation Loc, Expr *Pointer, bool IsGNUIdiom) argument 10119 diagnoseArithmeticOnTwoFunctionPointers(Sema &S, SourceLocation Loc, Expr *LHS, Expr *RHS) argument 10135 diagnoseArithmeticOnFunctionPointer(Sema &S, SourceLocation Loc, Expr *Pointer) argument 10149 checkArithmeticIncompletePointerType(Sema &S, SourceLocation Loc, Expr *Operand) argument 10171 checkArithmeticOpPointerOperand(Sema &S, SourceLocation Loc, Expr *Operand) argument 10203 checkArithmeticBinOpPointerOperands(Sema &S, SourceLocation Loc, Expr *LHSExpr, Expr *RHSExpr) argument 10337 diagnosePointerIncompatibility(Sema &S, SourceLocation Loc, Expr *LHSExpr, Expr *RHSExpr) argument 10347 CheckAdditionOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, BinaryOperatorKind Opc, QualType* CompLHSTy) argument 10447 CheckSubtractionOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, QualType* CompLHSTy) argument 10569 DiagnoseBadShiftValues(Sema& S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, BinaryOperatorKind Opc, QualType LHSType) argument 10660 checkVectorShift(Sema &S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsCompAssign) argument 10746 CheckShiftOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, BinaryOperatorKind Opc, bool IsCompAssign) argument 10805 diagnoseDistinctPointerComparison(Sema &S, SourceLocation Loc, ExprResult &LHS, ExprResult &RHS, bool IsError) argument 10816 convertPointersToCompositeType(Sema &S, SourceLocation Loc, ExprResult &LHS, ExprResult &RHS) argument 10845 diagnoseFunctionPointerToVoidComparison(Sema &S, SourceLocation Loc, ExprResult &LHS, ExprResult &RHS, bool IsError) argument 10956 diagnoseObjCLiteralComparison(Sema &S, SourceLocation Loc, ExprResult &LHS, ExprResult &RHS, BinaryOperator::Opcode Opc) argument 11006 diagnoseLogicalNotOnLHSofCheck(Sema &S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, BinaryOperatorKind Opc) argument 11062 diagnoseTautologicalComparison(Sema &S, SourceLocation Loc, Expr *LHS, Expr *RHS, BinaryOperatorKind Opc) argument 11226 checkThreeWayNarrowingConversion(Sema &S, QualType ToType, Expr *E, QualType FromType, SourceLocation Loc) argument 11269 checkArithmeticOrEnumeralThreeWayCompare(Sema &S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc) argument 11351 checkArithmeticOrEnumeralCompare(Sema &S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, BinaryOperatorKind Opc) argument 11405 CheckCompareOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, BinaryOperatorKind Opc) argument 11897 CheckVectorCompareOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, BinaryOperatorKind Opc) argument 11937 diagnoseXorMisusedAsPow(Sema &S, const ExprResult &XorLHS, const ExprResult &XorRHS, const SourceLocation Loc) argument 12051 CheckVectorLogicalOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc) argument 12073 CheckMatrixElementwiseOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsCompAssign) argument 12119 CheckMatrixMultiplyOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, bool IsCompAssign) argument 12150 CheckBitwiseOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, BinaryOperatorKind Opc) argument 12192 CheckLogicalOperands(ExprResult &LHS, ExprResult &RHS, SourceLocation Loc, BinaryOperatorKind Opc) argument 12367 DiagnoseConstAssignment(Sema &S, const Expr *E, SourceLocation Loc) argument 12492 DiagnoseRecursiveConstFields(Sema &S, const ValueDecl *VD, const RecordType *Ty, SourceLocation Loc, SourceRange Range, OriginalExprKind OEK, bool &DiagnosticEmitted) argument 12533 DiagnoseRecursiveConstFields(Sema &S, const Expr *E, SourceLocation Loc) argument 12556 CheckForModifiableLvalue(Expr *E, SourceLocation Loc, Sema &S) argument 12684 CheckIdentityFieldAssignment(Expr *LHSExpr, Expr *RHSExpr, SourceLocation Loc, Sema &Sema) argument 12729 CheckAssignmentOperands(Expr *LHSExpr, ExprResult &RHS, SourceLocation Loc, QualType CompoundType) argument 12883 DiagnoseCommaOperator(const Expr *LHS, SourceLocation Loc) argument 12932 CheckCommaOperands(Sema &S, ExprResult &LHS, ExprResult &RHS, SourceLocation Loc) argument 13133 diagnoseAddressOfInvalidType(Sema &S, SourceLocation Loc, Expr *E, unsigned Type) argument 15241 SourceLocation Loc = Cap.getLocation(); local 15534 DiagnoseAssignmentResult(AssignConvertType ConvTy, SourceLocation Loc, QualType DstType, QualType SrcType, Expr *SrcExpr, AssignmentAction Action, bool *Complained) argument 15836 diagnoseFold(Sema &S, SourceLocation Loc, SourceRange SR) argument 16449 CheckCompleteParameterTypesForMangler(Sema &S, FunctionDecl *FD, SourceLocation Loc) argument 16541 MarkFunctionReferenced(SourceLocation Loc, FunctionDecl *Func, bool MightBeOdrUse) argument 16786 MarkVarDeclODRUsed(VarDecl *Var, SourceLocation Loc, Sema &SemaRef, const unsigned *const FunctionScopeIndexToStopAt = nullptr) argument 16810 MarkCaptureUsedInEnclosingContext(VarDecl *Capture, SourceLocation Loc, unsigned CapturingScopeIndex) argument 16890 getParentOfCapturingContextOrNull(DeclContext *DC, VarDecl *Var, SourceLocation Loc, const bool Diagnose, Sema &S) argument 16905 isVariableCapturable(CapturingScopeInfo *CSI, VarDecl *Var, SourceLocation Loc, const bool Diagnose, Sema &S) argument 16973 captureInBlock(BlockScopeInfo *BSI, VarDecl *Var, SourceLocation Loc, const bool BuildAndDiagnose, QualType &CaptureType, QualType &DeclRefType, const bool Nested, Sema &S, bool Invalid) argument 17047 captureInCapturedRegion(CapturedRegionScopeInfo *RSI, VarDecl *Var, SourceLocation Loc, const bool BuildAndDiagnose, QualType &CaptureType, QualType &DeclRefType, const bool RefersToCapturedVariable, Sema &S, bool Invalid) argument 17088 captureInLambda(LambdaScopeInfo *LSI, VarDecl *Var, SourceLocation Loc, const bool BuildAndDiagnose, QualType &CaptureType, QualType &DeclRefType, const bool RefersToCapturedVariable, const Sema::TryCaptureKind Kind, SourceLocation EllipsisLoc, const bool IsTopScope, Sema &S, bool Invalid) argument 17421 tryCaptureVariable(VarDecl *Var, SourceLocation Loc, TryCaptureKind Kind, SourceLocation EllipsisLoc) argument 17430 NeedToCaptureVariable(VarDecl *Var, SourceLocation Loc) argument 17438 getCapturedDeclRefType(VarDecl *Var, SourceLocation Loc) argument 17861 DoMarkVarDeclReferenced(Sema &SemaRef, SourceLocation Loc, VarDecl *Var, Expr *E) argument 18036 MarkVariableReferenced(SourceLocation Loc, VarDecl *Var) argument 18040 MarkExprReferenced(Sema &SemaRef, SourceLocation Loc, Decl *D, Expr *E, bool MightBeOdrUse) argument 18106 SourceLocation Loc = local 18121 MarkAnyDeclReferenced(SourceLocation Loc, Decl *D, bool MightBeOdrUse) argument 18146 SourceLocation Loc; member in class:__anon2072::MarkReferencedDecls 18151 MarkReferencedDecls(Sema &S, SourceLocation Loc) argument 18174 MarkDeclarationsReferencedInType(SourceLocation Loc, QualType T) argument 18190 visitUsedDecl(SourceLocation Loc, Decl *D) argument 18237 DiagRuntimeBehavior(SourceLocation Loc, ArrayRef<const Stmt*> Stmts, const PartialDiagnostic &PD) argument 18280 DiagRuntimeBehavior(SourceLocation Loc, const Stmt *Statement, const PartialDiagnostic &PD) argument 18286 CheckCallReturnType(QualType ReturnType, SourceLocation Loc, CallExpr *CE, FunctionDecl *FD) argument 18330 SourceLocation Loc; local 18402 SourceLocation Loc = opE->getOperatorLoc(); local 18414 CheckBooleanCondition(SourceLocation Loc, Expr *E, bool IsConstexpr) argument 18445 ActOnCondition(Scope *S, SourceLocation Loc, Expr *SubExpr, ConditionKind CK) argument 18851 SourceLocation Loc = FD->getLocation(); local [all...] |
H A D | SemaDeclCXX.cpp | 774 for (auto Loc : BadSpecifierLocs) 775 Err << SourceRange(Loc, Loc); 784 for (auto Loc : CPlusPlus20SpecifierLocs) 785 Warn << SourceRange(Loc, Loc); 900 SourceLocation Loc = B->getLocation(); 901 ExprResult E = S.BuildDeclRefExpr(Src, DecompType, VK_LValue, Loc); 904 E = GetInit(Loc, E.get(), I++); 920 [&](SourceLocation Loc, Exp [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-mca/ |
H A D | CodeRegion.h | 77 bool isLocInRange(llvm::SMLoc Loc) const; 109 void beginRegion(llvm::StringRef Description, llvm::SMLoc Loc); 110 void endRegion(llvm::StringRef Description, llvm::SMLoc Loc);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
H A D | MipsELFStreamer.cpp | 88 void MipsELFStreamer::emitLabel(MCSymbol *Symbol, SMLoc Loc) { argument 100 SMLoc Loc) { 101 MCELFStreamer::emitValueImpl(Value, Size, Loc); 99 emitValueImpl(const MCExpr *Value, unsigned Size, SMLoc Loc) argument
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 626 SourceLocation Loc; member in struct:clang::final::PragmaAttributeEntry 635 SourceLocation Loc; member in struct:clang::final::PragmaAttributeGroup 1452 void warnStackExhausted(SourceLocation Loc); 1458 void runWithSufficientStackSpace(SourceLocation Loc, 1517 SemaDiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { argument 1518 DiagnosticBuilder DB = Diags.Report(Loc, DiagID); 1523 SemaDiagnosticBuilder Diag(SourceLocation Loc, const PartialDiagnostic& PD); 1532 getFixItZeroInitializerForType(QualType T, SourceLocation Loc) const; 1533 std::string getFixItZeroLiteralForType(QualType T, SourceLocation Loc) const; 1536 SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigne 1972 isCompleteType(SourceLocation Loc, QualType T, CompleteTypeKind Kind = CompleteTypeKind::Default) argument 1981 RequireCompleteType(SourceLocation Loc, QualType T, TypeDiagnoser &Diagnoser) argument 1985 RequireCompleteType(SourceLocation Loc, QualType T, unsigned DiagID) argument 1990 RequireCompleteType(SourceLocation Loc, QualType T, unsigned DiagID, const Ts &...Args) argument 1997 RequireCompleteSizedType(SourceLocation Loc, QualType T, unsigned DiagID, const Ts &... Args) argument 2026 RequireLiteralType(SourceLocation Loc, QualType T, unsigned DiagID, const Ts &...Args) argument 6354 actOnLambdaInitCaptureInitialization( SourceLocation Loc, bool ByRef, SourceLocation EllipsisLoc, IdentifierInfo *Id, LambdaCaptureInitKind InitKind, Expr *&Init) argument 7077 RequireNonAbstractType(SourceLocation Loc, QualType T, unsigned DiagID, const Ts &...Args) argument 11270 FindCompositePointerType(SourceLocation Loc, ExprResult &E1, ExprResult &E2, bool ConvertArgs = true) argument 11605 SourceLocation Loc; member in struct:clang::final::CompleteTypeKind::FunctionDeclAndLoc 11685 SourceLocation Loc; member in class:clang::final::CompleteTypeKind::DeviceDiagBuilder [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | AnalyzerStatsChecker.cpp | 92 PresumedLoc Loc = SM.getPresumedLoc(D->getLocation()); local 93 if (!Loc.isValid()) 101 output << "block(line:" << Loc.getLine() << ":col:" << Loc.getColumn();
|