/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
H A D | Passes.cpp | 51 RegisterRegAlloc::FunctionPassCtor Ctor = RegisterRegAlloc::getDefault(); local 53 if (!Ctor) { 54 Ctor = RegAlloc; 60 if (Ctor == createLinearScanRegisterAllocator) 63 if (Ctor != createDefaultRegisterAllocator) 64 return Ctor();
|
H A D | ELFWriter.cpp | 202 const MCSectionELF *Ctor = (const MCSectionELF *)TLOF.getStaticCtorSection(); local 203 return getSection(Ctor->getSectionName(), Ctor->getType(), Ctor->getFlags()); 644 ELFSection &Ctor = getCtorSection(); local 645 Ctor.emitAlignment(Align); 646 EmitXXStructorList(GV->getInitializer(), Ctor);
|
/external/clang/test/SemaCXX/ |
H A D | deprecated.cpp | 76 struct Ctor { struct in namespace:DeprecatedCopy 77 Ctor(); 78 Ctor(const Ctor&); // expected-warning {{definition of implicit copy assignment operator for 'Ctor' is deprecated because it has a user-declared copy constructor}} 80 Ctor b1, b2; 81 void f() { b1 = b2; } // expected-note {{implicit copy assignment operator for 'Ctor' first required here}}
|
H A D | cxx98-compat.cpp | 52 struct Ctor { struct 53 Ctor(int, char); 54 Ctor(double, long); 72 Ctor c1 = { 1, 2 }; // expected-warning {{constructor call from initializer list is incompatible with C++98}} 73 Ctor c2 = { 3.0, 4l }; // expected-warning {{constructor call from initializer list is incompatible with C++98}}
|
/external/llvm/lib/CodeGen/ |
H A D | MachinePassRegistry.cpp | 23 MachinePassCtor Ctor = nullptr; local 26 Ctor = R->getCtor(); 30 assert(Ctor && "Unregistered pass name"); 31 setDefault(Ctor);
|
H A D | TargetPassConfig.cpp | 735 RegisterRegAlloc::FunctionPassCtor Ctor = RegisterRegAlloc::getDefault(); local 737 if (!Ctor) { 738 Ctor = RegAlloc; 773 RegisterRegAlloc::FunctionPassCtor Ctor = RegisterRegAlloc::getDefault(); local 774 if (Ctor != useDefaultRegisterAllocator) 775 return Ctor();
|
/external/clang/test/Parser/ |
H A D | cxx-class.cpp | 105 class Ctor { // expected-note{{not complete until the closing '}'}} class in namespace:ctor_error 106 Ctor(f)(int); // ok 107 Ctor(g(int)); // ok 108 Ctor(x[5]); // expected-error{{incomplete type}} 110 Ctor(UnknownType *); // expected-error{{unknown type name 'UnknownType'}} 114 Ctor::Ctor (x) = { 0 }; // \ 115 // expected-error{{qualified reference to 'Ctor' is a constructor name}} 117 Ctor::Ctor(UnknownTyp function in class:ctor_error::Ctor [all...] |
/external/clang/test/CXX/class/class.union/ |
H A D | p1.cpp | 16 class Ctor { class 17 Ctor() { abort(); } // expected-note 2{{because type 'Ctor' has a user-provided default constructor}} expected-note 2{{here}} function in class:Ctor 41 Ctor ctor; // expected-error {{union member 'ctor' has a non-trivial constructor}} 58 Ctor ctor; // expected-note {{because field of type 'Ctor' has a user-provided default constructor}} 82 struct s3 : Ctor { // expected-note {{because base class of type 'Ctor' has a user-provided default constructor}} 128 Either<int,Ctor> ctor(0); // expected-note {{in instantiation of template}}
|
/external/llvm/lib/Transforms/Utils/ |
H A D | ModuleUtils.cpp | 45 auto Ctor = cast<Constant>(Init->getOperand(i)); local 47 Ctor = ConstantStruct::get( 48 EltTy, Ctor->getAggregateElement((unsigned)0), 49 Ctor->getAggregateElement(1), 51 CurrentCtors.push_back(Ctor); 109 Function *Ctor = Function::Create( local 112 BasicBlock *CtorBB = BasicBlock::Create(M.getContext(), "", Ctor); 127 return std::make_pair(Ctor, InitFunction);
|
/external/llvm/include/llvm/ |
H A D | PassInfo.h | 98 void setNormalCtor(NormalCtor_t Ctor) { argument 99 NormalCtor = Ctor; 108 void setTargetMachineCtor(TargetMachineCtor_t Ctor) { argument 109 TargetMachineCtor = Ctor;
|
/external/clang/unittests/Tooling/ |
H A D | RecursiveASTVisitorTestExprVisitor.cpp | 82 bool VisitCXXConstructorDecl(CXXConstructorDecl* Ctor) { argument 83 if (Ctor->isImplicit()) { // Was not written in source code 84 if (const CXXRecordDecl* Class = Ctor->getParent()) { 85 Match(Class->getName(), Ctor->getLocation()); 121 if (const CXXConstructorDecl* Ctor = Expr->getConstructor()) { 122 if (const CXXRecordDecl* Class = Ctor->getParent()) {
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
H A D | MachinePassRegistry.h | 56 MachinePassCtor Ctor; // Function pass creator. member in class:llvm::MachinePassRegistryNode 64 , Ctor(C) 72 MachinePassCtor getCtor() const { return Ctor; }
|
/external/clang/include/clang/ASTMatchers/Dynamic/ |
H A D | Registry.h | 95 /// \param Ctor The matcher constructor to instantiate. 108 static VariantMatcher constructMatcher(MatcherCtor Ctor, 119 static VariantMatcher constructBoundMatcher(MatcherCtor Ctor,
|
H A D | Parser.h | 70 /// \param Ctor A matcher constructor looked up by lookupMatcherCtor. 83 virtual VariantMatcher actOnMatcherExpression(MatcherCtor Ctor, 131 VariantMatcher actOnMatcherExpression(MatcherCtor Ctor,
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | UndefinedArraySubscriptChecker.cpp | 45 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) 46 if (Ctor->isDefaulted())
|
H A D | DynamicTypePropagation.cpp | 159 if (const CXXConstructorCall *Ctor = dyn_cast<CXXConstructorCall>(&Call)) { 168 switch (Ctor->getOriginExpr()->getConstructionKind()) { 175 if (const MemRegion *Target = Ctor->getCXXThisVal().getAsRegion()) 176 recordFixedType(Target, Ctor->getDecl(), C); 249 if (const CXXConstructorCall *Ctor = dyn_cast<CXXConstructorCall>(&Call)) { 251 switch (Ctor->getOriginExpr()->getConstructionKind()) { 262 if (const MemRegion *Target = Ctor->getCXXThisVal().getAsRegion()) {
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
H A D | RegistryTest.cpp | 46 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName); local 48 if (Ctor) 49 Out = Registry::constructMatcher(*Ctor, SourceRange(), Args(), Error); 59 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName); local 61 if (Ctor) 62 Out = Registry::constructMatcher(*Ctor, SourceRange(), Args(Arg1), Error); 73 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName); local 75 if (Ctor) 76 Out = Registry::constructMatcher(*Ctor, SourceRange(), Args(Arg1, Arg2), 92 llvm::Optional<MatcherCtor> Ctor local 103 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName1); local [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | MachinePassRegistry.h | 57 MachinePassCtor Ctor; // Function pass creator. member in class:llvm::MachinePassRegistryNode 65 , Ctor(C) 73 MachinePassCtor getCtor() const { return Ctor; }
|
/external/clang/lib/ASTMatchers/Dynamic/ |
H A D | Parser.cpp | 335 llvm::Optional<MatcherCtor> Ctor = S->lookupMatcherCtor(NameToken.Text); local 337 if (!Ctor) { 347 ScopedContextEntry SCE(this, Ctor ? *Ctor : nullptr); 421 if (!Ctor) 430 *Ctor, MatcherRange, BindID, Args, Error); 537 MatcherCtor Ctor, SourceRange NameRange, StringRef BindID, 540 return Registry::constructMatcher(Ctor, NameRange, Args, Error); 542 return Registry::constructBoundMatcher(Ctor, NameRange, BindID, Args, 536 actOnMatcherExpression( MatcherCtor Ctor, SourceRange NameRange, StringRef BindID, ArrayRef<ParserValue> Args, Diagnostics *Error) argument
|
H A D | Registry.cpp | 476 MatcherCtor Ctor = CtxEntry.first; local 481 Ctor->isConvertibleTo(Kind.getMatcherKind()) && 482 (Ctor->isVariadic() || ArgNumber < Ctor->getNumArgs())) 483 Ctor->getArgKinds(Kind.getMatcherKind(), ArgNumber, NextTypeSet); 571 VariantMatcher Registry::constructMatcher(MatcherCtor Ctor, argument 575 return Ctor->create(NameRange, Args, Error); 579 VariantMatcher Registry::constructBoundMatcher(MatcherCtor Ctor, argument 584 VariantMatcher Out = constructMatcher(Ctor, NameRange, Args, Error);
|
/external/llvm/include/llvm/Support/ |
H A D | Registry.h | 29 std::unique_ptr<T> (*Ctor)(); member in class:llvm::SimpleRegistryEntry::std 33 : Name(N), Desc(D), Ctor(C) 38 std::unique_ptr<T> instantiate() const { return Ctor(); }
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
H A D | Registry.h | 23 T *(*Ctor)(); member in class:llvm::SimpleRegistryEntry 27 : Name(N), Desc(D), Ctor(C) 32 T *instantiate() const { return Ctor(); } 186 /// entry(const char *Name, const char *ShortDesc, T *(*Ctor)());
|
/external/llvm/unittests/ADT/ |
H A D | StringMapTest.cpp | 390 static unsigned Ctor; member in struct:__anon13597::__anon13598::CountCtorCopyAndMove 394 CountCtorCopyAndMove(int Data) : Data(Data) { Ctor++; } 395 CountCtorCopyAndMove() { Ctor++; } 410 unsigned CountCtorCopyAndMove::Ctor = 0; member in class:__anon13597::__anon13598::CountCtorCopyAndMove 439 CountCtorCopyAndMove::Ctor = 0; member in class:__anon13597::CountCtorCopyAndMove 441 EXPECT_EQ(1u, CountCtorCopyAndMove::Ctor); 443 CountCtorCopyAndMove::Ctor = 0; member in class:__anon13597::CountCtorCopyAndMove 445 EXPECT_EQ(0u, CountCtorCopyAndMove::Ctor);
|
/external/llvm/tools/lli/ |
H A D | OrcLazyJIT.h | 73 for (auto Ctor : orc::getConstructors(*M)) 74 CtorNames.push_back(mangle(Ctor.Func->getName()));
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
H A D | PassSupport.h | 105 void setNormalCtor(NormalCtor_t Ctor) { argument 106 NormalCtor = Ctor;
|