Searched refs:New (Results 1 - 25 of 141) sorted by relevance

123456

/freebsd-10-stable/contrib/llvm/lib/Transforms/Utils/
H A DCloneModule.cpp36 Module *New = new Module(M->getModuleIdentifier(), M->getContext()); local
37 New->setDataLayout(M->getDataLayout());
38 New->setTargetTriple(M->getTargetTriple());
39 New->setModuleInlineAsm(M->getModuleInlineAsm());
47 GlobalVariable *GV = new GlobalVariable(*New,
62 I->getLinkage(), I->getName(), New);
71 I->getName(), NULL, New);
116 NamedMDNode *NewNMD = New->getOrInsertNamedMetadata(NMD.getName());
121 return New;
H A DLoopUnroll.cpp275 BasicBlock *New = CloneBasicBlock(*BB, VMap, "." + Twine(It)); local
276 Header->getParent()->getBasicBlockList().push_back(New);
288 New->getInstList().erase(NewPHI);
292 LastValueMap[*BB] = New;
297 L->addBasicBlockToLoop(New, LI->getBase());
310 phi->addIncoming(Incoming, New);
316 Headers.push_back(New);
318 Latches.push_back(New);
320 NewBlocks.push_back(New);
/freebsd-10-stable/usr.sbin/ctm/ctm/
H A Dctm_syntax.c27 #define New CTM_Q_Name_New macro
35 { Name|File|New|Subst, Uid, Gid, Mode,
53 { Name|Dir|New , Uid, Gid, Mode, 0 };
/freebsd-10-stable/contrib/llvm/lib/IR/
H A DBasicBlock.cpp305 BasicBlock *New = BasicBlock::Create(getContext(), BBName, local
310 New->getInstList().splice(New->end(), this->getInstList(), I, end());
313 BranchInst::Create(New, this);
315 // Now we must loop through all of the successors of the New block (which
318 // know that incoming branches will be from New, not from Old.
320 for (succ_iterator I = succ_begin(New), E = succ_end(New); I != E; ++I) {
329 PN->setIncomingBlock((unsigned)IDX, New);
334 return New;
337 replaceSuccessorsPhiUsesWith(BasicBlock *New) argument
[all...]
H A DValue.cpp303 void Value::replaceAllUsesWith(Value *New) { argument
304 assert(New && "Value::replaceAllUsesWith(<null>) is invalid!");
305 assert(New != this && "this->replaceAllUsesWith(this) is NOT valid!");
306 assert(New->getType() == getType() &&
311 ValueHandleBase::ValueIsRAUWd(this, New);
319 C->replaceUsesOfWithOnConstant(this, New, &U);
324 U.set(New);
328 BB->replaceSuccessorsPhiUsesWith(cast<BasicBlock>(New));
677 void ValueHandleBase::ValueIsRAUWd(Value *Old, Value *New) { argument
679 assert(Old != New
[all...]
/freebsd-10-stable/contrib/llvm/lib/Target/Mips/
H A DMipsJITInfo.h40 virtual void replaceMachineCodeForFunction(void *Old, void *New);
/freebsd-10-stable/contrib/llvm/lib/Target/PowerPC/
H A DPPCJITInfo.h45 virtual void replaceMachineCodeForFunction(void *Old, void *New);
/freebsd-10-stable/contrib/llvm/lib/Target/Sparc/
H A DSparcJITInfo.h37 virtual void replaceMachineCodeForFunction(void *Old, void *New);
/freebsd-10-stable/usr.bin/calendar/calendars/
H A Dcalendar.usholiday10 01/01 New Year's Day
11 01/14 Julian Calendar New Year's Day
40 12/31 New Year's Eve
H A Dcalendar.newzealand2 * New Zealand holidays
10 Jan 02 New Year Holiday (NZ)
/freebsd-10-stable/contrib/llvm/lib/Transforms/IPO/
H A DIPConstantPropagation.cpp239 Value* New = RetVals[0]; local
240 if (Argument *A = dyn_cast<Argument>(New))
243 New = CS.getArgument(A->getArgNo());
244 Call->replaceAllUsesWith(New);
264 Value *New = RetVals[index]; local
265 if (New) {
266 if (Argument *A = dyn_cast<Argument>(New))
269 New = CS.getArgument(A->getArgNo());
270 Ins->replaceAllUsesWith(New);
H A DDeadArgumentElimination.cpp289 Instruction *New; local
291 New = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(),
293 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv());
294 cast<InvokeInst>(New)->setAttributes(PAL);
296 New = CallInst::Create(NF, Args, "", Call);
297 cast<CallInst>(New)->setCallingConv(CS.getCallingConv());
298 cast<CallInst>(New)->setAttributes(PAL);
300 cast<CallInst>(New)->setTailCall();
302 New->setDebugLoc(Call->getDebugLoc());
307 Call->replaceAllUsesWith(New);
955 Instruction *New; local
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExceptionSpec.cpp153 bool Sema::CheckEquivalentExceptionSpec(FunctionDecl *Old, FunctionDecl *New) { argument
154 OverloadedOperatorKind OO = New->getDeclName().getCXXOverloadedOperator();
167 New->getType()->getAs<FunctionProtoType>(), New->getLocation(),
175 hasImplicitExceptionSpec(Old) != hasImplicitExceptionSpec(New)) {
176 Diag(New->getLocation(), diag::ext_implicit_exception_spec_mismatch)
190 New->getType()->castAs<FunctionProtoType>();
208 New->setType(NewType);
229 New->setType(NewType);
273 if (TypeSourceInfo *TSInfo = New
300 CheckEquivalentExceptionSpec( const FunctionProtoType *Old, SourceLocation OldLoc, const FunctionProtoType *New, SourceLocation NewLoc) argument
317 CheckEquivalentExceptionSpec(const PartialDiagnostic &DiagID, const PartialDiagnostic & NoteID, const FunctionProtoType *Old, SourceLocation OldLoc, const FunctionProtoType *New, SourceLocation NewLoc, bool *MissingExceptionSpecification, bool*MissingEmptyExceptionSpecification, bool AllowNoexceptAllMatchWithNoSpec, bool IsOperatorNew) argument
759 CheckOverridingFunctionExceptionSpec(const CXXMethodDecl *New, const CXXMethodDecl *Old) argument
[all...]
H A DIdentifierResolver.cpp256 static DeclMatchKind compareDeclarations(NamedDecl *Existing, NamedDecl *New) { argument
258 if (Existing == New)
262 if (Existing->getKind() != New->getKind())
266 if (Existing->getCanonicalDecl() == New->getCanonicalDecl()) {
272 if (New == MostRecent)
277 for (Decl::redecl_iterator RD = New->redecls_begin(),
278 RDEnd = New->redecls_end();
H A DSemaDecl.cpp1556 FunctionDecl *New = FunctionDecl::Create(Context, local
1562 New->setImplicit();
1570 ParmVarDecl::Create(Context, New, SourceLocation(),
1577 New->setParams(Params);
1580 AddKnownFunctionAttributes(New);
1581 RegisterLocallyScopedExternCDecl(New, S);
1589 PushOnScopeChains(New, TUScope);
1591 return New;
1624 bool Sema::isIncompatibleTypedef(TypeDecl *Old, TypedefNameDecl *New) { argument
1630 QualType NewType = New
1663 MergeTypedefNameDecl(TypedefNameDecl *New, LookupResult &OldDecls) argument
1858 mergeAlignedAttrs(Sema &S, NamedDecl *New, Decl *Old) argument
2043 checkNewAttributesAfterDef(Sema &S, Decl *New, const Decl *Old) argument
2118 mergeDeclAttributes(NamedDecl *New, Decl *Old, AvailabilityMergeKind AMK) argument
2277 haveIncompatibleLanguageLinkages(const T *Old, const T *New) argument
2301 MergeFunctionDecl(FunctionDecl *New, Decl *OldD, Scope *S, bool MergeTypeWithOld) argument
2822 MergeCompatibleFunctionDecls(FunctionDecl *New, FunctionDecl *Old, Scope *S, bool MergeTypeWithOld) argument
2883 MergeVarDeclTypes(VarDecl *New, VarDecl *Old, bool MergeTypeWithOld) argument
3001 MergeVarDecl(VarDecl *New, LookupResult &Previous) argument
4377 NamedDecl *New; local
9173 ParmVarDecl *New = CheckParameter(Context.getTranslationUnitDecl(), local
9293 ParmVarDecl *New = ParmVarDecl::Create(Context, DC, StartLoc, NameLoc, Name, local
10884 TagDecl *New; local
12466 EnumConstantDecl *New = local
12894 FileScopeAsmDecl *New = FileScopeAsmDecl::Create(Context, CurContext, local
[all...]
/freebsd-10-stable/contrib/llvm/include/llvm/CodeGen/
H A DMachineJumpTableInfo.h110 /// the jump tables to branch to New instead.
111 bool ReplaceMBBInJumpTables(MachineBasicBlock *Old, MachineBasicBlock *New);
114 /// the jump table to branch to New instead.
116 MachineBasicBlock *New);
H A DMachineLoopInfo.h148 inline void addTopLevelLoop(MachineLoop *New) { argument
149 LI.addTopLevelLoop(New);
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Serialization/
H A DModuleManager.cpp80 ModuleFile *New = new ModuleFile(Type, Generation); local
81 New->Index = Chain.size();
82 New->FileName = FileName.str();
83 New->File = Entry;
84 New->ImportLoc = ImportLoc;
85 Chain.push_back(New);
87 ModuleEntry = New;
93 New->Buffer.reset(Buffer);
98 ec = llvm::MemoryBuffer::getSTDIN(New->Buffer);
102 New
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DRangeConstraintManager.cpp432 RangeSet New = GetRange(St, Sym).Intersect(getBasicVals(), F, Upper, Lower); local
433 return New.isEmpty() ? NULL : St->set<ConstraintRange>(Sym, New);
447 RangeSet New = GetRange(St, Sym).Intersect(getBasicVals(), F, AdjInt, AdjInt); local
448 return New.isEmpty() ? NULL : St->set<ConstraintRange>(Sym, New);
476 RangeSet New = GetRange(St, Sym).Intersect(getBasicVals(), F, Lower, Upper); local
477 return New.isEmpty() ? NULL : St->set<ConstraintRange>(Sym, New);
505 RangeSet New local
534 RangeSet New = GetRange(St, Sym).Intersect(getBasicVals(), F, Lower, Upper); local
563 RangeSet New = GetRange(St, Sym).Intersect(getBasicVals(), F, Lower, Upper); local
[all...]
/freebsd-10-stable/contrib/llvm/lib/Target/MSP430/
H A DMSP430FrameLowering.cpp245 MachineInstr *New = 0; local
247 New = BuildMI(MF, Old->getDebugLoc(),
256 New = BuildMI(MF, Old->getDebugLoc(),
261 if (New) {
263 New->getOperand(3).setIsDead();
266 MBB.insert(I, New);
274 MachineInstr *New = local
278 New->getOperand(3).setIsDead();
280 MBB.insert(I, New);
/freebsd-10-stable/contrib/llvm/tools/bugpoint/
H A DExtractFunction.cpp125 Module *New = runPassesOn(Clone, Passes); local
127 if (!New) {
131 return New;
151 Module *New = runPassesOn(M, CleanupPasses); local
152 if (New == 0) {
157 return New;
305 Module *New = CloneModule(M, NewVMap); local
320 for (Module::iterator I = New->begin(), E = New->end(); I != E; ++I)
348 SplitStaticCtorDtor("llvm.global_ctors", M, New, NewVMa
[all...]
/freebsd-10-stable/contrib/llvm/lib/Target/X86/
H A DX86JITInfo.h38 virtual void replaceMachineCodeForFunction(void *Old, void *New);
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/
H A DUnresolvedSet.h126 bool replace(const NamedDecl* Old, NamedDecl *New) { argument
129 return (I->setDecl(New), true);
135 void replace(iterator I, NamedDecl *New) { argument
136 I.ir->setDecl(New);
139 void replace(iterator I, NamedDecl *New, AccessSpecifier AS) { argument
140 I.ir->set(New, AS);
/freebsd-10-stable/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombine.h241 // InsertNewInstBefore - insert an instruction New before instruction Old
244 Instruction *InsertNewInstBefore(Instruction *New, Instruction &Old) { argument
245 assert(New && New->getParent() == 0 &&
246 "New instruction already inserted into a basic block!");
248 BB->getInstList().insert(&Old, New); // Insert inst
249 Worklist.Add(New);
250 return New;
256 Instruction *InsertNewInstWith(Instruction *New, Instruction &Old) { argument
257 New
[all...]
/freebsd-10-stable/contrib/llvm/include/llvm/ADT/
H A DScopedHashTable.h65 ScopedHashTableVal *New = Allocator.template Allocate<ScopedHashTableVal>(); local
67 new (New) ScopedHashTableVal(key, val);
68 New->NextInScope = nextInScope;
69 New->NextForKey = nextForKey;
70 return New;

Completed in 303 milliseconds

123456