Home
last modified time | relevance | path

Searched refs:Initializers (Results 1 – 19 of 19) sorted by relevance

/external/swiftshader/third_party/subzero/src/
DIceGlobalInits.cpp142 if (Initializers.size() == 1) { in dumpType()
143 Initializers.front()->dumpType(Stream); in dumpType()
147 for (const auto *Init : Initializers) { in dumpType()
167 if (Initializers.size() == 1) { in dump()
168 Initializers.front()->dump(Stream); in dump()
173 for (const auto *Init : Initializers) { in dump()
DIceGlobalInits.h421 const InitializerListType &getInitializers() const { return Initializers; } in getInitializers()
428 return !(Initializers.size() == 1 && in hasNonzeroInitializer()
429 llvm::isa<ZeroInitializer>(Initializers[0])); in hasNonzeroInitializer()
435 for (const auto *Init : Initializers) { in getNumBytes()
445 Initializers.emplace_back(Initializer); in addInitializer()
483 void discardInitializers() { Initializers.clear(); } in discardInitializers()
491 InitializerListType Initializers;
/external/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp461 SmallVector<Constant *, 16> Initializers; in InjectTraceForSwitch() local
466 Initializers.push_back(ConstantInt::get(Int64Ty, SI->getNumCases())); in InjectTraceForSwitch()
467 Initializers.push_back( in InjectTraceForSwitch()
477 Initializers.push_back(C); in InjectTraceForSwitch()
479 ArrayType *ArrayOfInt64Ty = ArrayType::get(Int64Ty, Initializers.size()); in InjectTraceForSwitch()
482 ConstantArray::get(ArrayOfInt64Ty, Initializers), in InjectTraceForSwitch()
DEfficiencySanitizer.cpp404 SmallVector<Constant *, 16> Initializers; in createCacheFragInfoGV() local
448 Initializers.push_back( in createCacheFragInfoGV()
476 ConstantArray::get(StructInfoArrayTy, Initializers)), in createCacheFragInfoGV()
DAddressSanitizer.cpp1425 SmallVector<Constant *, 16> Initializers(n); in InstrumentGlobals() local
1518 Initializers[i] = ConstantStruct::get( in InstrumentGlobals()
1558 Initializers[i], ""); in InstrumentGlobals()
1563 Initializers[i]->getAggregateElement(0u), in InstrumentGlobals()
1577 ConstantArray::get(ArrayOfGlobalStructTy, Initializers), ""); in InstrumentGlobals()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp651 SmallVector<Constant *, 16> Initializers; in InjectTraceForSwitch() local
656 Initializers.push_back(ConstantInt::get(Int64Ty, SI->getNumCases())); in InjectTraceForSwitch()
657 Initializers.push_back( in InjectTraceForSwitch()
667 Initializers.push_back(C); in InjectTraceForSwitch()
669 llvm::sort(Initializers.begin() + 2, Initializers.end(), in InjectTraceForSwitch()
674 ArrayType *ArrayOfInt64Ty = ArrayType::get(Int64Ty, Initializers.size()); in InjectTraceForSwitch()
677 ConstantArray::get(ArrayOfInt64Ty, Initializers), in InjectTraceForSwitch()
DEfficiencySanitizer.cpp415 SmallVector<Constant *, 16> Initializers; in createCacheFragInfoGV() local
459 Initializers.push_back(ConstantStruct::get( in createCacheFragInfoGV()
486 ConstantArray::get(StructInfoArrayTy, Initializers)), in createCacheFragInfoGV()
DAddressSanitizer.cpp2078 SmallVector<Constant *, 16> Initializers(n); in InstrumentGlobals() local
2201 Initializers[i] = Initializer; in InstrumentGlobals()
2219 InstrumentGlobalsELF(IRB, M, NewGlobals, Initializers, ELFUniqueModuleId); in InstrumentGlobals()
2222 InstrumentGlobalsCOFF(IRB, M, NewGlobals, Initializers); in InstrumentGlobals()
2224 InstrumentGlobalsMachO(IRB, M, NewGlobals, Initializers); in InstrumentGlobals()
2226 InstrumentGlobalsWithMetadataArray(IRB, M, NewGlobals, Initializers); in InstrumentGlobals()
/external/clang/lib/Sema/
DSemaCodeComplete.cpp4432 ArrayRef <CXXCtorInitializer *> Initializers) { in CodeCompleteConstructorInitializer()
4450 for (unsigned I = 0, E = Initializers.size(); I != E; ++I) { in CodeCompleteConstructorInitializer()
4451 if (Initializers[I]->isBaseInitializer()) in CodeCompleteConstructorInitializer()
4453 Context.getCanonicalType(QualType(Initializers[I]->getBaseClass(), 0))); in CodeCompleteConstructorInitializer()
4456 Initializers[I]->getAnyMember())); in CodeCompleteConstructorInitializer()
4463 bool SawLastInitializer = Initializers.empty(); in CodeCompleteConstructorInitializer()
4469 = !Initializers.empty() && in CodeCompleteConstructorInitializer()
4470 Initializers.back()->isBaseInitializer() && in CodeCompleteConstructorInitializer()
4472 QualType(Initializers.back()->getBaseClass(), 0)); in CodeCompleteConstructorInitializer()
4493 = !Initializers.empty() && in CodeCompleteConstructorInitializer()
[all …]
DSemaDeclCXX.cpp3850 ArrayRef<CXXCtorInitializer *> Initializers) { in SetCtorInitializers() argument
3854 if (!Initializers.empty()) { in SetCtorInitializers()
3855 Constructor->setNumCtorInitializers(Initializers.size()); in SetCtorInitializers()
3857 new (Context) CXXCtorInitializer*[Initializers.size()]; in SetCtorInitializers()
3858 memcpy(baseOrMemberInitializers, Initializers.data(), in SetCtorInitializers()
3859 Initializers.size() * sizeof(CXXCtorInitializer*)); in SetCtorInitializers()
3880 for (unsigned i = 0; i < Initializers.size(); i++) { in SetCtorInitializers()
3881 CXXCtorInitializer *Member = Initializers[i]; in SetCtorInitializers()
/external/clang/include/clang/AST/
DDeclCXX.h2301 void setCtorInitializers(CXXCtorInitializer **Initializers) { in setCtorInitializers() argument
2302 CtorInitializers = Initializers; in setCtorInitializers()
/external/clang/unittests/ASTMatchers/
DASTMatchersNodeTest.cpp698 TEST(Matcher, Initializers) { in TEST() argument
/external/python/cpython2/Doc/extending/
Dnewtypes.rst397 arguments to provide initial values for our instance. Initializers always accept
400 Initializers can be called multiple times. Anyone can call the :meth:`__init__`
/external/python/cpython3/Doc/extending/
Dnewtypes_tutorial.rst392 created. Initializers always accept positional and keyword arguments,
/external/google-styleguide/
Dobjcguide.md1314 ### Avoid Messaging the Current Object Within Initializers and `-dealloc`
/external/clang/include/clang/Sema/
DSema.h5349 ArrayRef<CXXCtorInitializer *> Initializers = None);
9253 ArrayRef<CXXCtorInitializer *> Initializers);
/external/python/cpython2/Doc/library/
Dctypes.rst685 Initializers of the correct type can also be specified::
/external/python/cpython3/Doc/library/
Dctypes.rst696 Initializers of the correct type can also be specified::
/external/clang/include/clang/Basic/
DDiagnosticSemaKinds.td145 // C99 Designated Initializers