Lines Matching defs:GV
50 CtorDtorIterator::CtorDtorIterator(const GlobalVariable *GV, bool End)
52 GV ? dyn_cast_or_null<ConstantArray>(GV->getInitializer()) : nullptr),
118 bool StaticInitGVIterator::isStaticInitGlobal(GlobalValue &GV) {
119 if (GV.isDeclaration())
122 if (GV.hasName() && (GV.getName() == "llvm.global_ctors" ||
123 GV.getName() == "llvm.global_dtors"))
129 if (GV.hasSection() &&
130 (GV.getSection().startswith("__DATA,__objc_classlist") ||
131 GV.getSection().startswith("__DATA,__objc_selrefs")))