|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/IR/GlobalVariable.h 111 return hasInitializer() &&
137 assert(hasInitializer() && "GV doesn't have initializer!");
141 assert(hasInitializer() && "GV doesn't have initializer!");
lib/Analysis/LazyCallGraph.cpp 193 if (GV.hasInitializer())
lib/Bitcode/Writer/ValueEnumerator.cpp 113 if (G.hasInitializer())
302 if (G.hasInitializer())
349 if (GV.hasInitializer())
lib/CodeGen/Analysis.cpp 164 assert(Var->hasInitializer() &&
lib/CodeGen/AsmPrinter/AsmPrinter.cpp 459 if (GV->hasInitializer()) {
486 if (!GV->hasInitializer()) // External globals require no extra code.
1247 if (!GV->hasGlobalUnnamedAddr() || !GV->hasInitializer() ||
1579 assert(LU->hasInitializer() &&
1941 assert(GV->hasInitializer() && "Not a special LLVM global!");
lib/CodeGen/GlobalMerge.cpp 566 if (!GV || !GV->hasInitializer()) return;
lib/CodeGen/LowerEmuTLS.cpp 98 if (GV->hasInitializer()) {
125 if (!GV->hasInitializer())
lib/CodeGen/TargetLoweringObjectFileImpl.cpp 1591 cast<GlobalVariable>(RHS)->hasInitializer() || RHS->hasSection())
lib/ExecutionEngine/Orc/IndirectionUtils.cpp 339 assert(OrigGV.hasInitializer() && "Nothing to move");
lib/IR/AsmWriter.cpp 140 if (G.hasInitializer())
305 if (G.hasInitializer())
3269 if (!GV->hasInitializer() && GV->hasExternalLinkage())
3287 if (GV->hasInitializer()) {
lib/IR/AutoUpgrade.cpp 840 !GV->hasInitializer())
lib/IR/Core.cpp 2124 if ( !GV->hasInitializer() )
lib/IR/DataLayout.cpp 861 if (GV->hasInitializer() && GVAlignment == 0) {
lib/IR/Globals.cpp 390 if (hasInitializer()) {
403 if (!hasInitializer())
lib/IR/Module.cpp 602 if (!GV || !GV->hasInitializer())
lib/IR/TypeFinder.cpp 37 if (G.hasInitializer())
lib/IR/Verifier.cpp 621 if (GV.hasInitializer()) {
639 Assert(!GV.hasInitializer() || GV.hasAppendingLinkage(),
665 Assert(!GV.hasInitializer() || GV.hasAppendingLinkage(),
671 if (GV.hasInitializer()) {
705 if (!GV.hasInitializer()) {
lib/Linker/IRMover.cpp 595 if (V->hasInitializer() || V->hasAppendingLinkage())
lib/ProfileData/InstrProf.cpp 1078 if (!IRInstrVar->hasInitializer())
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp 290 if (GV->hasInitializer() && !isa<UndefValue>(GV->getInitializer())) {
lib/Target/AMDGPU/AMDGPUISelLowering.cpp 1185 if (!GVar || !GVar->hasInitializer())
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp 185 if (GVar && GVar->hasInitializer()) {
253 if (GV && GV->hasInitializer()) {
439 if (GV && GV->hasInitializer()) {
lib/Target/ARM/ARMISelLowering.cpp 3340 if (!GVar || !GVar->hasInitializer() ||
lib/Target/BPF/BPFISelDAGToDAG.cpp 344 if (!V || !V->hasInitializer())
lib/Target/BPF/BTFDebug.cpp 1059 if (!Global.hasInitializer() && Global.hasExternalLinkage())
lib/Target/NVPTX/NVPTXAsmPrinter.cpp 971 if (GVar->hasInitializer())
1016 if (GVar->hasInitializer())
1049 if (GVar->hasInitializer())
1155 if (GVar->hasInitializer()) {
1193 GVar->hasInitializer()) {
lib/Target/NVPTX/NVPTXGenericToNVVM.cpp 86 GV->hasInitializer() ? GV->getInitializer() : nullptr,
lib/Target/NVPTX/NVVMReflect.cpp 146 assert(GV->hasInitializer() &&
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp 136 if (!G.hasInitializer() && G.hasExternalLinkage()) {
lib/Target/WebAssembly/WebAssemblyLowerGlobalDtors.cpp 64 if (!GV || !GV->hasInitializer())
lib/Target/XCore/XCoreAsmPrinter.cpp 109 if (!GV->hasInitializer() ||
lib/Target/XCore/XCoreLowerThreadLocal.cpp 192 if (GV->hasInitializer())
lib/Transforms/IPO/ElimAvailExtern.cpp 39 if (GV.hasInitializer()) {
lib/Transforms/IPO/GlobalDCE.cpp 359 if (GV.hasInitializer()) {
lib/Transforms/IPO/GlobalOpt.cpp 2095 if (GVar->isConstant() || !GVar->hasInitializer())
2364 if (GV->hasInitializer())
2433 assert(GV->hasInitializer());
2509 assert(GVPair.first->hasInitializer());
lib/Transforms/Instrumentation/AddressSanitizer.cpp 1476 return G->hasInitializer() && !GlobalsMD.get(G).IsDynInit;
1810 if (!G->hasInitializer()) return false;
lib/Transforms/Utils/CloneModule.cpp 129 if (I->hasInitializer())
lib/Transforms/Utils/GlobalStatus.cpp 120 if (GV->hasInitializer() && StoredVal == GV->getInitializer()) {
tools/bugpoint/CrashDebugger.cpp 166 if (I.hasInitializer() && !GVSet.count(&I)) {
213 if (!UsedVar || !UsedVar->hasInitializer())
960 if (GV.hasInitializer()) {
985 if (GV.hasInitializer())
tools/bugpoint/ExtractFunction.cpp 51 if (!GV->hasInitializer())
tools/clang/lib/CodeGen/CGExpr.cpp 444 if (Var->hasInitializer())
498 if (!Var->hasInitializer()) {
tools/clang/lib/CodeGen/CGObjCMac.cpp 3049 if (Entry && Entry->hasInitializer())
5563 if (global->hasInitializer())
6909 if (Entry && Entry->hasInitializer())
7708 assert((!Entry || !Entry->hasInitializer()) && "Duplicate EHType definition");
tools/clang/lib/CodeGen/CodeGenModule.cpp 3536 D->getType().isConstQualified() && !GV->hasInitializer() &&
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 1636 if (VTable->hasInitializer())
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 1661 if (VTable->hasInitializer())
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp 384 if (!result_global->hasInitializer()) {
577 if (!nsstring_global->hasInitializer()) {
667 if (!cstr_global->hasInitializer()) {
794 !_objc_selector_references_->hasInitializer())
815 if (!_objc_meth_var_name_ || !_objc_meth_var_name_->hasInitializer())
952 !_objc_class_references_->hasInitializer())
973 if (!_objc_class_name_ || !_objc_class_name_->hasInitializer())
tools/llvm-reduce/deltas/ReduceGlobalVars.cpp 26 if (GV.hasInitializer() && I < (int)ChunksToKeep.size()) {
37 if (GV.hasInitializer() && !GVsToKeep.count(&GV)) {
64 if (GV.hasInitializer())
tools/verify-uselistorder/verify-uselistorder.cpp 199 if (G.hasInitializer())
475 if (G.hasInitializer())