Searched defs:New (Results 76 - 100 of 143) sorted by relevance

123456

/external/clang/tools/libclang/
H A DCIndexCodeCompletion.cpp931 /// \brief Simple utility function that appends a \p New string to the given
938 /// \param New The string to append to \p Old.
942 static void AppendToString(StringRef &Old, StringRef New, argument
945 Old = New;
951 Buffer.append(New.begin(), New.end());
/external/clang/unittests/ASTMatchers/
H A DASTMatchersTest.cpp2026 StatementMatcher New = newExpr(); local
2028 EXPECT_TRUE(matches("class X { public: X(); }; void x() { new X; }", New));
2030 matches("class X { public: X(); }; void x() { new X(); }", New));
2032 matches("class X { public: X(int); }; void x() { new X(0); }", New));
2033 EXPECT_TRUE(matches("class X {}; void x(int) { new X; }", New));
2037 StatementMatcher New = constructExpr( local
2042 New));
2045 New));
2048 New));
2058 StatementMatcher New local
[all...]
/external/llvm/include/llvm/ADT/
H A Dilist.h412 iterator insert(iterator where, NodeTy *New) { argument
415 this->setNext(New, CurNode);
416 this->setPrev(New, PrevNode);
419 this->setNext(PrevNode, New);
421 Head = New;
422 this->setPrev(CurNode, New);
424 this->addNodeToList(New); // Notify traits that we added a node...
425 return New;
428 iterator insertAfter(iterator where, NodeTy *New) { argument
430 return insert(begin(), New);
[all...]
/external/llvm/lib/CodeGen/
H A DMachineBasicBlock.cpp522 MachineBasicBlock *New) {
523 if (Old == New)
535 if (*I == New) {
544 // If New isn't already a successor, let it take Old's place.
546 New->addPredecessor(this);
547 *OldI = New;
551 // New is already a successor.
987 /// 'Old', change the code and CFG so that it branches to 'New' instead.
989 MachineBasicBlock *New) {
990 assert(Old != New
521 replaceSuccessor(MachineBasicBlock *Old, MachineBasicBlock *New) argument
988 ReplaceUsesOfBlockWith(MachineBasicBlock *Old, MachineBasicBlock *New) argument
[all...]
H A DMachineFunction.cpp760 /// the jump tables to branch to New instead.
762 MachineBasicBlock *New) {
763 assert(Old != New && "Not making a change?");
766 ReplaceMBBInJumpTable(i, Old, New);
771 /// the jump table to branch to New instead.
774 MachineBasicBlock *New) {
775 assert(Old != New && "Not making a change?");
780 JTE.MBBs[j] = New;
761 ReplaceMBBInJumpTables(MachineBasicBlock *Old, MachineBasicBlock *New) argument
772 ReplaceMBBInJumpTable(unsigned Idx, MachineBasicBlock *Old, MachineBasicBlock *New) argument
H A DRegAllocGreedy.cpp167 // Note: This is used as bitmask. New value should be next power of 2.
498 void RAGreedy::LRE_DidCloneVirtReg(unsigned New, unsigned Old) { argument
508 ExtraRegInfo.grow(New);
509 ExtraRegInfo[New] = ExtraRegInfo[Old];
1750 // 3. New ranges with the same number of instructions are marked RS_Split2,
/external/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp1097 /// Replace all direct calls of Old with calls of New. Will bitcast New if
1099 void replaceDirectCallers(Function *Old, Function *New);
1255 // Replace direct callers of Old with New.
1256 void MergeFunctions::replaceDirectCallers(Function *Old, Function *New) { argument
1257 Constant *BitcastNew = ConstantExpr::getBitCast(New, Old->getType());
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp693 BinaryOperator *New = local
697 New->setHasNoUnsignedWrap(BO->hasNoUnsignedWrap());
698 New->setHasNoSignedWrap(BO->hasNoSignedWrap());
701 New->setIsExact(BO->isExact());
704 New->copyFastMathFlags(I);
705 return New;
H A DInstCombineAddSub.cpp1135 BinaryOperator *New = local
1137 New->setHasNoSignedWrap(I.hasNoSignedWrap());
1138 New->setHasNoUnsignedWrap(I.hasNoUnsignedWrap());
1139 return New;
1294 auto *New = BinaryOperator::CreateAdd(A, B); local
1295 New->setHasNoSignedWrap(I.hasNoSignedWrap());
1296 New->setHasNoUnsignedWrap(I.hasNoUnsignedWrap());
1297 return New;
1303 auto *New = BinaryOperator::CreateAdd(A, B); local
1304 New
[all...]
H A DInstCombineCasts.cpp140 AllocaInst *New = AllocaBuilder.CreateAlloca(CastElTy, Amt); local
141 New->setAlignment(AI.getAlignment());
142 New->takeName(&AI);
143 New->setUsedWithInAlloca(AI.isUsedWithInAlloca());
149 // New is the allocation instruction, pointer typed. AI is the original
151 Value *NewCast = AllocaBuilder.CreateBitCast(New, AI.getType(), "tmpcast");
154 return ReplaceInstUsesWith(CI, New);
884 Value *New = Builder->CreateZExt(X, CI.getType()); local
885 return BinaryOperator::CreateXor(New, ConstantInt::get(CI.getType(), 1));
/external/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp1448 Instruction *New = BI->clone(); local
1449 New->setName(BI->getName());
1450 NewBB->getInstList().push_back(New);
1451 ValueMapping[BI] = New;
1454 for (unsigned i = 0, e = New->getNumOperands(); i != e; ++i)
1455 if (Instruction *Inst = dyn_cast<Instruction>(New->getOperand(i))) {
1458 New->setOperand(i, I->second);
1591 Instruction *New = BI->clone(); local
1594 for (unsigned i = 0, e = New->getNumOperands(); i != e; ++i)
1595 if (Instruction *Inst = dyn_cast<Instruction>(New
[all...]
H A DLoopUnswitch.cpp231 // New loop.
672 Loop *New = new Loop(); local
673 LPM->insertLoop(New, PL);
679 New->addBasicBlockToLoop(cast<BasicBlock>(VM[*I]), *LI);
683 CloneLoop(*I, New, VM, LI, LPM);
685 return New;
H A DReassociate.cpp1029 BinaryOperator *New = CreateAdd(Sub->getOperand(0), NegVal, "", Sub, Sub); local
1032 New->takeName(Sub);
1035 Sub->replaceAllUsesWith(New);
1036 New->setDebugLoc(Sub->getDebugLoc());
1038 DEBUG(dbgs() << "Negated: " << *New << '\n');
1039 return New;
H A DScalarReplAggregates.cpp648 Value *New = ConvertScalar_InsertValue(SI->getOperand(0), Old, Offset, local
650 Builder.CreateStore(New, NewAI);
679 Value *New = ConvertScalar_InsertValue( local
682 Builder.CreateStore(New, NewAI);
/external/protobuf/src/google/protobuf/
H A Drepeated_field.h243 // static Type* New();
363 static GenericType* New() { return new GenericType; } function in class:google::protobuf::internal::GenericTypeHandler
409 static string* New();
906 typename TypeHandler::Type* result = TypeHandler::New();
/external/vboot_reference/utility/
H A Deficompress.c628 NODE New, t; local
630 New = mAvail;
631 mAvail = mNext[New];
632 mChildCount[New] = 0;
634 mPrev[New] = t;
635 mNext[t] = New;
637 mNext[New] = t;
638 mPrev[t] = New;
639 mParent[New] = mParent[Old];
640 mLevel[New]
[all...]
/external/clang/lib/AST/
H A DItaniumMangle.cpp2816 const CXXNewExpr *New = cast<CXXNewExpr>(E); local
2817 if (New->isGlobalNew()) Out << "gs";
2818 Out << (New->isArray() ? "na" : "nw");
2819 for (CXXNewExpr::const_arg_iterator I = New->placement_arg_begin(),
2820 E = New->placement_arg_end(); I != E; ++I)
2823 mangleType(New->getAllocatedType());
2824 if (New->hasInitializer()) {
2825 if (New->getInitializationStyle() == CXXNewExpr::ListInit)
2829 const Expr *Init = New->getInitializer();
2839 } else if (New
[all...]
/external/clang/lib/Lex/
H A DModuleMap.cpp317 static bool isBetterKnownHeader(const ModuleMap::KnownHeader &New, argument
320 if ((New.getRole() & ModuleMap::PrivateHeader) !=
322 return !(New.getRole() & ModuleMap::PrivateHeader);
325 if ((New.getRole() & ModuleMap::TextualHeader) !=
327 return !(New.getRole() & ModuleMap::TextualHeader);
/external/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp712 void transformAttrs(Decl *Old, Decl *New) { argument
713 SemaRef.InstantiateAttrs(TemplateArgs, Old, New);
716 void transformedLocalDecl(Decl *Old, Decl *New) { argument
717 SemaRef.CurrentInstantiationScope->InstantiatedLocal(Old, New);
1608 void Sema::SubstExceptionSpec(FunctionDecl *New, const FunctionProtoType *Proto, argument
1614 TemplateInstantiator Instantiator(*this, Args, New->getLocation(),
1615 New->getDeclName());
1620 New->getTypeSourceInfo()->getTypeLoc().getLocEnd(), ESI,
1625 UpdateExceptionSpec(New, ESI);
1703 // Introduce an Old -> New mappin
[all...]
H A DSemaTemplateDeduction.cpp360 TemplateArgument New(D, NTTP->getType());
361 DeducedTemplateArgument NewDeduced(New);
573 SmallVector<DeducedTemplateArgument, 4> New; member in struct:clang::DeducedPack
628 Pack.New.append(ExplicitArgs, ExplicitArgs + NumExplicitArgs);
646 Pack.New.push_back(DeducedArg);
664 if (HasAnyArguments && Pack.New.empty()) {
674 } else if (Pack.New.empty()) {
679 new (S.Context) TemplateArgument[Pack.New.size()];
680 std::copy(Pack.New.begin(), Pack.New
[all...]
/external/llvm/lib/Analysis/
H A DScalarEvolution.cpp376 void SCEVUnknown::allUsesReplacedWith(Value *New) { argument
386 setValPtr(New);
8474 "New loops suddenly appeared!");
/external/llvm/lib/TableGen/
H A DRecord.cpp737 Init *New = Typed->resolveListElementReference(R, IRV, Elt); local
738 if (New)
739 return New;
/external/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1630 CallInst *New = cast<CallInst>(CI->clone()); local
1631 New->setCalledFunction(IPrintFFn);
1632 B.Insert(New);
1633 return New;
1717 CallInst *New = cast<CallInst>(CI->clone()); local
1718 New->setCalledFunction(SIPrintFFn);
1719 B.Insert(New);
1720 return New;
1793 CallInst *New = cast<CallInst>(CI->clone()); local
1794 New
[all...]
/external/protobuf/python/google/protobuf/pyext/
H A Dmessage.cc481 self->message = prototype->New();
722 static PyObject* New(PyTypeObject* type, PyObject* args, PyObject* kwargs) { function in namespace:google::protobuf::python::cmessage
742 return New(reinterpret_cast<PyTypeObject*>(type), NULL, NULL);
768 self->message = message->New();
1036 released_message = prototype->New();
2350 cmessage::New, // tp_new
/external/v8/src/
H A Dtypes.h319 return BitsetType::New(BitsetType::k##type); \
322 return BitsetType::New(BitsetType::k##type, region); \
328 return ClassType::New(map, region);
331 return ConstantType::New(value, region);
335 return RangeType::New(min, max, region);
338 return ContextType::New(outer, region);
341 return ArrayType::New(element, region);
345 return FunctionType::New(result, receiver, arity, region);
577 static TypeImpl* New(bitset bits) { function in class:v8::internal::TypeImpl::BitsetType
581 static TypeHandle New(bitse function in class:v8::internal::TypeImpl::BitsetType
677 static TypeHandle New(Tag tag, int length, Region* region) { function in class:v8::internal::TypeImpl::StructuralType
694 static UnionHandle New(int length, Region* region) { function in class:v8::internal::TypeImpl::UnionType
724 static ClassHandle New(i::Handle<i::Map> map, Region* region) { function in class:v8::internal::TypeImpl::ClassType
752 static ConstantHandle New(i::Handle<i::Object> value, Region* region) { function in class:v8::internal::TypeImpl::ConstantType
779 static RangeHandle New( function in class:v8::internal::TypeImpl::RangeType
790 static RangeHandle New(Limits lim, Region* region) { function in class:v8::internal::TypeImpl::RangeType
811 static ContextHandle New(TypeHandle outer, Region* region) { function in class:v8::internal::TypeImpl::ContextType
833 static ArrayHandle New(TypeHandle element, Region* region) { function in class:v8::internal::TypeImpl::ArrayType
860 static FunctionHandle New( function in class:v8::internal::TypeImpl::FunctionType
[all...]

Completed in 683 milliseconds

123456