Searched defs:New (Results 1 - 25 of 143) sorted by relevance

123456

/external/clang/test/CXX/temp/temp.type/
H A Dp1-0x.cpp14 namespace New { namespace
/external/clang/test/PCH/
H A Dcxx-exprs.cpp14 class New { class
15 New(const New&);
18 New *clone() {
19 return new New(*this);
25 New<int> *clone_new(New<int> *n) {
/external/llvm/lib/IR/
H A DMetadataTracking.cpp42 bool MetadataTracking::retrack(void *Ref, Metadata &MD, void *New) { argument
44 assert(New && "Expected live reference");
45 assert(Ref != New && "Expected change");
47 R->moveRef(Ref, New, MD);
/external/skia/src/pathops/
H A DSkOpTAllocator.h28 static T* New(SkChunkAlloc* allocator) { function in class:SkOpTAllocator
/external/llvm/include/llvm/IR/
H A DMetadataTracking.h74 /// Semantically equivalent to \c untrack(MD) followed by \c track(New),
77 /// Note: it is an error if \c *MD does not equal \c New.
80 static bool retrack(Metadata *&MD, Metadata *&New) { argument
81 return retrack(&MD, *MD, &New);
83 static bool retrack(void *Ref, Metadata &MD, void *New);
/external/llvm/lib/Transforms/Utils/
H A DCloneModule.cpp37 Module *New = new Module(M->getModuleIdentifier(), M->getContext()); local
38 New->setDataLayout(M->getDataLayout());
39 New->setTargetTriple(M->getTargetTriple());
40 New->setModuleInlineAsm(M->getModuleInlineAsm());
48 GlobalVariable *GV = new GlobalVariable(*New,
63 I->getLinkage(), I->getName(), New);
74 I->getLinkage(), I->getName(), New);
119 NamedMDNode *NewNMD = New->getOrInsertNamedMetadata(NMD.getName());
124 return New;
H A DValueMapper.cpp207 Metadata *New = mapMetadataOp(OldNode->getOperand(I), Cycles, VM, Flags, local
209 if (Old != New) {
211 NewNode->replaceOperandWith(I, New);
381 MDNode *New = MapMetadata(Old, VMap, Flags, TypeMapper, Materializer); local
382 if (New != Old)
383 I->setMetadata(MI->first, New);
/external/protobuf/src/google/protobuf/
H A Drepeated_field.cc76 string* StringTypeHandlerBase::New() { function in class:google::protobuf::internal::StringTypeHandlerBase
/external/v8/src/
H A Dvector.h27 static Vector<T> New(int length) { function in class:v8::internal::Vector
H A Dzone-inl.h48 return zone->New(static_cast<int>(size));
51 inline void* ZoneAllocationPolicy::New(size_t size) { function in class:v8::internal::ZoneAllocationPolicy
53 return zone_->New(static_cast<int>(size));
59 return zone->New(static_cast<int>(size));
65 return zone->New(static_cast<int>(size));
H A Dallocation.cc20 void* Malloced::New(size_t size) { function in class:v8::internal::Malloced
H A Dzone.cc65 void* Zone::New(int size) { function in class:v8::internal::Zone
184 Segment* result = reinterpret_cast<Segment*>(Malloced::New(size));
/external/v8/test/cctest/
H A Dtest-list.cc38 void* New(size_t size) { function in class:ZeroingAllocationPolicy
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer.cc43 SymbolizedStack *SymbolizedStack::New(uptr addr) { function in class:__sanitizer::SymbolizedStack
/external/llvm/lib/ExecutionEngine/Orc/
H A DCloneSubModule.cpp10 void copyGVInitializer(GlobalVariable &New, const GlobalVariable &Orig, argument
13 New.setInitializer(MapValue(Orig.getInitializer(), VMap));
16 void copyFunctionBody(Function &New, const Function &Orig, argument
19 Function::arg_iterator DestI = New.arg_begin();
27 CloneFunctionInto(&New, &Orig, VMap, /*ModuleLevelChanges=*/true, Returns);
H A DIndirectionUtils.cpp59 static bool needsRenaming(const Value &New) { argument
60 if (!New.hasName() || New.getName().startswith("\01L"))
93 [&](GlobalVariable &New, const GlobalVariable &Orig,
96 copyGVInitializer(New, Orig, VMap);
98 if (New.hasLocalLinkage()) {
99 if (Renamer.needsRenaming(New))
100 New.setName(Renamer.getRename(Orig));
101 New.setLinkage(GlobalValue::ExternalLinkage);
102 New
[all...]
/external/llvm/lib/Transforms/IPO/
H A DIPConstantPropagation.cpp240 Value* New = RetVals[0]; local
241 if (Argument *A = dyn_cast<Argument>(New))
244 New = CS.getArgument(A->getArgNo());
245 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 DPruneEH.cpp219 BasicBlock *New = BB->splitBasicBlock(I); local
225 DeleteBasicBlock(New); // Delete the new BB.
/external/clang/include/clang/AST/
H A DASTUnresolvedSet.h57 bool replace(const NamedDecl *Old, NamedDecl *New, AccessSpecifier AS) { argument
60 I->set(New, AS);
H A DUnresolvedSet.h88 bool replace(const NamedDecl* Old, NamedDecl *New) { argument
91 return (I->setDecl(New), true);
97 void replace(iterator I, NamedDecl *New) { I.I->setDecl(New); } argument
99 void replace(iterator I, NamedDecl *New, AccessSpecifier AS) { argument
100 I.I->set(New, AS);
/external/llvm/bindings/go/llvm/
H A DIRBindings.cpp88 void LLVMMetadataReplaceAllUsesWith(LLVMMetadataRef MD, LLVMMetadataRef New) { argument
90 Node->replaceAllUsesWith(unwrap<Metadata>(New));
/external/llvm/include/llvm/CodeGen/
H A DMachineLoopInfo.h149 inline void addTopLevelLoop(MachineLoop *New) { argument
150 LI.addTopLevelLoop(New);
/external/llvm/lib/Target/MSP430/
H A DMSP430FrameLowering.cpp246 MachineInstr *New = nullptr; local
248 New = BuildMI(MF, Old->getDebugLoc(),
257 New = BuildMI(MF, Old->getDebugLoc(),
262 if (New) {
264 New->getOperand(3).setIsDead();
267 MBB.insert(I, New);
275 MachineInstr *New = local
279 New->getOperand(3).setIsDead();
281 MBB.insert(I, New);
/external/llvm/unittests/IR/
H A DValueMapTest.cpp187 static void onRAUW(const ExtraData &Data, KeyT Old, KeyT New) { argument
242 static void onRAUW(const ExtraData &Data, KeyT Old, KeyT New) { argument
274 static void onRAUW(ExtraData Map, KeyT Old, KeyT New) { argument
/external/clang/lib/Driver/
H A DMultilib.cpp173 static Multilib compose(const Multilib &Base, const Multilib &New) { argument
175 llvm::sys::path::append(GCCSuffix, "/", Base.gccSuffix(), New.gccSuffix());
177 llvm::sys::path::append(OSSuffix, "/", Base.osSuffix(), New.osSuffix());
180 New.includeSuffix());
187 Flags.insert(Flags.end(), New.flags().begin(), New.flags().end());
199 for (const Multilib &New : MultilibSegments) {
201 Multilib MO = compose(Base, New);

Completed in 704 milliseconds

123456