Home
last modified time | relevance | path

Searched refs:createGlobal (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DProgram.cpp134 if (auto Idx = createGlobal(VD, Init)) { in getOrCreateGlobal()
160 std::optional<unsigned> Program::createGlobal(const ValueDecl *VD, in createGlobal() function in Program
174 if (auto Idx = createGlobal(VD, VD->getType(), IsStatic, IsExtern, Init)) { in createGlobal()
182 std::optional<unsigned> Program::createGlobal(const Expr *E) { in createGlobal() function in Program
183 return createGlobal(E, E->getType(), /*isStatic=*/true, /*isExtern=*/false); in createGlobal()
186 std::optional<unsigned> Program::createGlobal(const DeclTy &D, QualType Ty, in createGlobal() function in Program
H A DProgram.h89 std::optional<unsigned> createGlobal(const ValueDecl *VD, const Expr *E);
92 std::optional<unsigned> createGlobal(const Expr *E);
153 std::optional<unsigned> createGlobal(const DeclTy &D, QualType Ty,
H A DByteCodeExprGen.cpp1475 std::optional<unsigned> GlobalIndex = P.createGlobal(E); in VisitMaterializeTemporaryExpr()
1544 if (std::optional<unsigned> GlobalIndex = P.createGlobal(E)) { in VisitCompoundLiteralExpr()
2411 std::optional<unsigned> GlobalIndex = P.createGlobal(VD, Init); in visitVarDecl()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/CodeGen/
H A DConstantInitBuilder.h77 llvm::GlobalVariable *createGlobal(llvm::Constant *initializer,
385 return this->Builder.createGlobal(asImpl().finishImpl(), in finishAndCreateGlobal()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DConstantInitBuilder.cpp67 ConstantInitBuilderBase::createGlobal(llvm::Constant *initializer, in createGlobal() function in ConstantInitBuilderBase