/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | CtorUtils.cpp | 29 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()
|
D | Evaluator.cpp | 161 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()
|
D | ModuleUtils.cpp | 34 if (Constant *Init = GVCtor->getInitializer()) { in appendToGlobalArray() 77 auto *CA = cast<ConstantArray>(GV->getInitializer()); in appendToUsedList()
|
D | GlobalStatus.cpp | 120 if (GV->hasInitializer() && StoredVal == GV->getInitializer()) { in analyzeGlobalAux()
|
/third_party/typescript/src/services/codefixes/ |
D | fixStrictClassInitialization.ts | 38 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/ |
D | ConstantMerge.cpp | 49 ConstantArray *Inits = cast<ConstantArray>(LLVMUsed->getInitializer()); in FindUsedValues() 182 Constant *Init = GV->getInitializer(); in mergeConstants() 213 Constant *Init = GV->getInitializer(); in mergeConstants()
|
D | GlobalSplit.cpp | 48 auto *Init = dyn_cast_or_null<ConstantStruct>(GV.getInitializer()); in splitGlobal() 128 SplitGlobals[I]->getInitializer()->getType(), SplitGlobals[I], Ops, in splitGlobal()
|
D | GlobalOpt.cpp | 437 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 …]
|
D | ElimAvailExtern.cpp | 41 Constant *Init = GV.getInitializer(); in eliminateAvailableExternally()
|
D | GlobalDCE.cpp | 212 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/ |
D | GlobalVariable.h | 136 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/ |
D | PPCTargetObjectFile.cpp | 43 if (GVar && GVar->isConstant() && GVar->getInitializer()->needsRelocation()) in SelectSectionForGlobal()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 71 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/ |
D | LTOModule.cpp | 251 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/ |
D | ObjCARCAPElim.cpp | 156 ConstantArray *Init = cast<ConstantArray>(GV->getInitializer()); in runOnModule()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVVMReflect.cpp | 149 const Constant *Initializer = GV->getInitializer(); in runOnFunction()
|
D | NVPTXAsmPrinter.cpp | 760 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/ |
D | TypeFinder.cpp | 38 incorporateValue(G.getInitializer()); in run()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUPrintfRuntimeBinding.cpp | 187 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/ |
D | LowerEmuTLS.cpp | 100 InitValue = GV->getInitializer(); in addEmuTlsVar()
|
D | GlobalMerge.cpp | 479 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/ |
D | ValueEnumerator.cpp | 114 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/ |
D | WebAssemblyLowerGlobalDtors.cpp | 67 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/ |
D | LoopUnrollAnalyzer.cpp | 109 dyn_cast<ConstantDataSequential>(GV->getInitializer()); in visitLoad()
|
D | GlobalsModRef.cpp | 412 if (Constant *C = GV->getInitializer()) in AnalyzeIndirectGlobalMemory() 744 Type *GVType = GVar->getInitializer()->getType(); in isNonEscapingGlobalNoAlias() 745 Type *InputGVType = InputGVar->getInitializer()->getType(); in isNonEscapingGlobalNoAlias()
|