reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Analysis/GlobalsModRef.cpp
  738         Type *GVType = GVar->getInitializer()->getType();
  739         Type *InputGVType = InputGVar->getInitializer()->getType();
lib/Analysis/ModuleSummaryAnalysis.cpp
  533   findFuncPointers(V.getInitializer(), /*StartingOffset=*/0, M, Index,
lib/Analysis/ValueTracking.cpp
 3511   if (GV->getInitializer()->isNullValue()) {
 3530     Array = dyn_cast<ConstantDataArray>(GV->getInitializer());
lib/Bitcode/Writer/BitcodeWriter.cpp
 1273                    (VE.getValueID(GV.getInitializer()) + 1));
lib/Bitcode/Writer/ValueEnumerator.cpp
  114       if (!isa<GlobalValue>(G.getInitializer()))
  115         orderValue(G.getInitializer(), OM);
  303       predictValueUseListOrder(G.getInitializer(), nullptr, OM, Stack);
  350       EnumerateValue(GV.getInitializer());
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  594                          GV->getInitializer());
  630   EmitGlobalConstant(GV->getParent()->getDataLayout(), GV->getInitializer());
 1583       if (const auto *A = cast<ConstantArray>(LU->getInitializer())) {
 1930       EmitLLVMUsedList(cast<ConstantArray>(GV->getInitializer()));
 1944     EmitXXStructorList(GV->getParent()->getDataLayout(), GV->getInitializer(),
 1951     EmitXXStructorList(GV->getParent()->getDataLayout(), GV->getInitializer(),
lib/CodeGen/GlobalMerge.cpp
  569   const ConstantArray *InitList = cast<ConstantArray>(GV->getInitializer());
lib/CodeGen/LowerEmuTLS.cpp
   99     InitValue = GV->getInitializer();
lib/ExecutionEngine/ExecutionEngine.cpp
 1303     InitializeMemory(GV->getInitializer(), GA);
lib/ExecutionEngine/Orc/ExecutionUtils.cpp
   24       GV ? dyn_cast_or_null<ConstantArray>(GV->getInitializer()) : nullptr),
lib/IR/AsmWriter.cpp
  141       if (!isa<GlobalValue>(G.getInitializer()))
  142         orderValue(G.getInitializer(), OM);
  306       predictValueUseListOrder(G.getInitializer(), nullptr, OM, Stack);
 3289     writeOperand(GV->getInitializer(), false);
lib/IR/TypeFinder.cpp
   38       incorporateValue(G.getInitializer());
lib/IR/Verifier.cpp
  622     Assert(GV.getInitializer()->getType() == GV.getValueType(),
  629       Assert(GV.getInitializer()->isNullValue(),
  672         const Constant *Init = GV.getInitializer();
  711   visitConstantExprsRecursively(GV.getInitializer());
lib/LTO/LTOModule.cpp
  265   const ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer());
  299   const ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer());
  323   if (!objcClassNameFromExpression(clgv->getInitializer(), targetclassName))
lib/Linker/IRMover.cpp
  901   getArrayElements(SrcGV->getInitializer(), SrcElements);
lib/Linker/LinkModules.cpp
  197       if (SrcGV->getInitializer() != DstGV->getInitializer())
  197       if (SrcGV->getInitializer() != DstGV->getInitializer())
lib/ProfileData/InstrProf.cpp
 1081   auto *InitVal = dyn_cast_or_null<ConstantInt>(IRInstrVar->getInitializer());
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  290     if (GV->hasInitializer() && !isa<UndefValue>(GV->getInitializer())) {
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
 1188   return !isa<UndefValue>(GVar->getInitializer());
lib/Target/ARM/ARMISelLowering.cpp
 3347   auto *Init = GVar->getInitializer();
lib/Target/BPF/BPFISelDAGToDAG.cpp
  347   const Constant *Init = V->getInitializer();
lib/Target/BPF/BTFDebug.cpp
 1071         SecName = Global.getInitializer()->isZeroValue() ? ".bss" : ".data";
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 1050       Initializer = GVar->getInitializer();
 1158         const Constant *Initializer = GVar->getInitializer();
 1168         if (!GVar->getInitializer()->isNullValue() &&
 1169             !isa<UndefValue>(GVar->getInitializer())) {
 1194         const Constant *Initializer = GVar->getInitializer();
lib/Target/NVPTX/NVVMReflect.cpp
  148       const Constant *Initializer = GV->getInitializer();
lib/Target/PowerPC/PPCAsmPrinter.cpp
 1784   EmitGlobalConstant(GV->getParent()->getDataLayout(), GV->getInitializer());
lib/Target/PowerPC/PPCTargetObjectFile.cpp
   43     if (GVar && GVar->isConstant() && GVar->getInitializer()->needsRelocation())
lib/Target/TargetLoweringObjectFile.cpp
   71   const Constant *C = GV->getInitializer();
  182     const Constant *C = GVar->getInitializer();
lib/Target/XCore/XCoreAsmPrinter.cpp
  117   const Constant *C = GV->getInitializer();
lib/Transforms/Utils/CloneModule.cpp
  130       GV->setInitializer(MapValue(I->getInitializer(), VMap));
lib/Transforms/Utils/GlobalStatus.cpp
  120             if (GV->hasInitializer() && StoredVal == GV->getInitializer()) {
tools/verify-uselistorder/verify-uselistorder.cpp
  200       map(G.getInitializer());
unittests/Linker/LinkModulesTest.cpp
  105   const Constant *Init = LinkedGV->getInitializer();