/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | CtorUtils.cpp | 31 ConstantArray *OldCA = cast<ConstantArray>(GCL->getInitializer()); in removeGlobalCtors() 68 if (GV->getInitializer()->isNullValue()) in parseGlobalCtors() 70 ConstantArray *CA = cast<ConstantArray>(GV->getInitializer()); in parseGlobalCtors() 92 if (isa<ConstantAggregateZero>(GV->getInitializer())) in findGlobalCtors() 94 ConstantArray *CA = cast<ConstantArray>(GV->getInitializer()); in findGlobalCtors()
|
D | Evaluator.cpp | 162 return ConstantFoldLoadThroughGEPConstantExpr(GV->getInitializer(), CE); in isSimpleEnoughPointerToCommit() 178 static Constant *getInitializer(Constant *C) { in getInitializer() function 180 return GV && GV->hasDefinitiveInitializer() ? GV->getInitializer() : nullptr; in getInitializer() 194 return GV->getInitializer(); in ComputeLoadResult() 202 if (auto *I = getInitializer(CE->getOperand(0))) in ComputeLoadResult() 210 : getInitializer(CE->getOperand(0)); in ComputeLoadResult()
|
/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()
|
/external/ImageMagick/Magick++/fuzz/ |
D | encoder_list.cc | 8 static std::string getInitializer(const std::string module) in getInitializer() function 61 …std::cout << ((*it).isWritable() ? "+" : "-") << module << ":" << getInitializer(module) << std::e… in main() 63 …std::cout << ((*it).isWritable() ? "+" : "-") << (*it).name() << ":" << getInitializer(module) << … in main()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/wiki_samples/removenode/ |
D | ModifierVisitorTest.java | 52 && declarator.getInitializer().isPresent()) { in visit() 53 Expression expression = declarator.getInitializer().get(); in visit()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 69 ConstantArray *Inits = dyn_cast<ConstantArray>(LLVMUsed->getInitializer()); in FindUsedValues() 143 Constant *Init = GV->getInitializer(); in runOnModule() 176 Constant *Init = GV->getInitializer(); in runOnModule()
|
D | GlobalOpt.cpp | 214 if (StoredVal == GV->getInitializer()) { in AnalyzeGlobal() 502 Constant *Init = GV->getInitializer(); in SRAGlobal() 1585 if (GV->getInitializer()->getType()->isPointerTy() && in OptimizeOnceStoredGlobal() 1586 GV->getInitializer()->isNullValue()) { in OptimizeOnceStoredGlobal() 1588 if (GV->getInitializer()->getType() != SOVC->getType()) in OptimizeOnceStoredGlobal() 1589 SOVC = ConstantExpr::getBitCast(SOVC, GV->getInitializer()->getType()); in OptimizeOnceStoredGlobal() 1641 Constant *InitVal = GV->getInitializer(); in TryToShrinkGlobalToBoolean() 1763 if (!isa<UndefValue>(GV->getInitializer())) in ProcessInternalGlobal() 1764 new StoreInst(GV->getInitializer(), Alloca, &FirstI); in ProcessInternalGlobal() 1779 bool Changed = CleanupConstantGlobalUsers(GV, GV->getInitializer()); in ProcessInternalGlobal() [all …]
|
/external/llvm/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 42 ConstantArray *Inits = cast<ConstantArray>(LLVMUsed->getInitializer()); in FindUsedValues() 116 Constant *Init = GV->getInitializer(); in mergeConstants() 147 Constant *Init = GV->getInitializer(); in mergeConstants()
|
D | GlobalOpt.cpp | 439 Constant *Init = GV->getInitializer(); in SRAGlobal() 1528 if (GV->getInitializer()->getType()->isPointerTy() && in optimizeOnceStoredGlobal() 1529 GV->getInitializer()->isNullValue()) { in optimizeOnceStoredGlobal() 1531 if (GV->getInitializer()->getType() != SOVC->getType()) in optimizeOnceStoredGlobal() 1532 SOVC = ConstantExpr::getBitCast(SOVC, GV->getInitializer()->getType()); in optimizeOnceStoredGlobal() 1584 Constant *InitVal = GV->getInitializer(); in TryToShrinkGlobalToBoolean() 1838 if (!isa<UndefValue>(GV->getInitializer())) in processInternalGlobal() 1839 new StoreInst(GV->getInitializer(), Alloca, &FirstI); in processInternalGlobal() 1861 Changed = CleanupConstantGlobalUsers(GV, GV->getInitializer(), DL, TLI); in processInternalGlobal() 1878 CleanupConstantGlobalUsers(GV, GV->getInitializer(), DL, TLI); in processInternalGlobal() [all …]
|
D | GlobalDCE.cpp | 133 Constant *Init = GV.getInitializer(); in run() 231 MarkUsedGlobalsAsNeeded(GV->getInitializer()); in GlobalIsNeeded()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 49 ConstantArray *Inits = cast<ConstantArray>(LLVMUsed->getInitializer()); in FindUsedValues() 143 Constant *Init = GV->getInitializer(); in mergeConstants() 174 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 | 467 Constant *Init = GV->getInitializer(); in SRAGlobal() 1572 if (GV->getInitializer()->getType()->isPointerTy() && in optimizeOnceStoredGlobal() 1573 GV->getInitializer()->isNullValue() && in optimizeOnceStoredGlobal() 1576 GV->getInitializer()->getType()->getPointerAddressSpace())) { in optimizeOnceStoredGlobal() 1578 if (GV->getInitializer()->getType() != SOVC->getType()) in optimizeOnceStoredGlobal() 1579 SOVC = ConstantExpr::getBitCast(SOVC, GV->getInitializer()->getType()); in optimizeOnceStoredGlobal() 1631 Constant *InitVal = GV->getInitializer(); in TryToShrinkGlobalToBoolean() 1645 if (ConstantInt *CIInit = dyn_cast<ConstantInt>(GV->getInitializer())){ in TryToShrinkGlobalToBoolean() 1930 if (!isa<UndefValue>(GV->getInitializer())) in processInternalGlobal() 1931 new StoreInst(GV->getInitializer(), Alloca, &FirstI); in processInternalGlobal() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | GlobalVariable.h | 117 inline const Constant *getInitializer() const { in getInitializer() function 121 inline Constant *getInitializer() { in getInitializer() function
|
/external/llvm/include/llvm/IR/ |
D | GlobalVariable.h | 123 inline const Constant *getInitializer() const { in getInitializer() function 127 inline Constant *getInitializer() { in getInitializer() function
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ |
D | JavaParserTest.java | 233 …alization().get(0).asVariableDeclarationExpr().getVariables().get(0).getInitializer().isPresent()); in parsingInitializedAndUnitializedVarsInForStmt() 234 …alization().get(0).asVariableDeclarationExpr().getVariables().get(1).getInitializer().isPresent()); in parsingInitializedAndUnitializedVarsInForStmt() 246 …alization().get(0).asVariableDeclarationExpr().getVariables().get(0).getInitializer().isPresent()); in parsingInitializedAndUnitializedVarsInForStmtComplexCase() 247 …alization().get(0).asVariableDeclarationExpr().getVariables().get(1).getInitializer().isPresent()); in parsingInitializedAndUnitializedVarsInForStmtComplexCase()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/validator/chunks/ |
D | VarValidator.java | 71 if (!vd.getInitializer().isPresent()) { in accept() 74 vd.getInitializer().ifPresent(initializer -> { in accept()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 344 ASSERT_EQ(A0G, RefArray->getInitializer()); in TEST() 347 ASSERT_EQ(A01, RefArray->getInitializer()); in TEST() 367 ASSERT_EQ(Int1, Ref->getInitializer()); in TEST() 370 ASSERT_EQ(Int2, Ref->getInitializer()); in TEST() 387 ASSERT_EQ(GEP, Ref->getInitializer()); in TEST() 394 ASSERT_EQ(GEP, Ref->getInitializer()); in TEST()
|
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 343 ASSERT_EQ(A0G, RefArray->getInitializer()); in TEST() 346 ASSERT_EQ(A01, RefArray->getInitializer()); in TEST() 366 ASSERT_EQ(Int1, Ref->getInitializer()); in TEST() 369 ASSERT_EQ(Int2, Ref->getInitializer()); in TEST() 386 ASSERT_EQ(GEP, Ref->getInitializer()); in TEST() 393 ASSERT_EQ(GEP, Ref->getInitializer()); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | GlobalVariable.h | 137 inline const Constant *getInitializer() const { in getInitializer() function 141 inline Constant *getInitializer() { in getInitializer() function
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/ |
D | LambdaExprContextResolutionTest.java | 78 LambdaExpr lambdaExpr = (LambdaExpr) field.getInitializer().get(); in solveParameterOfLambdaInFieldDecl() 99 LambdaExpr lambdaExpr = (LambdaExpr) varDecl.getInitializer().get(); in solveParameterOfLambdaInVarDecl()
|
/external/clang/include/clang/AST/ |
D | DeclOpenMP.h | 143 Expr *getInitializer() { return Initializer; } in getInitializer() function 144 const Expr *getInitializer() const { return Initializer; } in getInitializer() function
|
/external/swiftshader/third_party/LLVM/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 52 const Constant *C = GV->getInitializer(); in isSuitableForBSS() 154 const Constant *C = GVar->getInitializer(); in getKindForGlobal()
|
/external/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 54 const Constant *C = GV->getInitializer(); in isSuitableForBSS() 164 const Constant *C = GVar->getInitializer(); in getKindForGlobal()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCTargetObjectFile.cpp | 44 if (GVar && GVar->isConstant() && GVar->getInitializer()->needsRelocation()) in SelectSectionForGlobal()
|