/external/llvm/lib/Transforms/Utils/ |
D | CtorUtils.cpp | 32 ConstantArray *OldCA = cast<ConstantArray>(GCL->getInitializer()); in removeGlobalCtors() 69 if (GV->getInitializer()->isNullValue()) in parseGlobalCtors() 71 ConstantArray *CA = cast<ConstantArray>(GV->getInitializer()); in parseGlobalCtors() 93 if (isa<ConstantAggregateZero>(GV->getInitializer())) in findGlobalCtors() 95 ConstantArray *CA = cast<ConstantArray>(GV->getInitializer()); in findGlobalCtors()
|
D | ModuleUtils.cpp | 38 if (Constant *Init = GVCtor->getInitializer()) { in appendToGlobalArray() 89 const ConstantArray *Init = cast<ConstantArray>(GV->getInitializer()); in collectUsedGlobalVariables()
|
D | GlobalStatus.cpp | 108 if (StoredVal == GV->getInitializer()) { in analyzeGlobalAux()
|
/external/llvm/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 70 ConstantArray *Inits = cast<ConstantArray>(LLVMUsed->getInitializer()); in FindUsedValues() 145 Constant *Init = GV->getInitializer(); in runOnModule() 176 Constant *Init = GV->getInitializer(); in runOnModule()
|
D | GlobalDCE.cpp | 129 Constant *Init = GV.getInitializer(); in runOnModule() 207 MarkUsedGlobalsAsNeeded(GV->getInitializer()); in GlobalIsNeeded()
|
D | ElimAvailExtern.cpp | 60 Constant *Init = GV.getInitializer(); in runOnModule()
|
D | GlobalOpt.cpp | 480 Constant *Init = GV->getInitializer(); in SRAGlobal() 1571 if (GV->getInitializer()->getType()->isPointerTy() && in OptimizeOnceStoredGlobal() 1572 GV->getInitializer()->isNullValue()) { in OptimizeOnceStoredGlobal() 1574 if (GV->getInitializer()->getType() != SOVC->getType()) in OptimizeOnceStoredGlobal() 1575 SOVC = ConstantExpr::getBitCast(SOVC, GV->getInitializer()->getType()); in OptimizeOnceStoredGlobal() 1627 Constant *InitVal = GV->getInitializer(); in TryToShrinkGlobalToBoolean() 1888 if (!isa<UndefValue>(GV->getInitializer())) in ProcessInternalGlobal() 1889 new StoreInst(GV->getInitializer(), Alloca, &FirstI); in ProcessInternalGlobal() 1911 Changed = CleanupConstantGlobalUsers(GV, GV->getInitializer(), DL, TLI); in ProcessInternalGlobal() 1927 CleanupConstantGlobalUsers(GV, GV->getInitializer(), DL, TLI); in ProcessInternalGlobal() [all …]
|
/external/llvm/include/llvm/IR/ |
D | GlobalVariable.h | 121 inline const Constant *getInitializer() const { in getInitializer() function 125 inline Constant *getInitializer() { in getInitializer() function
|
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 318 ASSERT_EQ(A0G, RefArray->getInitializer()); in TEST() 321 ASSERT_EQ(A01, RefArray->getInitializer()); in TEST() 341 ASSERT_EQ(Int1, Ref->getInitializer()); in TEST() 344 ASSERT_EQ(Int2, Ref->getInitializer()); in TEST() 361 ASSERT_EQ(GEP, Ref->getInitializer()); in TEST() 368 ASSERT_EQ(GEP, Ref->getInitializer()); in TEST()
|
/external/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 54 const Constant *C = GV->getInitializer(); in isSuitableForBSS() 164 const Constant *C = GVar->getInitializer(); in getKindForGlobal()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCTargetObjectFile.cpp | 45 if (GVar && GVar->isConstant() && GVar->getInitializer()->needsRelocation()) in SelectSectionForGlobal()
|
/external/llvm/lib/IR/ |
D | IntrinsicInst.cpp | 46 if (Value *CO = CastOperand(GV->getInitializer())) in StripCast()
|
D | TypeFinder.cpp | 31 incorporateValue(I->getInitializer()); in run()
|
/external/javassist/src/main/javassist/compiler/ast/ |
D | NewExpr.java | 64 public ArrayInit getInitializer() { in getInitializer() method in NewExpr
|
D | Declarator.java | 84 public ASTree getInitializer() { in getInitializer() method in Declarator
|
/external/llvm/lib/LTO/ |
D | LTOModule.cpp | 258 Constant *cn = gvn->getInitializer(); in objcClassNameFromExpression() 272 const ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer()); in addObjCClass() 306 const ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer()); in addObjCCategory() 330 if (!objcClassNameFromExpression(clgv->getInitializer(), targetclassName)) in addObjCClassRef()
|
/external/llvm/lib/Bitcode/Writer/ |
D | ValueEnumerator.cpp | 84 if (!isa<GlobalValue>(G.getInitializer())) in orderModule() 85 orderValue(G.getInitializer(), OM); in orderModule() 266 predictValueUseListOrder(G.getInitializer(), nullptr, OM, Stack); in predictUseListOrder() 308 EnumerateValue(GV.getInitializer()); in ValueEnumerator()
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | ExecutionUtils.cpp | 22 GV ? dyn_cast_or_null<ConstantArray>(GV->getInitializer()) : nullptr), in CtorDtorIterator()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCAPElim.cpp | 151 ConstantArray *Init = cast<ConstantArray>(GV->getInitializer()); in runOnModule()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/ |
D | SmaliField.java | 112 @Nullable @Override public PsiExpression getInitializer() { in getInitializer() method in SmaliField
|
D | SmaliMethodParameter.java | 92 @Nullable @Override public PsiExpression getInitializer() { in getInitializer() method in SmaliMethodParameter
|
/external/llvm/lib/CodeGen/ |
D | LowerEmuTLS.cpp | 95 InitValue = GV->getInitializer(); in addEmuTlsVar()
|
D | GlobalMerge.cpp | 434 Inits.push_back(Globals[j]->getInitializer()); in doMerge() 481 const ConstantArray *InitList = cast<ConstantArray>(GV->getInitializer()); in collectUsedGlobalVariables()
|
/external/llvm/tools/bugpoint/ |
D | ExtractFunction.cpp | 56 Constant *I = GV->getInitializer(); in globalInitUsesExternalBA() 256 ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer()); in SplitStaticCtorDtor()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 445 !GV->getInitializer()->getType()->isSized()) in FoldReinterpretLoadFromConstPtr() 455 DL.getTypeAllocSize(GV->getInitializer()->getType())) in FoldReinterpretLoadFromConstPtr() 459 if (!ReadDataFromGlobal(GV->getInitializer(), Offset.getZExtValue(), RawBytes, in FoldReinterpretLoadFromConstPtr() 532 return GV->getInitializer(); in ConstantFoldLoadFromConstPtr() 547 ConstantFoldLoadThroughGEPConstantExpr(GV->getInitializer(), CE)) in ConstantFoldLoadFromConstPtr() 598 if (GV->getInitializer()->isNullValue()) in ConstantFoldLoadFromConstPtr() 600 if (isa<UndefValue>(GV->getInitializer())) in ConstantFoldLoadFromConstPtr()
|