| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | PPExpressions.cpp | 63 SourceRange getRange() const { return Range; } in getRange() function in __anon807bcb150111::PPValue 459 << Result.getRange(); in EvaluateValue() 494 PP.Diag(Loc, diag::warn_pp_expr_overflow) << Result.getRange(); in EvaluateValue() 579 PP.Diag(LHS.getRange().getBegin(), diag::err_pp_expr_bad_token_lparen) in diagnoseUnexpectedOperator() 583 << LHS.getRange(); in diagnoseUnexpectedOperator() 701 << LHS.getRange() << RHS.getRange(); in EvaluateDirectiveSubExpr() 706 << LHS.getRange() << RHS.getRange(); in EvaluateDirectiveSubExpr() 720 << LHS.getRange() << RHS.getRange(); in EvaluateDirectiveSubExpr() 732 << LHS.getRange() << RHS.getRange(); in EvaluateDirectiveSubExpr() 819 << LHS.getRange() << RHS.getRange(); in EvaluateDirectiveSubExpr() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Source.cpp | 25 SourceRange SourceInfo::getRange() const { in getRange() function in SourceInfo 51 SourceRange SourceMapper::getRange(const Function *F, CodePtr PC) const { in getRange() function in SourceMapper 52 return getSource(F, PC).getRange(); in getRange()
|
| H A D | InterpFrame.cpp | 196 if (SourceRange NullRange = S.getRange(nullptr, {}); NullRange.isValid()) in getCallRange() 200 return S.getRange(Caller->Func, RetPC - sizeof(uintptr_t)); in getCallRange() 271 SourceRange InterpFrame::getRange(CodePtr PC) const { in getRange() function in InterpFrame 273 return Caller->getRange(RetPC); in getRange() 275 return S.getRange(Func, PC); in getRange()
|
| H A D | Source.h | 80 SourceRange getRange() const; 110 SourceRange getRange(const Function *F, CodePtr PC) const;
|
| H A D | InterpFrame.h | 125 SourceRange getRange(CodePtr PC) const;
|
| H A D | Interp.cpp | 510 << CSK << S.Current->getRange(OpPC); in CheckNull() 522 << AK << S.Current->getRange(OpPC); in CheckRange() 533 << CSK << S.Current->getRange(OpPC); in CheckRange() 544 << CSK << S.Current->getRange(OpPC); in CheckSubobject() 692 << AK << /*uninitialized=*/true << S.Current->getRange(OpPC); in CheckInitialized() 704 << AK << /*uninitialized=*/false << S.Current->getRange(OpPC); in CheckLifetime() 976 << /*NaN=*/true << S.Current->getRange(OpPC); in CheckFloatResult() 1918 << 2 << S.getLangOpts().CPlusPlus << S.Current->getRange(OpPC); in CheckPointerToIntegralCast()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | BugSuppression.cpp | 40 template <class NodeType> inline SourceRange getRange(const NodeType *Node) { in getRange() function 43 template <> inline SourceRange getRange(const AttributedStmt *S) { in getRange() function 52 return getRange(S->getSubStmt()); in getRange() 108 addRange(getRange(Node)); in VisitAttributedNode()
|
| H A D | RangeConstraintManager.cpp | 1959 RangeSet getRange(ProgramStateRef State, SymbolRef Sym) const; 2884 return getRange(St, Sym).getConcreteValue(); in getSymVal() 2889 RangeSet Range = getRange(St, Sym); in getSymMinVal() 2895 RangeSet Range = getRange(St, Sym); in getSymMaxVal() 3039 RangeSet RangeConstraintManager::getRange(ProgramStateRef State, in getRange() function in RangeConstraintManager 3072 RangeSet New = getRange(St, Sym); in assumeSymNE() 3089 RangeSet New = getRange(St, Sym); in assumeSymEQ() 3107 return getRange(St, Sym); in getSymLTRange() 3120 RangeSet Result = getRange(St, Sym); in getSymLTRange() 3140 return getRange(St, Sym); in getSymGTRange() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
| H A D | BuildTree.cpp | 452 ArrayRef<syntax::Token> getRange(SourceRange Range) const { in getRange() function in syntax::TreeBuilder 454 return getRange(Range.getBegin(), Range.getEnd()); in getRange() 460 ArrayRef<syntax::Token> getRange(SourceLocation First, in getRange() function in syntax::TreeBuilder 471 auto Tokens = getRange(D->getSourceRange()); in getTemplateRange() 507 Tokens = getRange(S->TypeDecl::getBeginLoc(), S->getEndLoc()); in getDeclarationRange() 509 Tokens = getRange(D->getSourceRange()); in getDeclarationRange() 514 return getRange(E->getSourceRange()); in getExprRange() 520 auto Tokens = getRange(S->getSourceRange()); in getStmtRange() 977 Builder.getRange(getLocalSourceRange(NNSLoc)).drop_back(); in buildNameSpecifier() 1030 Builder.foldNode(Builder.getRange(QualifierLoc.getSourceRange()), in TraverseNestedNameSpecifierLoc() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | LazyValueInfo.cpp | 547 if (std::optional<ConstantRange> Range = cast<CallBase>(BBI)->getRange()) in getFromRangeMetadata() 548 return ValueLatticeElement::getRange(*Range); in getFromRangeMetadata() 553 return ValueLatticeElement::getRange( in getFromRangeMetadata() 680 if (std::optional<ConstantRange> Range = cast<Argument>(Val)->getRange()) in solveBlockValueNonLocal() 681 return ValueLatticeElement::getRange(*Range); in solveBlockValueNonLocal() 844 return ValueLatticeElement::getRange( in solveBlockValueSelect() 851 return ValueLatticeElement::getRange( in solveBlockValueSelect() 854 return ValueLatticeElement::getRange( in solveBlockValueSelect() 861 return ValueLatticeElement::getRange( in solveBlockValueSelect() 864 return ValueLatticeElement::getRange( in solveBlockValueSelect() [all …]
|
| H A D | ValueLattice.cpp | 107 return ValueLatticeElement::getRange( in intersect()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | UnwindInfoRegistrationPlugin.cpp | 56 auto R = B->getRange(); in addUnwindInfoRegistrationActions() 90 CodeRanges.push_back(B->getRange()); in addUnwindInfoRegistrationActions() 92 CodeRanges.back().End = B->getRange().End; in addUnwindInfoRegistrationActions()
|
| H A D | EHFrameRegistrationPlugin.cpp | 52 auto R = SectionRange(*EHFrame).getRange(); in modifyPassConfig()
|
| H A D | ELFNixPlatform.cpp | 828 POSR.EHFrameSection = R.getRange(); in addEHAndTLVSupportPasses() 852 POSR.ThreadDataSection = R.getRange(); in addEHAndTLVSupportPasses() 940 ELFNixPlatformSecs.push_back(jitlink::SectionRange(*Sec).getRange()); in registerInitSections() 947 dbgs() << " " << Sec.getName() << ": " << R.getRange() << "\n"; in registerInitSections()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCXXScopeSpec.cpp | 210 if (loc.isInvalid()) loc = SS.getRange().getBegin(); in RequireCompleteDeclContext() 214 SS.getRange())) { in RequireCompleteDeclContext() 215 SS.SetInvalid(SS.getRange()); in RequireCompleteDeclContext() 256 SS->SetInvalid(SS->getRange()); in RequireCompleteEnumDecl() 265 << QualType(EnumD->getTypeForDecl(), 0) << SS->getRange(); in RequireCompleteEnumDecl() 266 SS->SetInvalid(SS->getRange()); in RequireCompleteEnumDecl() 432 Found.setContextRange(SS.getRange()); in BuildCXXNestedNameSpecifier() 554 << SS.getRange()); in BuildCXXNestedNameSpecifier() 760 << LookupCtx << SS.getRange(); in BuildCXXNestedNameSpecifier() 895 if (SS.getRange().isValid()) in ActOnCXXNestedNameSpecifier() [all …]
|
| H A D | SemaStmtAttr.cpp | 28 S.Diag(A.getRange().getBegin(), diag::err_fallthrough_attr_wrong_target) in handleFallThroughAttr() 37 S.Diag(A.getRange().getBegin(), diag::err_fallthrough_attr_outside_switch); in handleFallThroughAttr() 437 << A << A.getRange(); in handleMSConstexprAttr() 545 SourceLocation OptionLoc = LH->getRange().getBegin(); in CheckForIncompatibleAttributes() 587 S.Diag(A.getRange().getBegin(), in handleOpenCLUnrollHint() 679 << A << A.getRange(); in ProcessStmtAttribute() 734 S.Diag(A.getRange().getBegin(), diag::err_decl_attribute_invalid_on_stmt) in ProcessStmtAttribute()
|
| H A D | SemaExprMember.cpp | 227 if (SS.isSet()) Range.setBegin(SS.getRange().getBegin()); in diagnoseInstanceReference() 614 << SS.getRange() << rep << BaseType; in DiagnoseQualifiedMemberReference() 951 ? SS.getRange() in BuildMemberReferenceExpr() 1013 if (SS.getRange().isValid()) in BuildMemberReferenceExpr() 1014 Loc = SS.getRange().getBegin(); in BuildMemberReferenceExpr() 1309 S.Diag(SS.getRange().getBegin(), diag::err_qualified_objc_access) in LookupMemberExpr() 1311 << FixItHint::CreateRemoval(SS.getRange()); in LookupMemberExpr() 1471 S.Diag(SS.getRange().getBegin(), diag::err_qualified_objc_access) in LookupMemberExpr() 1472 << 0 << SS.getScopeRep() << FixItHint::CreateRemoval(SS.getRange()); in LookupMemberExpr() 1866 if (SS.getRange().isValid()) in BuildImplicitMemberExpr() [all …]
|
| H A D | SemaDeclAttr.cpp | 1370 << AL << AL.getRange() << 0; in handleNoEscapeAttr() 1395 << CI << CI.getRange() << SR; in AddAssumeAlignedAttr() 1419 << CI.getRange() << Sema::MaximumAlignment; in AddAssumeAlignedAttr() 1438 << CI << CI.getRange() << getFunctionOrMethodResultSourceRange(D); in AddAllocAlignAttr() 2019 S.Diag(A.getLoc(), diag::warn_deprecated_noreturn_spelling) << A.getRange(); in handleStandardNoReturnAttr() 2382 if (checkAvailabilityAttr(*this, OldAA->getRange(), Platform, in mergeAvailabilityAttr() 2405 if (!checkAvailabilityAttr(*this, CI.getRange(), Platform, MergedIntroduced, in mergeAvailabilityAttr() 2420 S.Diag(AL.getRange().getBegin(), diag::warn_deprecated_ignored_on_using) in handleAvailabilityAttr() 2636 return S.getDarwinSDKInfoForAvailabilityChecking(AL.getRange().getBegin(), in handleAvailabilityAttr() 2765 S.Diag(AL.getRange().getBegin(), diag::warn_attribute_ignored) << AL; in handleVisibilityAttr() [all …]
|
| H A D | SemaObjC.cpp | 1600 << AL << AL.getRange(); in handleSuppresProtocolAttr() 1746 /*ExtraArgs=*/CI.getRange(), "os_consumed", /*pointers*/ 1); in AddXConsumedAttr() 1759 /*ExtraArgs=*/CI.getRange(), "ns_consumed", /*objc pointers*/ 0); in AddXConsumedAttr() 1765 /*ExtraArgs=*/CI.getRange(), "cf_consumed", /*pointers*/ 1); in AddXConsumedAttr() 1837 << AL << DiagID << AL.getRange(); in handleXReturnsXRetainedAttr() 1861 << AL.getRange() << AL << AL.isRegularKeywordAttribute() in handleXReturnsXRetainedAttr() 1903 << AL << ParmDiagID << AL.getRange(); in handleXReturnsXRetainedAttr() 1912 << AL << SubjectKind << Cf << AL.getRange(); in handleXReturnsXRetainedAttr() 2142 << AL.getRange() << AL << AL.isRegularKeywordAttribute() in handleOwnershipAttr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SCCPSolver.cpp | 91 static ConstantRange getRange(Value *Op, SCCPSolver &Solver, in getRange() function 109 return getRange(Op, Solver, InsertedValues); in refineInstruction() 181 return getRange(V, Solver, InsertedValues).isAllNonNegative(); in replaceSignedInst() 241 return getRange(Op, Solver, InsertedValues); in simplifyInstruction() 394 CR = CR.intersectWith(OldAttr.getRange()); in inferAttribute() 884 if (std::optional<ConstantRange> Range = A->getRange()) in getArgAttributeVL() 885 return ValueLatticeElement::getRange(*Range); in getArgAttributeVL() 1403 mergeInValue(LV, &I, ValueLatticeElement::getRange(Res)); in visitCastInst() 1424 mergeInValue(&EVI, ValueLatticeElement::getRange(Res)); in handleExtractOfWithOverflow() 1637 mergeInValue(&I, ValueLatticeElement::getRange(R)); in visitBinaryOperator() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Option/ |
| H A D | ArgList.h | 143 LLVM_ABI OptRange getRange(std::initializer_list<OptSpecifier> Ids) const; 207 OptRange Range = getRange({toOptSpecifier(Ids)...}); in filtered() 218 OptRange Range = getRange({toOptSpecifier(Ids)...}); in filtered_reverse()
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | SourceCode.cpp | 152 static CharSourceRange getRange(const CharSourceRange &EditRange, in getRange() function 178 getRange(EditRange, SM, LangOpts, IncludeMacroExpansion); in getFileRangeForEdit() 189 getRange(EditRange, SM, LangOpts, IncludeMacroExpansion); in getFileRange()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ConstantRangeList.h | 58 ConstantRange getRange(unsigned i) const { return Ranges[i]; } in getRange() function
|
| H A D | Argument.h | 76 LLVM_ABI std::optional<ConstantRange> getRange() const;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVVMIntrRange.cpp | 53 if (auto CurrentRange = II->getRange()) in addRangeAttr()
|