Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/LLVM/include/llvm/
DGlobalVariable.h75 inline bool hasInitializer() const { return !isDeclaration(); } in hasInitializer() function
94 return hasInitializer() && in hasDefinitiveInitializer()
103 return hasInitializer() && in hasUniqueInitializer()
118 assert(hasInitializer() && "GV doesn't have initializer!"); in getInitializer()
122 assert(hasInitializer() && "GV doesn't have initializer!"); in getInitializer()
/external/llvm/include/llvm/IR/
DGlobalVariable.h79 inline bool hasInitializer() const { return !isDeclaration(); } in hasInitializer() function
98 return hasInitializer() && in hasDefinitiveInitializer()
124 assert(hasInitializer() && "GV doesn't have initializer!"); in getInitializer()
128 assert(hasInitializer() && "GV doesn't have initializer!"); in getInitializer()
/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp1106 varDecl(hasInitializer(ignoringImpCasts( in TEST()
1110 varDecl(hasInitializer(ignoringImpCasts( in TEST()
1119 varDecl(hasInitializer(ignoringImpCasts( in TEST()
1122 varDecl(hasInitializer(ignoringImpCasts( in TEST()
1128 varDecl(hasInitializer(ignoringImpCasts( in TEST()
1131 varDecl(hasInitializer(ignoringImpCasts( in TEST()
1134 varDecl(hasInitializer(ignoringImpCasts( in TEST()
1137 varDecl(hasInitializer(ignoringImpCasts( in TEST()
1145 varDecl(hasInitializer(ignoringImpCasts( in TEST()
1153 varDecl(hasInitializer(ignoringParenCasts( in TEST()
[all …]
DASTMatchersNodeTest.cpp358 varDecl(hasInitializer( in TEST()
753 varDecl(hasInitializer(parenListExpr(has(unaryOperator())))))); in TEST()
758 varDecl(hasInitializer(stmtExpr())))); in TEST()
952 varDecl(hasInitializer(implicitCastExpr())))); in TEST()
955 varDecl(hasInitializer(implicitCastExpr())))); in TEST()
958 varDecl(hasInitializer(implicitCastExpr())))); in TEST()
967 varDecl(hasInitializer(implicitCastExpr())))); in TEST()
969 varDecl(hasInitializer(implicitCastExpr())))); in TEST()
972 varDecl(hasInitializer(implicitCastExpr())))); in TEST()
974 varDecl(hasInitializer(implicitCastExpr())))); in TEST()
[all …]
DASTMatchersNarrowingTest.cpp487 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base1"))))))); in TEST()
491 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base2"))))))); in TEST()
495 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base1"), in TEST()
512 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base1"))))))); in TEST()
516 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base2"))))))); in TEST()
520 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base1"), in TEST()
1807 hasInitializer(ignoringParenImpCasts( in TEST()
1811 hasInitializer(ignoringParenImpCasts(hasType( in TEST()
1818 hasInitializer(ignoringParenImpCasts( in TEST()
/external/clang/unittests/AST/
DASTImporterTest.cpp278 hasInitializer( in TEST()
303 hasInitializer( in TEST()
311 hasInitializer( in TEST()
376 hasInitializer( in TEST()
439 hasInitializer( in TEST()
/external/llvm/lib/CodeGen/
DLowerEmuTLS.cpp97 if (GV->hasInitializer()) { in addEmuTlsVar()
124 if (!GV->hasInitializer()) in addEmuTlsVar()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DGlobals.cpp162 if (hasInitializer()) { in setInitializer()
169 if (!hasInitializer()) in setInitializer()
DIntrinsicInst.cpp45 if (GV->hasInitializer()) in StripCast()
/external/llvm/lib/Transforms/IPO/
DElimAvailExtern.cpp37 if (GV.hasInitializer()) { in eliminateAvailableExternally()
DGlobalDCE.cpp132 if (GV.hasInitializer()) { in run()
230 if (GV->hasInitializer()) in GlobalIsNeeded()
/external/swiftshader/third_party/LLVM/lib/Analysis/IPA/
DFindUsedTypes.cpp66 if (I->hasInitializer()) in runOnModule()
/external/llvm/lib/IR/
DGlobals.cpp274 if (hasInitializer()) { in setInitializer()
287 if (!hasInitializer()) in setInitializer()
DTypeFinder.cpp30 if (I->hasInitializer()) in run()
/external/swiftshader/third_party/LLVM/tools/bugpoint/
DCrashDebugger.cpp153 if (I->hasInitializer() && !GVSet.count(I)) { in TestGlobalVariables()
449 if (I->hasInitializer()) { in DebugACrash()
472 if (I->hasInitializer()) in DebugACrash()
/external/llvm/tools/bugpoint/
DCrashDebugger.cpp164 if (I.hasInitializer() && !GVSet.count(&I)) { in TestGlobalVariables()
213 if (!UsedVar || !UsedVar->hasInitializer()) return; in RemoveFunctionReferences()
663 if (I->hasInitializer()) { in ReduceGlobalInitializers()
687 if (I->hasInitializer()) in ReduceGlobalInitializers()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliField.java117 @Override public boolean hasInitializer() { in hasInitializer() method in SmaliField
DSmaliMethodParameter.java97 @Override public boolean hasInitializer() { in hasInitializer() method in SmaliMethodParameter
/external/llvm/lib/Target/NVPTX/
DNVVMReflect.cpp187 assert(GV->hasInitializer() && in runOnFunction()
/external/v8/tools/clang/value_cleanup/
DListValueRewriter.cpp473 anyOf(hasInitializer( in RegisterMatchers()
479 unless(hasInitializer(expr()))), in RegisterMatchers()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DCloneModule.cpp87 if (I->hasInitializer()) in CloneModule()
/external/clang/include/clang/AST/
DExprCXX.h1861 unsigned numPlaceArgs, bool hasInitializer);
1904 return reinterpret_cast<Expr **>(SubExprs + Array + hasInitializer()); in getPlacementArgs()
1922 bool hasInitializer() const { return StoredInitializationStyle > 0; } in hasInitializer() function
1933 return hasInitializer() ? cast<Expr>(SubExprs[Array]) : nullptr; in getInitializer()
1936 return hasInitializer() ? cast<Expr>(SubExprs[Array]) : nullptr; in getInitializer()
1963 return SubExprs + Array + hasInitializer(); in placement_arg_begin()
1966 return SubExprs + Array + hasInitializer() + getNumPlacementArgs(); in placement_arg_end()
1969 return SubExprs + Array + hasInitializer(); in placement_arg_begin()
1972 return SubExprs + Array + hasInitializer() + getNumPlacementArgs(); in placement_arg_end()
1978 return SubExprs + Array + hasInitializer() + getNumPlacementArgs(); in raw_arg_end()
[all …]
/external/swiftshader/third_party/subzero/src/
DIceGlobalInits.h426 bool hasInitializer() const { return HasInitializer; } in hasInitializer() function
480 return isExternal() && !hasInitializer(); in getSuppressMangling()
/external/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp95 cast<GlobalVariable>(RHS)->hasInitializer() || RHS->hasSection()) in lowerRelativeReference()
/external/llvm/lib/Transforms/Utils/
DGlobalStatus.cpp108 if (GV->hasInitializer() && StoredVal == GV->getInitializer()) { in analyzeGlobalAux()

1234