Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/IR/
DGlobalVariable.h78 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/
DASTMatchersTest.cpp285 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/
DIntrinsicInst.cpp45 if (GV->hasInitializer()) in StripCast()
DGlobals.cpp216 if (hasInitializer()) { in setInitializer()
223 if (!hasInitializer()) in setInitializer()
DTypeFinder.cpp30 if (I->hasInitializer()) in run()
/external/llvm/lib/Transforms/IPO/
DGlobalDCE.cpp134 if (I->hasInitializer()) { in runOnModule()
213 if (GV->hasInitializer()) in GlobalIsNeeded()
/external/llvm/lib/Transforms/Utils/
DModuleUtils.cpp86 if (!GV || !GV->hasInitializer()) in collectUsedGlobalVariables()
DCloneModule.cpp86 if (I->hasInitializer()) in CloneModule()
/external/llvm/tools/bugpoint/
DCrashDebugger.cpp151 if (I->hasInitializer() && !GVSet.count(I)) { in TestGlobalVariables()
446 if (I->hasInitializer()) { in DebugACrash()
469 if (I->hasInitializer()) in DebugACrash()
DExtractFunction.cpp53 if (!GV->hasInitializer()) in globalInitUsesExternalBA()
/external/clang/include/clang/AST/
DExprCXX.h1677 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/
DCloneSubModule.cpp12 if (Orig.hasInitializer()) in copyGVInitializer()
/external/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp111 !GVRHS->hasExternalLinkage() || GVRHS->hasInitializer() || in getExecutableRelativeSymbol()
/external/llvm/lib/Target/NVPTX/
DNVVMReflect.cpp186 assert(GV->hasInitializer() && in handleFunction()
DNVPTXAsmPrinter.cpp993 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()
DNVPTXGenericToNVVM.cpp91 GV->hasInitializer() ? GV->getInitializer() : nullptr, in runOnModule()
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp83 if (G.hasInitializer()) in orderModule()
268 if (G.hasInitializer()) in predictUseListOrder()
315 if (I->hasInitializer()) in ValueEnumerator()
/external/llvm/tools/verify-uselistorder/
Dverify-uselistorder.cpp199 if (G.hasInitializer()) in ValueMapping()
468 if (G.hasInitializer()) in changeUseLists()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp695 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/
DIRForTarget.cpp658 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/
DLibASTMatchersTutorial.rst244 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/
DXCoreLowerThreadLocal.cpp194 if (GV->hasInitializer()) in lowerGlobal()
DXCoreAsmPrinter.cpp114 if (!GV->hasInitializer() || in EmitGlobalVariable()
/external/llvm/lib/CodeGen/
DGlobalMerge.cpp249 if (!GV || !GV->hasInitializer()) return; in collectUsedGlobalVariables()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp345 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()

12