/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 | CloneModule.cpp | 87 GV->setInitializer(MapValue(I->getInitializer(), VMap)); in CloneModule()
|
/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 | GlobalOpt.cpp | 478 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() 1754 if (!isa<UndefValue>(GV->getInitializer())) in ProcessInternalGlobal() 1755 new StoreInst(GV->getInitializer(), Alloca, &FirstI); in ProcessInternalGlobal() 1775 Changed = CleanupConstantGlobalUsers(GV, GV->getInitializer(), DL, TLI); in ProcessInternalGlobal() 1791 CleanupConstantGlobalUsers(GV, GV->getInitializer(), DL, TLI); in ProcessInternalGlobal() [all …]
|
D | GlobalDCE.cpp | 135 Constant *Init = I->getInitializer(); in runOnModule() 214 MarkUsedGlobalsAsNeeded(GV->getInitializer()); in GlobalIsNeeded()
|
/external/llvm/include/llvm/IR/ |
D | GlobalVariable.h | 127 inline const Constant *getInitializer() const { in getInitializer() function 131 inline Constant *getInitializer() { in getInitializer() function
|
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 300 ASSERT_EQ(A0G, RefArray->getInitializer()); in TEST() 303 ASSERT_EQ(A01, RefArray->getInitializer()); in TEST() 323 ASSERT_EQ(Int1, Ref->getInitializer()); in TEST() 326 ASSERT_EQ(Int2, Ref->getInitializer()); in TEST() 343 ASSERT_EQ(GEP, Ref->getInitializer()); in TEST() 350 ASSERT_EQ(GEP, Ref->getInitializer()); in TEST()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | InstrProfiling.cpp | 159 Constant *Init = CoverageData->getInitializer(); in lowerCoverageData() 186 auto *Arr = cast<ConstantDataArray>(Inc->getName()->getInitializer()); in getVarName() 309 ConstantArray *Inits = cast<ConstantArray>(LLVMUsed->getInitializer()); in emitUses()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCTargetObjectFile.cpp | 46 (GVar->getInitializer()->getRelocationInfo() == in SelectSectionForGlobal()
|
/external/llvm/lib/IR/ |
D | IntrinsicInst.cpp | 46 if (Value *CO = CastOperand(GV->getInitializer())) in StripCast()
|
/external/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 55 const Constant *C = GV->getInitializer(); in isSuitableForBSS() 165 const Constant *C = GVar->getInitializer(); in getKindForGlobal()
|
/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 | 267 Constant *cn = gvn->getInitializer(); in objcClassNameFromExpression() 281 const ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer()); in addObjCClass() 315 const ConstantStruct *c = dyn_cast<ConstantStruct>(clgv->getInitializer()); in addObjCCategory() 339 if (!objcClassNameFromExpression(clgv->getInitializer(), targetclassName)) in addObjCClassRef()
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | ExecutionUtils.cpp | 22 GV ? dyn_cast_or_null<ConstantArray>(GV->getInitializer()) : nullptr), in CtorDtorIterator()
|
D | CloneSubModule.cpp | 13 New.setInitializer(MapValue(Orig.getInitializer(), VMap)); in copyGVInitializer()
|
/external/llvm/lib/CodeGen/ |
D | GlobalMerge.cpp | 192 Inits.push_back(Globals[j]->getInitializer()); in doMerge() 252 const ConstantArray *InitList = cast<ConstantArray>(GV->getInitializer()); in collectUsedGlobalVariables()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCAPElim.cpp | 154 ConstantArray *Init = cast<ConstantArray>(GV->getInitializer()); in runOnModule()
|
/external/llvm/lib/Bitcode/Writer/ |
D | ValueEnumerator.cpp | 84 if (!isa<GlobalValue>(G.getInitializer())) in orderModule() 85 orderValue(G.getInitializer(), OM); in orderModule() 269 predictValueUseListOrder(G.getInitializer(), nullptr, OM, Stack); in predictUseListOrder() 316 EnumerateValue(I->getInitializer()); in ValueEnumerator()
|
/external/lldb/source/Expression/ |
D | IRForTarget.cpp | 669 Constant *initializer = result_global->getInitializer(); in CreateResultVariable() 795 string_array = dyn_cast<ConstantDataSequential>(cstr->getInitializer()); in RewriteObjCConstString() 878 … ConstantStruct *nsstring_struct = dyn_cast<ConstantStruct>(nsstring_global->getInitializer()); in RewriteObjCConstStrings() 998 … ConstantDataArray *cstr_array = dyn_cast<ConstantDataArray>(cstr_global->getInitializer()); in RewriteObjCConstStrings() 1092 Constant *osr_initializer = _objc_selector_references_->getInitializer(); in RewriteObjCSelector() 1111 Constant *omvn_initializer = _objc_meth_var_name_->getInitializer(); in RewriteObjCSelector() 1440 Constant *initializer = global_variable->getInitializer(); in MaterializeInternalVariable() 1649 Constant *initializer = global_variable->getInitializer(); in HandleObjCClass() 1858 Constant *gc = gv->getInitializer(); in ReplaceStrings()
|
/external/llvm/tools/bugpoint/ |
D | ExtractFunction.cpp | 56 Constant *I = GV->getInitializer(); in globalInitUsesExternalBA() 224 ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer()); in SplitStaticCtorDtor()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 446 !GV->getInitializer()->getType()->isSized()) in FoldReinterpretLoadFromConstPtr() 456 DL.getTypeAllocSize(GV->getInitializer()->getType())) in FoldReinterpretLoadFromConstPtr() 460 if (!ReadDataFromGlobal(GV->getInitializer(), Offset.getZExtValue(), RawBytes, in FoldReinterpretLoadFromConstPtr() 533 return GV->getInitializer(); in ConstantFoldLoadFromConstPtr() 544 ConstantFoldLoadThroughGEPConstantExpr(GV->getInitializer(), CE)) in ConstantFoldLoadFromConstPtr() 595 if (GV->getInitializer()->isNullValue()) in ConstantFoldLoadFromConstPtr() 597 if (isa<UndefValue>(GV->getInitializer())) in ConstantFoldLoadFromConstPtr()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | NonNullParamChecker.cpp | 128 dyn_cast<InitListExpr>(CE->getInitializer())) in checkPreCall()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVVMReflect.cpp | 188 const Constant *Initializer = GV->getInitializer(); in handleFunction()
|