Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DProgram.cpp140 if (auto Idx = createGlobal(VD, Init)) { in getOrCreateGlobal()
182 std::optional<unsigned> Program::createGlobal(const ValueDecl *VD, in createGlobal() function in Program
196 if (auto Idx = createGlobal(VD, VD->getType(), IsStatic, IsExtern, Init)) { in createGlobal()
204 std::optional<unsigned> Program::createGlobal(const Expr *E) { in createGlobal() function in Program
207 if (auto Idx = createGlobal(E, E->getType(), /*isStatic=*/true, in createGlobal()
215 std::optional<unsigned> Program::createGlobal(const DeclTy &D, QualType Ty, in createGlobal() function in Program
H A DProgram.h90 std::optional<unsigned> createGlobal(const ValueDecl *VD, const Expr *Init);
93 std::optional<unsigned> createGlobal(const Expr *E);
154 std::optional<unsigned> createGlobal(const DeclTy &D, QualType Ty,
H A DCompiler.cpp2246 std::optional<unsigned> GlobalIndex = P.createGlobal(E); in VisitMaterializeTemporaryExpr()
2320 if (std::optional<unsigned> GlobalIndex = P.createGlobal(E)) { in VisitCompoundLiteralExpr()
3732 std::optional<unsigned> GlobalIndex = P.createGlobal(VD, Init); in visitVarDecl()
3885 if (std::optional<unsigned> GlobalOffset = P.createGlobal(E)) { in VisitBuiltinCallExpr()
/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/
H A DConstantInitBuilder.h80 llvm::GlobalVariable *createGlobal(llvm::Constant *initializer,
393 return this->Builder.createGlobal(asImpl().finishImpl(), in finishAndCreateGlobal()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DConstantInitBuilder.cpp67 ConstantInitBuilderBase::createGlobal(llvm::Constant *initializer, in createGlobal() function in ConstantInitBuilderBase