Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/AST/Interp/
DProgram.cpp115 if (auto Idx = createGlobal(VD)) { in getOrCreateGlobal()
134 if (auto Idx = createGlobal(PD, Ty, /*isStatic=*/true, /*isExtern=*/true)) { in getOrCreateDummy()
141 llvm::Optional<unsigned> Program::createGlobal(const ValueDecl *VD) { in createGlobal() function in Program
150 if (auto Idx = createGlobal(VD, VD->getType(), IsStatic, IsExtern)) { in createGlobal()
158 llvm::Optional<unsigned> Program::createGlobal(const Expr *E) { in createGlobal() function in Program
159 return createGlobal(E, E->getType(), /*isStatic=*/true, /*isExtern=*/false); in createGlobal()
162 llvm::Optional<unsigned> Program::createGlobal(const DeclTy &D, QualType Ty, in createGlobal() function in Program
DProgram.h69 llvm::Optional<unsigned> createGlobal(const ValueDecl *VD);
72 llvm::Optional<unsigned> createGlobal(const Expr *E);
133 llvm::Optional<unsigned> createGlobal(const DeclTy &D, QualType Ty,
DByteCodeExprGen.cpp534 if (Optional<unsigned> I = P.createGlobal(VD)) { in visitDecl()
/external/llvm-project/flang/include/flang/Lower/
DFIRBuilder.h106 fir::GlobalOp createGlobal(mlir::Location loc, mlir::Type type,
111 fir::GlobalOp createGlobal(mlir::Location loc, mlir::Type type,
121 return createGlobal(loc, type, name, linkage, value, /*isConst=*/true);
129 return createGlobal(loc, type, name, /*isConst=*/true, bodyBuilder,
/external/llvm-project/flang/lib/Lower/
DFIRBuilder.cpp106 fir::GlobalOp Fortran::lower::FirOpBuilder::createGlobal( in createGlobal() function in Fortran::lower::FirOpBuilder
119 fir::GlobalOp Fortran::lower::FirOpBuilder::createGlobal( in createGlobal() function in Fortran::lower::FirOpBuilder
/external/llvm-project/clang/include/clang/CodeGen/
DConstantInitBuilder.h77 llvm::GlobalVariable *createGlobal(llvm::Constant *initializer,
390 return this->Builder.createGlobal(asImpl().finishImpl(), in finishAndCreateGlobal()
/external/llvm-project/lld/wasm/
DDriver.cpp574 static InputGlobal *createGlobal(StringRef name, bool isMutable) { in createGlobal() function
590 InputGlobal *g = createGlobal(name, isMutable); in createGlobalVariable()
595 InputGlobal *g = createGlobal(name, isMutable); in createOptionalGlobal()
/external/llvm-project/clang/lib/CodeGen/
DConstantInitBuilder.cpp67 ConstantInitBuilderBase::createGlobal(llvm::Constant *initializer, in createGlobal() function in ConstantInitBuilderBase