Home
last modified time | relevance | path

Searched refs:ConstructionContext (Results 1 – 25 of 25) sorted by relevance

/external/llvm-project/clang/include/clang/Analysis/
DConstructionContext.h236 class ConstructionContext {
264 explicit ConstructionContext(Kind K) : K(K) {} in ConstructionContext() function
277 static const ConstructionContext *createMaterializedTemporaryFromLayers(
286 static const ConstructionContext *
295 static const ConstructionContext *
303 class VariableConstructionContext : public ConstructionContext {
307 VariableConstructionContext(ConstructionContext::Kind K, const DeclStmt *DS) in VariableConstructionContext()
308 : ConstructionContext(K), DS(DS) { in VariableConstructionContext()
316 static bool classof(const ConstructionContext *CC) { in classof()
327 friend class ConstructionContext; // Allows to create<>() itself. variable
[all …]
DCFG.h158 explicit CFGConstructor(CXXConstructExpr *CE, const ConstructionContext *C) in CFGConstructor()
161 Data2.setPointer(const_cast<ConstructionContext *>(C)); in CFGConstructor()
164 const ConstructionContext *getConstructionContext() const { in getConstructionContext()
165 return static_cast<ConstructionContext *>(Data2.getPointer()); in getConstructionContext()
197 explicit CFGCXXRecordTypedCall(Expr *E, const ConstructionContext *C) in CFGCXXRecordTypedCall()
206 Data2.setPointer(const_cast<ConstructionContext *>(C)); in CFGCXXRecordTypedCall()
209 const ConstructionContext *getConstructionContext() const { in getConstructionContext()
210 return static_cast<ConstructionContext *>(Data2.getPointer()); in getConstructionContext()
1099 void appendConstructor(CXXConstructExpr *CE, const ConstructionContext *CC, in appendConstructor()
1105 const ConstructionContext *CC, in appendCXXRecordTypedCall()
/external/guice/core/src/com/google/inject/internal/
DInternalContext.java33 private final Map<Object, ConstructionContext<?>> constructionContexts =
34 new IdentityHashMap<Object, ConstructionContext<?>>();
92 <T> ConstructionContext<T> getConstructionContext(Object key) { in getConstructionContext()
93 ConstructionContext<T> constructionContext = in getConstructionContext()
94 (ConstructionContext<T>) constructionContexts.get(key); in getConstructionContext()
96 constructionContext = new ConstructionContext<>(); in getConstructionContext()
DProviderInternalFactory.java44 final ConstructionContext<T> constructionContext = context.getConstructionContext(this); in circularGet()
83 ConstructionContext<T> constructionContext)
DConstructorInjector.java67 final ConstructionContext<T> constructionContext = context.getConstructionContext(this); in construct()
108 private T provision(InternalContext context, ConstructionContext<T> constructionContext)
DInternalProviderInstanceBindingImpl.java149 final ConstructionContext<T> constructionContext = context.getConstructionContext(this);
182 ConstructionContext<T> constructionContext)
DSingletonScope.java104 final ConstructionContext<T> constructionContext = new ConstructionContext<>(); in scope()
DInternalFactoryToInitializableAdapter.java54 ConstructionContext<T> constructionContext) in provision()
DConstructionContext.java29 final class ConstructionContext<T> { class
DBoundProviderFactory.java74 ConstructionContext<T> constructionContext) in provision()
DProvidedByInternalFactory.java84 ConstructionContext<T> constructionContext) in provision()
/external/llvm-project/clang/lib/Analysis/
DConstructionContext.cpp44 const ConstructionContext *
45 ConstructionContext::createMaterializedTemporaryFromLayers( in createMaterializedTemporaryFromLayers()
69 const ConstructionContext *ElidedCC = nullptr; in createMaterializedTemporaryFromLayers()
95 const ConstructionContext *ConstructionContext::createBoundTemporaryFromLayers( in createBoundTemporaryFromLayers()
164 const ConstructionContext *ConstructionContext::createFromLayers( in createFromLayers()
DCMakeLists.txt15 ConstructionContext.cpp
DCFG.cpp774 const ConstructionContext *retrieveAndCleanupConstructionContext(Expr *E) { in retrieveAndCleanupConstructionContext()
783 return ConstructionContext::createFromLayers(cfg->getBumpVectorContext(), in retrieveAndCleanupConstructionContext()
799 if (const ConstructionContext *CC = in appendConstructor()
813 if (const ConstructionContext *CC = in appendCall()
843 if (const ConstructionContext *CC = in appendObjCMessage()
5371 const ConstructionContext *CC) { in print_construction_context()
5374 case ConstructionContext::SimpleConstructorInitializerKind: { in print_construction_context()
5380 case ConstructionContext::CXX17ElidedCopyConstructorInitializerKind: { in print_construction_context()
5388 case ConstructionContext::SimpleVariableKind: { in print_construction_context()
5393 case ConstructionContext::CXX17ElidedCopyVariableKind: { in print_construction_context()
[all …]
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp114 const ConstructionContext *CC, EvalCallOptions &CallOpts) { in computeObjectUnderConstruction()
122 case ConstructionContext::CXX17ElidedCopyVariableKind: in computeObjectUnderConstruction()
123 case ConstructionContext::SimpleVariableKind: { in computeObjectUnderConstruction()
131 case ConstructionContext::CXX17ElidedCopyConstructorInitializerKind: in computeObjectUnderConstruction()
132 case ConstructionContext::SimpleConstructorInitializerKind: { in computeObjectUnderConstruction()
164 case ConstructionContext::NewAllocatedObjectKind: { in computeObjectUnderConstruction()
185 case ConstructionContext::SimpleReturnedValueKind: in computeObjectUnderConstruction()
186 case ConstructionContext::CXX17ElidedCopyReturnedValueKind: { in computeObjectUnderConstruction()
232 case ConstructionContext::ElidedTemporaryObjectKind: { in computeObjectUnderConstruction()
262 case ConstructionContext::SimpleTemporaryObjectKind: { in computeObjectUnderConstruction()
[all …]
DExprEngineCallAndReturn.cpp741 const ConstructionContext *CC = CCE ? CCE->getConstructionContext() in mayInlineCallKind()
DCallEvent.cpp503 const ConstructionContext *CallEvent::getConstructionContext() const { in getConstructionContext()
/external/skia/modules/svg/src/
DSkSVGDOM.cpp278 struct ConstructionContext { struct
279 ConstructionContext(SkSVGIDMapper* mapper) : fParent(nullptr), fIDMapper(mapper) {} in ConstructionContext() argument
280 ConstructionContext(const ConstructionContext& other, const sk_sp<SkSVGNode>& newParent) in ConstructionContext() argument
329 sk_sp<SkSVGNode> construct_svg_node(const SkDOM& dom, const ConstructionContext& ctx, in construct_svg_node()
346 auto make_node = [](const ConstructionContext& ctx, const char* elem) -> sk_sp<SkSVGNode> { in construct_svg_node()
374 ConstructionContext localCtx(ctx, node); in construct_svg_node()
406 ConstructionContext ctx(&mapper); in make()
/external/skqp/experimental/svg/model/
DSkSVGDOM.cpp373 struct ConstructionContext { struct
374 ConstructionContext(SkSVGIDMapper* mapper) : fParent(nullptr), fIDMapper(mapper) {} in ConstructionContext() function
375 ConstructionContext(const ConstructionContext& other, const sk_sp<SkSVGNode>& newParent) in ConstructionContext() function
416 sk_sp<SkSVGNode> construct_svg_node(const SkDOM& dom, const ConstructionContext& ctx, in construct_svg_node()
443 ConstructionContext localCtx(ctx, node); in construct_svg_node()
464 ConstructionContext ctx(&dom->fIDMapper); in MakeFromDOM()
/external/tensorflow/tensorflow/core/graph/
Dgraph.h74 enum class ConstructionContext { enum
711 void SetConstructionContext(ConstructionContext construction_context) { in SetConstructionContext()
718 ConstructionContext GetConstructionContextInternal() const { in GetConstructionContextInternal()
800 ConstructionContext construction_context_ = ConstructionContext::kNotTracked;
/external/llvm-project/llvm/utils/gn/secondary/clang/lib/Analysis/
DBUILD.gn22 "ConstructionContext.cpp",
/external/tensorflow/tensorflow/core/common_runtime/
Dfunction_def_utils.cc43 graph->SetConstructionContext(ConstructionContext::kEagerRuntime); in FunctionDefToBodyHelper()
Ddirect_session.cc1698 device_graph->SetConstructionContext(ConstructionContext::kDirectSession); in CreateGraphs()
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DExprEngine.h48 class ConstructionContext; variable
728 const ConstructionContext *CC, EvalCallOptions &CallOpts);
737 const ConstructionContext *CC, const EvalCallOptions &CallOpts);
743 const ConstructionContext *CC, EvalCallOptions &CallOpts) { in handleConstructionContext()
DCallEvent.h441 const ConstructionContext *getConstructionContext() const;