Searched refs:Range (Results 201 - 225 of 308) sorted by relevance

1234567891011>>

/freebsd-12-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1298 E->Range = readSourceRange();
1309 E->Range = readSourceRange();
1331 E->Range = readSourceRange();
1566 E->Range = Record.readSourceRange();
1765 E->Range = readSourceRange();
1934 SourceRange Range = readSourceRange(); local
1935 E->Loc = Range.getBegin();
1936 E->RParenLoc = Range.getEnd();
1947 SourceRange Range = readSourceRange(); local
1948 E->Loc = Range
1958 SourceRange Range = readSourceRange(); local
[all...]
H A DASTReader.cpp5886 SourceRange Range(TranslateSourceLocation(*M, RawRange.getBegin()),
5888 assert(Range.isValid());
5889 return Range;
5923 SourceRange Range(TranslateSourceLocation(M, PPOffs.getBegin()),
5950 ME = new (PPRec) MacroExpansion(Name, Range);
5952 ME = new (PPRec) MacroExpansion(Def, Range);
5961 MacroDefinitionRecord *MD = new (PPRec) MacroDefinitionRecord(II, Range);
5985 Range);
6097 /// preprocessed entities that \arg Range encompasses.
6099 ASTReader::findPreprocessedEntitiesInRange(SourceRange Range) { argument
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp421 void visitRangeMetadata(Instruction &I, MDNode *Range, Type *Ty);
3351 void Verifier::visitRangeMetadata(Instruction &I, MDNode *Range, Type *Ty) { argument
3352 assert(Range && Range == I.getMetadata(LLVMContext::MD_range) &&
3355 unsigned NumOperands = Range->getNumOperands();
3356 Assert(NumOperands % 2 == 0, "Unfinished range!", Range);
3358 Assert(NumRanges >= 1, "It should have at least one range!", Range);
3363 mdconst::dyn_extract<ConstantInt>(Range->getOperand(2 * i));
3366 mdconst::dyn_extract<ConstantInt>(Range->getOperand(2 * i + 1));
3369 "Range type
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp174 TypeSourceInfo *AllocatedTypeInfo, SourceRange Range,
180 AllocatedTypeInfo(AllocatedTypeInfo), Range(Range),
237 this->Range.setEnd(DirectInitRange.getEnd());
240 this->Range.setEnd(getInitializer()->getSourceRange().getEnd());
244 this->Range.setEnd(TypeIdParens.getEnd());
265 SourceRange Range, SourceRange DirectInitRange) {
278 AllocatedTypeInfo, Range, DirectInitRange);
630 Range = getSourceRangeImpl();
167 CXXNewExpr(bool IsGlobalNew, FunctionDecl *OperatorNew, FunctionDecl *OperatorDelete, bool ShouldPassAlignment, bool UsualArrayDeleteWantsSize, ArrayRef<Expr *> PlacementArgs, SourceRange TypeIdParens, Optional<Expr *> ArraySize, InitializationStyle InitializationStyle, Expr *Initializer, QualType Ty, TypeSourceInfo *AllocatedTypeInfo, SourceRange Range, SourceRange DirectInitRange) argument
258 Create(const ASTContext &Ctx, bool IsGlobalNew, FunctionDecl *OperatorNew, FunctionDecl *OperatorDelete, bool ShouldPassAlignment, bool UsualArrayDeleteWantsSize, ArrayRef<Expr *> PlacementArgs, SourceRange TypeIdParens, Optional<Expr *> ArraySize, InitializationStyle InitializationStyle, Expr *Initializer, QualType Ty, TypeSourceInfo *AllocatedTypeInfo, SourceRange Range, SourceRange DirectInitRange) argument
H A DExprObjC.cpp30 NumElements(Elements.size()), Range(SR), ArrayWithObjectsMethod(Method) {
64 NumElements(VK.size()), HasPackExpansions(HasPackExpansions), Range(SR),
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprMember.cpp201 SourceRange Range(Loc);
202 if (SS.isSet()) Range.setBegin(SS.getRange().getBegin());
218 << Range << nameInfo.getName();
224 << IsField << RepClass << nameInfo.getName() << ContextClass << Range; local
227 << nameInfo.getName() << Range;
230 << Range;
H A DSemaLambda.cpp940 EndLoc = Intro.Range.getEnd();
969 DiagnoseUnexpandedParameterPack(Intro.Range.getBegin(), MethodTyInfo,
973 CXXRecordDecl *Class = createLambdaClosureType(Intro.Range, MethodTyInfo,
976 startLambdaDefinition(Class, Intro.Range, MethodTyInfo, EndLoc, Params,
1005 buildLambdaScope(LSI, Method, Intro.Range, Intro.Default, Intro.DefaultLoc,
1030 = Intro.Default == LCD_None? Intro.Range.getBegin() : Intro.DefaultLoc;
H A DSemaExprCXX.cpp1771 Sema::BuildCXXNew(SourceRange Range, bool UseGlobal,
1782 SourceLocation StartLoc = Range.getBegin();
2180 Initializer, ResultType, AllocTypeInfo, Range,
2224 Sema &S, LookupResult &R, SourceRange Range, SmallVectorImpl<Expr *> &Args,
2254 if (S.CheckAllocationAccess(R.getNameLoc(), Range, R.getNamingClass(),
2271 return resolveAllocationOverload(S, R, Range, Args, PassAlignment,
2288 return resolveAllocationOverload(S, R, Range, Args, PassAlignment,
2295 << R.getLookupName() << Range);
2326 << R.getLookupName() << Range),
2336 << R.getLookupName() << Range),
[all...]
H A DSema.cpp2154 SourceRange Range = E.get()->getSourceRange(); local
2165 SourceLocation ParenInsertionLoc = getLocForEndOfToken(Range.getEnd());
2167 Diag(Loc, PD) << /*zero-arg*/ 1 << IsMV << Range
2176 E = BuildCallExpr(nullptr, E.get(), Range.getEnd(), None,
2177 Range.getEnd().getLocWithOffset(1));
2184 Diag(Loc, PD) << /*not zero-arg*/ 0 << IsMV << Range; local
/freebsd-12-stable/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp23 const DeclStmt *const Range = Node.getRangeStmt(); local
24 return InnerMatcher.matches(*Range, Finder, Builder);
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp634 void ReportBadFree(CheckerContext &C, SVal ArgVal, SourceRange Range,
637 SourceRange Range) const;
638 void ReportMismatchedDealloc(CheckerContext &C, SourceRange Range,
641 void ReportOffsetFree(CheckerContext &C, SVal ArgVal, SourceRange Range,
644 void ReportUseAfterFree(CheckerContext &C, SourceRange Range,
646 void ReportDoubleFree(CheckerContext &C, SourceRange Range, bool Released,
651 void ReportUseZeroAllocated(CheckerContext &C, SourceRange Range,
655 SourceRange Range, const Expr *FreeExpr) const;
2049 SourceRange Range,
2090 R->addRange(Range);
2048 ReportBadFree(CheckerContext &C, SVal ArgVal, SourceRange Range, const Expr *DeallocExpr) const argument
2121 ReportMismatchedDealloc(CheckerContext &C, SourceRange Range, const Expr *DeallocExpr, const RefState *RS, SymbolRef Sym, bool OwnershipTransferred) const argument
2177 ReportOffsetFree(CheckerContext &C, SVal ArgVal, SourceRange Range, const Expr *DeallocExpr, const Expr *AllocExpr) const argument
2235 ReportUseAfterFree(CheckerContext &C, SourceRange Range, SymbolRef Sym) const argument
2273 ReportDoubleFree(CheckerContext &C, SourceRange Range, bool Released, SymbolRef Sym, SymbolRef PrevSym) const argument
2328 ReportUseZeroAllocated(CheckerContext &C, SourceRange Range, SymbolRef Sym) const argument
2359 ReportFunctionPointerFree(CheckerContext &C, SVal ArgVal, SourceRange Range, const Expr *FreeExpr) const argument
[all...]
H A DBasicObjCFoundationChecks.cpp124 SourceRange Range,
208 SourceRange Range,
215 R->addRange(Range);
206 generateBugReport(ExplodedNode *N, StringRef Msg, SourceRange Range, const Expr *E, CheckerContext &C) const argument
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonFrameLowering.cpp2296 for (auto &Range : RL) {
2298 if (!IndexType::isInstr(Range.start()) ||
2299 !IndexType::isInstr(Range.end()))
2301 MachineInstr &SI = *IM.getInstr(Range.start());
2302 MachineInstr &EI = *IM.getInstr(Range.end());
2311 unsigned FoundR = this->findPhysReg(MF, Range, IM, DM, RC);
2335 if (LoxFIs.count(FI) && (&Range == &RL.back())) {
2378 DM[RR].subtract(Range);
2379 } // for Range in range list
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp65 // have a Range that covers R.
258 // Check if the Case Range is perfectly squeezed in between
383 uint64_t Range = Leaf.High->getSExtValue() - local
385 for (uint64_t j = 0; j < Range; ++j) {
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DDWARFYAML.h196 static void mapping(IO &IO, DWARFYAML::ARange &Range);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMinidumpYAML.cpp302 IO &IO, MemoryListStream::entry_type &Range) {
304 IO, Range.Entry, Range.Content);
355 mapRequiredHex(IO, "Start of Memory Range", Memory.StartOfMemoryRange);
301 mapping( IO &IO, MemoryListStream::entry_type &Range) argument
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSmallVector.h454 assert(S >= this->begin() && "Range to erase is out of bounds.");
917 to_vector(R &&Range) { argument
918 return {std::begin(Range), std::end(Range)};
/freebsd-12-stable/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DMarshallers.h387 Error->addError(Arg.Range, Error->ET_RegistryWrongArgType)
505 Error->addError(Args[index].Range, Error->ET_RegistryWrongArgType) \
688 Error->addError(Arg.Range, Error->ET_RegistryWrongArgType)
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp80 struct Range { struct in class:__anon4929::InitializerBuilder
84 SmallVector<Range, 4> Ranges;
99 [](const Range &LHS, uint64_t RHS) { return LHS.End <= RHS; });
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h392 /// Range for the code completion token.
552 SourceRange Range; member in struct:clang::Preprocessor::MacroExpandsInfo
554 MacroExpandsInfo(Token Tok, MacroDefinition MD, SourceRange Range) argument
555 : Tok(Tok), MD(MD), Range(Range) {}
1541 void EnterAnnotationToken(SourceRange Range, tok::TokenKind Kind,
/freebsd-12-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp288 SourceRange Range; local
290 ParseTypeName(&Range, DeclaratorContext::PrototypeContext, AS);
293 Actions.ActOnOpenMPDeclareReductionType(Range.getBegin(), TR);
296 std::make_pair(ReductionType, Range.getBegin()));
540 SourceRange Range; local
541 TypeResult ParsedType = parseOpenMPDeclareMapperVarDecl(Range, VName, AS);
544 Actions.ActOnOpenMPDeclareMapperType(Range.getBegin(), ParsedType);
562 Range.getBegin(), VName, AS);
572 DMD, getCurScope(), MapperType, Range.getBegin(), VName);
609 TypeResult Parser::parseOpenMPDeclareMapperVarDecl(SourceRange &Range, argument
[all...]
H A DParseStmt.cpp115 return Actions.ProcessStmtAttributes(Res.get(), Attrs, Attrs.Range);
223 if (Attrs.Range.getBegin().isValid())
224 DeclStart = Attrs.Range.getBegin();
638 TempAttrs.Range);
1117 R = Actions.ProcessStmtAttributes(R.get(), attrs, attrs.Range);
1810 getCurScope(), Loc, Name, attrs, attrs.Range.getEnd());
2173 TempAttrs.addNew(Hint.PragmaNameLoc->Ident, Hint.Range, nullptr,
H A DParseDecl.cpp42 TypeResult Parser::ParseTypeName(SourceRange *Range, argument
62 if (Range)
63 *Range = DeclaratorInfo.getSourceRange();
763 SourceRange Range(StartLoc, EndLoc);
764 Diag(StartLoc, diag::warn_microsoft_qualifiers_ignored) << Range;
855 VersionTuple Parser::ParseVersionTuple(SourceRange &Range) { argument
856 Range = SourceRange(Tok.getLocation(), Tok.getEndLoc());
1668 CharSourceRange AttrRange(SourceRange(Loc, Attrs.Range.getEnd()), true);
1676 const SourceRange &Range, const SourceLocation CorrectLocation) {
1678 CharSourceRange AttrRange(Range, tru
1675 DiagnoseProhibitedAttributes( const SourceRange &Range, const SourceLocation CorrectLocation) argument
4532 SourceRange Range; local
6526 SourceRange Range; local
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp1237 makeStandaloneRange(CharSourceRange Range, const SourceManager &SM, argument
1239 CharSourceRange FileRange = Lexer::makeFileCharRange(Range, SM, LangOpts);
1273 for (const auto &Range : InDiag.getRanges())
1274 OutDiag.Ranges.push_back(makeStandaloneRange(Range, SM, LangOpts));
2388 for (const auto &Range : SD.Ranges) {
2389 SourceLocation BL = FileLoc.getLocWithOffset(Range.first);
2390 SourceLocation EL = FileLoc.getLocWithOffset(Range.second);
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTIL.h800 Field(SExpr *R, SExpr *B) : SExpr(COP_Field), Range(R), Body(B) {}
802 : SExpr(C), Range(R), Body(B) {}
806 SExpr *range() { return Range; }
807 const SExpr *range() const { return Range; }
814 auto Nr = Vs.traverse(Range, Vs.typeCtx(Ctx));
828 SExpr* Range; member in class:clang::threadSafety::Field

Completed in 423 milliseconds

1234567891011>>