Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DProgram.cpp146 if (auto Idx = createGlobal(VD, Init)) { in getOrCreateGlobal()
201 std::optional<unsigned> Program::createGlobal(const ValueDecl *VD, in createGlobal() function in Program
220 createGlobal(VD, VD->getType(), IsStatic, IsExtern, IsWeak, Init)) { in createGlobal()
234 std::optional<unsigned> Program::createGlobal(const Expr *E) { in createGlobal() function in Program
237 if (auto Idx = createGlobal(E, E->getType(), /*isStatic=*/true, in createGlobal()
245 std::optional<unsigned> Program::createGlobal(const DeclTy &D, QualType Ty, in createGlobal() function in Program
H A DProgram.h91 std::optional<unsigned> createGlobal(const ValueDecl *VD, const Expr *Init);
94 std::optional<unsigned> createGlobal(const Expr *E);
167 std::optional<unsigned> createGlobal(const DeclTy &D, QualType Ty,
H A DCompiler.cpp2825 std::optional<unsigned> GlobalIndex = P.createGlobal(E); in VisitMaterializeTemporaryExpr()
2922 if (std::optional<unsigned> GlobalIndex = P.createGlobal(E)) { in VisitCompoundLiteralExpr()
4708 std::optional<unsigned> GlobalIndex = P.createGlobal(VD, Init); in visitVarDecl()
/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
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenBuilder.h423 return createGlobal(module, loc, uniqueName, type, linkage); in createVersionedGlobal()
/freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/Builder/
H A DCIRBaseBuilder.h197 [[nodiscard]] cir::GlobalOp createGlobal(mlir::ModuleOp mlirModule, in createGlobal() function