|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
examples/BrainF/BrainF.cpp 146 GlobalVariable *aberrormsg = new GlobalVariable(
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h 672 return new GlobalVariable(*M, Ty, false, GlobalValue::ExternalLinkage,
lib/AsmParser/LLParser.cpp 1081 GV = new GlobalVariable(*M, Ty, false, GlobalValue::ExternalLinkage, nullptr,
1370 return new GlobalVariable(*M, PTy->getElementType(), false,
3274 FwdRef = new GlobalVariable(*M, Type::getInt8Ty(Context), false,
lib/Bitcode/Reader/BitcodeReader.cpp 3143 new GlobalVariable(*TheModule, Ty, isConstant, Linkage, nullptr, Name,
lib/CodeGen/GlobalMerge.cpp 515 auto *MergedGV = new GlobalVariable(
lib/CodeGen/ShadowStackGCLowering.cpp 145 Constant *GV = new GlobalVariable(*F.getParent(), FrameMap->getType(), true,
210 Head = new GlobalVariable(
lib/CodeGen/TargetLoweringBase.cpp 1695 UnsafeStackPtr = new GlobalVariable(
1782 new GlobalVariable(M, Type::getInt8PtrTy(M.getContext()), false,
lib/ExecutionEngine/Orc/IndirectionUtils.cpp 230 auto IP = new GlobalVariable(M, &PT, false, GlobalValue::ExternalLinkage,
325 GlobalVariable *NewGV = new GlobalVariable(
lib/ExecutionEngine/Orc/Speculation.cpp 78 auto SpeclAddr = new GlobalVariable(
95 auto SpeculatorGuard = new GlobalVariable(
lib/IR/AutoUpgrade.cpp 864 return new GlobalVariable(NewInit->getType(), false, GV->getLinkage(),
lib/IR/Core.cpp 2069 return wrap(new GlobalVariable(*unwrap(M), unwrap(Ty), false,
2076 return wrap(new GlobalVariable(*unwrap(M), unwrap(Ty), false,
lib/IR/IRBuilder.cpp 47 auto *GV = new GlobalVariable(M, StrConstant->getType(), true,
lib/IR/Module.cpp 227 return new GlobalVariable(*this, Ty, false, GlobalVariable::ExternalLinkage,
lib/LTO/LTO.cpp 970 auto *GV = new GlobalVariable(*RegularLTO.CombinedModule, Ty, false,
lib/Linker/IRMover.cpp 627 new GlobalVariable(DstM, TypeMap.get(SGVar->getValueType()),
700 NewGV = new GlobalVariable(
918 GlobalVariable *NG = new GlobalVariable(
lib/Linker/LinkModules.cpp 447 new GlobalVariable(M, Ty.getElementType(), /*isConstant*/ false,
lib/ProfileData/InstrProf.cpp 322 new GlobalVariable(M, Value->getType(), true, Linkage, Value,
1139 auto IRLevelVersionVariable = new GlobalVariable(
1156 GlobalVariable *ProfileNameVar = new GlobalVariable(
lib/Target/AArch64/AArch64PromoteConstant.cpp 474 PC.GV = new GlobalVariable(
lib/Target/AMDGPU/AMDGPUOpenCLEnqueuedBlockLowering.cpp 120 auto *GV = new GlobalVariable(
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp 796 GlobalVariable *GV = new GlobalVariable(
lib/Target/ARM/ARMFastISel.cpp 2190 GlobalValue *GV = new GlobalVariable(M, Type::getInt32Ty(*Context), false,
lib/Target/ARM/ARMISelLowering.cpp 2997 auto GV = new GlobalVariable(
lib/Target/BPF/BPFAbstractMemberAccess.cpp 859 GV = new GlobalVariable(M, VarType, false, GlobalVariable::ExternalLinkage,
lib/Target/NVPTX/NVPTXGenericToNVVM.cpp 83 GlobalVariable *NewGV = new GlobalVariable(
lib/Target/WebAssembly/WebAssemblyLowerGlobalDtors.cpp 122 GlobalVariable *Handle = new GlobalVariable(
lib/Target/XCore/XCoreLowerThreadLocal.cpp 196 new GlobalVariable(*M, NewType, GV->isConstant(), GV->getLinkage(),
lib/Transforms/Coroutines/CoroEarly.cpp 132 NoopCoro = new GlobalVariable(M, NoopCoroConst->getType(), /*isConstant=*/true,
lib/Transforms/Coroutines/CoroSplit.cpp 831 auto *GV = new GlobalVariable(*M, ConstVal->getType(), /*isConstant=*/true,
lib/Transforms/IPO/ExtractGV.cpp 142 new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage,
lib/Transforms/IPO/FunctionImport.cpp 931 new GlobalVariable(*GV.getParent(), GV.getValueType(),
lib/Transforms/IPO/GlobalOpt.cpp 486 GlobalVariable *NGV = new GlobalVariable(STy->getElementType(i), false,
522 GlobalVariable *NGV = new GlobalVariable(STy->getElementType(), false,
852 GlobalVariable *NewGV = new GlobalVariable(
884 new GlobalVariable(Type::getInt1Ty(GV->getContext()), false,
1303 GlobalVariable *NGV = new GlobalVariable(
1628 GlobalVariable *NewGV = new GlobalVariable(Type::getInt1Ty(GV->getContext()),
2622 new GlobalVariable(*M, ATy, false, GlobalValue::AppendingLinkage,
lib/Transforms/IPO/GlobalSplit.cpp 79 new GlobalVariable(*GV.getParent(), Init->getOperand(I)->getType(),
lib/Transforms/IPO/LowerTypeTests.cpp 593 auto ByteArrayGlobal = new GlobalVariable(
595 auto MaskGlobal = new GlobalVariable(M, Int8Ty, /*isConstant=*/true,
632 new GlobalVariable(M, ByteArrayConst->getType(), /*isConstant=*/true,
859 new GlobalVariable(M, NewInit->getType(), /*isConstant=*/true,
lib/Transforms/IPO/WholeProgramDevirt.cpp 1513 new GlobalVariable(M, NewInit->getType(), B.GV->isConstant(),
lib/Transforms/Instrumentation/AddressSanitizer.cpp 1258 auto GV = new GlobalVariable(M, LocStruct->getType(), true,
2023 GlobalVariable *Metadata = new GlobalVariable(
2092 GlobalVariable *RegisteredFlag = new GlobalVariable(
2098 GlobalVariable *StartELFMetadata = new GlobalVariable(
2102 GlobalVariable *StopELFMetadata = new GlobalVariable(
2144 GlobalVariable *Liveness = new GlobalVariable(
2164 GlobalVariable *RegisteredFlag = new GlobalVariable(
2190 auto AllGlobals = new GlobalVariable(
2290 new GlobalVariable(M, NewTy, G->isConstant(), Linkage, NewInitializer,
2354 new GlobalVariable(M, IRB.getInt8Ty(), false, Linkage,
lib/Transforms/Instrumentation/GCOVProfiling.cpp 802 new GlobalVariable(*M, CounterTy, false,
1032 auto *EmitFunctionCallArgsArrayGV = new GlobalVariable(
1042 auto *EmitArcsCallArgsArrayGV = new GlobalVariable(
1076 auto *FileInfoArrayGV = new GlobalVariable(
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp 423 auto *GV = new GlobalVariable(M, IntptrTy, /*isConstant=*/false,
1261 auto *NewGV = new GlobalVariable(M, Initializer->getType(), GV->isConstant(),
1291 new GlobalVariable(M, DescriptorTy, true, GlobalValue::PrivateLinkage,
1352 new GlobalVariable(M, Int8Arr0Ty, true, GlobalVariable::ExternalLinkage,
1357 new GlobalVariable(M, Int8Arr0Ty, true, GlobalVariable::ExternalLinkage,
1369 new GlobalVariable(M, NoteTy, /*isConstantGlobal=*/true,
1393 auto Dummy = new GlobalVariable(
lib/Transforms/Instrumentation/InstrOrderFile.cpp 82 OrderFileBuffer = new GlobalVariable(M, BufferTy, false, GlobalValue::LinkOnceODRLinkage,
89 BufferIdx = new GlobalVariable(M, IdxTy, false, GlobalValue::LinkOnceODRLinkage,
93 BitMap = new GlobalVariable(M, MapTy, false, GlobalValue::PrivateLinkage,
lib/Transforms/Instrumentation/InstrProfiling.cpp 782 new GlobalVariable(*M, CounterTy, false, Linkage,
804 new GlobalVariable(*M, ValuesTy, false, Linkage,
838 auto *Data = new GlobalVariable(*M, DataTy, false, Linkage,
902 auto *VNodesVar = new GlobalVariable(
925 NamesVar = new GlobalVariable(*M, NamesVal->getType(), true,
993 new GlobalVariable(*M, Int32Ty, false, GlobalValue::ExternalLinkage,
lib/Transforms/Instrumentation/Instrumentation.cpp 67 new GlobalVariable(M, StrConst->getType(), true,
lib/Transforms/Instrumentation/MemorySanitizer.cpp 685 return new GlobalVariable(M, StrConst->getType(), /*isConstant=*/false,
750 return new GlobalVariable(M, Ty, false, GlobalVariable::ExternalLinkage,
949 return new GlobalVariable(
956 return new GlobalVariable(M, IRB.getInt32Ty(), true,
lib/Transforms/Instrumentation/SanitizerCoverage.cpp 306 new GlobalVariable(M, Ty, false, GlobalVariable::ExternalLinkage, nullptr,
310 new GlobalVariable(M, Ty, false, GlobalVariable::ExternalLinkage,
646 auto Array = new GlobalVariable(
773 GlobalVariable *GV = new GlobalVariable(
lib/Transforms/Scalar/LoopIdiomRecognize.cpp 1022 GlobalVariable *GV = new GlobalVariable(*M, PatternValue->getType(), true,
lib/Transforms/Utils/CloneModule.cpp 63 GlobalVariable *GV = new GlobalVariable(*New,
97 GV = new GlobalVariable(
lib/Transforms/Utils/CtorUtils.cpp 48 new GlobalVariable(CA->getType(), GCL->isConstant(), GCL->getLinkage(),
lib/Transforms/Utils/ModuleUtils.cpp 59 (void)new GlobalVariable(M, NewInit->getType(), false,
96 GV = new llvm::GlobalVariable(M, ATy, false, GlobalValue::AppendingLinkage,
lib/Transforms/Utils/SanitizerStats.cpp 28 ModuleStatsGV = new GlobalVariable(*M, EmptyModuleStatsTy, false,
83 auto NewModuleStatsGV = new GlobalVariable(
lib/Transforms/Utils/SimplifyCFG.cpp 5082 Array = new GlobalVariable(M, ArrayTy, /*isConstant=*/true,
tools/bugpoint/ExtractFunction.cpp 289 new GlobalVariable(*M1, M1Init->getType(), false,
300 new GlobalVariable(*M2, M2Init->getType(), false,
tools/bugpoint/Miscompilation.cpp 845 GlobalVariable *funcName = new GlobalVariable(
865 GlobalVariable *Cache = new GlobalVariable(
tools/clang/lib/CodeGen/BackendUtil.cpp 1636 llvm::GlobalVariable *GV = new llvm::GlobalVariable(
1659 GV = new llvm::GlobalVariable(*M, CmdConstant->getType(), true,
1681 auto *NewUsed = new GlobalVariable(
tools/clang/lib/CodeGen/CGBlocks.cpp 1455 auto *InitVar = new llvm::GlobalVariable(CGM.getModule(), Init->getType(),
tools/clang/lib/CodeGen/CGCUDANV.cpp 561 FatBinStr = new llvm::GlobalVariable(
626 GpuBinaryHandle = new llvm::GlobalVariable(
669 GpuBinaryHandle = new llvm::GlobalVariable(
tools/clang/lib/CodeGen/CGDecl.cpp 250 llvm::GlobalVariable *GV = new llvm::GlobalVariable(
340 GV = new llvm::GlobalVariable(CGM.getModule(), Init->getType(),
1114 llvm::GlobalVariable *GV = new llvm::GlobalVariable(
tools/clang/lib/CodeGen/CGDeclCXX.cpp 419 llvm::GlobalVariable *PtrArray = new llvm::GlobalVariable(
tools/clang/lib/CodeGen/CGExpr.cpp 389 auto *GV = new llvm::GlobalVariable(
2822 auto *GV = new llvm::GlobalVariable(
3075 new llvm::GlobalVariable(CGM.getModule(), Info->getType(), false,
3136 new llvm::GlobalVariable(CGM.getModule(), Info->getType(), false,
tools/clang/lib/CodeGen/CGExprAgg.cpp 499 auto GV = new llvm::GlobalVariable(
tools/clang/lib/CodeGen/CGExprCXX.cpp 528 llvm::GlobalVariable *NullVariable = new llvm::GlobalVariable(
tools/clang/lib/CodeGen/CGExprConstant.cpp 903 auto GV = new llvm::GlobalVariable(CGM.getModule(), C->getType(),
1418 auto global = new llvm::GlobalVariable(CGM.getModule(), CGM.Int8Ty, true,
tools/clang/lib/CodeGen/CGObjCGNU.cpp 221 auto *GV = new llvm::GlobalVariable(TheModule, value->getType(), true,
1009 isa = new llvm::GlobalVariable(TheModule, IdTy, /* isConstant */false,
1062 auto *Buffer = new llvm::GlobalVariable(TheModule, C->getType(),
1210 ClassSymbol = new llvm::GlobalVariable(TheModule,
1218 ClassSymbol->setInitializer(new llvm::GlobalVariable(TheModule,
1295 GV = new llvm::GlobalVariable(TheModule, ProtocolTy, false,
1316 auto GV = new llvm::GlobalVariable(TheModule, ProtocolPtrTy,
1364 Protocol = new llvm::GlobalVariable(TheModule, ProtocolTy,
1439 auto *GV = new llvm::GlobalVariable(TheModule, Init->getType(),
1492 auto *Sym = new llvm::GlobalVariable(TheModule, emptyStruct,
1505 auto *Start = new llvm::GlobalVariable(TheModule, PtrTy,
1510 auto *Stop = new llvm::GlobalVariable(TheModule, PtrTy,
1553 auto *InitVar = new llvm::GlobalVariable(TheModule, LoadFunction->getType(),
1652 auto *InitVar = new llvm::GlobalVariable(CGM.getModule(), Init->getType(),
1679 IvarOffsetPointer = new llvm::GlobalVariable(TheModule, IntTy, false,
1765 SuperClass = new llvm::GlobalVariable(TheModule, PtrTy, false,
1842 OffsetVar = new llvm::GlobalVariable(TheModule, IntTy,
1972 auto classInitRef = new llvm::GlobalVariable(TheModule,
2077 ClassSymbol = new llvm::GlobalVariable(TheModule, LongTy, false,
2109 ClassSymbol = new llvm::GlobalVariable(TheModule, LongTy, false,
2113 new llvm::GlobalVariable(TheModule, ClassSymbol->getType(), true,
2397 new llvm::GlobalVariable(CGM.getModule(), PtrToInt8Ty,
2426 Vtable = new llvm::GlobalVariable(TheModule, PtrToInt8Ty, true,
2471 isa = new llvm::GlobalVariable(TheModule, IdTy, /* isConstant */false,
3397 new llvm::GlobalVariable(TheModule, LongTy, false,
3456 OffsetVar = new llvm::GlobalVariable(TheModule, Int32Ty,
3563 new llvm::GlobalVariable(TheModule, offsetValue->getType(),
4031 IvarOffsetPointer = new llvm::GlobalVariable(TheModule,
4087 auto GV = new llvm::GlobalVariable(TheModule, IntTy,
tools/clang/lib/CodeGen/CGObjCMac.cpp 2016 auto *GV = new llvm::GlobalVariable(CGM.getModule(), C->getType(), isConstant,
3099 Entry = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ProtocolTy,
3696 GV = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassTy, false,
3710 GV = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassTy, false,
4014 new llvm::GlobalVariable(CGM.getModule(), Ty, false, LT, Init, Name);
4059 new llvm::GlobalVariable(CGM.getModule(), Value->getType(),
6075 new llvm::GlobalVariable(CGM.getModule(), Init->getType(), false, LT, Init,
6375 new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.CacheTy, false,
6385 new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ImpnfABITy, false,
6523 PTGV = new llvm::GlobalVariable(CGM.getModule(), Init->getType(), false,
6733 new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.IvarOffsetVarTy,
6874 Entry = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ProtocolnfABITy,
6983 new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ProtocolnfABIPtrTy,
7267 auto *NewGV = new llvm::GlobalVariable(ObjCTypes.ClassnfABITy, false, L,
7336 Entry = new llvm::GlobalVariable(
7375 Entry = new llvm::GlobalVariable(
7399 Entry = new llvm::GlobalVariable(
7496 Entry = new llvm::GlobalVariable(
7636 new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.EHTypeTy, false,
7699 Entry = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.EHTypeTy,
7714 new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.Int8PtrTy, false,
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 830 auto *GV = new llvm::GlobalVariable(
2933 Ctor = new llvm::GlobalVariable(
2972 Dtor = new llvm::GlobalVariable(
3146 return Elem.second = new llvm::GlobalVariable(
4027 auto *Str = new llvm::GlobalVariable(
6526 OutlinedFnID = new llvm::GlobalVariable(
8608 auto *SizesArrayGbl = new llvm::GlobalVariable(
8624 auto *MapTypesArrayGbl = new llvm::GlobalVariable(
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 1178 KernelStaticGlobalized = new llvm::GlobalVariable(
1308 KernelStaticGlobalized = new llvm::GlobalVariable(
1384 new llvm::GlobalVariable(CGM.getModule(), CGM.Int8Ty, /*isConstant=*/true,
2221 auto *UseSharedMemory = new llvm::GlobalVariable(
2232 auto *StaticGlobalized = new llvm::GlobalVariable(
2235 auto *RecSize = new llvm::GlobalVariable(
3214 TransferMedium = new llvm::GlobalVariable(
4363 KernelTeamsReductionPtr = new llvm::GlobalVariable(
4752 auto *GV = new llvm::GlobalVariable(
4764 auto *GV = new llvm::GlobalVariable(
4777 auto *GV = new llvm::GlobalVariable(
5125 auto *GV = new llvm::GlobalVariable(
5155 auto *GV = new llvm::GlobalVariable(
5190 auto *GV = new llvm::GlobalVariable(
tools/clang/lib/CodeGen/CGStmt.cpp 1057 new llvm::GlobalVariable(CGM.getModule(), SLoc->getType(), false,
tools/clang/lib/CodeGen/CodeGenFunction.cpp 509 auto *GV = new llvm::GlobalVariable(CGM.getModule(), Addr->getType(),
1669 new llvm::GlobalVariable(CGM.getModule(), NullConstant->getType(),
tools/clang/lib/CodeGen/CodeGenModule.cpp 1916 auto *GV = new llvm::GlobalVariable(
2167 auto *gv = new llvm::GlobalVariable(getModule(), Array->getType(), false,
2181 new llvm::GlobalVariable(getModule(), s->getType(), true,
2374 auto *GV = new llvm::GlobalVariable(
3462 auto *GV = new llvm::GlobalVariable(
3632 GV = new llvm::GlobalVariable(getModule(), Ty, /*isConstant=*/true,
4736 new llvm::GlobalVariable(getModule(), C->getType(), /*isConstant=*/true,
4893 auto *GV = new llvm::GlobalVariable(
5080 auto *GV = new llvm::GlobalVariable(
tools/clang/lib/CodeGen/ConstantInitBuilder.cpp 73 auto GV = new llvm::GlobalVariable(CGM.getModule(),
152 new llvm::GlobalVariable(Builder.CGM.getModule(), type, true,
tools/clang/lib/CodeGen/CoverageMappingGen.cpp 1440 auto CovData = new llvm::GlobalVariable(
1456 new llvm::GlobalVariable(CGM.getModule(), NamesArrTy, true,
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 2224 guard = new llvm::GlobalVariable(CGM.getModule(), guardTy,
2578 llvm::GlobalVariable *Guard = new llvm::GlobalVariable(
2892 GV = new llvm::GlobalVariable(CGM.getModule(), CGM.Int8PtrTy,
3500 new llvm::GlobalVariable(M, Init->getType(),
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 354 auto *VDispMap = new llvm::GlobalVariable(
526 auto *GV = new llvm::GlobalVariable(CGM.getModule(), CGM.Int8Ty,
1806 VTable = new llvm::GlobalVariable(CGM.getModule(), VTableType,
2305 llvm::GlobalVariable *InitFuncPtr = new llvm::GlobalVariable(
2353 auto *GV = new llvm::GlobalVariable(
2497 new llvm::GlobalVariable(CGM.getModule(), GuardTy, /*isConstant=*/false,
3414 return new llvm::GlobalVariable(CGM.getModule(), CGM.Int8PtrTy,
3595 auto CHD = new llvm::GlobalVariable(Module, Type, /*isConstant=*/true, Linkage,
3633 new llvm::GlobalVariable(Module, ArrType,
3676 new llvm::GlobalVariable(Module, Type, /*isConstant=*/true, Linkage,
3722 auto COL = new llvm::GlobalVariable(Module, Type, /*isConstant=*/true, Linkage,
3836 auto *Var = new llvm::GlobalVariable(
4075 auto *GV = new llvm::GlobalVariable(
4193 CTA = new llvm::GlobalVariable(
4262 auto *GV = new llvm::GlobalVariable(
tools/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp 278 auto *ASTSym = new llvm::GlobalVariable(
tools/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp 176 auto *EntriesB = new GlobalVariable(
180 auto *EntriesE = new GlobalVariable(
192 auto *DummyEntry = new GlobalVariable(
206 auto *Image = new GlobalVariable(M, Data->getType(), /*isConstant*/ true,
228 new GlobalVariable(M, ImagesData->getType(), /*isConstant*/ true,
242 return new GlobalVariable(M, DescInit->getType(), /*isConstant*/ true,
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp 343 GlobalVariable *new_result_global = new GlobalVariable(
1105 GlobalVariable *persistent_global = new GlobalVariable(
1887 m_reloc_placeholder = new llvm::GlobalVariable(
tools/polly/lib/CodeGen/LoopGeneratorsKMP.cpp 469 GlobalVariable *StrVar = new GlobalVariable(
473 SourceLocDummy = new GlobalVariable(
tools/polly/lib/CodeGen/PerfMonitor.cpp 55 GV = new GlobalVariable(*M, Ty, true, GlobalValue::AppendingLinkage,
77 *Location = new GlobalVariable(
unittests/Analysis/ScalarEvolutionTest.cpp 77 Value *V0 = new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage, Init, "V0");
78 Value *V1 = new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage, Init, "V1");
79 Value *V2 = new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage, Init, "V2");
unittests/Analysis/SparsePropagation.cpp 298 new GlobalVariable(M, Builder.getInt64Ty(), false,
339 new GlobalVariable(M, Builder.getInt64Ty(), false,
unittests/ExecutionEngine/ExecutionEngineTest.cpp 41 return new GlobalVariable(*M, T, false, // Not constant.
unittests/ExecutionEngine/MCJIT/MCJITTestBase.h 133 GlobalVariable *Global = new GlobalVariable(*M,
unittests/ExecutionEngine/Orc/LegacyRTDyldObjectLinkingLayerTest.cpp 82 new GlobalVariable(*M, Int32Ty, false, GlobalValue::ExternalLinkage,
unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp 78 new GlobalVariable(*M, Int32Ty, false, GlobalValue::ExternalLinkage,
unittests/IR/ConstantsTest.cpp 334 Constant *Global = new GlobalVariable(*M, IntTy, false,
342 new GlobalVariable(*M, ArrayTy, false, GlobalValue::ExternalLinkage, A0G);
354 Constant *G1 = new GlobalVariable(*M, IntTy, false,
356 Constant *G2 = new GlobalVariable(*M, IntTy, false,
365 new GlobalVariable(*M, IntTy, false, GlobalValue::ExternalLinkage, Int1);
379 auto *Placeholder = new GlobalVariable(
385 new GlobalVariable(*M, PtrTy, false, GlobalValue::ExternalLinkage, GEP);
388 auto *Global = new GlobalVariable(*M, PtrTy, false,
471 auto *G = new GlobalVariable(*M, S, false,
575 new GlobalVariable(IntType, true, GlobalValue::ExternalLinkage));
unittests/IR/IRBuilderTest.cpp 34 GV = new GlobalVariable(*M, Type::getFloatTy(Ctx), true,
177 GlobalVariable *GVDouble = new GlobalVariable(*M, Type::getDoubleTy(Ctx),
588 GlobalVariable *G = new GlobalVariable(*M, Builder.getInt32Ty(), true,
unittests/IR/MetadataTest.cpp 492 new GlobalVariable(Ty, false, GlobalValue::ExternalLinkage));
731 new GlobalVariable(Ty, false, GlobalValue::ExternalLinkage));
754 new GlobalVariable(Ty, false, GlobalValue::ExternalLinkage));
767 new GlobalVariable(Ty, false, GlobalValue::ExternalLinkage));
2531 new GlobalVariable(Ty, false, GlobalValue::ExternalLinkage));
2537 new GlobalVariable(Ty, false, GlobalValue::ExternalLinkage));
2592 new GlobalVariable(Ty, false, GlobalValue::ExternalLinkage));
2598 new GlobalVariable(Ty, false, GlobalValue::ExternalLinkage));
2609 new GlobalVariable(Ty, false, GlobalValue::ExternalLinkage));
unittests/IR/ModuleTest.cpp 35 (void)new GlobalVariable(M, T, false, L, nullptr, "A");
36 (void)new GlobalVariable(M, T, false, L, nullptr, "F");
37 (void)new GlobalVariable(M, T, false, L, nullptr, "G");
38 (void)new GlobalVariable(M, T, false, L, nullptr, "E");
39 (void)new GlobalVariable(M, T, false, L, nullptr, "B");
40 (void)new GlobalVariable(M, T, false, L, nullptr, "H");
41 (void)new GlobalVariable(M, T, false, L, nullptr, "C");
42 (void)new GlobalVariable(M, T, false, L, nullptr, "D");
unittests/IR/ValueTest.cpp 53 = new GlobalVariable(*M,
75 = new GlobalVariable(*M,
99 new GlobalVariable(*M, Int32Ty, true, GlobalValue::ExternalLinkage,
unittests/IR/VerifierTest.cpp 126 new GlobalVariable(M, Type::getInt8Ty(C), false,
173 new GlobalVariable(M, Type::getInt8Ty(C), false,
unittests/Linker/LinkModulesTest.cpp 42 GV = new GlobalVariable(*M.get(), AT, false /*=isConstant*/,
164 new GlobalVariable(*InternalM, STy, false /*=isConstant*/,
unittests/Transforms/Utils/CloningTest.cpp 725 auto GV = new GlobalVariable(
usr/include/c++/7.4.0/bits/unique_ptr.h 825 { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }