| /llvm-project-15.0.7/clang/lib/Tooling/Syntax/ |
| H A D | Mutations.cpp | 34 assert(New->Parent == nullptr); in addAfter() 35 assert(New->NextSibling == nullptr); in addAfter() 36 assert(New->PreviousSibling == nullptr); in addAfter() 37 assert(New->isDetached()); in addAfter() 40 New->setRole(Role); in addAfter() 49 static void replace(syntax::Node *Old, syntax::Node *New) { in replace() argument 53 assert(New->Parent == nullptr); in replace() 54 assert(New->NextSibling == nullptr); in replace() 55 assert(New->PreviousSibling == nullptr); in replace() 56 assert(New->isDetached()); in replace() [all …]
|
| /llvm-project-15.0.7/clang/test/PCH/ |
| H A D | cxx-exprs.cpp | 17 class New { class 18 New(const New&); 21 New *clone() { in clone() 22 return new New(*this); in clone() 32 New<int> *clone_new(New<int> *n) { in clone_new()
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/ |
| H A D | ChangeLog | 44 (GetAllInfos): New function. 45 (GetAlInfosMatchingName): New function. 46 (DNBProcessAttachWait): New function. 52 (CopyBundleIDForPath): New function. 61 (StartListening): New function. 253 *DNBArchImpl.cpp (bit): New function. 254 (bits): New function. 435 * DNBDefs.h (LOG_TASK): New log bit. 702 (DNBWatchpointSet): New function. 703 (DNBWatchpointClear): New function. [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | MakeSmartPtrCheck.cpp | 136 bool Initializes = New->hasInitializer() || in check() 142 checkConstruct(SM, Result.Context, Construct, Type, New); in check() 144 checkReset(SM, Result.Context, Reset, New); in check() 174 if (!replaceNew(Diag, New, SM, Ctx)) { in checkConstruct() 214 const CXXNewExpr *New) { in checkReset() argument 243 if (!replaceNew(Diag, New, SM, Ctx)) { in checkReset() 250 getNewExprName(New, SM, getLangOpts()) + ">") in checkReset() 323 switch (New->getInitializationStyle()) { in replaceNew() 353 if (const auto *CE = New->getConstructExpr()) { in replaceNew() 358 SourceRange InitRange = New->getDirectInitRange(); in replaceNew() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | ConstantMerge.cpp | 105 static CanMerge makeMergeable(GlobalVariable *Old, GlobalVariable *New) { in makeMergeable() argument 106 if (!Old->hasGlobalUnnamedAddr() && !New->hasGlobalUnnamedAddr()) in makeMergeable() 110 assert(!hasMetadataOtherThanDebugLoc(New)); in makeMergeable() 112 New->setUnnamedAddr(GlobalValue::UnnamedAddr::None); in makeMergeable() 117 Constant *NewConstant = New; in replace() 120 << New->getName() << "\n"); in replace() 123 if (Old->getAlign() || New->getAlign()) in replace() 124 New->setAlignment(std::max(getAlign(Old), getAlign(New))); in replace() 126 copyDebugLocMetadata(Old, New); in replace() 232 GlobalVariable *New = SameContentReplacements[i].second; in mergeConstants() local [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | CloneModule.cpp | 53 std::unique_ptr<Module> New = in CloneModule() local 55 New->setSourceFileName(M.getSourceFileName()); in CloneModule() 56 New->setDataLayout(M.getDataLayout()); in CloneModule() 57 New->setTargetTriple(M.getTargetTriple()); in CloneModule() 58 New->setModuleInlineAsm(M.getModuleInlineAsm()); in CloneModule() 66 *New, I.getValueType(), I.isConstant(), I.getLinkage(), in CloneModule() 77 I.getAddressSpace(), I.getName(), New.get()); in CloneModule() 93 I.getName(), New.get()); in CloneModule() 95 GV = new GlobalVariable(*New, I.getValueType(), false, in CloneModule() 189 NamedMDNode *NewNMD = New->getOrInsertNamedMetadata(NMD.getName()); in CloneModule() [all …]
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | BasicBlock.cpp | 394 New->getInstList().splice(New->end(), this->getInstList(), I, end()); in splitBasicBlock() 397 BranchInst *BI = BranchInst::Create(New, this); in splitBasicBlock() 405 New->replaceSuccessorsPhiUsesWith(this, New); in splitBasicBlock() 406 return New; in splitBasicBlock() 423 New->getInstList().splice(New->end(), this->getInstList(), begin(), I); in splitBasicBlockBefore() 433 TI->replaceSuccessorWith(this, New); in splitBasicBlockBefore() 434 this->replacePhiUsesWith(Pred, New); in splitBasicBlockBefore() 440 return New; in splitBasicBlockBefore() 450 PN->replaceIncomingBlockWith(Old, New); in replacePhiUsesWith() 462 Succ->replacePhiUsesWith(Old, New); in replaceSuccessorsPhiUsesWith() [all …]
|
| H A D | Value.cpp | 500 assert(!contains(New, this) && in doRAUW() 502 assert(New->getType() == getType() && in doRAUW() 522 U.set(New); in doRAUW() 530 doRAUW(New, ReplaceMetadataUses::Yes); in replaceAllUsesWith() 534 doRAUW(New, ReplaceMetadataUses::No); in replaceNonMetadataUsesWith() 540 assert(New->getType() == getType() && in replaceUsesWithIf() 558 U.set(New); in replaceUsesWithIf() 583 assert(!contains(New, this) && in replaceUsesOutsideBlock() 585 assert(New->getType() == getType() && in replaceUsesOutsideBlock() 590 replaceUsesWithIf(New, [BB](Use &U) { in replaceUsesOutsideBlock() [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/ |
| H A D | wrappers_cpp.cpp | 25 return Allocator.allocate(size, scudo::Chunk::Origin::New); in operator new() 32 return Allocator.allocate(size, scudo::Chunk::Origin::New); in operator new() 39 return Allocator.allocate(size, scudo::Chunk::Origin::New, in operator new() 48 return Allocator.allocate(size, scudo::Chunk::Origin::New, in operator new() 58 Allocator.deallocate(ptr, scudo::Chunk::Origin::New); in operator delete() 65 Allocator.deallocate(ptr, scudo::Chunk::Origin::New); in operator delete() 72 Allocator.deallocate(ptr, scudo::Chunk::Origin::New, size); in operator delete() 79 Allocator.deallocate(ptr, scudo::Chunk::Origin::New, 0, in operator delete() 89 Allocator.deallocate(ptr, scudo::Chunk::Origin::New, 0, in operator delete() 99 Allocator.deallocate(ptr, scudo::Chunk::Origin::New, size, in operator delete()
|
| /llvm-project-15.0.7/lld/test/MachO/ |
| H A D | special-symbol-ld-previous.s | 21 # CASE2: /New (compatibility version 1.1.1, current version 5.0.0) 28 # CASE3: /New (compatibility version 1.1.1, current version 5.0.0) 40 …lvm-otool -L %t/libfoo4_yes.dylib | FileCheck --check-prefix=CASE4-YES --implicit-check-not=/New %s 46 # CASE4-NO: /New (compatibility version 1.1.1, current version 5.0.0) 66 # INVALID-VERSION-DAG: failed to parse start version, symbol '$ld$previous$/New$1.2.3$1$3.a$14.0$$'… 67 # INVALID-VERSION-DAG: failed to parse end version, symbol '$ld$previous$/New$1.2.3$1$3.0$14.b$$' i… 84 install-name: '/New' 97 install-name: '/New' 121 symbols: [ '$ld$previous$/New$1.2.3$1$3.a$14.0$$', 122 '$ld$previous$/New$1.2.3$1$3.0$14.b$$', [all …]
|
| H A D | special-symbol-ld-install-name.s | 12 # CASE1: /New (compatibility version 1.1.1, current version 5.0.0) 28 ## Case 3: If there's another library that has '/New' as its original 54 symbols: [ '$ld$install_name$os11.0$/New', _xxx ] 67 symbols: [ '$ld$install_name$os11.a$/New', _xxx ] 77 install-name: '/New'
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyRegColoring.cpp | 155 Register New = SortedIntervals[Color]->reg(); in runOnMachineFunction() local 156 SlotMapping[I] = New; in runOnMachineFunction() 157 Changed |= Old != New; in runOnMachineFunction() 161 if (Old != New && MFI.isFrameBaseVirtual() && MFI.getFrameBaseVreg() == Old) in runOnMachineFunction() 162 MFI.setFrameBaseVreg(New); in runOnMachineFunction() 164 << " to vreg" << Register::virtReg2Index(New) << "\n"); in runOnMachineFunction() 172 unsigned New = SlotMapping[I]; in runOnMachineFunction() local 173 if (Old != New) in runOnMachineFunction() 174 MRI->replaceRegWith(Old, New); in runOnMachineFunction()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 1649 << New in CheckRedeclarationModuleOwnership() 2334 return New; in CreateBuiltin() 2399 return New; in LazilyCreateBuiltin() 3845 if (New->isCXXClassMember() && New->isOutOfLine()) in MergeFunctionDecl() 3847 << New << New->getReturnTypeSourceRange(); in MergeFunctionDecl() 3871 New->setType(SubstAutoType(New->getType(), DT)); in MergeFunctionDecl() 3920 << New << New->getType(); in MergeFunctionDecl() 6345 if (!New) in HandleDeclarator() 6356 return New; in HandleDeclarator() 14310 return New; in ActOnParamDeclarator() [all …]
|
| H A D | SemaExceptionSpec.cpp | 323 New->getType()->getAs<FunctionProtoType>(), New->getLocation(), in CheckEquivalentExceptionSpec() 383 New->setInvalidDecl(); in CheckEquivalentExceptionSpec() 472 Diag(New->getLocation(), DiagID) in CheckEquivalentExceptionSpec() 473 << New << OS.str(); in CheckEquivalentExceptionSpec() 475 Diag(New->getLocation(), DiagID) in CheckEquivalentExceptionSpec() 476 << New << OS.str() in CheckEquivalentExceptionSpec() 501 Old, OldLoc, New, NewLoc); in CheckEquivalentExceptionSpec() 531 New = S.ResolveExceptionSpec(NewLoc, New); in CheckEquivalentExceptionSpecImpl() 532 if (!New) in CheckEquivalentExceptionSpecImpl() 623 WithExceptions = New; in CheckEquivalentExceptionSpecImpl() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | MisplacedPointerArithmeticInAllocCheck.cpp | 45 const auto New = cxxNewExpr(unless(isArray())); in registerMatchers() local 48 hasLHS(anyOf(New, castExpr(New))), in registerMatchers() 75 const auto *New = cast<CXXNewExpr>(AllocExpr); in check() local 76 if (New->isArray()) { in check() 79 const auto *CtrE = New->getConstructExpr(); in check()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-apply-replacements/Inputs/conflict/ |
| H A D | expected.txt | 2 New replacement: $(path)/common.h: 106:+26:"int & elem : ints" 5 New replacement: $(path)/common.h: 140:+7:"i" 8 New replacement: $(path)/common.h: 169:+0:"(int*)" 11 New replacement: $(path)/common.h: 169:+1:"nullptr"
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVAtomicOps.td | 63 3) store the New Value back through Pointer. 222 2) get a New Value from copying Value, and 224 3) store the New Value back through Pointer. 280 3) store the New Value back through Pointer. 337 3) store the New Value back through Pointer. 379 3) store the New Value back through Pointer. 418 3) store the New Value back through Pointer. 458 3) store the New Value back through Pointer. 499 3) store the New Value back through Pointer. 541 3) store the New Value back through Pointer. [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/portability/ |
| H A D | SIMDIntrinsicsCheck.cpp | 112 StringRef New; in check() local 124 New = trySuggestPpc(Old); in check() 128 New = trySuggestX86(Old); in check() 133 if (!New.empty()) { in check() 141 StdRegex.sub(Std, New)); in check()
|
| /llvm-project-15.0.7/llvm/lib/Target/MSP430/ |
| H A D | MSP430FrameLowering.cpp | 238 MachineInstr *New = nullptr; in eliminateCallFramePseudoInstr() local 240 New = in eliminateCallFramePseudoInstr() 249 New = BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::ADD16ri), in eliminateCallFramePseudoInstr() 255 if (New) { in eliminateCallFramePseudoInstr() 257 New->getOperand(3).setIsDead(); in eliminateCallFramePseudoInstr() 260 MBB.insert(I, New); in eliminateCallFramePseudoInstr() 268 MachineInstr *New = in eliminateCallFramePseudoInstr() local 273 New->getOperand(3).setIsDead(); in eliminateCallFramePseudoInstr() 275 MBB.insert(I, New); in eliminateCallFramePseudoInstr()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | UnresolvedSet.h | 102 bool replace(const NamedDecl* Old, NamedDecl *New) { in replace() argument 105 return (I->setDecl(New), true); in replace() 111 void replace(iterator I, NamedDecl *New) { I.I->setDecl(New); } in replace() argument 113 void replace(iterator I, NamedDecl *New, AccessSpecifier AS) { in replace() argument 114 I.I->set(New, AS); in replace()
|
| /llvm-project-15.0.7/openmp/tools/archer/ |
| H A D | ompt-tsan.cpp | 366 static DependencyData *New() { return DataPoolEntry<DependencyData>::New(); } in New() function 434 static ParallelData *New(const void *codeptr) { in New() function 466 static Taskgroup *New(Taskgroup *Parent) { in New() function 467 return DataPoolEntry<Taskgroup>::New()->Init(Parent); in New() 591 static TaskData *New(TaskData *parent, int taskType) { in New() function 643 ParallelData *Data = ParallelData::New(codeptr_ra); in ompt_tsan_parallel_begin() 678 parallel_data->ptr = ParallelData::New(nullptr); in ompt_tsan_implicit_task() 744 Data->TaskGroup = Taskgroup::New(Data->TaskGroup); in ompt_tsan_sync_region() 861 ParallelData *PData = ParallelData::New(nullptr); in ompt_tsan_task_create() 864 Data = TaskData::New(PData, type); in ompt_tsan_task_create() [all …]
|
| /llvm-project-15.0.7/llvm/tools/bugpoint/ |
| H A D | ExtractFunction.cpp | 120 std::unique_ptr<Module> New = runPassesOn(Clone.get(), Passes); in deleteInstructionFromProgram() local 121 if (!New) { in deleteInstructionFromProgram() 125 return New; in deleteInstructionFromProgram() 143 std::unique_ptr<Module> New = runPassesOn(M.get(), CleanupPasses); in performFinalCleanups() local 144 if (!New) { in performFinalCleanups() 148 return New; in performFinalCleanups() 320 std::unique_ptr<Module> New = CloneModule(*M, NewVMap); in SplitFunctionsOutOfModule() local 334 for (Function &I : *New) in SplitFunctionsOutOfModule() 361 SplitStaticCtorDtor("llvm.global_ctors", M, New.get(), NewVMap); in SplitFunctionsOutOfModule() 362 SplitStaticCtorDtor("llvm.global_dtors", M, New.get(), NewVMap); in SplitFunctionsOutOfModule() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/language.support/support.dynamic/ |
| H A D | destroying_delete_t.pass.cpp | 27 static A* New(); 43 A* A::New() { in New() function in A 69 A* ap = A::New(); in main()
|
| /llvm-project-15.0.7/clang/lib/Driver/ |
| H A D | Multilib.cpp | 172 static Multilib compose(const Multilib &Base, const Multilib &New) { in compose() argument 174 llvm::sys::path::append(GCCSuffix, "/", Base.gccSuffix(), New.gccSuffix()); in compose() 176 llvm::sys::path::append(OSSuffix, "/", Base.osSuffix(), New.osSuffix()); in compose() 179 New.includeSuffix()); in compose() 186 Flags.insert(Flags.end(), New.flags().begin(), New.flags().end()); in compose() 198 for (const auto &New : MultilibSegments) { in Either() local 200 Multilib MO = compose(Base, New); in Either()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | LiveRangeShrink.cpp | 76 static MachineInstr *FindDominatedInstruction(MachineInstr &New, in FindDominatedInstruction() argument 79 auto NewIter = M.find(&New); in FindDominatedInstruction() 83 return &New; in FindDominatedInstruction() 87 return OrderOld < OrderNew ? &New : Old; in FindDominatedInstruction() 92 if (I == &New) in FindDominatedInstruction() 93 return &New; in FindDominatedInstruction()
|