Home
last modified time | relevance | path

Searched refs:getInitializer (Results 1 – 25 of 75) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCtorUtils.cpp29 ConstantArray *OldCA = cast<ConstantArray>(GCL->getInitializer()); in removeGlobalCtors()
66 if (GV->getInitializer()->isNullValue()) in parseGlobalCtors()
68 ConstantArray *CA = cast<ConstantArray>(GV->getInitializer()); in parseGlobalCtors()
90 if (isa<ConstantAggregateZero>(GV->getInitializer())) in findGlobalCtors()
92 ConstantArray *CA = cast<ConstantArray>(GV->getInitializer()); in findGlobalCtors()
DEvaluator.cpp161 return ConstantFoldLoadThroughGEPConstantExpr(GV->getInitializer(), CE); in isSimpleEnoughPointerToCommit()
205 static Constant *getInitializer(Constant *C) { in getInitializer() function
207 return GV && GV->hasDefinitiveInitializer() ? GV->getInitializer() : nullptr; in getInitializer()
227 return GV->getInitializer(); in ComputeLoadResult()
235 if (auto *I = getInitializer(CE->getOperand(0))) in ComputeLoadResult()
247 Val = getInitializer(CE->getOperand(0)); in ComputeLoadResult()
DModuleUtils.cpp34 if (Constant *Init = GVCtor->getInitializer()) { in appendToGlobalArray()
77 auto *CA = cast<ConstantArray>(GV->getInitializer()); in appendToUsedList()
DGlobalStatus.cpp120 if (GV->hasInitializer() && StoredVal == GV->getInitializer()) { in analyzeGlobalAux()
/third_party/typescript/src/services/codefixes/
DfixStrictClassInitialization.ts38 const initializer = getInitializer(checker, propertyDeclaration);
87 const initializer = getInitializer(checker, propertyDeclaration);
107 …function getInitializer(checker: TypeChecker, propertyDeclaration: PropertyDeclaration): Expressio… function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DConstantMerge.cpp49 ConstantArray *Inits = cast<ConstantArray>(LLVMUsed->getInitializer()); in FindUsedValues()
182 Constant *Init = GV->getInitializer(); in mergeConstants()
213 Constant *Init = GV->getInitializer(); in mergeConstants()
DGlobalSplit.cpp48 auto *Init = dyn_cast_or_null<ConstantStruct>(GV.getInitializer()); in splitGlobal()
128 SplitGlobals[I]->getInitializer()->getType(), SplitGlobals[I], Ops, in splitGlobal()
DGlobalOpt.cpp437 Constant *Init = GV->getInitializer(); in CanDoGlobalSRA()
483 Constant *Init = GV->getInitializer(); in SRAGlobal()
1591 if (GV->getInitializer()->getType()->isPointerTy() && in optimizeOnceStoredGlobal()
1592 GV->getInitializer()->isNullValue() && in optimizeOnceStoredGlobal()
1595 GV->getInitializer()->getType()->getPointerAddressSpace())) { in optimizeOnceStoredGlobal()
1597 if (GV->getInitializer()->getType() != SOVC->getType()) in optimizeOnceStoredGlobal()
1598 SOVC = ConstantExpr::getBitCast(SOVC, GV->getInitializer()->getType()); in optimizeOnceStoredGlobal()
1651 Constant *InitVal = GV->getInitializer(); in TryToShrinkGlobalToBoolean()
1666 auto *CIInit = dyn_cast<ConstantInt>(GV->getInitializer()); in TryToShrinkGlobalToBoolean()
1966 if (!isa<UndefValue>(GV->getInitializer())) in processInternalGlobal()
[all …]
DElimAvailExtern.cpp41 Constant *Init = GV.getInitializer(); in eliminateAvailableExternally()
DGlobalDCE.cpp212 getPointerAtOffset(VTable->getInitializer(), VTableOffset + CallOffset, in ScanVTableLoad()
362 Constant *Init = GV.getInitializer(); in run()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DGlobalVariable.h136 inline const Constant *getInitializer() const { in getInitializer() function
140 inline Constant *getInitializer() { in getInitializer() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCTargetObjectFile.cpp43 if (GVar && GVar->isConstant() && GVar->getInitializer()->needsRelocation()) in SelectSectionForGlobal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
DTargetLoweringObjectFile.cpp71 const Constant *C = GV->getInitializer(); in isSuitableForBSS()
182 const Constant *C = GVar->getInitializer(); in getKindForGlobal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DLTOModule.cpp251 Constant *cn = gvn->getInitializer(); in objcClassNameFromExpression()
265 const ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer()); in addObjCClass()
299 const ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer()); in addObjCCategory()
323 if (!objcClassNameFromExpression(clgv->getInitializer(), targetclassName)) in addObjCClassRef()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/
DObjCARCAPElim.cpp156 ConstantArray *Init = cast<ConstantArray>(GV->getInitializer()); in runOnModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVVMReflect.cpp149 const Constant *Initializer = GV->getInitializer(); in runOnFunction()
DNVPTXAsmPrinter.cpp760 const ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer()); in isEmptyXXStructor()
1050 Initializer = GVar->getInitializer(); in printModuleLevelGV()
1158 const Constant *Initializer = GVar->getInitializer(); in printModuleLevelGV()
1168 if (!GVar->getInitializer()->isNullValue() && in printModuleLevelGV()
1169 !isa<UndefValue>(GVar->getInitializer())) { in printModuleLevelGV()
1194 const Constant *Initializer = GVar->getInitializer(); in printModuleLevelGV()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DTypeFinder.cpp38 incorporateValue(G.getInitializer()); in run()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPrintfRuntimeBinding.cpp187 auto Init = GVar->getInitializer(); in lowerPrintfForGpu()
255 Constant *Init = GV->getInitializer(); in lowerPrintfForGpu()
441 Constant *Init = GV->getInitializer(); in lowerPrintfForGpu()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLowerEmuTLS.cpp100 InitValue = GV->getInitializer(); in addEmuTlsVar()
DGlobalMerge.cpp479 Inits.push_back(Globals[j]->getInitializer()); in doMerge()
572 const ConstantArray *InitList = cast<ConstantArray>(GV->getInitializer()); in collectUsedGlobalVariables()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp114 if (!isa<GlobalValue>(G.getInitializer())) in orderModule()
115 orderValue(G.getInitializer(), OM); in orderModule()
303 predictValueUseListOrder(G.getInitializer(), nullptr, OM, Stack); in predictUseListOrder()
350 EnumerateValue(GV.getInitializer()); in ValueEnumerator()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerGlobalDtors.cpp67 const ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer()); in runOnModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopUnrollAnalyzer.cpp109 dyn_cast<ConstantDataSequential>(GV->getInitializer()); in visitLoad()
DGlobalsModRef.cpp412 if (Constant *C = GV->getInitializer()) in AnalyzeIndirectGlobalMemory()
744 Type *GVType = GVar->getInitializer()->getType(); in isNonEscapingGlobalNoAlias()
745 Type *InputGVType = InputGVar->getInitializer()->getType(); in isNonEscapingGlobalNoAlias()

123