/external/llvm/include/llvm/IR/ |
D | GlobalVariable.h | 78 inline bool hasInitializer() const { return !isDeclaration(); } in hasInitializer() function 97 return hasInitializer() && in hasDefinitiveInitializer() 109 return hasInitializer() && in hasUniqueInitializer() 128 assert(hasInitializer() && "GV doesn't have initializer!"); in getInitializer() 132 assert(hasInitializer() && "GV doesn't have initializer!"); in getInitializer()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTest.cpp | 285 hasInitializer(hasType(recordDecl(isDerivedFrom("Base1"))))))); in TEST() 289 hasInitializer(hasType(recordDecl(isDerivedFrom("Base2"))))))); in TEST() 293 hasInitializer(hasType(recordDecl(isDerivedFrom("Base1"), in TEST() 310 hasInitializer(hasType(recordDecl(isDerivedFrom("Base1"))))))); in TEST() 314 hasInitializer(hasType(recordDecl(isDerivedFrom("Base2"))))))); in TEST() 318 hasInitializer(hasType(recordDecl(isDerivedFrom("Base1"), in TEST() 1243 varDecl(hasInitializer( in TEST() 2950 varDecl(hasInitializer(implicitCastExpr())))); in TEST() 2953 varDecl(hasInitializer(implicitCastExpr())))); in TEST() 2956 varDecl(hasInitializer(implicitCastExpr())))); in TEST() [all …]
|
/external/llvm/lib/IR/ |
D | IntrinsicInst.cpp | 45 if (GV->hasInitializer()) in StripCast()
|
D | Globals.cpp | 216 if (hasInitializer()) { in setInitializer() 223 if (!hasInitializer()) in setInitializer()
|
D | TypeFinder.cpp | 30 if (I->hasInitializer()) in run()
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalDCE.cpp | 134 if (I->hasInitializer()) { in runOnModule() 213 if (GV->hasInitializer()) in GlobalIsNeeded()
|
/external/llvm/lib/Transforms/Utils/ |
D | ModuleUtils.cpp | 86 if (!GV || !GV->hasInitializer()) in collectUsedGlobalVariables()
|
D | CloneModule.cpp | 86 if (I->hasInitializer()) in CloneModule()
|
/external/llvm/tools/bugpoint/ |
D | CrashDebugger.cpp | 151 if (I->hasInitializer() && !GVSet.count(I)) { in TestGlobalVariables() 446 if (I->hasInitializer()) { in DebugACrash() 469 if (I->hasInitializer()) in DebugACrash()
|
D | ExtractFunction.cpp | 53 if (!GV->hasInitializer()) in globalInitUsesExternalBA()
|
/external/clang/include/clang/AST/ |
D | ExprCXX.h | 1677 unsigned numPlaceArgs, bool hasInitializer); 1720 return reinterpret_cast<Expr **>(SubExprs + Array + hasInitializer()); in getPlacementArgs() 1738 bool hasInitializer() const { return StoredInitializationStyle > 0; } in hasInitializer() function 1749 return hasInitializer() ? cast<Expr>(SubExprs[Array]) : nullptr; in getInitializer() 1752 return hasInitializer() ? cast<Expr>(SubExprs[Array]) : nullptr; in getInitializer() 1771 return SubExprs + Array + hasInitializer(); in placement_arg_begin() 1774 return SubExprs + Array + hasInitializer() + getNumPlacementArgs(); in placement_arg_end() 1777 return SubExprs + Array + hasInitializer(); in placement_arg_begin() 1780 return SubExprs + Array + hasInitializer() + getNumPlacementArgs(); in placement_arg_end() 1786 return SubExprs + Array + hasInitializer() + getNumPlacementArgs(); in raw_arg_end() [all …]
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | CloneSubModule.cpp | 12 if (Orig.hasInitializer()) in copyGVInitializer()
|
/external/llvm/lib/Target/X86/ |
D | X86TargetObjectFile.cpp | 111 !GVRHS->hasExternalLinkage() || GVRHS->hasInitializer() || in getExecutableRelativeSymbol()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVVMReflect.cpp | 186 assert(GV->hasInitializer() && in handleFunction()
|
D | NVPTXAsmPrinter.cpp | 993 if (GVar->hasInitializer()) in emitLinkageDirective() 1039 if (GVar->hasInitializer()) in printModuleLevelGV() 1072 if (GVar->hasInitializer()) in printModuleLevelGV() 1178 if (GVar->hasInitializer()) { in printModuleLevelGV() 1215 GVar->hasInitializer()) { in printModuleLevelGV()
|
D | NVPTXGenericToNVVM.cpp | 91 GV->hasInitializer() ? GV->getInitializer() : nullptr, in runOnModule()
|
/external/llvm/lib/Bitcode/Writer/ |
D | ValueEnumerator.cpp | 83 if (G.hasInitializer()) in orderModule() 268 if (G.hasInitializer()) in predictUseListOrder() 315 if (I->hasInitializer()) in ValueEnumerator()
|
/external/llvm/tools/verify-uselistorder/ |
D | verify-uselistorder.cpp | 199 if (G.hasInitializer()) in ValueMapping() 468 if (G.hasInitializer()) in changeUseLists()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 695 if (I->hasInitializer()) in printTypes() 952 if (I->hasInitializer()) in printConstants() 977 if (GV->hasInitializer()) { in printVariableUses() 1015 if (GV->hasInitializer()) { in printVariableHead() 1062 if (GV->hasInitializer()) { in printVariableBody() 1679 if (GVar->hasInitializer()) in printFunctionUses() 1691 if (GVar->hasInitializer()) in printFunctionUses()
|
/external/lldb/source/Expression/ |
D | IRForTarget.cpp | 658 if (!result_global->hasInitializer()) in CreateResultVariable() 867 if (!nsstring_global->hasInitializer()) in RewriteObjCConstStrings() 963 if (!cstr_global->hasInitializer()) in RewriteObjCConstStrings() 1089 if (!_objc_selector_references_ || !_objc_selector_references_->hasInitializer()) in RewriteObjCSelector() 1108 if (!_objc_meth_var_name_ || !_objc_meth_var_name_->hasInitializer()) in RewriteObjCSelector() 1855 if (!gv->hasInitializer()) in ReplaceStrings()
|
/external/clang/docs/ |
D | LibASTMatchersTutorial.rst | 244 hasInitializer(integerLiteral(equals(0)))))))) 260 hasInitializer(integerLiteral(equals(0)))))))).bind("forLoop"); 279 hasInitializer(integerLiteral(equals(0)))))))).bind("forLoop"); 482 hasSingleDecl(varDecl(hasInitializer(integerLiteral(equals(0))))
|
/external/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 194 if (GV->hasInitializer()) in lowerGlobal()
|
D | XCoreAsmPrinter.cpp | 114 if (!GV->hasInitializer() || in EmitGlobalVariable()
|
/external/llvm/lib/CodeGen/ |
D | GlobalMerge.cpp | 249 if (!GV || !GV->hasInitializer()) return; in collectUsedGlobalVariables()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 345 if (GV->hasInitializer()) { in EmitGlobalVariable() 365 if (!GV->hasInitializer()) // External globals require no extra code. in EmitGlobalVariable() 953 if (!GV->hasUnnamedAddr() || !GV->hasInitializer() || !GV->isConstant() || in isGOTEquivalentCandidate() 1437 assert(GV->hasInitializer() && "Not a special LLVM global!"); in EmitSpecialLLVMGlobal()
|