/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | MakeSmartPtrCheck.cpp | 279 SourceLocation NewStart = NewRange.getBegin(); in replaceNew() local 283 if (NewStart.isInvalid() || NewEnd.isInvalid()) in replaceNew() 327 Diag << FixItHint::CreateRemoval(SourceRange(NewStart, NewEnd)); in replaceNew() 331 Diag << FixItHint::CreateReplacement(SourceRange(NewStart, NewEnd), in replaceNew() 361 SourceRange(NewStart, InitRange.getBegin())); in replaceNew() 368 Diag << FixItHint::CreateReplacement(SourceRange(NewStart, NewEnd), in replaceNew() 428 CharSourceRange::getCharRange(NewStart, InitRange.getBegin())); in replaceNew()
|
/external/clang/lib/Frontend/ |
D | TextDiagnostic.cpp | 420 unsigned NewStart = map.startOfPreviousColumn(SourceStart); in selectInterestingSourceRegion() local 425 while (NewStart && isWhitespace(SourceLine[NewStart])) in selectInterestingSourceRegion() 426 NewStart = map.startOfPreviousColumn(NewStart); in selectInterestingSourceRegion() 429 while (NewStart) { in selectInterestingSourceRegion() 430 unsigned Prev = map.startOfPreviousColumn(NewStart); in selectInterestingSourceRegion() 433 NewStart = Prev; in selectInterestingSourceRegion() 436 assert(map.byteToColumn(NewStart) != -1); in selectInterestingSourceRegion() 438 map.byteToColumn(NewStart); in selectInterestingSourceRegion() 440 SourceStart = NewStart; in selectInterestingSourceRegion()
|
/external/llvm-project/clang/lib/Frontend/ |
D | TextDiagnostic.cpp | 419 unsigned NewStart = map.startOfPreviousColumn(SourceStart); in selectInterestingSourceRegion() local 424 while (NewStart && isWhitespace(SourceLine[NewStart])) in selectInterestingSourceRegion() 425 NewStart = map.startOfPreviousColumn(NewStart); in selectInterestingSourceRegion() 428 while (NewStart) { in selectInterestingSourceRegion() 429 unsigned Prev = map.startOfPreviousColumn(NewStart); in selectInterestingSourceRegion() 432 NewStart = Prev; in selectInterestingSourceRegion() 435 assert(map.byteToColumn(NewStart) != -1); in selectInterestingSourceRegion() 437 map.byteToColumn(NewStart); in selectInterestingSourceRegion() 439 SourceStart = NewStart; in selectInterestingSourceRegion()
|
/external/llvm/lib/CodeGen/ |
D | LiveInterval.cpp | 139 iterator extendSegmentStartTo(iterator I, SlotIndex NewStart) { in extendSegmentStartTo() argument 148 S->start = NewStart; in extendSegmentStartTo() 154 } while (NewStart <= MergeTo->start); in extendSegmentStartTo() 158 if (MergeTo->end >= NewStart && MergeTo->valno == ValNo) { in extendSegmentStartTo() 164 MergeToSeg->start = NewStart; in extendSegmentStartTo()
|
D | StackColoring.cpp | 756 SlotIndex NewStart = Indexes->getMBBStartIdx(&MBB); in calculateLiveIntervals() local 758 Intervals[i]->addSegment(LiveInterval::Segment(NewStart, F, ValNum)); in calculateLiveIntervals()
|
/external/llvm-project/clang/lib/Tooling/Core/ |
D | Replacement.cpp | 158 unsigned NewStart = getShiftedCodePosition(R.getOffset()); in getReplacementInChangedCode() local 160 return Replacement(R.getFilePath(), NewStart, NewEnd - NewStart, in getReplacementInChangedCode()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | LiveInterval.cpp | 186 iterator extendSegmentStartTo(iterator I, SlotIndex NewStart) { in extendSegmentStartTo() argument 195 S->start = NewStart; in extendSegmentStartTo() 201 } while (NewStart <= MergeTo->start); in extendSegmentStartTo() 205 if (MergeTo->end >= NewStart && MergeTo->valno == ValNo) { in extendSegmentStartTo() 211 MergeToSeg->start = NewStart; in extendSegmentStartTo()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | LiveInterval.cpp | 186 iterator extendSegmentStartTo(iterator I, SlotIndex NewStart) { in extendSegmentStartTo() argument 195 S->start = NewStart; in extendSegmentStartTo() 201 } while (NewStart <= MergeTo->start); in extendSegmentStartTo() 205 if (MergeTo->end >= NewStart && MergeTo->valno == ValNo) { in extendSegmentStartTo() 211 MergeToSeg->start = NewStart; in extendSegmentStartTo()
|
/external/llvm-project/clang-tools-extra/clang-change-namespace/ |
D | ChangeNamespace.cpp | 133 unsigned NewStart = Replaces.getShiftedCodePosition(R.getOffset()); in getReplacementInChangedCode() local 136 return tooling::Replacement(R.getFilePath(), NewStart, NewEnd - NewStart, in getReplacementInChangedCode()
|
/external/clang/lib/Sema/ |
D | SemaOpenMP.cpp | 4767 auto NewStart = tryBuildCapture(SemaRef, Start.get(), Captures); in BuildCounterInit() local 4768 if (!NewStart.isUsable()) in BuildCounterInit() 4770 if (!SemaRef.Context.hasSameType(NewStart.get()->getType(), in BuildCounterInit() 4772 NewStart = SemaRef.PerformImplicitConversion( in BuildCounterInit() 4773 NewStart.get(), VarRef.get()->getType(), Sema::AA_Converting, in BuildCounterInit() 4775 if (!NewStart.isUsable()) in BuildCounterInit() 4780 SemaRef.BuildBinOp(S, Loc, BO_Assign, VarRef.get(), NewStart.get()); in BuildCounterInit() 4808 ExprResult NewStart = Start; in BuildCounterUpdate() local 4810 NewStart = tryBuildCapture(SemaRef, Start.get(), *Captures); in BuildCounterUpdate() 4811 if (NewStart.isInvalid()) in BuildCounterUpdate() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/ |
D | Record.cpp | 1343 Init *NewStart = Start->resolveReferences(R); in resolveReferences() local 1350 if (Start == NewStart && List == NewList && Expr == NewExpr) in resolveReferences() 1353 return get(NewStart, NewList, A, B, NewExpr, getType()) in resolveReferences()
|
/external/llvm-project/llvm/lib/TableGen/ |
D | Record.cpp | 1423 Init *NewStart = Start->resolveReferences(R); in resolveReferences() local 1430 if (Start == NewStart && List == NewList && Expr == NewExpr) in resolveReferences() 1433 return get(NewStart, NewList, A, B, NewExpr, getType()) in resolveReferences()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaOpenMP.cpp | 7989 ExprResult NewStart = IsNonRectangularLB in buildCounterInit() local 7992 if (!NewStart.isUsable()) in buildCounterInit() 7994 if (!SemaRef.Context.hasSameType(NewStart.get()->getType(), in buildCounterInit() 7996 NewStart = SemaRef.PerformImplicitConversion( in buildCounterInit() 7997 NewStart.get(), VarRef.get()->getType(), Sema::AA_Converting, in buildCounterInit() 7999 if (!NewStart.isUsable()) in buildCounterInit() 8004 SemaRef.BuildBinOp(S, Loc, BO_Assign, VarRef.get(), NewStart.get()); in buildCounterInit() 8034 ExprResult NewStart = SemaRef.ActOnParenExpr(Loc, Loc, Start.get()); in buildCounterUpdate() local 8035 if (!NewStart.isUsable()) in buildCounterUpdate() 8038 NewStart = tryBuildCapture(SemaRef, Start.get(), *Captures); in buildCounterUpdate() [all …]
|