| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | Program.cpp | 130 if (auto Idx = createGlobal(VD)) { in getOrCreateGlobal() 149 if (auto Idx = createGlobal(PD, Ty, /*isStatic=*/true, /*isExtern=*/true)) { in getOrCreateDummy() 156 llvm::Optional<unsigned> Program::createGlobal(const ValueDecl *VD) { in createGlobal() function in Program 165 if (auto Idx = createGlobal(VD, VD->getType(), IsStatic, IsExtern)) { in createGlobal() 173 llvm::Optional<unsigned> Program::createGlobal(const Expr *E) { in createGlobal() function in Program 174 return createGlobal(E, E->getType(), /*isStatic=*/true, /*isExtern=*/false); in createGlobal() 177 llvm::Optional<unsigned> Program::createGlobal(const DeclTy &D, QualType Ty, in createGlobal() function in Program
|
| H A D | Program.h | 72 llvm::Optional<unsigned> createGlobal(const ValueDecl *VD); 75 llvm::Optional<unsigned> createGlobal(const Expr *E); 136 llvm::Optional<unsigned> createGlobal(const DeclTy &D, QualType Ty,
|
| H A D | ByteCodeExprGen.cpp | 534 if (Optional<unsigned> I = P.createGlobal(VD)) { in visitDecl()
|
| /llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/ |
| H A D | FIRBuilder.h | 176 fir::GlobalOp createGlobal(mlir::Location loc, mlir::Type type, 181 fir::GlobalOp createGlobal(mlir::Location loc, mlir::Type type, 191 return createGlobal(loc, type, name, linkage, value, /*isConst=*/true); 199 return createGlobal(loc, type, name, /*isConst=*/true, bodyBuilder,
|
| /llvm-project-15.0.7/clang/include/clang/CodeGen/ |
| H A D | ConstantInitBuilder.h | 77 llvm::GlobalVariable *createGlobal(llvm::Constant *initializer, 390 return this->Builder.createGlobal(asImpl().finishImpl(), in finishAndCreateGlobal()
|
| /llvm-project-15.0.7/lld/wasm/ |
| H A D | Driver.cpp | 582 static InputGlobal *createGlobal(StringRef name, bool isMutable) { in createGlobal() function 592 InputGlobal *g = createGlobal(name, isMutable); in createGlobalVariable() 597 InputGlobal *g = createGlobal(name, isMutable); in createOptionalGlobal()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | ConstantInitBuilder.cpp | 67 ConstantInitBuilderBase::createGlobal(llvm::Constant *initializer, in createGlobal() function in ConstantInitBuilderBase
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | ConvertVariable.cpp | 136 return builder.createGlobal(loc, converter.genType(var), globalName, linkage, in declareGlobal() 420 global = builder.createGlobal(loc, symTy, globalName, linkage, in defineGlobal() 679 global = builder.createGlobal(loc, aggTy, aggName, linkage); in defineGlobalAggregateStore() 723 return builder.createGlobal(loc, aggTy, aggName, linkage); in declareGlobalAggregateStore() 955 builder.createGlobal(loc, commonTy, commonName, linkage, init); in declareCommonBlock() 967 global = builder.createGlobal(loc, commonTy, commonName); in declareCommonBlock()
|
| H A D | IO.cpp | 384 builder.createGlobal(loc, groupTy, groupMangleName, in getNamelistGroup()
|
| H A D | ConvertExpr.cpp | 7464 return builder.createGlobal(loc, symTy, globalName, linkage, init, isConst); in createDenseGlobal()
|
| /llvm-project-15.0.7/flang/unittests/Optimizer/Builder/ |
| H A D | FIRBuilderTest.cpp | 188 auto global = builder.createGlobal( in TEST_F() 212 auto global = builder.createGlobal( in TEST_F()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Builder/ |
| H A D | FIRBuilder.cpp | 239 fir::FirOpBuilder::createGlobal(mlir::Location loc, mlir::Type type, in createGlobal() function in fir::FirOpBuilder 252 fir::GlobalOp fir::FirOpBuilder::createGlobal( in createGlobal() function in fir::FirOpBuilder
|