Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DProgram.cpp133 if (auto Idx = createGlobal(VD, Init)) { in getOrCreateGlobal()
152 if (auto Idx = createGlobal(PD, Ty, /*isStatic=*/true, /*isExtern=*/true)) { in getOrCreateDummy()
159 std::optional<unsigned> Program::createGlobal(const ValueDecl *VD, in createGlobal() function in Program
170 if (auto Idx = createGlobal(VD, VD->getType(), IsStatic, IsExtern, Init)) { in createGlobal()
178 std::optional<unsigned> Program::createGlobal(const Expr *E) { in createGlobal() function in Program
179 return createGlobal(E, E->getType(), /*isStatic=*/true, /*isExtern=*/false); in createGlobal()
182 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);
151 std::optional<unsigned> createGlobal(const DeclTy &D, QualType Ty,
/openbsd-src/gnu/llvm/clang/include/clang/CodeGen/
H A DConstantInitBuilder.h77 llvm::GlobalVariable *createGlobal(llvm::Constant *initializer,
390 return this->Builder.createGlobal(asImpl().finishImpl(), in finishAndCreateGlobal()
/openbsd-src/gnu/llvm/lld/wasm/
H A DDriver.cpp718 static InputGlobal *createGlobal(StringRef name, bool isMutable) { in createGlobal() function
728 InputGlobal *g = createGlobal(name, isMutable); in createGlobalVariable()
733 InputGlobal *g = createGlobal(name, isMutable); in createOptionalGlobal()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DConstantInitBuilder.cpp67 ConstantInitBuilderBase::createGlobal(llvm::Constant *initializer, in createGlobal() function in ConstantInitBuilderBase