/external/llvm/include/llvm/IR/ |
D | GlobalVariable.h | 91 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/ |
D | ASTMatchersTest.cpp | 269 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/ |
D | IntrinsicInst.cpp | 45 if (GV->hasInitializer()) in StripCast()
|
D | Globals.cpp | 168 if (hasInitializer()) { in setInitializer() 175 if (!hasInitializer()) in setInitializer()
|
D | TypeFinder.cpp | 30 if (I->hasInitializer()) in run()
|
D | Verifier.cpp | 437 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()
|
D | DataLayout.cpp | 682 if (GV->hasInitializer() && GVAlignment == 0) { in getPreferredAlignment()
|
/external/llvm/lib/Analysis/IPA/ |
D | FindUsedTypes.cpp | 66 if (I->hasInitializer()) in runOnModule()
|
/external/llvm/lib/Transforms/Utils/ |
D | ModuleUtils.cpp | 72 if (!GV || !GV->hasInitializer()) in collectUsedGlobalVariables()
|
D | CloneModule.cpp | 83 if (I->hasInitializer()) in CloneModule()
|
/external/llvm/tools/bugpoint/ |
D | CrashDebugger.cpp | 151 if (I->hasInitializer() && !GVSet.count(I)) { in TestGlobalVariables() 448 if (I->hasInitializer()) { in DebugACrash() 471 if (I->hasInitializer()) in DebugACrash()
|
D | ExtractFunction.cpp | 52 if (!GV->hasInitializer()) in globalInitUsesExternalBA()
|
/external/clang/include/clang/AST/ |
D | ExprCXX.h | 1727 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/ |
D | GlobalDCE.cpp | 170 if (GV->hasInitializer()) in GlobalIsNeeded()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 682 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/ |
D | XCoreAsmPrinter.cpp | 105 if (!GV->hasInitializer() || in EmitGlobalVariable()
|
/external/clang/docs/ |
D | LibASTMatchersTutorial.rst | 240 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/ |
D | GlobalMerge.cpp | 199 if (!GV || !GV->hasInitializer()) return; in collectUsedGlobalVariables()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXAsmPrinter.cpp | 1029 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()
|
D | NVPTXGenericToNVVM.cpp | 92 GV->getLinkage(), GV->hasInitializer() ? GV->getInitializer() : NULL, in runOnModule()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCAsmPrinter.cpp | 407 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/ |
D | Registry.cpp | 286 REGISTER_MATCHER(hasInitializer); in RegistryMaps()
|
/external/llvm/lib/CodeGen/ |
D | Analysis.cpp | 113 assert(GV->hasInitializer() && in ExtractTypeInfo()
|
D | MachineModuleInfo.cpp | 325 if (!GV || !GV->hasInitializer()) return; in AnalyzeModule()
|
/external/llvm/lib/Bitcode/Writer/ |
D | ValueEnumerator.cpp | 55 if (I->hasInitializer()) in ValueEnumerator()
|