Home
last modified time | relevance | path

Searched refs:hasInitializer (Results 1 – 25 of 43) sorted by relevance

12

/external/llvm/include/llvm/IR/
DGlobalVariable.h91 inline bool hasInitializer() const { return !isDeclaration(); } in hasInitializer() function
110 return hasInitializer() && in hasDefinitiveInitializer()
122 return hasInitializer() && in hasUniqueInitializer()
141 assert(hasInitializer() && "GV doesn't have initializer!"); in getInitializer()
145 assert(hasInitializer() && "GV doesn't have initializer!"); in getInitializer()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp269 hasInitializer(hasType(recordDecl(isDerivedFrom("Base1"))))))); in TEST()
273 hasInitializer(hasType(recordDecl(isDerivedFrom("Base2"))))))); in TEST()
277 hasInitializer(hasType(recordDecl(isDerivedFrom("Base1"), in TEST()
294 hasInitializer(hasType(recordDecl(isDerivedFrom("Base1"))))))); in TEST()
298 hasInitializer(hasType(recordDecl(isDerivedFrom("Base2"))))))); in TEST()
302 hasInitializer(hasType(recordDecl(isDerivedFrom("Base1"), in TEST()
1117 varDecl(hasInitializer( in TEST()
2666 varDecl(hasInitializer(implicitCastExpr())))); in TEST()
2669 varDecl(hasInitializer(implicitCastExpr())))); in TEST()
2672 varDecl(hasInitializer(implicitCastExpr())))); in TEST()
[all …]
/external/llvm/lib/IR/
DIntrinsicInst.cpp45 if (GV->hasInitializer()) in StripCast()
DGlobals.cpp168 if (hasInitializer()) { in setInitializer()
175 if (!hasInitializer()) in setInitializer()
DTypeFinder.cpp30 if (I->hasInitializer()) in run()
DVerifier.cpp437 if (GV.hasInitializer()) { in visitGlobalVariable()
458 Assert1(!GV.hasInitializer() || GV.hasAppendingLinkage(), in visitGlobalVariable()
475 Assert1(!GV.hasInitializer() || GV.hasAppendingLinkage(), in visitGlobalVariable()
481 if (GV.hasInitializer()) { in visitGlobalVariable()
497 if (!GV.hasInitializer()) { in visitGlobalVariable()
DDataLayout.cpp682 if (GV->hasInitializer() && GVAlignment == 0) { in getPreferredAlignment()
/external/llvm/lib/Analysis/IPA/
DFindUsedTypes.cpp66 if (I->hasInitializer()) in runOnModule()
/external/llvm/lib/Transforms/Utils/
DModuleUtils.cpp72 if (!GV || !GV->hasInitializer()) in collectUsedGlobalVariables()
DCloneModule.cpp83 if (I->hasInitializer()) in CloneModule()
/external/llvm/tools/bugpoint/
DCrashDebugger.cpp151 if (I->hasInitializer() && !GVSet.count(I)) { in TestGlobalVariables()
448 if (I->hasInitializer()) { in DebugACrash()
471 if (I->hasInitializer()) in DebugACrash()
DExtractFunction.cpp52 if (!GV->hasInitializer()) in globalInitUsesExternalBA()
/external/clang/include/clang/AST/
DExprCXX.h1727 bool hasInitializer);
1766 return reinterpret_cast<Expr **>(SubExprs + Array + hasInitializer()); in getPlacementArgs()
1784 bool hasInitializer() const { return StoredInitializationStyle > 0; } in hasInitializer() function
1795 return hasInitializer() ? cast<Expr>(SubExprs[Array]) : 0; in getInitializer()
1798 return hasInitializer() ? cast<Expr>(SubExprs[Array]) : 0; in getInitializer()
1817 return SubExprs + Array + hasInitializer(); in placement_arg_begin()
1820 return SubExprs + Array + hasInitializer() + getNumPlacementArgs(); in placement_arg_end()
1823 return SubExprs + Array + hasInitializer(); in placement_arg_begin()
1826 return SubExprs + Array + hasInitializer() + getNumPlacementArgs(); in placement_arg_end()
1832 return SubExprs + Array + hasInitializer() + getNumPlacementArgs(); in raw_arg_end()
[all …]
/external/llvm/lib/Transforms/IPO/
DGlobalDCE.cpp170 if (GV->hasInitializer()) in GlobalIsNeeded()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp682 if (I->hasInitializer()) in printTypes()
939 if (I->hasInitializer()) in printConstants()
964 if (GV->hasInitializer()) { in printVariableUses()
1002 if (GV->hasInitializer()) { in printVariableHead()
1042 if (GV->hasInitializer()) { in printVariableBody()
1636 if (GVar->hasInitializer()) in printFunctionUses()
1648 if (GVar->hasInitializer()) in printFunctionUses()
/external/llvm/lib/Target/XCore/
DXCoreAsmPrinter.cpp105 if (!GV->hasInitializer() || in EmitGlobalVariable()
/external/clang/docs/
DLibASTMatchersTutorial.rst240 hasInitializer(integerLiteral(equals(0))))))))
256 hasInitializer(integerLiteral(equals(0)))))))).bind("forLoop");
275 hasInitializer(integerLiteral(equals(0)))))))).bind("forLoop");
478 hasSingleDecl(varDecl(hasInitializer(integerLiteral(equals(0))))
/external/llvm/lib/Transforms/Scalar/
DGlobalMerge.cpp199 if (!GV || !GV->hasInitializer()) return; in collectUsedGlobalVariables()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1029 if (GVar->hasInitializer()) in emitLinkageDirective()
1067 if (GVar->hasInitializer()) in printModuleLevelGV()
1096 if (GVar->hasInitializer()) in printModuleLevelGV()
1199 GVar->hasInitializer()) { in printModuleLevelGV()
1222 GVar->hasInitializer()) { in printModuleLevelGV()
DNVPTXGenericToNVVM.cpp92 GV->getLinkage(), GV->hasInitializer() ? GV->getInitializer() : NULL, in runOnModule()
/external/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp407 IsExternal = GVar && !GVar->hasInitializer(); in EmitInstruction()
451 if (!GVar || !GVar->hasInitializer() || RealGValue->hasCommonLinkage() || in EmitInstruction()
484 IsExternal = GVar && !GVar->hasInitializer(); in EmitInstruction()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp286 REGISTER_MATCHER(hasInitializer); in RegistryMaps()
/external/llvm/lib/CodeGen/
DAnalysis.cpp113 assert(GV->hasInitializer() && in ExtractTypeInfo()
DMachineModuleInfo.cpp325 if (!GV || !GV->hasInitializer()) return; in AnalyzeModule()
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp55 if (I->hasInitializer()) in ValueEnumerator()

12