Home
last modified time | relevance | path

Searched refs:New (Results 1 – 25 of 523) sorted by relevance

12345678910>>...21

/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DMutations.cpp30 static void addAfter(syntax::Node *Anchor, syntax::Node *New, NodeRole Role) { in addAfter() argument
33 assert(New->Parent == nullptr); in addAfter()
34 assert(New->NextSibling == nullptr); in addAfter()
35 assert(New->PreviousSibling == nullptr); in addAfter()
36 assert(New->isDetached()); in addAfter()
39 New->setRole(Role); in addAfter()
42 Anchor->getNextSibling(), New); in addAfter()
48 static void replace(syntax::Node *Old, syntax::Node *New) { in replace() argument
52 assert(New->Parent == nullptr); in replace()
53 assert(New->NextSibling == nullptr); in replace()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp104 static CanMerge makeMergeable(GlobalVariable *Old, GlobalVariable *New) { in makeMergeable() argument
105 if (!Old->hasGlobalUnnamedAddr() && !New->hasGlobalUnnamedAddr()) in makeMergeable()
109 assert(!hasMetadataOtherThanDebugLoc(New)); in makeMergeable()
111 New->setUnnamedAddr(GlobalValue::UnnamedAddr::None); in makeMergeable()
115 static void replace(Module &M, GlobalVariable *Old, GlobalVariable *New) { in replace() argument
116 Constant *NewConstant = New; in replace()
119 << New->getName() << "\n"); in replace()
122 if (Old->getAlign() || New->getAlign()) in replace()
123 New->setAlignment(std::max(getAlign(Old), getAlign(New))); in replace()
125 copyDebugLocMetadata(Old, New); in replace()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCloneModule.cpp58 std::unique_ptr<Module> New = in CloneModule() local
60 New->setSourceFileName(M.getSourceFileName()); in CloneModule()
61 New->setDataLayout(M.getDataLayout()); in CloneModule()
62 New->setTargetTriple(M.getTargetTriple()); in CloneModule()
63 New->setModuleInlineAsm(M.getModuleInlineAsm()); in CloneModule()
64 New->IsNewDbgInfoFormat = M.IsNewDbgInfoFormat; in CloneModule()
72 *New, I.getValueType(), I.isConstant(), I.getLinkage(), in CloneModule()
83 I.getAddressSpace(), I.getName(), New.get()); in CloneModule()
99 I.getName(), New.get()); in CloneModule()
101 GV = new GlobalVariable(*New, I.getValueType(), false, in CloneModule()
[all …]
H A DLoopUnrollAndJam.cpp371 BasicBlock *New = CloneBasicBlock(*BB, VMap, "." + Twine(It)); in UnrollAndJamLoop() local
372 Header->getParent()->insert(Header->getParent()->end(), New); in UnrollAndJamLoop()
375 addClonedBlockToLoopInfo(*BB, New, LI, NewLoops); in UnrollAndJamLoop()
379 ForeBlocksFirst.push_back(New); in UnrollAndJamLoop()
381 ForeBlocksLast.push_back(New); in UnrollAndJamLoop()
384 SubLoopBlocksFirst.push_back(New); in UnrollAndJamLoop()
386 SubLoopBlocksLast.push_back(New); in UnrollAndJamLoop()
389 AftBlocksFirst.push_back(New); in UnrollAndJamLoop()
391 AftBlocksLast.push_back(New); in UnrollAndJamLoop()
397 PrevItValueMap[New] = (It == 1 ? *BB : LastValueMap[*BB]); in UnrollAndJamLoop()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dwrappers_cpp.cpp39 void *Ptr = Allocator.allocate(size, scudo::Chunk::Origin::New); in operator new()
50 void *Ptr = Allocator.allocate(size, scudo::Chunk::Origin::New); in operator new()
61 void *Ptr = Allocator.allocate(size, scudo::Chunk::Origin::New, in operator delete[]()
74 void *Ptr = Allocator.allocate(size, scudo::Chunk::Origin::New, in operator delete[]()
89 Allocator.deallocate(ptr, scudo::Chunk::Origin::New); in operator delete()
98 Allocator.deallocate(ptr, scudo::Chunk::Origin::New); in operator delete()
107 Allocator.deallocate(ptr, scudo::Chunk::Origin::New, size);
116 Allocator.deallocate(ptr, scudo::Chunk::Origin::New, 0,
128 Allocator.deallocate(ptr, scudo::Chunk::Origin::New, 0,
140 Allocator.deallocate(ptr, scudo::Chunk::Origin::New, siz
[all...]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp1471 const FunctionDecl *New) { in AllowOverloadingOfFunction() argument
1472 if (Context.getLangOpts().CPlusPlus || New->hasAttr<OverloadableAttr>()) in AllowOverloadingOfFunction()
1596 bool Sema::CheckRedeclarationModuleOwnership(NamedDecl *New, NamedDecl *Old) { in CheckRedeclarationModuleOwnership() argument
1604 if (New->getFriendObjectKind() && in CheckRedeclarationModuleOwnership()
1605 Old->getOwningModuleForLinkage() != New->getOwningModuleForLinkage()) { in CheckRedeclarationModuleOwnership()
1606 New->setLocalOwningModule(Old->getOwningModule()); in CheckRedeclarationModuleOwnership()
1607 makeMergedDefinitionVisible(New); in CheckRedeclarationModuleOwnership()
1611 Module *NewM = New->getOwningModule(); in CheckRedeclarationModuleOwnership()
1641 Diag(New->getLocation(), diag::err_mismatched_owning_module) in CheckRedeclarationModuleOwnership()
1642 << New in CheckRedeclarationModuleOwnership()
[all …]
H A DSemaExceptionSpec.cpp265 const FunctionProtoType *New, SourceLocation NewLoc,
290 bool Sema::CheckEquivalentExceptionSpec(FunctionDecl *Old, FunctionDecl *New) { in CheckEquivalentExceptionSpec() argument
297 OverloadedOperatorKind OO = New->getDeclName().getCXXOverloadedOperator(); in CheckEquivalentExceptionSpec()
312 if (exceptionSpecNotKnownYet(Old) || exceptionSpecNotKnownYet(New)) { in CheckEquivalentExceptionSpec()
313 DelayedEquivalentExceptionSpecChecks.push_back({New, Old}); in CheckEquivalentExceptionSpec()
322 New->getType()->getAs<FunctionProtoType>(), New->getLocation(), in CheckEquivalentExceptionSpec()
330 hasImplicitExceptionSpec(Old) != hasImplicitExceptionSpec(New)) { in CheckEquivalentExceptionSpec()
331 Diag(New->getLocation(), diag::ext_implicit_exception_spec_mismatch) in CheckEquivalentExceptionSpec()
344 const auto *NewProto = New->getType()->castAs<FunctionProtoType>(); in CheckEquivalentExceptionSpec()
359 New->setType(Context.getFunctionType( in CheckEquivalentExceptionSpec()
[all …]
H A DSemaTemplateInstantiateDecl.cpp94 const AlignedAttr *Aligned, Decl *New, bool IsPackExpansion) { in instantiateDependentAlignedAttr() argument
101 S.AddAlignedAttr(New, *Aligned, Result.getAs<Expr>(), IsPackExpansion); in instantiateDependentAlignedAttr()
109 S.AddAlignedAttr(New, *Aligned, Result, IsPackExpansion); in instantiateDependentAlignedAttr()
116 const AlignedAttr *Aligned, Decl *New) { in instantiateDependentAlignedAttr() argument
118 instantiateDependentAlignedAttr(S, TemplateArgs, Aligned, New, false); in instantiateDependentAlignedAttr()
143 instantiateDependentAlignedAttr(S, TemplateArgs, Aligned, New, true); in instantiateDependentAlignedAttr()
147 instantiateDependentAlignedAttr(S, TemplateArgs, Aligned, New, false); in instantiateDependentAlignedAttr()
154 const AssumeAlignedAttr *Aligned, Decl *New) { in instantiateDependentAssumeAlignedAttr() argument
172 S.AddAssumeAlignedAttr(New, *Aligned, E, OE); in instantiateDependentAssumeAlignedAttr()
177 const AlignValueAttr *Aligned, Decl *New) { in instantiateDependentAlignValueAttr() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DValue.cpp503 void Value::doRAUW(Value *New, ReplaceMetadataUses ReplaceMetaUses) { in doRAUW() argument
504 assert(New && "Value::replaceAllUsesWith(<null>) is invalid!"); in doRAUW()
505 assert(!contains(New, this) && in doRAUW()
507 assert(New->getType() == getType() && in doRAUW()
512 ValueHandleBase::ValueIsRAUWd(this, New); in doRAUW()
514 ValueAsMetadata::handleRAUW(this, New); in doRAUW()
522 C->handleOperandChange(this, New); in doRAUW()
527 U.set(New); in doRAUW()
531 BB->replaceSuccessorsPhiUsesWith(cast<BasicBlock>(New)); in doRAUW()
534 void Value::replaceAllUsesWith(Value *New) { in replaceAllUsesWith() argument
[all …]
H A DBasicBlock.cpp584 BasicBlock *New = BasicBlock::Create(getContext(), BBName, getParent(), in splitBasicBlock() local
591 New->splice(New->end(), this, I, end()); in splitBasicBlock()
594 BranchInst *BI = BranchInst::Create(New, this); in splitBasicBlock()
602 New->replaceSuccessorsPhiUsesWith(this, New); in splitBasicBlock()
603 return New; in splitBasicBlock()
615 BasicBlock *New = BasicBlock::Create(getContext(), BBName, getParent(), this); in splitBasicBlockBefore() local
620 New->splice(New->end(), this, begin(), I); in splitBasicBlockBefore()
634 TI->replaceSuccessorWith(this, New); in splitBasicBlockBefore()
635 this->replacePhiUsesWith(Pred, New); in splitBasicBlockBefore()
638 BranchInst *BI = BranchInst::Create(this, New); in splitBasicBlockBefore()
[all …]
/freebsd/contrib/libfido2/
H A DNEWS6 ** New API calls:
13 ** New API calls:
23 ** New API calls:
47 ** New API calls:
57 ** New API calls:
74 ** New API calls:
93 ** New API calls:
109 ** New dependency on zlib.
115 ** New API calls:
139 ** New fido_ini
[all...]
/freebsd/contrib/diff/
H A DChangeLog7 * bootstrap: New file.
49 (Translations): New node.
68 (lib_SOURCES): New macro.
78 * lib/setmode.c (__attribute__): New macro.
125 (strip_trailing_cr): New var.
126 (STRIP_TRAILING_CR_OPTION): New enum.
140 (next_line0, next_line1): New vars.
243 * po/en_US.po: New file.
267 * lib/version-etc.c, lib/version-etc.h: New files, taken from
285 New macro. Use it uniformly instead of
[all …]
H A DNEWS5 * New diff3 option --strip-trailing-cr.
29 * New locale: en_US.
33 * New diff and sdiff option:
40 * New locales: hu, pt_BR.
54 * New cmp option: -n or --bytes.
65 * New diff and sdiff options:
68 * New diff options:
72 * New diff3 and sdiff option:
99 * New diff option: --binary (useful only on non-POSIX hosts)
107 * New cmp, diff, diff3, sdiff option: --help
[all …]
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DMultilibBuilder.cpp135 const MultilibBuilder &New) { in compose() argument
137 llvm::sys::path::append(GCCSuffix, "/", Base.gccSuffix(), New.gccSuffix()); in compose()
139 llvm::sys::path::append(OSSuffix, "/", Base.osSuffix(), New.osSuffix()); in compose()
142 New.includeSuffix()); in compose()
149 Flags.insert(Flags.end(), New.flags().begin(), New.flags().end()); in compose()
162 for (const auto &New : MultilibSegments) { in Either() local
164 MultilibBuilder MO = compose(Base, New); in Either()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegColoring.cpp306 Register New = SortedIntervals[Color]->reg(); in runOnMachineFunction() local
307 SlotMapping[I] = New; in runOnMachineFunction()
308 Changed |= Old != New; in runOnMachineFunction()
312 if (Old != New && MFI.isFrameBaseVirtual() && MFI.getFrameBaseVreg() == Old) in runOnMachineFunction()
313 MFI.setFrameBaseVreg(New); in runOnMachineFunction()
315 << " to vreg" << Register::virtReg2Index(New) << "\n"); in runOnMachineFunction()
326 unsigned New = SlotMapping[I]; in runOnMachineFunction() local
327 if (Old != New) in runOnMachineFunction()
328 MRI->replaceRegWith(Old, New); in runOnMachineFunction()
/freebsd/contrib/one-true-awk/
H A DChangeLog36 * testdir/T.int-expr: New file.
68 * parse.c (node5, op5): New functions.
69 * proto.h (node5, op5): New declarations.
71 (gensub): New function.
83 * b.c (fnematch): New function for implementing the feature.
147 * REGRESS: New file, from Brian.
152 * awkgram.y (UPLUS): New token. In the grammar, call op1()
158 bugs-fixed/unary-plus.ok: New files.
170 [CONVC, CONVO]: New flag macros.
173 bugs-fixed/string-conv.ok: New files.
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DUnresolvedSet.h103 bool replace(const NamedDecl* Old, NamedDecl *New) { in replace() argument
106 return (I->setDecl(New), true); in replace()
112 void replace(iterator I, NamedDecl *New) { I.I->setDecl(New); } in replace() argument
114 void replace(iterator I, NamedDecl *New, AccessSpecifier AS) { in replace() argument
115 I.I->set(New, AS); in replace()
/freebsd/contrib/nvi/regex/
H A DWHATSNEW3 New in alpha3.4: The complex bug alluded to below has been fixed (in a
11 New in alpha3.3: The definition of word boundaries has been altered
23 New in alpha3.2: Assorted bits of cleanup and portability improvement
35 New in alpha3.1: Basically nothing, this release is just a bookkeeping
38 New in alpha3.0: Performance is no better, alas, but some fixes have been
51 New in alpha2.3: Split change list out of README, and moved flags notes
56 New in alpha2.2: Out-of-date manpages updated. Regerror() acquires two
66 New in alpha2.1: Lots of little stuff, cleanup and fixes. The one big
74 New in alpha2: Backslash-anything is an ordinary character, not an
82 New in alpha+3: full prototyping for internal routines, using a little
[all …]
/freebsd/lib/libc/regex/
H A DWHATSNEW2 New in alpha3.4: The complex bug alluded to below has been fixed (in a
10 New in alpha3.3: The definition of word boundaries has been altered
22 New in alpha3.2: Assorted bits of cleanup and portability improvement
34 New in alpha3.1: Basically nothing, this release is just a bookkeeping
37 New in alpha3.0: Performance is no better, alas, but some fixes have been
50 New in alpha2.3: Split change list out of README, and moved flags notes
55 New in alpha2.2: Out-of-date manpages updated. Regerror() acquires two
65 New in alpha2.1: Lots of little stuff, cleanup and fixes. The one big
73 New in alpha2: Backslash-anything is an ordinary character, not an
81 New in alpha+3: full prototyping for internal routines, using a little
[all …]
/freebsd/contrib/less/
H A DNEWS324 * New command M marks the last line displayed on the screen.
326 * New command ESC-m removes a line mark.
375 * New commands ESC-{ and ESC-} to shift to start/end of displayed lines.
379 * New option -Da in Windows version to enable SGR mode.
397 * New command ESC-G goes to end of currently buffered data in a pipe.
553 * New "&" command allows filtering of lines based on a pattern.
587 * New --follow-name option makes F command follow the name of a file
715 * New -L option to disable LESSOPEN processing.
749 New option --no-keypad disables keypad initialization.
751 * New commands t and T step through multiple tag matches.
[all …]
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DExtractFunction.cpp120 std::unique_ptr<Module> New = runPassesOn(Clone.get(), Passes); in deleteInstructionFromProgram() local
121 if (!New) { in deleteInstructionFromProgram()
125 return New; in deleteInstructionFromProgram()
142 std::unique_ptr<Module> New = runPassesOn(M.get(), CleanupPasses); in performFinalCleanups() local
143 if (!New) { in performFinalCleanups()
147 return New; in performFinalCleanups()
319 std::unique_ptr<Module> New = CloneModule(*M, NewVMap); in SplitFunctionsOutOfModule() local
333 for (Function &I : *New) in SplitFunctionsOutOfModule()
360 SplitStaticCtorDtor("llvm.global_ctors", M, New.get(), NewVMap); in SplitFunctionsOutOfModule()
361 SplitStaticCtorDtor("llvm.global_dtors", M, New.get(), NewVMap); in SplitFunctionsOutOfModule()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveRangeShrink.cpp72 /// Returns \p New if it's dominated by \p Old, otherwise return \p Old.
75 /// If \p New is not in \p M, return \p Old. Otherwise if \p Old is null, return
76 /// \p New. in FindDominatedInstruction() argument
77 static MachineInstr *FindDominatedInstruction(MachineInstr &New, in FindDominatedInstruction()
80 auto NewIter = M.find(&New); in FindDominatedInstruction()
84 return &New; in FindDominatedInstruction()
88 return OrderOld < OrderNew ? &New : Old; in FindDominatedInstruction()
90 // can reach New, if yes, New is dominated by Old. in FindDominatedInstruction()
93 if (I == &New) in FindDominatedInstruction()
[all...]
/freebsd/contrib/lutok/
H A DNEWS15 * Issue 5: New methods added to the state class: open_all.
43 * New global constants: registry_index.
45 * New methods added to the state class: get_global_table.
55 * New global constants: globals_index.
57 * New methods added to the state class: get_metafield, get_metatable,
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpBlock.cpp61 void Block::replacePointer(Pointer *Old, Pointer *New) { in replacePointer() argument
63 assert(New); in replacePointer()
74 addPointer(New); in replacePointer()
80 assert(hasPointer(New)); in replacePointer()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A Dilist.h165 iterator insert(iterator where, pointer New) {
166 this->addNodeToList(New); // Notify traits that we added a node...
167 return base_list_type::insert(where, *New);
170 iterator insert(iterator where, const_reference New) {
171 return this->insert(where, new value_type(New));
174 iterator insertAfter(iterator where, pointer New) {
176 return insert(begin(), New);
178 return insert(++where, New);

12345678910>>...21